USB device security verification method, system, electronic device and storage medium

Through the interaction between the terminal and the server, the security policy is parsed and reused, the problems of cumbersome operations and waste of resources during the security verification process of USB devices are solved, efficiency is improved and information security is ensured.

CN114928453BActive Publication Date: 2024-11-15GUANGDONG INST OF ARTIFICIAL INTELLIGENCE & ADVANCED COMPUTING
View PDF 16 Cites 0 Cited by

Patent Information

Application Number
CN202210555767.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-19
Publication Date
2024-11-15
Estimated Expiration
2042-05-19

AI Technical Summary

Technical Problem

The security verification process of USB devices in the prior art lacks a reusable regularization strategy, resulting in cumbersome operations, low efficiency, and serious waste of resources.

Method used

Through the interaction between the terminal and the server, the security policy is received and parsed, the security verification results of similar USB devices can be reused, and duplicate environment configuration and resource waste are reduced.

Benefits of technology

It improves the efficiency of security verification of USB devices, reduces the load on the security verification server and terminal, avoids waste of resources, and ensures maximum information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114928453B_ABST
    Figure CN114928453B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a USB device security verification method, system, electronic device and storage medium, wherein the method comprises: sending a read request to a security verification server; receiving a security policy returned from the security verification server according to the read request, wherein the security policy is obtained by the security verification server parsing device information and connection records; parsing the security policy to obtain a security verification result; and sending the security verification result to the security verification server. The implementation of the embodiment of the present application can reduce the tedious steps of repeated security verification of USB devices, reduce resource waste, and improve security verification efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information security technology, and in particular to a USB device security verification method, system, electronic device and storage medium. Background Art

[0002] In the daily product development process, the interaction between hardware and hardware is close, and the scenes of USB devices connecting to hosts and other devices frequently appear. In order to ensure information security while avoiding alarms and failures caused by abnormal connections, relevant targeted security strategies are needed to verify and restrict access devices.

[0003] However, the existing architecture is mainly based on point-to-point monitoring and restriction, and lacks reusable regular strategies to uniformly manage connected USB devices. There are problems such as cumbersome operations and low efficiency due to the lack of intelligent and automated management and control. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a USB device security verification method, system, electronic device and computer-readable storage medium, which can reduce the tedious steps of repeated security verification of USB devices, reduce resource waste and improve security verification efficiency.

[0005] In a first aspect, an embodiment of the present application provides a USB device security verification method for a security verification terminal, the method comprising:

[0006] Send a read request to the security verification server;

[0007] Receiving a security policy returned from the security verification server according to the read request, wherein the security policy is obtained by the security verification server parsing device information and connection records;

[0008] Parsing the security policy to obtain a security verification result;

[0009] The security verification result is sent to the security verification service end.

[0010] In the above implementation process, by interacting with the security verification server, receiving the security policy of the security verification server, and obtaining the security verification result according to the security policy, the security verification result is returned to the security verification server to realize the application of the security policy. When accessing the same type of USB device, the original security policy can be reused to reduce resource waste and improve efficiency.

[0011] Furthermore, before the step of sending a read request to the security verification server, the step further includes:

[0012] Receive USB device information and connection records of USB devices;

[0013] The device information and the connection record are sent to a security verification service end.

[0014] In the above implementation process, the USB device information and connection records are received by the security verification terminal, and then the device information and connection records of the USB device are sent to the security verification server, which can reduce the environment configuration for the security verification server to receive the device information and connection records and reduce the waste of resources.

[0015] In a second aspect, an embodiment of the present application provides a USB device security verification method for a security verification server, the method comprising:

[0016] Receive USB device information and connection records sent from the security verification terminal;

[0017] Parsing the device information and the connection record to obtain a security policy;

[0018] receiving a read request from the security verification terminal;

[0019] sending the security policy to the security verification terminal according to the read request;

[0020] Receiving a security verification result sent from the security verification terminal;

[0021] The security verification result is sent to the user terminal.

[0022] In the above implementation process, the security policy is obtained through the analysis of the security verification server, which reduces the load of the security verification server, so that the security verification server and the security verification terminal can divide the work and cooperate, ensure the availability of the security verification terminal and the security verification server, reduce the repeated environment configuration of the security verification server and the security verification terminal, avoid waste of resources, and improve the efficiency of hardware use.

[0023] Furthermore, the step of parsing the device information and the connection record to obtain a security policy includes:

[0024] Parsing the device information and the connection record to obtain device type information;

[0025] Obtain the security policy corresponding to the device type information.

[0026] In the above implementation process, by parsing the device information and connection records of the USB device, the specific device type information of the USB device is obtained, and the corresponding security policy is obtained according to the device type information to maximize information security, reduce repeated environment configuration and rule configuration, and ensure that information is not leaked.

