Target device card locking method, electronic device and storage medium
By setting up a card lock device in the card slot of the smart device, locking the user identification card and performing legitimate user verification, the problem of user identification card being easily stolen after the smart device is stolen is solved, and the security and reliability of the user identification card are improved.
Patent Information
- Application Number
- CN202411804995.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-01
AI Technical Summary
After the smart device is stolen, the user identification card is easily stolen, resulting in threats to property and privacy.
A locking device is set in the card slot of the target device, including a processor and a locking mechanism, lock the user identification card in the lock screen state through the locking program, and perform legitimate user verification when a card removal action is detected, and if a card is failed, the locking state is maintained.
The locking device locks the user identification card in the lock screen state and the abnormal unlocking state, reducing the risk of unfair users stealing the user identification card and improving the security and reliability of the user identification card.
Smart Images

Figure CN119743551A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of identification card anti-theft, and in particular to a card locking method for a target device, an electronic device and a storage medium. Background Art
[0002] SIM (Subscriber Identity Module) card is an IC card held by mobile users of GSM system, called "Subscriber Identification Card". GSM system (Global System for Mobile Communications, second generation mobile communication system) uses SIM card to identify GSM users.
[0003] Smart devices are often configured with user identification cards for use, but the same SIM card can be used on different smart devices.
[0004] When a smart device is stolen, the thief can remove the user identification card and insert it into another smart device, and then easily steal the property in applications such as bank cards and payment software bound to the user identification card phone number, causing great losses to the user. Summary of the invention
[0005] The invention provides a card locking method for a target device, an electronic device and a storage medium, so as to solve the problem that a user identification card is easily misused after a smart device is stolen.
[0006] In order to solve the above technical problems, the present invention provides a card locking method for a target device, comprising: a card locking device is provided on the target device, and the card locking device is provided in a card slot of the target device. The card locking method for the target device comprises: in response to the target device being in a locked screen state, locking the user identification card of the target device by the card locking device to enter a locked card state; detecting a card pulling action, performing legitimate user verification, and maintaining the locked card state when the legitimate user verification fails.
[0007] Among them, the card locking device includes a processor and a card locking mechanism, and the processor is configured with a card locking program to control the card locking mechanism to lock the card through the card locking program; in response to the target device being in a locked screen state, the user identification card of the target device is locked through the card locking device, including: monitoring the screen state of the target device through the card locking program of the processor; when it is monitored that the target device is in a locked screen state, controlling the card locking mechanism to lock the user identification card of the target device through the card locking program.
[0008] Among them, the card locking mechanism includes a motor and a baffle, the motor is connected to the baffle, and the baffle is configured to be movable to the card pin insertion hole of the card slot to block the card pin; the card locking program controls the card locking mechanism to lock the user identification card of the target device, including: controlling the motor to drive the baffle to move through the card locking program until the baffle blocks the card pin insertion hole of the card slot and jams the card tray of the user identification card to lock the user identification card.
[0009] Among them, the card locking device also includes a sensor, which is communicated with the processor; when the card pulling action is detected, the legitimate user verification is performed, and when the legitimate user verification fails, the card is kept in a locked state, including: when the sensor detects the card pulling action, the processor is notified to pop up a password input box through the screen of the target device, and when the password is entered incorrectly, the card is kept in a locked state.
[0010] Among them, a violent card removal induction algorithm is set in the sensor; the card locking method of the target device also includes: in response to the sensor detecting the violent card removal through the violent card removal induction algorithm, the user identification card is functionally locked using a preset user identification code.
[0011] Among them, in response to the sensor detecting the violent card removal through the violent card removal sensing algorithm, the user identification card is functionally locked using a preset user identification code, and it also includes: in response to the sensor detecting the violent card removal through the violent card removal sensing algorithm, the current positioning data of the target device and the abnormal card removal information are sent to a preset device.
[0012] Among them, the card locking method of the target device also includes: in response to the target device being in an unlocked state or the password input is correct, releasing the locked card state, and driving the baffle to move by the motor of the card locking device until the baffle leaves the card slot and exposes the card pin socket.
[0013] The card locking method of the target device includes: in response to the target device receiving a shutdown command, performing legitimate user verification, and refusing to execute the shutdown command when the legitimate user verification fails.
[0014] To solve the above technical problems, the present invention further provides an electronic device, comprising: a memory and a processor coupled to each other, the processor being used to execute program instructions stored in the memory to implement any of the above card locking methods for the electronic device.
[0015] In order to solve the above technical problems, the present invention further provides a computer-readable storage medium, which stores program data, and the program data can be executed to implement a card locking method for a target device as described in any one of the above items.
[0016] The beneficial effects of the present invention are as follows: different from the prior art, when the target device is in a locked screen state, the present invention locks the user identification card of the target device through a card locking device to enter a locked card state; when a card pulling action is detected, legitimate user verification is performed, and when the legitimate user verification fails, the locked card state is maintained, thereby locking the user identification card through the card locking device in the locked screen state and the abnormal card pulling state, thereby reducing the occurrence of improper users pulling out user identification cards and then stealing the legitimate users' property and privacy, thereby improving the security and reliability of the user identification card. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a flowchart of an embodiment of a method for locking a card of a target device provided by the present invention;
[0018] Figure 2 It is a flowchart of another embodiment of the card locking method of the target device provided by the present invention;
[0019] Figure 3 is a schematic diagram of an implementation method of a card locking device;
[0020] Figure 4 It is a structural schematic diagram of an implementation method of a card slot and a card locking mechanism;
[0021] Figure 5 is a structural schematic diagram of an embodiment of an electronic device provided by the present invention;
[0022] Figure 6 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] See also Figure 1 , Figure 1 It is a flowchart of an embodiment of a card locking method for a target device provided by the present invention.
[0025] Step S11: In response to the target device being in a locked screen state, locking the user identification card of the target device by means of a card locking device.
[0026] The target device may include a mobile phone, a smart watch, or other smart device that can be equipped with a user identification card.
[0027] The target device of this embodiment is provided with a card locking device, which is arranged in a card slot of the target device and is used to lock a user identification card (SIM card) of the target device to prevent others from taking out the user identification card to steal information or property.
[0028] When the target device is in the locked screen state, the user identification card of the target device is locked by the card locking device. The locked screen state means that the legitimate user of the target device is not using the target device at this time, and it may be in any state other than the normal use state, such as: sleep state, charging state, and stolen state, etc. Therefore, in the locked screen state, the user identification card of the target device is locked by the card locking device to activate the card locking function to prevent the user identification card from being stolen.
[0029] In a specific application scenario, the locked card state can be locked by fixing the user identification card itself, that is, the locking device can include structures such as fasteners or blocking members, and the card is locked by fixing the user identification card itself. In a specific application scenario, the locked card state can also be locked by blocking the card slot insertion hole. When taking the card, the card pin needs to be inserted into the card slot insertion hole to trigger the card tray to pop out for taking the card. Therefore, the card slot insertion hole is blocked to prevent the card pin from being inserted, thereby locking the user identification card.
[0030] Step S12: When the card removal action is detected, legitimate user verification is performed. When the legitimate user verification fails, the card is kept locked.
[0031] In a specific application scenario, a sensing device can be set in the card slot to detect whether the card is pulled out by sensing whether the card pin hole at the card slot position of the user identification card is inserted by other external needle parts. When the card is pulled out, the legitimate user verification is performed. When the legitimate user verification fails, the card remains locked.
[0032] In a specific application scenario, the signal stability change of the user identification card can be detected to determine whether the card is pulled out. When the card is pulled out, the legitimate user verification is performed. When the legitimate user verification fails, the card is kept locked.
[0033] Wherein, the legitimate user verification can be a pop-up password input box to receive the password input by the user. When the password input is correct, the legitimate user verification is successful and the card lock state is released. When the password input is incorrect, the legitimate user verification fails and the card lock state is maintained. When the password input is incorrect, including the password input error or the password is not input, it means that the current user may be an illegitimate user trying to remove the user identification card, and the card lock state is maintained to prevent the user identification card from being removed; when the password input is correct, it means that the current user should be a legitimate user trying to remove the user identification card, and the card lock state is released to allow the legitimate user to remove the user identification card.
[0034] The legitimate user verification can be voice and voiceprint recognition. The screen pops up the words "please enter voice" and receives voice within a period of time. When the voice and voiceprint match the preset voice and voiceprint, the legitimate user verification is successful and the card lock state is released. When the voice and voiceprint do not match the preset voice and voiceprint, the legitimate user verification fails and the card lock state remains.
[0035] The legitimate user verification can also be fingerprint recognition, and the screen pops up "Please enter fingerprint" and other words. When the fingerprint matches the preset fingerprint, the legitimate user verification is successful and the card lock state is released. When the fingerprint does not match the preset fingerprint, the legitimate user verification fails and the card lock state remains. The specific method of legitimate user verification is not limited here.
[0036] Through the above steps, the card locking method of the target device of the present embodiment locks the user identification card of the target device through the card locking device when the target device is in the lock screen state, so as to enter the card locking state; detects the card pulling action, performs legitimate user verification, and when the legitimate user verification fails, maintains the card locking state, thereby locking the user identification card through the card locking device in the lock screen state and the abnormal card pulling state, thereby reducing the occurrence of improper users pulling out the user identification card and then stealing the property and privacy of the legitimate user, thereby improving the security and reliability of the user identification card.
[0037] See also Figure 2 , Figure 2 It is a flowchart of another embodiment of the card locking method of the target device provided by the present invention.
[0038] Step S21: monitor the screen status of the target device through the card lock program of the processor.
[0039] The card locking method of the target device of this embodiment uses a card locking device disposed in a card slot of the target device to lock the card. Figure 3 , Figure 3 It is a schematic diagram of an implementation manner of a card locking device.
[0040] The card locking device 30 of this embodiment includes a processor 31 and a card locking mechanism 32. The processor 31 may be a CPU processor of the target device; or may be a separate processor, but needs to be in communication with the CPU processor of the target device. The processor 31 is configured with a card locking program to control the card locking mechanism 32 to lock the card through the card locking program.
[0041] In a specific application scenario, the card locking mechanism 32 includes a motor 321 and a baffle 322, the motor 321 is connected to the baffle 322, and the baffle 322 is configured to be movable to the card pin insertion hole of the card slot to block the card pin and jam the card tray of the user identification card; when the user identification card is normally removed, the card pin needs to be inserted into the card pin insertion hole to trigger the card tray to pop out, so by moving the baffle 322 to the card pin insertion hole of the card slot to block the card pin and jam the card tray of the user identification card, the card pin can be blocked from being inserted and the card tray can be prevented from popping out, thereby locking the user identification card.
[0042] In a specific application scenario, the card locking device 30 further includes a sensor 33 , which is in communication with the processor 31 to exchange sensing information and control information.
[0043] The card locking program is a control program of the card locking device 30 , and is used to drive the card locking device 30 .
[0044] In this step, the screen status of the target device is first monitored by the card lock program of the processor 31. The screen status includes the locked screen status and the unlocked status, that is, by monitoring the screen status of the target device, it is determined whether the legitimate user is using the target device. When the screen status is the locked screen status, it means that the legitimate user is not using the target device; when the screen status is the unlocked status, it means that the legitimate user is using the target device.
[0045] In a specific application scenario, the screen status of the target device can be monitored by monitoring the data interaction of the screen status in the CPU processor of the target device through the card lock program. In a specific application scenario, a broadcast receiver can also be created to receive screen lock and unlock events, so as to monitor the screen status of the target device through the card lock program monitoring the broadcast receiver. The specific monitoring method is not limited here.
[0046] Before this step, a start button for the card lock function of the target device can be added in the settings of the target device. When the legitimate user starts the card lock function, step S21 is executed. If the legitimate user turns off the card lock function, it may be that the legitimate user does not need the card lock function, so the card is not locked.
[0047] Step S22: When it is detected that the target device is in a locked screen state, the card locking mechanism is controlled by the card locking program to lock the user identification card of the target device.
[0048] When the target device is detected to be in a locked screen state, it indicates that the legitimate user of the target device is not using the target device, and therefore the user identification card needs to be protected, that is, the user identification card of the target device is locked by controlling the card locking mechanism through the card locking program.
[0049] See also Figure 4 , Figure 4 It is a structural schematic diagram of an implementation method of a card slot and a card locking mechanism.
[0050] The user identification card 43 is placed in the card tray 42, and the card tray 42 is placed in the card slot 41. The card slot 41 is provided with a card pin insertion hole 44. Among them, the baffle 322 is configured to be movable to the card pin insertion hole 44 of the card slot 41 to block the card pin, and one side of the baffle 322 is connected to the motor 321 to be driven by the motor 322 to move and block.
[0051] In a specific application scenario, when it is detected that the target device is in a locked screen state, the card lock program can be used to control the motor 321 to drive the baffle 322 to move until the baffle 322 blocks the card pin socket 44 of the card slot 41 and jams the card tray 42 to prevent the card tray 42 from popping out, thereby locking the user identification card 43.
[0052] Step S23: When the sensor detects the card removal action, the processor is notified to pop up a password input box through the screen of the target device. When the password input is incorrect, the card remains locked.
[0053] In a specific application scenario, the sensor 33 can be set in the card pin insertion hole 44, and detects whether the card is pulled out by detecting whether the card is inserted in the card pin insertion hole 44. When an object is inserted in the card pin insertion hole 44, it indicates that the card is being pulled out; when no object is inserted in the card pin insertion hole 44, it indicates that the card is not being pulled out. The sensor 33 can be an infrared sensor, a laser sensor, or an ultrasonic sensor, etc., to detect external objects in the card pin insertion hole 44.
[0054] When the sensor 33 detects the card removal action, the processor is notified to pop up a password input box through the screen of the target device. If the password input is incorrect, the card is locked. The password can be the same as the lock screen password of the target device, or it can be another password set by the legitimate user.
[0055] When the password is entered correctly, it means that the card is removed by a legitimate user, so the card lock state is released to allow the legitimate user to remove the card.
[0056] In other embodiments, other verification methods may be used to detect whether the card removal action is initiated by a legitimate user. For details, please refer to the above embodiments.
[0057] Step S24: In response to the sensor detecting the violent card removal through the violent card removal sensing algorithm, the user identification card is functionally locked using a preset user identification code.
[0058] In some embodiments, a violent card removal sensing algorithm may be provided in the sensor 33; violent card removal refers to the violent removal of the user identification card 43 by abnormal mechanical means. When the sensor 33 detects the violent card removal through the violent card removal sensing algorithm, the user identification card 43 is functionally locked using a preset user identification code (SIM pin). That is, the user identification card 43 is locked from the software level, and even if an improper user forcibly removes the user identification card 43, it cannot be used normally to steal property or privacy. The specific value of the preset user identification code (SIM pin) can be pre-set by the proper user and is not limited here.
[0059] In a specific application scenario, in response to the sensor 33 detecting the violent card removal through the violent card removal sensing algorithm, the current location data of the target device and the abnormal card removal information can also be sent to the preset device, so that the legitimate user can know the current location and abnormal state of the target device to track the target device. The preset device can be pre-set by the legitimate user.
[0060] In a specific application scenario, after the sensor 33 detects violent card removal through a violent card removal sensing algorithm, it can also first send the current positioning data of the target device and abnormal card removal information to a preset device, and after receiving a card lock instruction from the preset device, use a preset user identification code to lock the user identification card.
[0061] Among them, when the target device is in the unlocked state or the password is entered correctly, the card lock state is released, and the motor of the card lock device drives the baffle to move until the baffle leaves the card slot and exposes the card pin socket so that the legitimate user can take the card normally.
[0062] Step S25: in response to the target device receiving the shutdown command, performing legitimate user verification, and refusing to execute the shutdown command when the legitimate user verification fails.
[0063] In order to prevent the target device from being violently pulled out after being shut down, after the target device receives the shutdown command, it will perform legitimate user verification. If the legitimate user verification fails, the shutdown command will be rejected. If the legitimate user verification succeeds, the shutdown command will be executed.
[0064] The method of validating a legitimate user is the same as described above and will not be described in detail.
[0065] The arrangement of step S24 and step S25 prevents an unauthorized user from forcibly removing the user identification card by force, thereby further ensuring the security and reliability of the user identification card.
[0066] This step prevents the target device from being shut down by an improper user, and due to the presence of the user identification card, the stolen target device will remain powered on and connected to the network for a long time, giving the proper user a certain amount of time and conditions to locate and retrieve the target device.
[0067] Through the above steps, this embodiment sets a card lock device in the card slot, and installs a sensor and a corresponding card lock program on the card lock device. The card lock device includes a baffle that can move up and down. When in the locked card state, the baffle will block the card pin jack and jam the SIM card tray. At this time, the inserted card pin will be blocked by the baffle, and the SIM card cannot be pulled out. The card pulling event will also be sensed by the sensor and reported to the preset device. When in the unlocked state, the baffle no longer jams the card tray, and the card pin jack will not be blocked. At this time, the card can be pulled out normally using the card pull pin; the up and down movement of the baffle is controlled by a motor installed next to the card slot, and the motor is controlled by the card lock program. The card lock program can receive the unlock state of the mobile phone and control the motor to drive the baffle to move up and down based on this state. When the target device is not unlocked, the baffle blocks the card pin jack and jams the card tray. When the target device is unlocked, the baffle blocks the card pin jack and does not jam the card tray. Among them, when the card locking device is in the locked state, if the card pulling action is detected, the card locking program can report the card pulling event to the upper-level software. After receiving the event, the software will pop up an unlock password input box to prompt the user to unlock and then pull out the card again. When the password is entered incorrectly, the card will remain in the locked state; when the password is entered correctly, the card will be unlocked, so as to reduce the situation where improper users pull out the user identification card and steal the property and privacy of the legitimate user, thereby improving the security and reliability of the user identification card.
[0068] Based on the same inventive concept, the present invention also proposes an electronic device, which can be executed to implement the electronic device card locking method of any of the above embodiments, see Figure 5 , Figure 5 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. The electronic device includes a processor 51 and a memory 52.
[0069] The processor 51 is used to execute the program instructions stored in the memory 52 to implement the steps of the card locking method of any electronic device described above. In a specific implementation scenario, the electronic device may include but is not limited to: a microcomputer, a server, and in addition, the electronic device may also include a mobile device such as a laptop computer and a tablet computer, which is not limited here.
[0070] Specifically, the processor 51 is used to control itself and the memory 52 to implement the steps of any of the above embodiments. The processor 51 can also be called a CPU (Central Processing Unit). The processor 51 may be an integrated circuit chip with signal processing capabilities. The processor 51 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 51 can be implemented by an integrated circuit chip.
[0071] The above scheme can reduce the occurrence of situations where unauthorized users steal user identification cards and then steal the property and privacy of authorized users, thereby improving the security and reliability of user identification cards.
[0072] Based on the same inventive concept, the present invention also proposes a computer-readable storage medium, see Figure 6 , Figure 6 6 is a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention. The computer-readable storage medium 60 stores at least one program data 61, and the program data 61 is used to implement any of the above methods. In one embodiment, the computer-readable storage medium 60 includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0073] In the several embodiments provided by the present invention, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0074] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0075] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0076] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium.
[0077] The above are only implementation modes of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for locking a target device, characterized in that: The target device is provided with a card locking device, and the card locking device is arranged in a card slot of the target device. The card locking method of the target device includes: In response to the target device being in a locked screen state, locking the user identification card of the target device by the card locking device to enter a locked card state; When a card removal action is detected, a legitimate user verification is performed, and when the legitimate user verification fails, the card lock state is maintained.
2. The method for locking a target device according to claim 1, characterized in that: The card locking device comprises a processor and a card locking mechanism, wherein the processor is configured with a card locking program, so as to control the card locking mechanism to lock the card through the card locking program; In response to the target device being in a locked screen state, locking the user identification card of the target device by the card locking device includes: Monitoring the screen status of the target device through the card lock program of the processor; When it is detected that the target device is in a locked screen state, the card locking mechanism is controlled by the card locking program to lock the user identification card of the target device.
3. The method for locking a target device according to claim 2, characterized in that: The card locking mechanism comprises a motor and a baffle, wherein the motor is connected to the baffle, and the baffle is configured to be movable to the card pin insertion hole of the card slot to block the card pin; The card locking program controls the card locking mechanism to lock the user identification card of the target device, including: The motor is controlled by the card locking program to drive the baffle to move until the baffle blocks the card pin insertion hole of the card slot and clamps the card tray of the user identification card, so as to lock the user identification card.
4. The method for locking a target device according to claim 2 or 3, characterized in that: The card locking device further includes a sensor, and the sensor is communicatively connected to the processor; The detecting of the card removal action, performing legitimate user verification, and maintaining the card lock state when the legitimate user verification fails, includes: When the sensor detects the card removal action, the processor is notified to pop up a password input box through the screen of the target device. When the password input is incorrect, the card is kept in the locked state.
5. The card locking method of the target device according to claim 4, characterized in that: The sensor is provided with a violent card removal sensing algorithm; the card locking method of the target device further includes: In response to the sensor detecting the violent card removal through the violent card removal sensing algorithm, the user identification card is functionally locked using a preset user identification code.
6. The method for locking a target device according to claim 5, characterized in that: In response to the sensor detecting the violent card removal through the violent card removal sensing algorithm, the user identification card is functionally locked using a preset user identification code, and further comprising: In response to the sensor detecting the violent card pulling out through the violent card pulling out sensing algorithm, the current location data of the target device and the abnormal card pulling out information are sent to a preset device.
7. The method for locking a target device according to claim 4, characterized in that: The card locking method of the target device further includes: In response to the target device being in an unlocked state or the password being input correctly, the locked card state is released, and the baffle is driven to move by the motor of the card locking device until the baffle leaves the card slot and exposes the card pin insertion hole.
8. The method for locking a target device according to claim 1, characterized in that: The card locking method of the target device includes: In response to the target device receiving the shutdown instruction, legitimate user verification is performed, and when the legitimate user verification fails, the shutdown instruction is refused to be executed.
9. An electronic device, characterized in that: The electronic device comprises: a memory and a processor coupled to each other, wherein the processor is used to execute program instructions stored in the memory to implement the card locking method of the electronic device according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program data, and the program data can be executed to implement the card locking method of the target device according to any one of claims 1 to 8.