USB-key control method, USB-key, terminal device, and storage medium

By detecting the wireless signal strength between the USB-KEY and the mobile terminal, the lock and unlock status of the terminal device is controlled. Combined with the wireless communication module, the security protection of the USB-KEY is realized, which solves the security problem when the user leaves, and improves work efficiency and system applicability.

WO2026011523A1PCT designated stage Publication Date: 2026-01-15SHANGHAI HUASHEN INTELLIGENT IC CARD APPL SYST
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/111402
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-10
Filing Date
2024-08-12
Publication Date
2026-01-15

AI Technical Summary

Technical Problem

Existing technologies cannot effectively protect device security when users leave their computers during USB-KEY usage, leading to risks of unauthorized use and data leakage. Conventional solutions also affect work efficiency or increase management burden.

Method used

By detecting the wireless signal strength between the USB-KEY and the mobile terminal, the lock and unlock status of the terminal device can be controlled. Combined with the wireless communication module, the encryption, decryption and signature operations can be paused or resumed, thereby enhancing the security and applicability of the USB-KEY.

Benefits of technology

It improves the data protection capabilities of USB-KEY under unattended conditions, enhances user work efficiency, caters to the needs of different scenarios, and strengthens the applicability and security of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024111402_15012026_PF_FP_ABST
    Figure CN2024111402_15012026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present invention are a USB-KEY control method, a USB-KEY, a terminal device, and a storage medium. The USB-KEY control method comprises: monitoring the strength of a wireless signal between a USB-KEY and a mobile terminal; when the strength of the wireless signal is lower than a preset threshold, controlling a terminal device to trigger a first state, wherein the first state comprises a screen-locked state; and when the strength of the wireless signal is higher than the preset threshold, controlling the terminal device to trigger a second state, wherein the second state comprises an unlocked state. The present invention realizes data protection for the USB-KEY under unsupervised conditions, improves the work efficiency of users when working with the USB-KEY and also accommodates usage requirements in different scenarios, thereby enhancing the applicability of a system.
Need to check novelty before this filing date? Find Prior Art

Description

USB-KEY control methods, USB-KEY, terminal devices and storage media Technical Field

[0001] This invention relates to the field of secure communication technology for USB-KEY, and more particularly to USB-KEY control methods, USB-KEY, terminal devices, and storage media. Background Technology

[0002] USB keys, often called USB security tokens or U-shields, are used to enhance the security of computer systems, providing users with a secure means of authentication and data protection. If a user leaves their computer unattended, the risk of unauthorized use of the USB key or data leakage increases. Common practices for protecting USB keys when users are away include: setting automatic locking, screen savers, physical devices, encrypted storage devices, and regularly changing passwords. However, setting automatic locking can affect user efficiency due to frequent automatic locking, or reduce security due to prolonged lockout times; screen savers may not have enough time to start when users are only briefly away; physical devices are not suitable for temporary work environments; encrypted storage devices may render data inaccessible; and while regularly changing passwords improves security, it increases the burden of password management for users.

[0003] Summary of the Invention

[0004] The purpose of this invention is to provide a USB-KEY control method, a USB-KEY, a terminal device, and a storage medium to achieve data protection of the USB-KEY under unattended conditions. It controls the secure use of the USB-KEY by detecting the strength of the wireless signal connected to the USB-KEY, thereby improving the user's work efficiency when using the USB-KEY, taking into account the usage needs in different scenarios, and enhancing the applicability of the system.

[0005] The technical solution provided by this invention is as follows:

[0006] This invention provides a USB-KEY control method, wherein the USB-KEY is plugged into a terminal device and also establishes a wireless communication connection with a mobile terminal, and the method includes the following steps:

[0007] Detect the strength of the wireless signal between the USB-KEY and the mobile terminal.

[0008] When the strength of the wireless signal is lower than a preset threshold, the control terminal device triggers the first state; the first state includes the screen lock state.

[0009] When the strength of the wireless signal is higher than a preset threshold, the control terminal device triggers the second state; the second state includes the unlock state.

[0010] Furthermore, when the strength of the wireless signal is below a preset threshold, it also includes:

[0011] Control the USB-KEY that has been authenticated and is logged in, and suspend the execution of the first operation instruction; the first operation instruction includes encryption / decryption and signing operations.

