Control method, intelligent terminal and storage medium
By introducing a verification information matching mechanism and drive motor control in the terminal device, the problem of illegal acquisition of SIM cards or SD cards is solved, and the security and convenience of the card slot are achieved.
Patent Information
- Application Number
- CN202510977410.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-15
- Publication Date
- 2025-09-16
AI Technical Summary
In the prior art, a SIM card or SD card can be illegally obtained through physical operations when it is replaced, resulting in information security risks and affecting user experience.
By obtaining verification information and matching it with preset encrypted information for verification, the card slot of the terminal device is controlled to open or close, including password and biometric information verification, and the drive motor and detection device are used to ensure the security of the card slot.
It effectively prevents illegal access to SIM cards or SD cards, improving information security and user experience.
Smart Images

Figure CN120659052A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a control method, an intelligent terminal and a storage medium. Background Art
[0002] Currently, when replacing a SIM card (Subscriber Identity Module) or an SD card (Secure Digital Card) in a terminal device, the card slot can be opened and replaced by a simple physical operation (such as inserting a card pin into the card pin hole of the card slot).
[0003] During the process of conceiving and implementing this application, the inventors discovered that there are at least the following problems: non-device holders can also open the card slot through physical operation to illegally obtain the SIM card or SD card, thereby affecting the information security of the device holder and thus affecting the user experience.
[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the Invention
[0005] In response to the above technical problems, the present application provides a control method, an intelligent terminal and a storage medium, which can control the opening of the card slot through input information, thereby preventing illegal acquisition of SIM cards or SD cards and avoiding information leakage.
[0006] To solve the above technical problems, the present application provides a control method applied to a terminal device, comprising:
[0007] S20. Acquire verification information, so that the terminal device verifies the verification information according to preset encryption information;
[0008] S30: If the verification is successful, the card slot of the terminal device is controlled to open.
[0009] Optionally, the terminal device displays a first interface, which includes a first control; step S20 includes:
[0010] In response to a first operation on a first control, information is obtained, where the information includes password information and / or biometric information.
[0011] Optionally, the terminal device displays a second interface, the second interface includes a second control, and before step S20, further includes:
[0012] S11. In response to a second operation on the second control, if it is determined that encrypted information exists, displaying the first interface.
[0013] Optionally, the terminal device displays a third interface, the third interface includes a third control, and the method further includes:
[0014] If the encryption information does not exist, the third interface will be displayed;
[0015] In response to a third operation on a third control on the third interface, the set encryption information is obtained, and the card slot of the terminal device is controlled to open.
[0016] Optionally, step S30 includes:
[0017] S31. If it is determined that the verification information matches the encryption information, the card slot of the terminal device is controlled to open; or, if it is determined that the verification information does not match the encryption information, a prompt message is output, which is used to prompt the user to re-enter the verification information.
[0018] Optionally, a drive motor is provided in the terminal device, and the drive motor is connected to the locking mechanism of the card slot; step S30 includes:
[0019] According to the verification information, a first control signal is sent to the drive motor; wherein the first control signal is used to control the drive motor to drive the locking mechanism to no longer lock the card slot, and control the card slot of the terminal device to open.
[0020] Optionally, a detection device is provided in the terminal device. After step S30, the method further includes:
[0021] S40: If the detection device detects that a card is installed in the card slot, the detection device sends a second control signal to the drive motor; wherein the second control signal is used to control the drive motor to drive the card slot of the terminal device to close and lock the card slot;
[0022] and / or,
[0023] S50. In response to a fourth operation on a fourth control on a fourth interface displayed by the terminal device, a second control signal is sent to the drive motor, where the second control signal is used to control the drive motor to drive the card slot of the terminal device to close and lock the card slot.
[0024] The present application also provides a terminal device, comprising an information input module and a driving module; wherein,
[0025] An information input module is used to obtain verification information so that the terminal device can verify the verification information according to preset encryption information;
[0026] The driver module is used to control the card slot of the terminal device to open if the verification is successful.
[0027] Optionally, the driving module further includes a control chip, a driving circuit and a driving motor which are electrically connected in sequence, and the driving motor is drivingly connected to the card slot; wherein,
[0028] A control chip, configured to control the drive circuit to send a control signal to the drive motor based on the identification information;
[0029] The driving motor is used to control the card slot to open or close according to the control signal.
[0030] Optionally, the card slot is a card slot without a card pin hole.
[0031] The present application also provides an intelligent terminal, comprising: a memory and a processor, wherein a control program is stored in the memory, and when the control program is executed by the processor, the steps of the above method are implemented.
[0032] The present application also provides a computer storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the above method are implemented.
[0033] As described above, the control method of the present application, applied to a terminal device, includes the following steps: S20, obtaining verification information, so that the terminal device verifies the verification information according to preset encrypted information; S30, if the verification is successful, controlling the opening of the card slot of the terminal device. Through the above technical solution, the function of controlling the opening of the card slot based on the input verification information can be implemented, solving the problem of information leakage caused by illegally obtaining SIM cards or SD cards, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for describing the embodiments. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without inventive work.
[0035] Figure 1 A schematic diagram of the hardware structure of an intelligent terminal for implementing various embodiments of the present application;
[0036] Figure 2 A communication network system architecture diagram provided in an embodiment of the present application;
[0037] Figure 3 Schematic diagram of the control method provided in this embodiment Figure 1 ;
[0038] Figure 4 Schematic diagram of the control method provided in the embodiment of the present application Figure 2 ;
[0039] Figure 5 This is a schematic diagram of the second interface provided in an embodiment of the present application;
[0040] Figure 6 A schematic diagram of the settings interface provided in an embodiment of the present application;
[0041] Figure 7 Interface diagram of the first interface provided in the embodiment of the present application Figure 1 ;
[0042] Figure 8 Interface diagram of the first interface provided in the embodiment of the present application Figure 2 ;
[0043] Figure 9 Schematic diagram of the control method provided in the embodiment of the present application Figure 3 ;
[0044] Figure 10 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application.
[0045] The purpose of this application, its features, and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and the accompanying text are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of this application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0046] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0047] It should be noted that, in this document, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0048] It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are merely used to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the term "if" as used herein may be interpreted as "at the time of," "when," or "in response to a determination." Furthermore, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It should be further understood that the terms "comprising" and "including" indicate the presence of features, steps, operations, elements, components, items, types, and / or groups, but do not exclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, types, and / or groups. The terms "or," "and / or," "including at least one of the following," etc., as used herein, may be interpreted as inclusive, meaning any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”; and for another example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.
[0049] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are shown in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless clearly stated herein, the execution of these steps is not strictly limited in order, and they can be performed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0050] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to the determination" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)," depending on the context.
[0051] It should be noted that in this article, step codes such as S10 and S20 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the order. When implementing the step, those skilled in the art may execute S20 first and then S10, etc., but these should all be within the scope of protection of this application.
[0052] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.
[0053] In the subsequent description, the use of suffixes such as "module", "component" or "unit" to represent elements is only for the purpose of facilitating the description of the present application and has no specific meaning. Therefore, "module", "component" or "unit" can be used interchangeably.
[0054] Smart terminals can be implemented in various forms. For example, the smart terminals described in this application may include smart terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.
[0055] The subsequent description will be made by taking a mobile terminal as an example. It will be understood by those skilled in the art that, in addition to components specifically used for mobile purposes, the configuration according to the embodiments of the present application can also be applied to fixed-type terminals.
[0056] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application. The mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an A / V (audio / video) input unit 104, a sensor 105, a display unit 106, an input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation to the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0057] The following combination Figure 1 A detailed introduction to each component of the mobile terminal is given below:
[0058] The RF unit 101 can be used to send and receive information or receive signals during calls. Specifically, it receives downlink information from the base station and transmits it to the processor 110 for processing. It also transmits uplink data to the base station. Typically, the RF unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and more. Furthermore, the RF unit 101 can communicate with the network and other devices via wireless communication. The above-mentioned wireless communications may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution) and 5G, etc.
[0059] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as needed without changing the essence of the invention.
[0060] The audio output unit 103 can convert audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Furthermore, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, or the like.
[0061] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos captured by an image capture device (e.g., a camera) in video capture mode or image capture mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the GPU 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the RF unit 101 or the WiFi module 102. The microphone 1042 may receive sound (audio data) in operating modes such as a phone call mode, a recording mode, and a voice recognition mode, and may process such sound into audio data. In the phone call mode, the processed audio (voice) data may be converted into a format that can be transmitted to a mobile communication base station via the RF unit 101. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated during the reception and transmission of audio signals.
[0062] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that recognize the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be described here.
[0063] The display unit 106 is used to display input information or provided information. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0064] The input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the settings and function control of the mobile terminal. Optionally, the input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect touch operations on or near it (such as operations on or near the touch panel 1071 using any suitable object or accessory such as a finger or stylus) and control the corresponding connected devices according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Optionally, the touch detection device detects the touch direction and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 110. It can also receive commands sent by the processor 110 and execute them. In addition, the touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared and surface acoustic wave. In addition to the touch panel 1071, the input unit 107 may further include other input devices 1072. Optionally, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power keys, etc.), a trackball, a mouse, a joystick, etc., and are not specifically limited here.
[0065] Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. The processor 110 then provides a corresponding visual output on the display panel 1061 according to the type of touch event. Figure 1 In the embodiment, the touch panel 1071 and the display panel 1061 are two independent components to realize the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the mobile terminal, which is not limited here.
[0066] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
[0067] Memory 109 can be used to store software programs and various data. Memory 109 may primarily include a program storage area and a data storage area. Optionally, the program storage area may store an operating system and at least one application required for a function (such as a sound playback function or an image playback function); the data storage area may store data generated based on the use of the mobile phone (such as audio data, a phone book, etc.). Furthermore, memory 109 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0068] Processor 110 is the control center of the mobile terminal, connecting all components of the mobile terminal using various interfaces and circuits. By running or executing software programs and / or modules stored in memory 109 and accessing data stored in memory 109, it executes various functions of the mobile terminal and processes data, thereby providing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, processor 110 may integrate an application processor and a modem processor. Optionally, the application processor primarily handles the operating system, interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 110.
[0069] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.
[0070] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.
[0071] To facilitate understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based is described below.
[0072] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present application. The communication network system is an LTE system of universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence.
[0073] Optionally, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.
[0074] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 . Optionally, eNodeB 2021 may be connected to other eNodeBs 2022 via a backhaul (eg, an X2 interface). eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 may provide access from UE 201 to EPC 203 .
[0075] EPC 203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving GateWay) 2034, a PGW (PDN GateWay) 2035, and a PCRF (Policy and Charging Rules Function) 2036. Optionally, MME 2031 is a control node that processes signaling between UE 201 and EPC 203, providing bearer and connection management. HSS 2032 provides registers for managing functions such as the Home Location Register (not shown) and stores specialized information such as service features and data rates. All data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, and it selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).
[0076] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem), or other IP services.
[0077] Although the above introduction is made using the LTE system as an example, those skilled in the art should know that this application is not only applicable to the LTE system, but can also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new network systems (such as 5G), etc., which are not limited here.
[0078] Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.
[0079] Figure 3 Schematic diagram of the control method provided in this embodiment Figure 1 ,The control method is applied to terminal equipment, such as Figure 3 As shown, the method includes:
[0080] S20. Acquire verification information, so that the terminal device verifies the verification information according to preset encryption information;
[0081] S30: If the verification is successful, the card slot of the terminal device is controlled to open.
[0082] Optionally, the verification information may refer to data or instructions transmitted to the terminal device, and the terminal device may open the card slot according to the verification information.
[0083] Verification information includes but is not limited to password information and / or biometric information. Among them:
[0084] Password information is a string of characters, numbers or symbols entered through an input device (such as a keyboard, touch screen, etc.) to verify identity. For example, a preset numeric password, graphic password or alphanumeric combination can be entered on the terminal device to prove its identity and trigger the terminal device to open the card slot.
[0085] Biometric information refers to technology that verifies identity through biological characteristics. Biometric verification methods include, but are not limited to, at least one of the following: fingerprint recognition, facial recognition, iris recognition, and voice recognition. For example, a fingerprint sensor can scan a fingerprint, or a camera can perform facial recognition to verify the user's identity and trigger the terminal device to open the card slot.
[0086] In a feasible implementation, the verification information may be a password or biometric verification, or a combination of multiple passwords or multiple biometric verifications, or a combination of password information and biometric information.
[0087] Verification information can be input through the terminal device. For example, text can be entered or a graphic password can be drawn through the touch screen, or numbers and letters can be entered through a physical keyboard. In addition, voice input can be performed through the device's microphone, or biometric features (such as fingerprints and facial information) can be input through biometric modules such as fingerprint sensors and cameras. That is, through the hardware and software functions of the terminal device itself, the verification information is directly received and processed by the device. The verification information can also be transmitted to the terminal device through an external device or medium. For example, data can be transmitted from a mobile phone, computer or other device to the terminal device via Bluetooth, Wi-Fi or other wireless technologies. In addition, the verification information can also be sent to the terminal device through a network connection (such as a cloud service or remote application). That is, the verification information is transmitted to the terminal device through an external device or network, and then received and processed by the device.
[0088] Optionally, the card slot may refer to a physical slot in a terminal device for inserting and fixing a memory card, a SIM card or an expansion card, or may refer to a virtual card slot that supports an eSIM (embedded SIM card).
[0089] When the card slot is a physical slot in a terminal device for inserting and fixing a memory card, SIM card or expansion card, opening the card slot according to verification information may refer to triggering a physical pop-up mechanism of the card slot according to verification information (such as a password, biometric verification or instruction), wherein the physical pop-up mechanism of the card slot may refer to a mechanism for automatically popping out the card slot by driving a motor inside the terminal device.
[0090] The motor inside the terminal device can be a miniature DC motor or a miniature stepper motor. It can drive a mechanical device by receiving an electrical signal from the device, thereby ejecting the card slot. For example, in a smartphone or tablet, when an eject command is sent through the interface or a button, the motor will start and push the card tray outward, automatically ejecting the card slot.
[0091] When the card slot is a virtual card slot that supports eSIM (embedded SIM card), opening the card slot may also mean activating the card slot and allowing access to or use of data and functions in the card based on verification information.
[0092] The encrypted information may refer to pre-set information, which may include a preset password, pattern, fingerprint, facial recognition data, or iris recognition data.
[0093] By comparing the verification information with the encryption information, the card slot can be protected by password information. That is, when the verification information corresponds to the encryption information, the card slot is opened. When the verification information does not correspond to the encryption information, the current terminal device is used illegally and the card slot cannot be opened.
[0094] The control method provided in the embodiment of the present application can open the card slot by protecting the card slot with password information, thereby improving security and simplifying the corresponding operations.
[0095] Figure 4 Schematic diagram of the control method provided in the embodiment of the present application Figure 2 ,like Figure 4 As shown, the terminal device displays a second interface, which can be a selection interface for inputting verification information presented on a display screen of the terminal device. The second interface includes a second control. The second control in the second interface can include an input control for a numeric password, an input control for a mixed password, an input control for a pattern password, an input control for a fingerprint password, an input control for a face password, or an input control for an iris password. By clicking on a corresponding input control, verification information can be input in different ways to switch to the corresponding first interface for inputting verification information. Before step S20, the following is further included:
[0096] S11. In response to a second operation on the second control, if it is determined that encrypted information exists, display the encrypted information on the first interface.
[0097] Optionally, Figure 5 This is a schematic diagram of the second interface provided in the embodiment of the present application, such as Figure 5 As shown, the second interface is the interface for setting SIM card verification. There are multiple control options in this interface, including digital password option, mixed password option, pattern password option, fingerprint password option, face password option or iris password option. By selecting different options, you can enter the first interface corresponding to the option.
[0098] Figure 6 This is a schematic diagram of the interface of the setting interface provided in the embodiment of the present application, such as Figure 6 As shown, the setting interface of the terminal device is provided with an option to eject the SIM card, and the second interface can be entered by clicking the option to eject the SIM card.
[0099] When the terminal device responds to the second operation on the second control, if there is encrypted information, it indicates that the verification information has been set in advance in the terminal device, so it can be directly switched from the second interface to the first interface to input information. When the input information corresponds to the encrypted information, the card slot can be controlled to open.
[0100] Optionally, the terminal device displays a third interface, which may refer to an interface displayed when it is detected that encryption information is not set in the terminal device, and is mainly used to complete the setting of encryption information. The third interface includes a third control, which may refer to an interactive element in the third interface, used to trigger the setting process of encryption information. By performing a third operation on the third control (such as clicking a button or selecting an option), the encryption information is set, thereby completing the setting of the password, pattern or biometric data. The method also includes:
[0101] If the encryption information does not exist, the third interface will be displayed;
[0102] In response to a third operation on a third control on the third interface, the set encryption information is obtained, and the card slot of the terminal device is controlled to open.
[0103] Optionally, the third interface may include prompt information (such as "Please set a password" or "Please register a fingerprint") and related operation options (such as a "Set password" button or a "Register fingerprint" option). The third interface can ensure that the necessary encryption information can be set when the card slot opening function is used for the first time, thereby improving the security and user experience of the device.
[0104] When using the second interface, if the second control clicked has not been used to set up encryption information in advance, the third interface will be entered. The third interface is the password setting interface corresponding to the selected second control, and the control on the third interface is the password setting control of the second control. For example, when the second control is the fingerprint password option, after clicking the fingerprint password option, if there is no pre-set encryption information representing the fingerprint password, the terminal will enter the fingerprint password setting interface, and respond to clicking the fingerprint password setting control on the fingerprint password setting interface to set the encryption information. After the encryption information is set, the terminal device can control the card slot to open. Therefore, when the terminal device is used for the first time, it can ensure that the necessary password settings are completed before using specific functions, thereby improving the security and compliance of the device.
[0105] In a feasible implementation, the terminal device displays a first interface, the first interface includes a first control, and step S20 includes:
[0106] In response to a first operation on the first control, verification information is obtained, where the verification information includes password information and / or biometric information.
[0107] Optionally, the first interface may refer to an interface displayed on a display screen of a terminal device for inputting verification information. This interface may be an interface for inputting a numeric password, a mixed password, a pattern password, a fingerprint password, a face password, or an iris password. This interface allows interaction with the terminal device, thereby inputting verification information through controls on the interface, so that the terminal device obtains the verification information.
[0108] The first control may refer to an interactive element in the first interface for inputting verification information, and the interactive element may include a password input box, a pattern password input box, a fingerprint recognition area, a face recognition area, and an iris recognition area. You can interact with the control by clicking, sliding, entering characters, and scanning. Optionally, if the first control is a password input box, you can also enter a preset numeric password, graphic password, or alphanumeric combination therein, so that the terminal device will obtain the verification information and issue a corresponding operation instruction based on the verification information to pop up the card slot. Optionally, if the first control is a fingerprint recognition area, you can also press your finger on the fingerprint recognition area to verify whether the fingerprint password is accurate, thereby popping out the card slot.
[0109] Optionally, Figure 7 Interface diagram of the first interface provided in the embodiment of the present application Figure 1 ,like Figure 7 As shown, the first interface may be an input interface for a pattern password, and the input interface includes a pattern password input control, and a preset pattern password can be drawn by connecting points.
[0110] Figure 8 Interface diagram of the first interface provided in the embodiment of the present application Figure 2 ,like Figure 8 As shown, the first interface can be a recognition input interface for face recognition, which includes a face recognition area. Face recognition verification information can be generated by aligning the face with the camera and generating a face image in the face recognition area.
[0111] In a feasible implementation, step S30 includes:
[0112] S31. If it is determined that the verification information matches the encryption information, the card slot of the terminal device is controlled to open; or, if it is determined that the verification information does not match the encryption information, a prompt message is output, which is used to prompt the user to re-enter the verification information.
[0113] When the terminal device detects that the verification information (such as a password, pattern, or biometric data) matches the pre-set encryption information, the terminal device will perform the corresponding operation, namely, control the terminal device's card slot to open. This can determine that the identity verification is successful, and the terminal device can allow access or operation of the card slot (such as ejecting the card slot to replace the SIM card or memory card).
[0114] If the terminal device detects a discrepancy between the verification information and the encrypted information, it will not open the card slot but instead display a prompt. This prompt notifies you of the failed verification and prompts you to re-enter the correct information (e.g., re-enter your password, re-draw your pattern, or re-perform biometric authentication). This ensures that only authorized users can access the card slot, enhancing device security.
[0115] In a feasible embodiment, a drive motor is provided in the terminal device, and the drive motor is connected to the locking mechanism of the card slot; step S30 includes:
[0116] According to the verification information, a first control signal is sent to the drive motor; wherein the first control signal is used to control the drive motor to drive the locking mechanism to no longer lock the card slot, and control the card slot of the terminal device to open.
[0117] Optionally, the drive motor may be a micro motor (such as a DC motor or a stepper motor) for providing mechanical power. It drives the locking mechanism by receiving the first control signal, thereby controlling the locking or unlocking state of the card slot. The drive motor may be installed inside the terminal device and directly or indirectly connected to the locking mechanism.
[0118] A locking mechanism may refer to a mechanical device used to secure or release a card slot. Optionally, the locking mechanism may be a spring lock, an electromagnetic lock, or a mechanical latch. When the locking mechanism is locked, the card slot cannot be ejected. When the drive motor receives a first control signal, the locking mechanism is driven to unlock, allowing the card slot to be ejected or opened.
[0119] The first control signal may be a voltage signal or a current signal generated by the control unit of the terminal device and sent to the drive motor. The signal is used to control the action of the drive motor to start the motor and drive the locking mechanism to unlock.
[0120] The terminal generates a first control signal based on the verification information and sends it to the drive motor. Upon receiving the signal, the drive motor drives the locking mechanism to unlock, allowing the card slot to open. This enables the card slot to automatically eject, while ensuring safe and convenient operation.
[0121] Figure 9 Schematic diagram of the control method provided in the embodiment of the present application Figure 3 ,like Figure 9As shown, a detection device is provided in the terminal device. After step S30, the method further includes:
[0122] S40. If the detection device detects that a card is installed in the card slot, it sends a second control signal to the drive motor; wherein the second control signal is used to control the drive motor to drive the card slot of the terminal device to close and lock the card slot.
[0123] Alternatively, the detection device may refer to a hardware component or sensor in the terminal device that is used to detect whether a card (such as a SIM card or an SD card) is installed in the card slot. The detection device may monitor the presence of the card in real time by means of a mechanical switch, an optical sensor, a capacitive sensor, or a Hall sensor. When the detection device detects that a card is inserted into the card slot, it sends a signal to the control unit of the terminal device, triggering the generation of a second control signal to close and lock the card slot, thereby ensuring that the card is firmly fixed and prevented from being accidentally ejected.
[0124] The second control signal may be an electrical signal generated by the terminal device and sent to the drive motor, which is used to control the drive motor to activate the locking mechanism to relock the card slot. When the terminal device detects that a card (such as a SIM card or SD card) is installed in the card slot, the terminal device generates the second control signal. Upon receiving the signal, the drive motor activates the locking mechanism, ensuring that the card slot is securely closed and locked to prevent the card from becoming loose or accidentally ejecting.
[0125] S50. In response to a fourth operation on a fourth control on a fourth interface displayed by the terminal device, a second control signal is sent to the drive motor to control the drive motor to drive the card slot of the terminal device to close and lock the card slot.
[0126] Optionally, the fourth interface may refer to an interface displayed on the terminal device display screen, which provides an operation option for closing the card slot. The interface may include a message prompting "Close Card Slot" or "Lock Card Slot" and a "Close" button or a "Lock" option operation control. Thus, the closing and locking of the card slot can be controlled through interface operations.
[0127] The fourth control may be an interactive element in the fourth interface that triggers the card slot closing operation. The fourth control may be a "Close Card Slot" button, a "Lock Card Slot" option, or a sliding switch. By operating the fourth control, a card slot closing instruction is sent to the terminal device.
[0128] The fourth operation may refer to a specific interactive action performed on the fourth control. Optionally, the fourth operation may include clicking a "Close Card Slot" button, selecting a "Lock Card Slot" option, or sliding the switch to the "Off" position. This may trigger the terminal device to generate a second control signal and send it to the drive motor, which then drives the locking mechanism to relock the card slot, completing the card slot closing operation.
[0129] Therefore, the terminal device can trigger the terminal device to generate a second control signal and send it to the drive motor by automatically monitoring whether a card is installed in the card slot or responding to the fourth operation of the fourth control on the fourth interface displayed by the terminal device, so as to realize the technical solutions of automatically closing the card slot and manually closing the card slot.
[0130] Figure 10 A schematic diagram of the structure of a terminal device provided by an embodiment of the present application is shown in FIG. Figure 10 As shown, the terminal device includes an information input module and a driving module; wherein,
[0131] An information input module is used to obtain verification information so that the terminal device can verify the verification information according to preset encryption information;
[0132] The driver module is used to control the card slot of the terminal device to open if the verification is successful.
[0133] Optionally, the information input module may include a password input module and a biometric recognition module:
[0134] The password input module is used to input passwords to verify identity. The password input module is a software module embedded in the terminal device operating system. It includes a password input interface and password verification function. The password input module is connected to the terminal device mainboard and SIM card or SD card slot control module, and is responsible for receiving the input password and verifying it.
[0135] The biometric module is used to verify identity through biometric features such as facial recognition, fingerprint recognition, and iris recognition. The biometric module is integrated into the biometric hardware and software of the terminal device. The biometric module is connected to the terminal device motherboard and the SIM card or SD card slot control module, and is responsible for collecting and verifying biometric features.
[0136] Optionally, the driver module can be used to control the ejection and insertion of the SIM card or SD card. The driver module can be connected to the mainboard of the terminal device and receive a control signal from the password input module to drive the ejection and insertion of the SIM card or SD card.
[0137] The driving module also includes a control chip, a driving circuit and a driving motor which are electrically connected in sequence, and the driving motor is drivingly connected to the card slot; wherein,
[0138] A control chip, configured to control the drive circuit to send a control signal to the drive motor based on the identification information;
[0139] The driving motor is used to control the card slot to open or close according to the control signal.
[0140] Optionally, the card slot of the terminal device can be a card slot without a card pin hole. The card slot does not need to be opened by using a card pin, and an internal locking and pop-up mechanism can be used to open and close the card slot. Therefore, since the card slot eliminates the design of the card pin hole, the sealing and waterproof performance of the card slot are better, and it can prevent non-device holders from illegally obtaining the SIM card or SD card by physically opening the card slot through the card hole, thereby improving security. Optionally, the card slot can also further improve the waterproof performance through sealing materials and structural design to prevent moisture from entering the inside of the SIM card or SD card slot.
[0141] Optionally, the terminal device displays a first interface, which includes a first control; the terminal device can obtain verification information in response to a first operation on the first control, and the verification information includes password information and / or biometric information.
[0142] Optionally, the terminal device displays a second interface, which includes a second control. The terminal device can respond to a second operation on the second control and display the first interface if it is determined that encrypted information exists.
[0143] The terminal device can respond to the second operation on the second control, and if it is determined that there is no encrypted information, display the third interface, and respond to the third operation on the third control on the third interface to obtain the encrypted information and control the card slot of the terminal device to open.
[0144] Optionally, if the terminal device determines that the information matches the encrypted information, it controls the card slot of the terminal device to open; or, if it determines that the information does not match the encrypted information, it outputs a prompt message, which is used to prompt the user to re-enter the information.
[0145] Optionally, a drive motor is provided in the terminal device, and the drive motor is connected to the locking mechanism of the card slot; the terminal device can send a first control signal to the drive motor based on the identification information; wherein, the first control signal is used to control the drive motor to drive the locking mechanism to no longer lock the card slot, and control the card slot of the terminal device to open.
[0146] Optionally, a detection device is provided in the terminal device. If the detection device detects that a card is installed in the card slot, a second control signal is sent to the drive motor; wherein the second control signal is used to control the drive motor to drive the locking mechanism to no longer lock the card slot, and control the card slot of the terminal device to close.
[0147] Optionally, in response to a fourth operation on a fourth control on a fourth interface displayed by the terminal device, a second control signal is sent to the drive motor.
[0148] It should be noted that the technical details of this embodiment have been described in detail in the above embodiments and will not be repeated here.
[0149] The present application also provides a terminal device, including a memory and a processor, wherein a control program is stored in the memory, and when the control program is executed by the processor, the steps of at least one of the above-mentioned control methods are implemented.
[0150] The present application also provides a computer-readable storage medium, on which a control program is stored. When the control program is executed by a processor, the steps of the control method in any of the above embodiments are implemented.
[0151] In the embodiments of the smart terminal and computer-readable storage medium provided in this application, all technical features of any of the above-mentioned control method embodiments may be included. The expanded and explained contents of the specification are basically the same as those of the embodiments of the above-mentioned methods and will not be repeated here.
[0152] An embodiment of the present application further provides a computer program product, which includes computer program code. When the computer program code runs on a computer, the computer executes the methods in the various possible implementation modes described above.
[0153] An embodiment of the present application also provides a chip, including a memory and a processor, wherein the memory is used to store computer programs, and the processor is used to call and run the computer programs from the memory, so that a device equipped with the chip executes the methods in the various possible implementation modes as described above.
[0154] It is understood that the above scenarios are merely examples and do not limit the application scenarios of the technical solutions provided in the embodiments of this application. The technical solutions of this application can also be applied to other scenarios. For example, those skilled in the art will appreciate that with the evolution of system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application will also be applicable to similar technical problems.
[0155] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0156] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.
[0157] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
[0158] In this application, the same or similar terminology, technical solutions and / or application scenario descriptions are generally only described in detail the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of this application, for the same or similar terminology, technical solutions and / or application scenario descriptions that are not described in detail later, you can refer to the previous relevant detailed descriptions.
[0159] In this application, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0160] The various technical features of the technical solution of this application can be combined arbitrarily. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0161] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as mentioned above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, controlled terminal, or network device, etc.) to execute the method of each embodiment of the present application.
[0162] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a storage disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state storage disk Solid State Disk (SSD)).
[0163] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A control method, applied to a terminal device, characterized in that: The method comprises: S20. Acquire verification information, so that the terminal device verifies the verification information according to preset encryption information; S30: If the verification is successful, control the card slot of the terminal device to open.
2. The method according to claim 1, characterized in that The terminal device displays a first interface, which includes a first control; and step S20 includes: In response to a first operation on the first control, the verification information is obtained, where the verification information includes password information and / or biometric information.
3. The method according to claim 2, characterized in that The terminal device displays a second interface, the second interface includes a second control, and before step S20, further includes: S11. In response to a second operation on the second control, if it is determined that encrypted information exists, display the first interface.
4. The method according to any one of claims 1 to 3, characterized in that The terminal device displays a third interface, the third interface includes a third control, and the method further includes: If the encryption information does not exist, displaying the third interface; In response to a third operation on the third control on the third interface, the set encryption information is obtained, and the card slot of the terminal device is controlled to open.
5. The method according to any one of claims 1 to 3, characterized in that The terminal device is provided with a drive motor, and the drive motor is connected to the locking mechanism of the card slot; the step S30 includes: According to the verification information, a first control signal is sent to the drive motor; wherein the first control signal is used to control the drive motor to drive the locking mechanism to no longer lock the card slot, and control the card slot of the terminal device to open.
6. The method according to any one of claims 1 to 3, characterized in that The terminal device is provided with a detection device. After step S30, the method further includes: S40: If the detection device detects that a card is installed in the card slot, sending a second control signal to the drive motor; wherein the second control signal is used to control the drive motor to drive the card slot of the terminal device to close and lock the card slot; and / or, S50. In response to a fourth operation on a fourth control on a fourth interface displayed by the terminal device, a second control signal is sent to a drive motor to control the drive motor to drive the card slot of the terminal device to close and lock the card slot.
7. A terminal device, characterized in that: It includes an information input module and a driving module; wherein, The information input module is used to obtain verification information so that the terminal device verifies the verification information according to preset encryption information; The driving module is used to control the card slot of the terminal device to open if the verification is successful.
8. The terminal device according to claim 7, characterized in that The driving module further includes a control chip, a driving circuit and a driving motor which are electrically connected in sequence, and the driving motor is drivingly connected to the card slot; wherein, The control chip is configured to control the drive circuit to send a control signal to the drive motor according to the verification information; The driving motor is used to control the card slot to open or close according to the control signal.
9. The terminal device according to claim 7, characterized in that The card slot is a card slot without a card pin hole.
10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the control method according to any one of claims 1 to 6.