[0027] In a third aspect, an embodiment of the present application further provides a USB device security verification system, the system comprising a security verification terminal and a security verification server:

[0028] The security verification terminal is used to send a read request to the security verification server;

[0029] Receiving a security policy returned from the security verification server according to the read request, wherein the security policy is obtained by the security verification server parsing device information and connection records;

[0030] Parsing the security policy to obtain a security verification result;

[0031] Sending the security verification result to the security verification service end;

[0032] The security verification server is used to receive USB device information and connection records sent from the security verification terminal;

[0033] Parsing the device information and the connection record to obtain a security policy;

[0034] Sending the security policy to the security verification terminal;

[0035] The security verification result is sent to the user terminal.

[0036] In the above implementation process, by interacting with the security verification server, receiving the security policy of the security verification server, and obtaining the security verification result according to the security policy, the security verification result is returned to the security verification server to realize the application of the security policy. When accessing the same type of USB device, the original security policy can be reused to reduce resource waste and improve efficiency.

[0037] Furthermore, the security verification terminal is also used for:

[0038] Receive USB device information and connection records of USB devices;

[0039] The device information and the connection record are sent to a security verification service end.

[0040] In the above implementation process, the USB device information and connection record of the USB device are received by the security verification terminal, and then the USB device information and connection record of the USB device are sent to the security verification server, which can reduce the environment configuration for the security verification server to receive device information and connection records and reduce the waste of resources.

[0041] Furthermore, the security verification server is also used to:

[0042] receiving a read request from the security verification terminal;

[0043] Receive the security verification result sent from the security verification terminal.

[0044] In the above implementation process, the security policy is obtained through the analysis of the security verification server, which reduces the load of the security verification server, so that the security verification server and the security verification terminal can divide the work and cooperate, ensure the availability of the security verification terminal and the security verification server, reduce the repeated environment configuration of the security verification server and the security verification terminal, avoid waste of resources, and improve the efficiency of hardware use.

[0045] Furthermore, the security verification server is also used to:

[0046] Parsing the device information and the connection record to obtain device type information;

[0047] Obtain the security policy corresponding to the device type information.

[0048] In the above implementation process, by parsing the USB device information and connection records of the USB device, the specific device type information of the USB device is obtained, and the corresponding security policy is obtained according to the device type information to maximize information security, reduce repeated environment configuration and rule configuration, and ensure that information is not leaked.

[0049] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the first aspects when executing the computer program.

[0050] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed on a computer, the computer executes the method as described in any one of the first aspects.

[0051] In a sixth aspect, an embodiment of the present application provides a computer program product, which, when running on a computer, enables the computer to execute the method as described in any one of the first aspects.

[0052] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.

[0053] And it can be implemented according to the contents of the specification. The following is a detailed description of the preferred embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0055] Figure 1 A flowchart of a USB device security verification method provided in an embodiment of the present application;

[0056] Figure 2 A flowchart of a USB device security verification method provided in an embodiment of the present application;

[0057] Figure 3 A schematic diagram of the structural connection between the USB device security verification system provided in the embodiment of the present application;

[0058] Figure 4 A schematic diagram of the structure of a USB device security verification system provided in an embodiment of the present application;

[0059] Figure 5 A schematic diagram of the structural composition of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0061] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0062] The specific implementation methods of the present application are further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application but are not intended to limit the scope of the present application.

[0063] Embodiment 1

[0064] Figure 1 is a flow chart of a USB device security verification method provided by an embodiment of the present application, such as Figure 1 As shown, the method includes:

[0065] S1, sends a read request to the security verification server;

[0066] S2, receiving the security policy returned by the security verification server according to the read request, where the security policy is obtained by the security verification server by parsing the device information and connection records;

[0067] S3, parse and process the security policy to obtain a security verification result;

[0068] S4, sending the security verification result to the security verification server.

[0069] The embodiment of the present application includes a user terminal, a security verification service end, a security verification terminal, and a USB device.

[0070] Exemplarily, the user terminal may provide a user operation interface, which may provide visualization functions for users to view information, configure and manage security policies, and may also view USB device information, connection records, operation logs, etc. of USB devices.

[0071] The security verification server provides the data basis for the user operation interface and can store data such as security policies.

[0072] The USB device is connected to the security verification terminal and inserted into the security verification terminal through the USB port. The security verification terminal reads the USB device information and connection record of the USB device, and sends the device information and connection record to the security verification server, so that the security verification server parses the USB device according to the device information and connection record to obtain the corresponding security policy of the USB device.

[0073] At the same time, the security verification terminal performs security verification on the inserted USB device by reading the security policy stored in the security verification server to obtain the security verification result. The security verification terminal sends the security verification result to the security verification server, so that the security verification server sends the security verification result to the user terminal for the user to view.

[0074] When a user terminal needs to connect a USB device, it needs to access the USB device by connecting to the security verification terminal and the security verification server to ensure that all USB devices pass the security verification and ensure the security of the USB device.