[0012] Furthermore, when the strength of the wireless signal is below a preset threshold, it also includes:

[0013] When a wireless signal interruption is detected, and the USB-KEY is recognized as authenticated and logged in, the login status of the USB-KEY is cleared.

[0014] Furthermore, after detecting a wireless signal interruption, it also includes:

[0015] When the strength of the wireless signal is detected to have recovered to above the preset threshold, the control displays an interface for re-authenticating and logging into the USB-KEY.

[0016] Furthermore, after the control displays the interface for re-authenticating the USB-KEY login, it includes:

[0017] After detecting that the USB-KEY has been authenticated and is logged in, an authorization confirmation for the USB-KEY is sent to the mobile terminal.

[0018] After detecting authorization confirmation via the mobile terminal, the control USB-KEY responds and executes the first operation command.

[0019] Furthermore, it also includes:

[0020] Controls the encrypted transfer of files between the device and the mobile terminal via a USB-KEY.

[0021] The present invention also provides a USB-KEY with the function of transmitting wireless signals, comprising:

[0022] The interface module establishes a physical connection with the terminal device.

[0023] The wireless communication module establishes a wireless communication connection with the mobile terminal after establishing a physical connection with the terminal device; the wireless communication connection includes a Bluetooth connection.

[0024] Furthermore, it also includes:

[0025] When the strength of the wireless signal is lower than a preset threshold, the control module responds by executing the authenticated and logged-in USB-KEY and suspending the execution of the first operation instruction; the first operation instruction includes encryption / decryption and signature operations.

[0026] The present invention also provides a terminal device for controlling the lock and unlock states of a device physically connected to a USB-KEY, including a processor for calling instructions stored in a memory, wherein when the instructions are executed, the terminal device executes a USB-KEY control method.

[0027] The present invention also provides a storage medium storing at least one instruction, which is loaded and executed by a processor to implement the operation performed by the USB-KEY control method.

[0028] The USB-KEY control method, USB-KEY, terminal device, and storage medium provided by this invention can protect the data of the USB-KEY under unattended conditions, enhance the communication security of the USB-KEY, improve the work efficiency of users when using the USB-KEY, and take into account the usage needs in different scenarios, thereby enhancing the applicability of the system. Attached Figure Description

[0029] The preferred embodiments will now be described in a clear and easy-to-understand manner, with reference to the accompanying drawings, to further explain the above-mentioned characteristics, technical features, advantages, and implementation methods of a USB-KEY control method, a USB-KEY, a terminal device, and a storage medium.

[0030] Figure 1 is a structural schematic diagram of an embodiment of a USB-KEY according to the present invention;

[0031] Figure 2 is a flowchart of an embodiment of a USB-KEY control method according to the present invention;

[0032] Figure 3 is a flowchart of another embodiment of a USB-KEY control method of the present invention;

[0033] Figure 4 is a structural schematic diagram of an embodiment of a terminal device of the present invention. Detailed Implementation

[0034] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application can also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0035] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or sets.

[0036] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0037] Furthermore, in the description of this application, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0038] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings and other implementation methods can be obtained based on these drawings without any creative effort.

[0039] A USB-KEY is a security device typically used to provide authentication and data encryption services. It's a hardware device that connects to a computer or other electronic device via a USB interface. USB-KEYs are widely used in various scenarios, such as online banking, e-government, and internal enterprise systems, effectively protecting information security and preventing data leaks and unauthorized access. To use a USB-KEY, the user inserts it into the computer's USB port and then authenticates by entering a password or using biometric technology (such as fingerprint or facial recognition). Once authentication is successful, the user can access the relevant systems and data.

[0040] Under current technology, when using a USB-KEY for authentication and data encryption, if the user leaves the computer without unplugging the USB-KEY, the login status of the USB-KEY will not change. Leaving the computer may increase the risk of unauthorized use of the device or data leakage. Common practices for protecting USB-KEY security when users are away include: setting automatic locking, automatically locking the screen after a preset period of inactivity, requiring USB-KEY authentication for use; using a screen saver that activates when the user leaves the computer, requiring a correct password to unlock; using physical devices to secure the computer to prevent unauthorized movement; encrypting storage devices, encrypting sensitive data stored using the USB-KEY on the storage device; and regularly changing the USB-KEY password to reduce security risks.

[0041] However, setting up automatic lockout can affect user productivity due to frequent automatic lockouts, or reduce security due to extended lockout time; if users are only leaving briefly, there is not enough time to activate the screen saver; physical devices may be damaged, making them unsuitable for some temporary workplaces; using encrypted storage devices may increase data storage and access time, affecting productivity and potentially causing data inaccessibility; while regularly changing passwords improves security, users may forget new passwords due to frequent changes, increasing the burden of password management.

[0042] For a standard USB key (U-KEY), when it is plugged into the USB port of a local device, the device's operating system recognizes the U-KEY through a driver. The driver establishes a communication connection with the U-KEY to send and receive data after authentication. Standard U-KEYs typically do not include Bluetooth or other wireless connectivity devices and cannot connect wirelessly to mobile devices; they primarily connect to computers or other devices via a physical USB interface.

[0043] The USB-KEY of this invention includes a wireless connection device, enabling wireless connection with a mobile terminal. It executes the screen state of the terminal device and the command operations of the USB-KEY based on the detected wireless signal strength between the USB-KEY and the mobile terminal. By using the wireless communication module of the USB-KEY, combined with the security features of wireless communication and conventional USB tokens, a higher level of multi-factor authentication is achieved, ensuring the security of information exchange between devices. In addition, a security token service is provided, acting as a security token generator to provide dynamic authentication, enhancing the security of using the USB-KEY.

[0044] Therefore, the present invention provides a USB-KEY control method, which establishes a wireless connection with the USB-KEY, compares the detected wireless signal strength with a preset threshold, and thus maintains the unlocked state of the terminal device or performs a screen lock operation; it also allows for personalized configuration of the USB-KEY according to the level of security requirements, and the wireless signal can be linked with the USB-KEY encryption process.

[0045] The USB-KEY with wireless communication function enables data protection without supervision by using the USB-KEY control method, which enhances the communication security of the USB key. It not only improves the work efficiency of users when using the USB-KEY, but also takes into account the usage needs in different scenarios, thus enhancing the applicability of the system.

[0046] The following description is in conjunction with the accompanying drawings:

[0047] In one embodiment of the present invention, as shown in FIG1, a USB-KEY includes:

[0048] Interface module 110 establishes a physical connection with the terminal device.

[0049] The wireless communication module 120 establishes a wireless communication connection with the mobile terminal after establishing a physical connection with the terminal device; the wireless communication connection includes a Bluetooth connection.

[0050] Specifically, the interface module 110 of the USB-KEY includes a USB interface, power management, and communication protocol support. The USB-KEY typically uses a standard USB interface (such as USB TYPE-A) to connect to terminal devices (such as computers). Power management is used to manage the power supply of the USB-KEY to ensure that the device can work normally when connected via USB. The communication protocol supports the USB-KEY to realize data exchange with the host device.

[0051] The wireless communication module 120 of the USB-KEY includes a wireless communication chip, an antenna, a microcontroller or processor, and a wireless communication interface. The dedicated wireless communication chip can support Bluetooth, Wi-Fi, NFC, or other wireless technologies, for example, it can connect to a mobile phone via Bluetooth. The antenna is used for transmitting and receiving wireless signals, and the antenna can be a built-in antenna. The dedicated microcontroller is used to process wireless communication tasks, such as transmitting wireless signals. The wireless communication interface is used to provide a hardware interface with the wireless communication chip, such as SPI or I2C.

[0052] When the USB-KEY is inserted into the USB port of the terminal device, the interface module 110 can establish a physical connection with the terminal device. The operating system of the terminal device recognizes the USB key through the driver, and the driver establishes a communication connection with the USB-KEY so that data can be sent and received after authentication.

[0053] After the USB-KEY establishes a physical connection, its wireless communication module 120 sends a wireless signal. The mobile terminal's wireless device is activated, and the mobile terminal searches for and connects to the USB-KEY's wireless signal. A stable wireless signal connection is established between the mobile terminal and the USB-KEY. The wireless signal includes a Bluetooth signal. In this embodiment, the mobile terminal's wireless signal is sent to the terminal device in real time, and the strength of the mobile terminal's wireless signal is used as a key parameter to trigger changes in the lock screen state of the terminal device that has established a physical connection with the USB-KEY.