[0075] In the above implementation process, by interacting with the security verification server, receiving the security policy of the security verification server, and obtaining the security verification result according to the security policy, the security verification result is returned to the security verification server to realize the application of the security policy. When accessing the same type of USB device, the original security policy can be reused to reduce resource waste and improve efficiency.

[0076] Furthermore, before the step of sending a read request to the security verification server, the method further includes:

[0077] Receive USB device information and connection records of USB devices;

[0078] Send device information and connection records to the security verification server.

[0079] In the above implementation process, the USB device information and connection record of the USB device are received by the security verification terminal, and then the USB device information and connection record of the USB device are sent to the security verification server, which can reduce the environment configuration for the security verification server to receive device information and connection records and reduce the waste of resources.

[0080] Embodiment 2

[0081] Figure 2 is a flow chart of a USB device security verification method provided by an embodiment of the present application, such as Figure 2 As shown, the method includes:

[0082] S1, receiving USB device information and connection records sent from the security verification terminal;

[0083] S2, parse the device information and connection records to obtain the security policy;

[0084] S3, receiving a read request from a security verification terminal;

[0085] S4, sending the security policy to the security verification terminal according to the read request;

[0086] S5, receiving the security verification result sent from the security verification terminal;

[0087] S6, sending the security verification result to the user terminal.

[0088] In the above implementation process, the security policy is parsed by the security verification server, which reduces the load of the security verification terminal, so that the security verification server and the security verification terminal can divide the work and cooperate to ensure the availability of the security verification terminal and the security verification server, reduce the repeated environmental configuration of the security verification server and the security verification terminal, avoid waste of resources, and improve the efficiency of hardware use.

[0089] Furthermore, the device information and connection records are parsed to obtain the security policy, including:

[0090] Parse the device information and connection records to obtain device type information;

[0091] Get the security policy corresponding to the device type information.

[0092] The security verification server connects to the user terminal.

[0093] The security verification server receives the USB device information and connection records sent from the security verification terminal, and parses the device information and connection records to obtain a security policy. The security policy is the security policy corresponding to the USB device and is specific. The security policy is sent to the security verification terminal, and the security verification result of the security verification terminal is received. The security verification result is sent to the user terminal so that the user terminal can view it on the user operation interface.

[0094] The security verification server can store device information, connection records, and security policies for users to view. It provides data and services for the user interface and supports the user interface to control security policies. For example, Figure 3 As shown, the security verification server and the security verification terminal can connect multiple USB devices and personal hosts, providing users with more convenient and practical operation strategies.

[0095] The security policy is the basis for the security verification terminal and the security verification server to perform security verification on the USB device. It can provide information such as whether the USB device can be connected to the user terminal and the risks of the USB device. Each type of USB device has a corresponding security policy.

[0096] In the above implementation process, by parsing the USB device information and connection records of the USB device, the specific device type information of the USB device is obtained, and the corresponding security policy is obtained according to the device type information to maximize information security, reduce repeated environment configuration and rule configuration, and ensure that information is not leaked.

[0097] Embodiment 3

[0098] In order to execute the methods corresponding to the above-mentioned embodiments 1 and 2 to achieve corresponding functions and technical effects, a USB device security verification system is provided below, such as Figure 4 As shown, the system includes a security verification terminal 1 and a security verification server 2:

[0099] The security verification terminal 1 is used to send a read request to the security verification server;

[0100] Receive the security policy returned by the security verification server 2 according to the read request, where the security policy is obtained by the security verification server 2 by parsing the device information and connection records;

[0101] Analyze the security policy and obtain the security verification result;

[0102] Send the security verification result to the security verification server 2;

[0103] The security verification server 2 is used to receive the USB device information and connection records sent from the security verification terminal 1;

[0104] Parse device information and connection records to obtain security policies;

[0105] Send the security policy to the security verification terminal 1;

[0106] The security verification result is sent to the user terminal.

[0107] Furthermore, the security verification terminal 1 is also used for:

[0108] Receive USB device information and connection records of USB devices;

[0109] Send the device information and connection records to the security verification server 2.

[0110] Furthermore, the security verification terminal 1 is also used for:

[0111] Receiving a read request from security verification terminal 1;

[0112] Receive the security verification result sent from security verification terminal 1.

[0113] Furthermore, the security verification server 2 is also used for:

[0114] Parse the device information and connection records to obtain device type information;

[0115] Get the security policy corresponding to the device type information.

[0116] The USB device security verification system described above can implement the method of the above embodiment 1 or embodiment 2. The options in the above embodiment 1 and embodiment 2 are also applicable to this embodiment and will not be described in detail here.

[0117] The rest of the contents of the embodiments of the present application can refer to the contents of the above-mentioned embodiments 1 and 2, and will not be described in detail in this embodiment.