[0054] Please refer to Figure 1. When controlling the operation of the USB-KEY using wireless signals, the following are also included:

[0055] When the strength of the wireless signal is lower than a preset threshold, the control module 130 responds by executing the authenticated and logged-in USB-KEY and suspending the execution of the first operation instruction; the first operation instruction includes encryption / decryption and signature operations.

[0056] Specifically, the control module 130 of the USB-KEY includes a microprocessor, memory, security chip, input / output interface, authentication mechanism, etc. Among them, the microcontroller is the core of the USB-KEY, responsible for executing program instructions and controlling all operations of the USB-KEY; the memory (such as EEPROM or Flash) is used to store firmware, certificates, keys and other data; the security chip is used to securely store keys and perform authentication, encryption and decryption operations; the input / output interface controls the communication between the USB-KEY and external devices, including the USB interface; the authentication mechanism controls access to the USB-KEY, such as PIN code verification or other biometric verification.

[0057] For USB-KEYs that have already been logged in and authenticated on the terminal device, when the wireless signal of the mobile terminal connected to the USB-KEY is lower than the set wireless signal threshold, it means that the user has left the terminal device, and the encryption, decryption, signing and other operations on the USB-KEY will be suspended.

[0058] In this embodiment, the USB-KEY not only has traditional functions such as authentication and data encryption, but also innovatively integrates a wireless communication module, enabling it to actively pair with mobile terminals wirelessly and monitor signal strength. This integrated design is a significant improvement over existing USB-KEY devices.

[0059] The USB-KEY of this invention features wireless communication capabilities, enabling connection to smart mobile terminal devices such as smartphones, tablets, and smart bracelets. After establishing a physical connection with the terminal device via interface module 110, the USB-KEY pairs and connects with the mobile terminal via its built-in wireless communication module 120. The terminal device can be a local device or a cloud server. The operation of the USB-KEY is controlled by the wireless signal strength of the mobile terminal; the wireless signal can be Bluetooth, RFID, cellular network, etc. This invention's USB-KEY is based on a USB-KEY control method, enabling data protection without supervision, enhancing the communication security of the USB key, improving user efficiency when using the USB-KEY, and catering to the needs of different security scenarios.

[0060] The following description is in conjunction with the accompanying drawings:

[0061] In one embodiment of the present invention, please refer to FIG2, which shows a flowchart of a USB-KEY control method provided in some embodiments of the present disclosure. The method is executed by a terminal device and includes at least the following steps:

[0062] The S100 detects the strength of the wireless signal between the USB-KEY and the mobile terminal.

[0063] When the strength of the wireless signal is lower than a preset threshold, the S200 controls the terminal device to trigger a first state, which includes a screen lock state.

[0064] When the strength of the wireless signal is higher than a preset threshold, the S300 controls the terminal device to trigger a second state, which includes an unlocked state.

[0065] Specifically, the terminal device is equipped with a USB interface for receiving commands from the USB-KEY. Dedicated control software is installed on the terminal device to receive the wireless signal strength detected by the USB-KEY and to control the screen status of the terminal device with the USB-KEY plugged in based on this information.

[0066] After the USB-KEY establishes a physical connection with the terminal device, its wireless communication module sends a wireless signal, putting the USB-KEY into wireless pairing mode. The user then uses their mobile device to search for and connect to the USB-KEY's wireless signal, establishing a stable wireless connection. This wireless signal includes Bluetooth signals.

[0067] Users can adjust the wireless signal strength threshold through dedicated control software on their terminal devices according to their work environment and personal habits, thereby enabling personalized settings for the screen lock trigger distance. This ensures data security while also catering to the usage needs of different scenarios, enhancing the system's adaptability.

[0068] The USB-KEY monitors the Wi-Fi signal strength of the paired mobile device in real time. Dedicated control software on the terminal device receives this signal strength. The software compares the received signal strength with a preset threshold to determine whether to maintain the unlocked state or lock the screen. When the Wi-Fi signal strength is below the preset threshold, the terminal device triggers a first state, which can be a screen lock, preventing further operation of the inserted USB-KEY. When the Wi-Fi signal strength is above the preset threshold, the terminal device triggers a second state, which can be maintaining the unlocked state, allowing the user to continue operating the USB-KEY through the terminal device.

[0069] To enable mobile terminals to send encrypted files to terminal devices, the USB-KEY control method also includes controlling the sending of files between the mobile terminal and the USB-KEY in an encrypted manner.

[0070] Specifically, the USB-KEY sends encryption and decryption keys to the mobile terminal. The mobile terminal uses the keys to encrypt the file and then transmits it wirelessly to the terminal device. The terminal device then decrypts the file using the USB-KEY.

[0071] On terminal devices lacking wireless communication capabilities, inserting a USB-KEY enables file transfer between the terminal device and the mobile terminal via wireless signal. When transferring files, the USB-KEY generates a random number as a file encryption / decryption key and sends it to the mobile terminal. The mobile terminal uses this key to encrypt the file and transmits it wirelessly to the terminal device. The terminal device establishes a physical connection with the USB-KEY and decrypts the file to obtain the original text. By using encryption to send files, the wireless signal strength is linked to the USB-KEY's encryption process, ensuring both file security and improved convenience of file transfer.

[0072] In this embodiment, the wireless signal strength of the mobile terminal is used as a key parameter to trigger changes in the screen state of the terminal device with the USB-KEY plugged in, through a USB-KEY control method. This method, which determines whether a user is near the terminal device with the USB-KEY plugged in based on wireless signal strength and performs screen locking or unlocking operations accordingly, represents a significant improvement over traditional timed, manual, or biometric recognition screen locking methods.

[0073] When the strength of the wireless signal is lower than a preset threshold, it may indicate either a weak wireless signal or a wireless signal interruption. One such case will now be explained, as shown in Figure 3. Step S200 above may include:

[0074] When the S210 detects a wireless signal interruption and recognizes that the USB-KEY is authenticated and logged in, it controls the USB-KEY to clear the login status.

[0075] When the S220 detects that the strength of the wireless signal has recovered to above the preset threshold, the control display shows the interface for re-authenticating and logging into the USB-KEY.

[0076] After detecting that the USB-KEY has been authenticated and is logged in, the S230 sends an authorization confirmation of the USB-KEY to the mobile terminal.

[0077] After detecting authorization confirmation through the mobile terminal, S240 controls the USB-KEY to respond and execute the first operation command.

[0078] Specifically, when the wireless signal strength falls below a preset threshold, the control terminal device triggers a first state, which can be a screen lock state, preventing the terminal device from continuing to operate the inserted USB-KEY. However, a wireless signal below the preset threshold can also be a wireless signal interruption. When the terminal device's dedicated control software detects a wireless signal interruption, and the USB-KEY has been verified with the user's PIN code and is logged in with permission to operate the private key within the USB-KEY, it will automatically clear the USB-KEY's login status on the terminal device. Even if someone else reopens the terminal device, they will not have permission to operate the private key of the inserted USB-KEY.

[0079] If the wireless signal is interrupted and then detected to have recovered to above the preset threshold, the terminal device will not have permission to perform private key operations such as signing on the inserted USB-KEY after being restarted. The USB-KEY's PIN code will need to be re-verified before it can be used.

[0080] In this embodiment, for operations requiring a high level of security (such as bank transfers), dual authentication can be added. Even if the current wireless signal strength of the mobile terminal is above a preset threshold and the user has verified the USB-KEY's PIN code, the user cannot immediately gain access to the USB-KEY. Specifically, after detecting that the USB-KEY has been authenticated and is logged in, the USB-KEY's wireless communication module can send a security prompt message to the mobile terminal. The user needs to click to confirm the authorization on the mobile terminal. After the authorization confirmation is detected by the mobile terminal, the USB-KEY obtains dual authentication, allowing it to perform a first operation command with a higher level of security. This first operation command can be encryption / decryption or signing.

[0081] In response to situations such as Bluetooth signal interruption and accidental triggering, and to ensure the security of USB-KEY communication, the USB-KEY control method of this invention can protect the wireless communication security between the USB-KEY and the user's mobile terminal, prevent malicious hijacking or eavesdropping of communication content by third parties, and prevent the computer from being maliciously controlled or invaded by sending instructions without authorization and confirmation from the mobile terminal, thereby ensuring the reliability of the system and the security of user privacy.

[0082] Now, regarding the case of weak wireless signal strength, step S200 may further include: controlling the USB-KEY that has been authenticated and is in a logged-in state to suspend the execution of the first operation instruction; the first operation instruction includes encryption / decryption and signature operations.