[0118] Embodiment 4

[0119] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the USB device security verification method of embodiment 1 or the USB device security verification method of embodiment 2.

[0120] Optionally, the above-mentioned electronic device may be a server.

[0121] See also Figure 5 , Figure 5A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include a processor 51, a communication interface 52, a memory 53, and at least one communication bus 54. The communication bus 54 is used to realize direct connection and communication between these components. The communication interface 52 of the device in the embodiment of the present application is used to communicate signaling or data with other node devices. The processor 51 may be an integrated circuit chip with signal processing capabilities.

[0122] The processor 51 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor 51 can also be any conventional processor, etc.

[0123] The memory 53 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electric erasable programmable read-only memory (EEPROM), etc. The memory 53 stores computer readable instructions. When the computer readable instructions are executed by the processor 51, the device can execute the above-mentioned Figure 1 The method embodiment involves various steps.

[0124] Optionally, the electronic device may further include a storage controller and an input / output unit. The memory 53, the storage controller, the processor 51, the peripheral interface, and the input / output unit are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components may be electrically connected to each other via one or more communication buses 54. The processor 51 is used to execute executable modules stored in the memory 53, such as software function modules or computer programs included in the device.

[0125] The input and output unit is used to provide users with the task creation and to create an optional time period or preset execution time for the task to enable interaction between the user and the server. The input and output unit can be, but is not limited to, a mouse and a keyboard.

[0126] Understandably, Figure 5 The structure shown is for illustration only. The electronic device may also include Figure 5 More or fewer components as shown, or with Figure 5 Different configurations shown. Figure 5 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0127] In addition, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the USB device security verification method of embodiment 1 or the USB device security verification method of embodiment 2.

[0128] The embodiment of the present application also provides a computer program product, which, when running on a computer, enables the computer to execute the method described in the method embodiment.

[0129] In several embodiments provided in the present application, it should be understood that the disclosed system and method can also be implemented in other ways. The system embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0130] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0131] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0132] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0133] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0134] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

Claims

1. A USB device security verification method, used for security verification of a terminal, characterized in that: The method comprises: The USB device is connected to the security verification terminal; Receive USB device information and connection records of USB devices; Sending the device information and the connection record to a security verification service end; Send a read request to the security verification server; Receiving a security policy returned from the security verification server according to the read request, wherein the security policy is a security policy of the corresponding USB device obtained by the security verification server by parsing the USB device information and the connection record; Parsing the security policy to obtain a security verification result; The security verification result is sent to the security verification service end, so that the security verification terminal sends the security verification result to the user terminal for the user to view.

2. A USB device security verification method, used for a security verification server, characterized in that: The method comprises: Receive USB device information and connection records sent from the security verification terminal; Parsing the device information and the connection record to obtain a security policy for the USB device; receiving a read request from the security verification terminal; sending the security policy to the security verification terminal according to the read request; Receiving a security verification result sent from the security verification terminal; Sending the security verification result to the user terminal so that the user terminal can view it on the user operation interface; The step of parsing the device information and the connection record to obtain a security policy includes: Parsing the device information and the connection record to obtain device type information; Obtain the security policy corresponding to the device type information.

3. A security verification system, characterized in that: The system includes a security verification terminal and a security verification server: The security verification terminal is used for: The USB device is connected to the security verification terminal; Receive USB device information and connection records of USB devices; Sending the device information and the connection record to a security verification service end; Send a read request to the security verification server; Receiving a security policy returned from the security verification server according to the read request, wherein the security policy is a security policy of the corresponding USB device obtained by the security verification server by parsing the USB device information and the connection record; Parsing the security policy to obtain a security verification result; Sending the security verification result to the security verification service end, so that the security verification terminal sends the security verification result to the user terminal for the user to view; The security verification server is used to: Receive USB device information and connection records sent from the security verification terminal; Parsing the device information and the connection record to obtain a security policy for the USB device; receiving a read request from the security verification terminal; sending the security policy to the security verification terminal according to the read request; Receiving a security verification result sent from the security verification terminal; Sending the security verification result to the user terminal so that the user terminal can view it on the user operation interface; Parsing the device information and the connection record to obtain device type information; Obtain the security policy corresponding to the device type information.

4. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the USB device security verification method according to any one of claims 1 to 2.

5. A computer-readable storage medium, characterized in that: The device stores a computer program, which, when executed by a processor, implements the USB device security verification method as described in any one of claims 1 to 2.

Citation Information

Patent Citations

  • Method and device for hard disk diagnosis

    CN105095031A

  • Security authentication method and device

    CN106533695A

  • method and device for remotely accessing multiple USB devices

    CN109522246A

  • Device configuration method and device, network system and mobile terminal

    CN109587018A

  • License method, device and system based on asymmetric encryption

    CN110324283A