[0083] Specifically, when the USB-KEY is performing symmetric encryption / decryption, asymmetric encryption / decryption, digest, or signing operations, the USB-KEY is already logged in and authenticated. The dedicated control software on the terminal device compares the received wireless signal with a preset threshold. If the wireless signal strength is lower than the preset threshold, in addition to locking the terminal device screen, it also pauses the ongoing operation of the USB-KEY. These paused operations can be encryption / decryption or signing operations. The operation of pausing the USB-KEY can be controlled by selecting the appropriate option in the operation item list through the dedicated control software on the terminal device.

[0084] In this embodiment, a USB-KEY control method is used to control the screen status and operation of the terminal device. Users no longer need to manually set complex timed screen locks or frequently plug and unplug the USB-KEY. Simply bringing the mobile device close to the terminal device automatically unlocks it, and the system automatically locks it when the user leaves the terminal device, providing a smoother work experience. For users who frequently need to leave the terminal device, such as employees or students in office settings, this reduces unnecessary steps, improving work efficiency while ensuring the security of the USB-KEY.

[0085] As shown in FIG4, in one embodiment of the present invention, a terminal device 400 includes a processor 410 and a memory 420, wherein the memory 420 is used to store a computer program 421; the processor 410 is used to execute the computer program 421 stored in the memory 420 to implement the USB-KEY control method in the corresponding method embodiment described above.

[0086] The terminal device 400 can be a desktop computer, laptop, handheld computer, tablet computer, mobile phone, human-computer interaction screen, etc. The terminal device 400 may include, but is not limited to, a processor 410 and a memory 420. Those skilled in the art will understand that Figure 4 is merely an example of a smart terminal device 400 and does not constitute a limitation on the terminal device 400. It may include more or fewer components than shown, or combine certain components, or use different components. For example, a smartwatch 400 may also include an input / output interface, a display device, a network access device, a communication bus, a communication interface, etc. The communication interface and communication bus may also include an input / output interface, wherein the processor 410, memory 420, input / output interface, and communication interface communicate with each other through the communication bus. The memory 420 stores a computer program 421, and the processor 410 executes the computer program 421 stored in the memory 420 to implement the USB-KEY control method in the corresponding method embodiments described above.

[0087] The processor 410 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0088] The memory 420 can be an internal storage unit of the terminal device 400, such as a hard drive or memory of a smart device. The memory can also be an external storage device of the smart device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 420 can include both internal and external storage units of the smart device terminal 400. The memory 420 is used to store the computer program 421 and other programs and data required by the smart terminal device 400. The memory can also be used to temporarily store data that has been output or will be output.

[0089] A communication bus is a circuit that connects the described elements and enables transmission between these elements. For example, processor 410 receives commands from other elements via the communication bus, decrypts the received commands, and performs calculations or data processing based on the decrypted commands. Memory 420 may include program modules such as a kernel, middleware, an application programming interface (API), and applications. The program module may consist of software, firmware, or hardware, or at least two of these. Input / output interfaces forward commands or data input by the user through input / output interfaces (e.g., sensors, keyboards, touchscreens). Communication interfaces connect the intelligent terminal device 400 to other network devices, user equipment, and networks. For example, the communication interface can connect to a network via wired or wireless means to connect to other external network devices or user equipment. Wireless communication may include at least one of the following: Wi-Fi, Bluetooth, Near Field Communication (NFC), Global Positioning System (GPS), and cellular communication, etc. Wired communication may include at least one of the following: Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), Asynchronous Transfer Standard (RS-232), etc. The network may be a telecommunications network or a communication network. The communication network may be a computer network, the Internet, the Internet of Things (IoT), or a telephone network. Terminal device 400 can connect to the network through a communication interface. The protocol used by terminal device 400 to communicate with other network devices may be supported by at least one of the following: application programming interface (API), middleware, kernel, and communication interface.

[0090] In one embodiment of the present invention, a storage medium stores at least one instruction, which is loaded and executed by a processor to perform the operation described in the corresponding embodiment of the USB-KEY control method. For example, the storage medium may be a read-only memory (ROM), random access memory (RAM), read-only optical disc (CD-ROM), magnetic tape, floppy disk, or optical data storage device, etc.

[0091] These can be implemented using computer-executable program code, thus allowing them to be stored in a storage device for execution by a computing device, or fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Therefore, this invention is not limited to any particular hardware and software combination.

[0092] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0093] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0094] In the embodiments provided in this application, it should be understood that the disclosed devices / smartwatches and methods can be implemented in other ways. For example, the device / smartwatch embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interface, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0095] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0096] Furthermore, the functional units in the various embodiments of this application 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 integrated unit described above can be implemented in hardware or as a software functional unit.

[0097] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the present invention can implement all or part of the processes in the above embodiments by sending instructions from a computer program 421 to related hardware. The computer program 421 can be stored in a storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program 421 can be in the form of source code, object code, executable file, or some intermediate form. The storage medium can include: any entity or device capable of carrying the computer program 421, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content included in the storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electrical carrier signals and telecommunication signals.

[0098] It should be noted that the above embodiments can be freely combined as needed. The above description is only a preferred embodiment of the present invention. It should be pointed out that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A USB-KEY control method, characterized in that, The USB-KEY is plugged into a terminal device, and the USB-KEY also establishes a wireless communication connection with the mobile terminal. The method includes the following steps: Detect the strength of the wireless signal between the USB-KEY and the mobile terminal; When the strength of the wireless signal is lower than a preset threshold, the terminal device is controlled to trigger a first state; the first state includes a screen lock state. When the strength of the wireless signal is higher than the preset threshold, the terminal device is controlled to trigger a second state; the second state includes an unlocked state.

2. The USB-KEY control method according to claim 1, characterized in that, When the strength of the wireless signal is lower than a preset threshold, the method further includes: The USB-KEY, which has been authenticated and is in a logged-in state, is controlled to suspend the execution of the first operation instruction; the first operation instruction includes encryption / decryption and signing operations.

3. The USB-KEY control method according to claim 1, characterized in that, When the strength of the wireless signal is lower than a preset threshold, the method further includes: When the wireless signal interruption is detected, and the USB-KEY is identified as authenticated and logged in, the login status of the USB-KEY is cleared.

4. The USB-KEY control method according to claim 3, characterized in that, After detecting the wireless signal interruption, the following is also included: When the strength of the wireless signal is detected to recover to above the preset threshold, the interface for re-authenticating and logging into the USB-KEY is displayed.

5. The USB-KEY control method according to claim 4, characterized in that, After the control screen displays the interface for re-authenticating and logging into the USB-KEY, it includes: After detecting that the USB-KEY has been authenticated and is logged in, an authorization confirmation for the USB-KEY is sent to the mobile terminal; After detecting authorization confirmation through the mobile terminal, the USB-KEY is controlled to respond and execute the first operation command.

6. The USB-KEY control method according to claim 1, characterized in that, Also includes: Controls the sending of files to the mobile terminal in an encrypted manner via the USB-KEY.

7. A USB-KEY, characterized in that, It has the function of transmitting wireless signals, including: The interface module establishes a physical connection with the terminal device; The wireless communication module establishes a wireless communication connection with the mobile terminal after establishing a physical connection with the terminal device; the wireless communication connection includes a Bluetooth connection.

8. The USB-KEY according to claim 7, characterized in that, Also includes: When the strength of the wireless signal is lower than a preset threshold, the control module responds by pausing the execution of the first operation instruction when the USB-KEY, which has been authenticated and is in a logged-in state, is executed; the first operation instruction includes encryption / decryption and signature operations.

9. A terminal device, characterized in that, The device is used to control the lock and unlock states of a device physically connected to a USB-KEY, including a processor for calling instructions stored in a memory, wherein when the instructions are executed, the terminal device performs the USB-KEY control method as described in any one of claims 1-6.

10. A storage medium, characterized in that, The storage medium stores at least one instruction, which is loaded and executed by a processor to perform the operation of the USB-KEY control method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Wireless USB key supporting mobile terminals

    CN104063646A

  • Mobile terminal, Bluetooth Key and connection method, storage medium and system

    CN107635290A

  • Automatic screen unlocking method and device, electronic equipment and readable storage medium

    CN113993115A

  • Systems, apparatus, and methods for controlling an operating state of an electronic apparatus to a lock state

    US20210004447A1