CN111930653A - Remote distribution use method and device of USB (universal serial bus) equipment - Google Patents

Remote distribution use method and device of USB (universal serial bus) equipment Download PDF

Info

Publication number
CN111930653A
CN111930653A CN202010671117.8A CN202010671117A CN111930653A CN 111930653 A CN111930653 A CN 111930653A CN 202010671117 A CN202010671117 A CN 202010671117A CN 111930653 A CN111930653 A CN 111930653A
Authority
CN
China
Prior art keywords
equipment
usb
information
client
connection request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010671117.8A
Other languages
Chinese (zh)
Other versions
CN111930653B (en
Inventor
覃亮
王熙
黄闻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Taige Technology Co ltd
Original Assignee
Sichuan Taige Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Taige Technology Co ltd filed Critical Sichuan Taige Technology Co ltd
Priority to CN202010671117.8A priority Critical patent/CN111930653B/en
Publication of CN111930653A publication Critical patent/CN111930653A/en
Application granted granted Critical
Publication of CN111930653B publication Critical patent/CN111930653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/85Protecting input, output or interconnection devices interconnection devices, e.g. bus-connected or in-line devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a remote distribution use method and a remote distribution use device of USB equipment, wherein the method comprises the following steps: establishing communication connection with the USB equipment; acquiring equipment information of each USB equipment in the USB equipment; establishing an equipment information database by utilizing the equipment information of each USB equipment; acquiring a connection request sent by a client; according to the connection request, selecting to-be-used equipment information from an equipment information database, wherein the to-be-used equipment information is the equipment information of the USB equipment corresponding to the connection request; and sending the information of the equipment to be used to the client by using the specified communication protocol so that the client identifies the corresponding USB equipment according to the information of the equipment to be used and establishes communication connection with the USB equipment corresponding to the information of the equipment to be used through the specified communication protocol. The invention can use the device in time without carrying the USB device by staff, and anyone can apply for the use of the USB device through the client without the transfer of the staff, thereby greatly improving the utilization efficiency of the USB device.

Description

Remote distribution use method and device of USB (universal serial bus) equipment
Technical Field
The invention relates to the technical field of USB equipment management, in particular to a remote distribution use method and a remote distribution use device of USB equipment.
Background
At present, entity USB (Universal Serial Bus) equipment on the market can be used only by being connected to a computer, and a plurality of enterprises can use the USB equipment on a large scale due to working requirements.
Just because USB devices are limited by the traditional usage patterns, the following disadvantages exist: the USB equipment can be used only by connecting terminals such as a computer, so that staff need to carry the USB equipment with him, and can not be used by others in time when the staff needs to use the USB equipment, thereby greatly reducing the utilization efficiency of the USB equipment.
Disclosure of Invention
The invention aims to solve the problem of low utilization rate of the existing USB equipment which needs to be carried by a worker so as to be connected with a computer in time for use, and provides a remote distribution and use method and device of the USB equipment, a computer main device and a computer readable storage medium, wherein the USB equipment can be used in time without being carried by the worker.
In a first aspect, the present invention provides a remote allocation method for USB devices, including:
the USB bearing equipment establishes communication connection with the USB equipment;
the USB bearing equipment acquires equipment information of each USB equipment in the USB equipment;
the USB bearing equipment establishes an equipment information database by utilizing the equipment information of each USB equipment;
the client sends a connection request to the USB bearing equipment;
the USB bearing equipment acquires a connection request sent by the client;
the USB bearing equipment selects equipment information to be used from the equipment information database according to the connection request, wherein the equipment information to be used is the equipment information of the USB equipment corresponding to the connection request;
the USB bearing equipment sends the information of the equipment to be used to the client by using a specified communication protocol;
the client receives the information of the equipment to be used, which is sent by the USB bearing equipment by using a specified communication protocol;
the client identifies the USB equipment corresponding to the information of the equipment to be used by utilizing the information of the equipment to be used;
and after the client side identifies, establishing communication connection with the USB equipment corresponding to the information of the equipment to be used by utilizing the specified communication protocol.
Based on the disclosure, the invention intensively deploys the USB equipment on the USB bearing equipment, reads the equipment information of each USB equipment connected with the USB bearing equipment through the USB bearing equipment, and establishes an equipment information database, and the user can use the client to send a connection request (essentially, the user uses the client to select the USB equipment to be used), and after receiving the connection request, the USB bearing equipment can search the equipment information matched with the USB bearing equipment in the equipment information database, and sends the searched equipment information to the client through a specified communication protocol, so that the client can identify the USB equipment through the equipment information, and establish the communication connection of the USB equipment corresponding to the equipment information through the specified communication protocol.
In summary, the USB device is centrally managed and connected to the USB bearer device all the time, so that when a user needs to use the USB device, the user only needs to select the USB device through the client, and then the user can identify and connect the USB device through the device information and the designated communication protocol sent by the USB bearer device, thereby implementing remote use of the USB device on the client. Through the design, the staff does not need to carry the USB equipment with oneself, and the timely use of equipment also can be carried out, and anyone's accessible customer end carries out the application that USB equipment used, need not the staff and hands over, great improvement the utilization efficiency of USB equipment.
In one possible design, after establishing the device information database using the device information of each USB device, the method further includes:
naming each piece of equipment information in the equipment information database to obtain corresponding named equipment information;
classifying each named device information to obtain a device classification list;
and sending the equipment classification list to the client so that the client generates the connection request after the user selects the USB equipment to be connected according to the equipment classification list.
Based on the above disclosure, a device classification list (for example, classifying the named device information according to the use condition or classifying the use scene) can be obtained by naming and classifying the device information of each USB device, and the device classification list is sent to the client, so that a user can conveniently use the client to check the use condition and the scene of each USB device, so as to select the USB device required by the user to use, and after selection, the client can generate a connection request according to the selected USB device information. Through the design, the convenience of use of a user is greatly improved.
In one possible design, the sending the device classification list to the client, so that the client generates the connection request after the user selects the USB device to be connected according to the device classification list, including:
the client sends user account information to the USB bearing equipment;
the USB bearing equipment acquires user account information sent by the client;
the USB bearing equipment obtains the user using authority according to the user account information;
the USB bearing equipment selects authority equipment information from the equipment classification list according to the user use authority, wherein each authority equipment information in the authority equipment information is the named equipment information corresponding to the user use authority;
the USB bearing equipment generates a user authority equipment list by using the authority equipment information;
the USB bearing equipment sends the user authority equipment list to the client;
and the client receives the user authority equipment list sent by the USB bearing equipment so that a user can generate the connection request after selecting the USB equipment to be connected according to the user authority equipment list.
Based on the disclosure, the present invention can obtain the usage right of the USB device by the user by sending the user account information to the USB bearer device (for example, when the user logs in the USB bearer device using the client, the USB bearer device obtains through the login information), and further select the device information in the right in the device information database, generate the right device list, and send the right device list to the client, so that the user of the client can select the USB device in the right for use. Through the design, the user can only check and select the USB equipment in the authority, the use safety of the USB equipment is guaranteed, and unauthorized use is avoided.
In one possible design, the device information includes: a device universal unique identification code, a device address code, a device serial number, a manufacturer, a product model number, and/or a server name.
Based on the above disclosure, the client can conveniently identify the USB device through the device information by using the information, for example, the client can identify the corresponding USB device through the device universal unique identification code.
In a second aspect, the present invention provides a remote allocation and use apparatus for USB devices, taking the apparatus as a USB bearer device as an example, including: the system comprises a first connecting unit, an acquisition unit, a database establishing unit, a screening unit and a first sending unit;
the first connection unit is used for establishing communication connection with the USB equipment;
the acquiring unit is used for acquiring the equipment information of each USB equipment in the USB equipment;
the database establishing unit is used for establishing an equipment information database by using the equipment information of each USB equipment;
the acquiring unit is further used for acquiring a connection request sent by a client;
the screening unit is used for selecting the information of the equipment to be used from the equipment information database according to the connection request, wherein the information of the equipment to be used is the equipment information of the USB equipment corresponding to the connection request;
the first sending unit is used for sending the information of the equipment to be used to the client by using a specified communication protocol, so that the client identifies the corresponding USB equipment according to the information of the equipment to be used, and establishes communication connection with the USB equipment corresponding to the information of the equipment to be used through the specified communication protocol.
In one possible design, the USB host further includes: naming unit and classifying unit;
the naming unit is used for naming each piece of equipment information in the equipment information database to obtain the corresponding named equipment information;
the classification unit is used for classifying the named equipment information to obtain an equipment classification list;
the first sending unit is further configured to send the device classification list to the client, so that the client generates the connection request after the user selects the USB device to be connected according to the device classification list.
In one possible design, the USB host further includes: an authority acquisition unit;
the acquiring unit is further configured to acquire user account information sent by the client;
the authority acquiring unit is used for acquiring the user use authority according to the user account information;
the screening unit is further configured to select authority device information from the device classification list according to the user usage authority, where each authority device information in the authority device information is the named device information corresponding to the user usage authority;
the classification unit is further configured to generate a user right device list by using the right device information;
the first sending unit is further configured to send the user permission device list to the client, so that the client generates the connection request after the user selects the USB device to be connected according to the user permission device list.
In a third aspect, the present invention provides another apparatus for remote allocation and use of USB devices, where the apparatus is taken as a client, and the apparatus includes: the device comprises a second sending unit, a receiving unit, an identifying unit and a second connecting unit;
the second sending unit is configured to send a connection request to a USB bearer device, so that the USB bearer device selects device information to be used from a device information database according to the connection request, where the device information to be used is device information of a USB device corresponding to the connection request;
the receiving unit is used for receiving the information of the equipment to be used, which is sent by the USB bearing equipment by using a specified communication protocol;
the identification unit is used for identifying the USB equipment corresponding to the information of the equipment to be used by utilizing the information of the equipment to be used;
and the second connecting unit is used for establishing communication connection with the USB equipment corresponding to the information of the equipment to be used by utilizing the specified communication protocol after the identification unit identifies the equipment to be used.
In one possible design:
the second sending unit is further configured to send user account information to the USB bearer device, so that the USB bearer device generates a user right device list according to the user account information;
the receiving unit is further configured to receive the user permission device list sent by the USB bearer device, so that a user generates the connection request after selecting a USB device to be connected according to the user permission device list.
In a fourth aspect, the present invention provides a computer main device, including a memory, a processor and a transceiver, which are sequentially connected in communication, wherein the memory is used for storing a computer program, the transceiver is used for sending and receiving messages, and the processor is used for reading the computer program and executing the remote allocation use method of the USB device as described in the first aspect or any one of the possible designs in the first aspect.
In a fifth aspect, the present invention provides a computer-readable storage medium having stored thereon instructions which, when run on a computer, perform a method for remote distributed use of the USB device as described in the first aspect or any one of the possible designs of the first aspect.
In a sixth aspect, the present invention provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform a method of remote distributed use of the USB device as described in the first aspect or any one of the possible designs of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flow chart of a method for remote distribution and use of USB devices according to the present invention.
Fig. 2 is a schematic structural diagram of the remote distribution and use apparatus of the USB device provided by the present invention, when the remote distribution and use apparatus is a USB carrier device.
Fig. 3 is a schematic structural diagram of the remote distribution and use device of the USB device provided by the present invention as a client.
Fig. 4 is a schematic structural diagram of a computer main device provided by the present invention.
Fig. 5 is a communication diagram of a remote distribution system of USB devices according to the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific embodiments. It should be noted that the following examples are provided to aid understanding of the present invention, but are not intended to limit the present invention. Specific structural and functional details disclosed herein are merely illustrative of example embodiments of the invention. This invention may, however, be embodied in many alternate forms and should not be construed as limited to the embodiments set forth herein.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments of the present invention.
It should be understood that, for the term "and/or" as may appear herein, it is merely an associative relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, B exists alone, and A and B exist at the same time; for the term "/and" as may appear herein, which describes another associative object relationship, it means that two relationships may exist, e.g., a/and B, may mean: a exists independently, and A and B exist independently; in addition, for the character "/" that may appear herein, it generally means that the former and latter associated objects are in an "or" relationship.
It will be understood that when an element is referred to herein as being "connected," "connected," or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Conversely, if a unit is referred to herein as being "directly connected" or "directly coupled" to another unit, it is intended that no intervening units are present. In addition, other words used to describe the relationship between elements should be interpreted in a similar manner (e.g., "between … …" versus "directly between … …", "adjacent" versus "directly adjacent", etc.).
It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, numbers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
It should be understood that specific details are provided in the following description to facilitate a thorough understanding of example embodiments. However, it will be understood by those of ordinary skill in the art that the example embodiments may be practiced without these specific details. For example, systems may be shown in block diagrams in order not to obscure the examples in unnecessary detail. In other instances, well-known processes, structures and techniques may be shown without unnecessary detail in order to avoid obscuring example embodiments.
Examples
As shown in fig. 1, the method for remotely allocating and using USB devices according to the first aspect of this embodiment is applicable to management and remote allocation of any USB device, and in this embodiment, it is preferably applicable to various bank USB shields, USB fiscal disks, USB encryption locks, and the like.
The method for remote allocation and use of USB devices provided in the first aspect of this embodiment may include, but is not limited to, the following steps S101 to S110.
And S101, the USB bearing equipment establishes communication connection with the USB equipment.
In step S101, each USB device is physically connected to the USB host device, so that the USB host device reads the device information of each USB device. In this embodiment, the USB bearer device may be, but is not limited to: servers and supercomputers, etc.
In this embodiment, each USB device is physically connected to a USB carrier device, and in colloquial, the USB device is connected to the USB carrier device by using a USB interface, so as to implement centralized deployment and online management of the USB device.
After the USB devices are physically connected to the USB host, step S102 is performed.
And S102, the USB bearing equipment acquires the equipment information of each USB equipment in the USB equipment.
And S103, the USB bearing equipment establishes an equipment information database by using the equipment information of each USB equipment.
Step S102 and step S103 are processes in which the USB bearer device reads the device information of each USB device and establishes a device information database, so as to subsequently receive the connection request sent by the client, and implement the function of searching the device information corresponding to the connection request.
In this embodiment, the example device information may include, but is not limited to: a device Universal Unique Identifier (UUID), a device address code, a device serial number, a manufacturer, a product model number, and/or a server name.
In this embodiment, the device universal unique identification code is used for device identification; the device address code is used for distinguishing different devices, just like the identity number of the device; the equipment serial number is an equipment serial number, is an international mobile equipment identity code and can also be used for distinguishing equipment; the manufacturer and the product model are the production information of the equipment; the server name is the server with which the device communicates to achieve data interaction.
For example, there are A, B and C three USB devices, where the server name of a is the bank server; the server name of B is a tendering bank server; and the server name of the C is a China bank server. Then, it can be said that a is in communication connection with the bank server to implement data interaction with the bank.
In this embodiment, the establishing of the device information database may be, but is not limited to: and directly storing the equipment information into a database to obtain an equipment information database.
S104, the client sends a connection request to the USB bearing equipment.
And S105, the USB bearing equipment acquires the connection request sent by the client.
Step S104 is a process of sending a connection request to the USB bearer device by the user using the client, that is, the connection request represents which USB device the user needs to use, and after receiving the connection request, the USB bearer device extracts the device information corresponding to the connection request from the device information database, and then the information is filtered and sent to the client.
In this embodiment, the example connection request may include, but is not limited to: the name, model number, device serial number, device address code and/or device universal unique identification code of the USB device that the user needs to use.
For example, the connection request includes: a USB device (name); ST-1 (model); 565656841234900 (device serial number); 8769076 (device address code);
550e8400-e29b-41d4-a716-446655440000 (devices pass unique identification codes).
In this embodiment, the example client may be, but is not limited to: the intelligent terminal such as a mobile phone, a tablet and/or a computer can also be operating software installed on the mobile phone, the tablet or the computer. Namely, the user can realize the communication connection with the USB bearing device through the terminal.
After the USB bearer device receives the connection request sent by the client, step S106 may be performed.
And S106, the USB bearing equipment selects equipment information to be used from the equipment information database according to the connection request, wherein the equipment information to be used is the equipment information of the USB equipment corresponding to the connection request.
Step S106 is a process of the USB bearer device performing device information search according to the connection request, that is, screening the device information matched with the connection request in the device information database.
For example, taking the connection request as an example, if the USB bearer device receives the connection request, the USB bearer device may search the device information database according to the device unique identifier, the device address code, the device serial number, and/or the device name. I.e. directly by looking up the same device information as the device universal unique identification code (550e8400-e29b-41d4-a716-446655440000) in the device information database.
In this embodiment, for example, the device information is preferably searched by using the device universal unique identification code.
And after the USB bearing equipment finds the equipment information matched with the connection request in the equipment information database, the steps S107-S110 can be carried out to realize the identification and communication of the USB equipment.
And S107, the USB bearing equipment sends the information of the equipment to be used to the client by using a specified communication protocol.
And S108, the client receives the information of the equipment to be used, which is sent by the USB bearing equipment by using a specified communication protocol.
And S109, the client identifies the USB equipment corresponding to the information of the equipment to be used by utilizing the information of the equipment to be used.
And S110, after the client identifies, establishing communication connection with the USB equipment corresponding to the information of the equipment to be used by using the specified communication protocol.
Step S106 is a process that the USB bearing equipment uses the appointed communication protocol to send the searched equipment information to the client so that the client can identify the corresponding USB equipment according to the received equipment information and establish communication connection with the corresponding USB equipment through the appointed communication protocol, thereby realizing remote use of the USB equipment.
In this embodiment, for example, the specified communication protocol used by the USB bearer device may be, but is not limited to: the tcp (transmission Control Protocol)/IP and UDP (User Datagram Protocol) protocols have been used. And the protocol can be preset for the user, so that the communication safety is ensured.
Meanwhile, after receiving the information of the equipment to be used, the client can recognize the corresponding USB equipment according to the universal unique identification code of the equipment in the client, and after recognition, the client can establish communication connection with the USB equipment through a specified communication protocol to realize remote operation of a user.
Therefore, through the steps S101-S110, the invention enables the staff to use the equipment in time without carrying the USB equipment, and anyone can apply for the use of the USB equipment through the client without the staff transferring, thereby greatly improving the utilization efficiency of the USB equipment.
In addition, in the present embodiment, the generation of the connection request may include, but is not limited to, the following ways:
the first method comprises the following steps: the USB bearing equipment generates an equipment classification list according to the equipment information database and sends the equipment classification list to the client, so that a user of the client can select the USB equipment required to be used according to the equipment classification list, and after selection, the client can generate a connection request according to the selected USB equipment.
Secondly, the USB bearer device only generates a list corresponding to the user's permission according to the device information database, that is, the user can only see the USB device in his permission through the client, and after selecting, the client can also generate a connection request according to the selected USB device.
The following is a detailed explanation of the first way for generating the connection request, and may include, but is not limited to, the following steps S103a to S103c.
S103a, naming each piece of equipment information in the equipment information database to obtain the corresponding named equipment information.
Step S103a is a process of naming each piece of device information, so that each piece of device information is associated with a name in the following.
For example, also taking the above A, B and C three USB devices as examples, the device information of the a device may be named as: business bank 1 equipment; the device information of the B device may be named: a tenderer bank 1 device; the device information of the C device may be named: the device of the industrial and commercial bank 2 is equivalent to the device information of the device a being the device of the industrial and commercial bank 1, and the device of the industrial and commercial bank 1 includes all the device information of the device a (such as the name, model, serial number, address code and universal and unique identification code of the device).
And S103b, classifying the named equipment information to obtain an equipment classification list.
Step S103B is a process of classification, in this embodiment, a server connected to a USB device is used for classification, if the device a is connected to a business bank server, the device a is classified as a business bank, and similarly, if the device B is connected to a business bank server, the device B is classified as a business bank.
A specific classification list is given below, as shown in table 1:
TABLE 1
USB device Named device name Classification
A equipment Industrial and commercial bank 1 equipment Industrial and Commercial Bank of China
B device Bin 1 device CHINA MERCHANTS BANK
C equipment Industrial and commercial bank 2 equipment Industrial and Commercial Bank of China
D equipment Construction of Bank 1 Equipment Construction bank
F equipment Construction bank 2 equipment Construction bank
When the device classification list is obtained, the device classification list can be sent to the client, so that the user can select the USB device according to the device classification list, as shown in step S103c.
S103c, the equipment classification list is sent to the client side, so that the client side can generate the connection request after the user selects the USB equipment to be connected according to the equipment classification list.
Step S103c is that the user performs an equipment selection process according to the equipment viewing list, and if the user selects the business bank 1 equipment, the client generates a connection request of the business bank 1 equipment, that is, the connection request includes all the equipment information of the business bank 1 equipment.
In the present embodiment, the second method may be established on the first method, i.e. the device classification list is used to generate the user authority device list, which may be, but is not limited to, the following steps S103d to S103j.
And S103d, the client sends user account information to the USB bearing equipment.
And S103e, the USB bearing equipment acquires the user account information sent by the client.
Step S103d and step S103e are processes of acquiring user account information by the USB carrier device, so as to obtain the usage right of the user through the user account information.
In this embodiment, for example, the user account information may be obtained when the user logs in the USB bearer device using the client, that is, the login information is obtained, so as to obtain the user account information.
In this embodiment, for example, a user logs in the USB bearer device using a client, but not limited to the following requirements: the USB carries the server address and the account password of the equipment.
When the user account information is obtained, step S103f is performed.
And S103f, the USB bearing equipment obtains the user using authority according to the user account information.
Step S103f is a process of acquiring the usage right of the user, in this embodiment, the usage right of each user is preset by a manager, which may be, but not limited to, preset according to the occupation level (i.e., the higher the level is, the higher the usage right is), professional preset (different professions are, different devices are used), work type preset or post preset.
And S103g, the USB bearing equipment selects authority equipment information from the equipment classification list according to the user use authority, wherein each authority equipment information in the authority equipment information is the named equipment information corresponding to the user use authority.
And S103h, the USB bearing equipment generates a user authority equipment list by using the authority equipment information.
Step S103g and step S103h are processes of the USB carrier device screening matching information in the device classification list according to the user' S usage right.
For example, the user's usage right of a certain employee is: only the equipment classified by 'industrial and commercial banks' can be used, and then the USB equipment carrier can screen out all the equipment classified by the industrial and commercial banks in the equipment classification list. As based on table 1 above, the generated user rights device list is shown in table 2:
TABLE 2
USB device Named device name Classification
A equipment Industrial and commercial bank 1 equipment Industrial and Commercial Bank of China
C equipment Industrial and commercial bank 2 equipment Industrial and Commercial Bank of China
When the user authority device list is generated, it can be sent to the client, as shown in step S103i and step S103j.
And S103i, the USB bearing equipment sends the user authority equipment list to the client.
And S103j, the client receives the user authority equipment list sent by the USB bearing equipment, so that a user can generate the connection request after selecting the USB equipment to be connected according to the user authority equipment list.
Step S103i and step S103j are processes of the user selecting a USB according to the user permission device list, and the principle of generating the connection request is consistent with step S103c, which is not repeated herein.
In this embodiment, with the first mode, the user can see all USB devices, which is beneficial to apply for the USB devices that need to be used; in the second mode, the user can only see the USB equipment in the authority of the user and can only use the USB equipment in the authority of the user, and although the use authority is reduced, the use safety is improved.
Certainly, in this embodiment, since the USB device is deployed in a packaging manner and online management is implemented, a manager may check login records, usage records, a login IP (Internet Protocol Address) Address and a MAC (Media Access Control or Media Access Control) Address of a used terminal of an employee through the USB bearer device, so as to improve monitoring performance and convenience of USB device management.
In summary, the remote allocation and use method of the USB device provided by the present invention has the following technical effects:
(1) the staff does not need to carry the USB equipment with oneself, and the equipment can be used in time, and anyone can apply for the use of the USB equipment through the client, and the staff is not needed to transfer the USB equipment, so that the utilization efficiency of the USB equipment is greatly improved.
(2) The asset loss of the USB device caused by personnel personal behavior or improper management transfer can be reduced.
(3) According to the types and the use requirements of all USB equipment, the use right is accurately positioned to each post, and the utilization rate is improved.
(4) The system can perform statistical analysis on the using environment, the using condition and the using duration of all USB equipment, optimize the using management of the USB equipment, optimize the capital investment of a company on the USB equipment and analyze whether employees use the USB equipment according to the work arrangement requirements.
(5) The USB equipment can be quickly and intensively called to the demand unit in the emergency.
As shown in fig. 2, a second aspect of this embodiment provides a hardware apparatus for implementing the method for remotely allocating and using a USB device in the first aspect of this embodiment, where the apparatus is a USB bearer device, for example, the method includes: the device comprises a first connecting unit, an obtaining unit, a database establishing unit, a screening unit and a first sending unit.
The first connection unit is used for establishing communication connection with the USB equipment.
The acquiring unit is used for acquiring the device information of each USB device in the USB devices.
And the database establishing unit is used for establishing an equipment information database by using the equipment information of each USB equipment.
The obtaining unit is further configured to obtain a connection request sent by the client.
And the screening unit is used for selecting the information of the equipment to be used from the equipment information database according to the connection request, wherein the information of the equipment to be used is the equipment information of the USB equipment corresponding to the connection request.
The first sending unit is used for sending the information of the equipment to be used to the client by using a specified communication protocol, so that the client identifies the corresponding USB equipment according to the information of the equipment to be used, and establishes communication connection with the USB equipment corresponding to the information of the equipment to be used through the specified communication protocol.
In one possible design, the USB host further includes: naming units and classification units.
The naming unit is used for naming each piece of equipment information in the equipment information database to obtain the corresponding named equipment information.
And the classification unit is used for classifying the named equipment information to obtain an equipment classification list.
The first sending unit is further configured to send the device classification list to the client, so that the client generates the connection request after the user selects the USB device to be connected according to the device classification list.
In one possible design, the USB host further includes: and an authority acquisition unit.
The obtaining unit is further configured to obtain the user account information sent by the client.
And the permission obtaining unit is used for obtaining the user permission according to the user account information.
The screening unit is further configured to select authority device information from the device classification list according to the user usage authority, where each authority device information in the authority device information is the named device information corresponding to the user usage authority.
The classification unit is further configured to generate a user right device list by using the right device information.
The first sending unit is further configured to send the user permission device list to the client, so that the client generates the connection request after the user selects the USB device to be connected according to the user permission device list.
For the working process, the working details, and the technical effects of the hardware apparatus provided in this embodiment, reference may be made to the first aspect of the embodiment, which is not described herein again.
As shown in fig. 3, a third aspect provides a hardware apparatus for implementing the method for using a remote USB device in the first aspect of the embodiment, which takes the apparatus as a client, and includes a second sending unit, a receiving unit, an identifying unit, and a second connecting unit.
The second sending unit is configured to send a connection request to a USB bearer device, so that the USB bearer device selects device information to be used from a device information database according to the connection request, where the device information to be used is device information of a USB device corresponding to the connection request.
The receiving unit is configured to receive the to-be-used device information sent by the USB bearer device using a specified communication protocol.
The identification unit is used for identifying the USB equipment corresponding to the information of the equipment to be used by utilizing the information of the equipment to be used.
And the second connecting unit is used for establishing communication connection with the USB equipment corresponding to the information of the equipment to be used by utilizing the specified communication protocol after the identification unit identifies the equipment to be used.
In one possible design:
the second sending unit is further configured to send user account information to the USB bearer device, so that the USB bearer device generates a user permission device list according to the user account information.
The receiving unit is further configured to receive the user permission device list sent by the USB bearer device, so that a user generates the connection request after selecting a USB device to be connected according to the user permission device list.
For the working process, the working details, and the technical effects of the hardware apparatus provided in this embodiment, reference may be made to the first aspect of the embodiment, which is not described herein again.
As shown in fig. 4, a fourth aspect of this embodiment further provides a computer main device, including a memory, a processor, and a transceiver, which are sequentially connected in a communication manner, where the memory is used to store a computer program, the transceiver is used to transmit and receive a message, and the processor is used to read the computer program and execute the method for remote allocation and use of a USB device according to the first aspect of this embodiment.
By way of specific example, the Memory may include, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Flash Memory (Flash Memory), a first-in-first-out Memory (FIFO), a first-in-last-out Memory (FILO), and/or the like; the processor may not be limited to the use of STM32F105 family microprocessors, ARM (advanced RISC machines), X86, or other architectural processors, or integrated NPUs
A processor of (neural-network processing units); the transceiver may be, but is not limited to, a WiFi (wireless fidelity) wireless transceiver, a bluetooth wireless transceiver, a General Packet Radio Service (GPRS) wireless transceiver, a ZigBee protocol (ieee 802.15.4 standard-based low power local area network protocol), a 3G transceiver, a 4G transceiver, and/or a 5G transceiver, etc. In addition, the computer main equipment can also include but is not limited to a power supply module, a display screen and other necessary components.
For the working process, the working details, and the technical effects of the computer main device provided in this embodiment, reference may be made to the first aspect of the embodiment, which is not described herein again.
As shown in fig. 5, a fifth aspect of this embodiment provides a system for implementing the method for remote allocation and use of a USB device according to the first aspect of this embodiment, where the system includes: USB equipment, USB bearer equipment and client.
The USB bearing equipment is used for establishing communication connection with the USB equipment and acquiring equipment information of each USB equipment in the USB equipment.
The USB bearing equipment is also used for establishing an equipment information database by utilizing the equipment information of each USB equipment.
And the client is used for sending a connection request to the USB bearing equipment.
The USB bearer device is further configured to select device information to be used from the device information database according to the connection request after receiving the connection request sent by the client, where the device information to be used is device information of the USB device corresponding to the connection request.
The USB bearing equipment is further used for sending the information of the equipment to be used to the client by using a specified communication protocol, so that the client identifies the corresponding USB equipment according to the information of the equipment to be used, and establishes communication connection with the USB equipment corresponding to the information of the equipment to be used through the specified communication protocol.
For the working process, the working details, and the technical effects of the system provided in this embodiment, reference may be made to the first aspect of the embodiment, which is not described herein again.
A sixth aspect of the present embodiment provides a computer-readable storage medium storing instructions including the USB device remote allocation using method according to the first aspect of the present invention, that is, the computer-readable storage medium stores instructions that, when executed on a computer, perform the USB device remote allocation using method according to the first aspect. The computer-readable storage medium refers to a carrier for storing data, and may include, but is not limited to, floppy disks, optical disks, hard disks, flash memories, flash disks and/or Memory sticks (Memory sticks), etc., and the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
For the working process, the working details, and the technical effects of the computer-readable storage medium provided in this embodiment, reference may be made to the first aspect of the embodiment, which is not described herein again.
A seventh aspect of the present embodiments provides a computer program product comprising instructions which, when run on a computer, are adapted to cause the computer to perform the method as described in the first aspect of the embodiments for sorting through advertisement loop playlists, wherein the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus.
The embodiments described above are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device to perform the methods described in the embodiments or some portions of the embodiments.
The invention is not limited to the above alternative embodiments, and any other various forms of products can be obtained by anyone in the light of the present invention, but any changes in shape or structure thereof, which fall within the scope of the present invention as defined in the claims, fall within the scope of the present invention.

Claims (10)

1. A method for remote distributed use of USB devices, comprising:
establishing communication connection with the USB equipment;
acquiring equipment information of each USB equipment in the USB equipment;
establishing an equipment information database by using the equipment information of each USB equipment;
acquiring a connection request sent by a client;
selecting to-be-used equipment information from the equipment information database according to the connection request, wherein the to-be-used equipment information is the equipment information of the USB equipment corresponding to the connection request;
and sending the information of the equipment to be used to the client by using a specified communication protocol so that the client identifies the corresponding USB equipment according to the information of the equipment to be used and establishes communication connection with the USB equipment corresponding to the information of the equipment to be used through the specified communication protocol.
2. The method of claim 1, wherein after building a device information database using the device information of each USB device, the method further comprises:
naming each piece of equipment information in the equipment information database to obtain corresponding named equipment information;
classifying each named device information to obtain a device classification list;
and sending the equipment classification list to the client so that the client generates the connection request after the user selects the USB equipment to be connected according to the equipment classification list.
3. The method of claim 2, wherein sending the device classification list to the client for the client to generate the connection request after a user selects a USB device to be connected according to the device classification list, comprises:
acquiring user account information sent by the client;
obtaining user use permission according to the user account information;
according to the user use authority, authority equipment information is selected from the equipment classification list, wherein each authority equipment information in the authority equipment information is the named equipment information corresponding to the user use authority;
generating a user authority device list by using the authority device information;
and sending the user authority equipment list to the client so that the client generates the connection request after the user selects the USB equipment to be connected according to the user authority equipment list.
4. The method of claim 1, wherein the device information comprises: a device universal unique identification code, a device address code, a device serial number, a manufacturer, a product model number, and/or a server name.
5. A method for remote distributed use of USB devices, comprising:
sending a connection request to a USB carrying device so that the USB carrying device selects information of a device to be used from a device information database according to the connection request, wherein the information of the device to be used is the device information of the USB device corresponding to the connection request;
receiving the information of the equipment to be used, which is sent by the USB bearing equipment by using a specified communication protocol;
identifying the USB equipment corresponding to the information of the equipment to be used by utilizing the information of the equipment to be used;
and after the identification, establishing communication connection with the USB equipment corresponding to the information of the equipment to be used by utilizing the specified communication protocol.
6. The method of claim 5, wherein the method further comprises:
sending user account information to the USB bearing equipment so that the USB bearing equipment generates a user authority equipment list according to the user account information;
and receiving the user authority equipment list sent by the USB bearing equipment so that a user can generate the connection request after selecting the USB equipment to be connected according to the user authority equipment list.
7. An apparatus for remote distributed use of USB devices, comprising: the system comprises a first connecting unit, an acquisition unit, a database establishing unit, a screening unit and a first sending unit;
the first connection unit is used for establishing communication connection with the USB equipment;
the acquiring unit is used for acquiring the equipment information of each USB equipment in the USB equipment;
the database establishing unit is used for establishing an equipment information database by using the equipment information of each USB equipment;
the acquiring unit is further used for acquiring a connection request sent by a client;
the screening unit is used for selecting the information of the equipment to be used from the equipment information database according to the connection request, wherein the information of the equipment to be used is the equipment information of the USB equipment corresponding to the connection request;
the first sending unit is used for sending the information of the equipment to be used to the client by using a specified communication protocol, so that the client identifies the corresponding USB equipment according to the information of the equipment to be used, and establishes communication connection with the USB equipment corresponding to the information of the equipment to be used through the specified communication protocol.
8. An apparatus for remote distributed use of USB devices, comprising: the device comprises a second sending unit, a receiving unit, an identifying unit and a second connecting unit;
the second sending unit is configured to send a connection request to a USB bearer device, so that the USB bearer device selects device information to be used from a device information database according to the connection request, where the device information to be used is device information of a USB device corresponding to the connection request;
the receiving unit is used for receiving the information of the equipment to be used, which is sent by the USB bearing equipment by using a specified communication protocol;
the identification unit is used for identifying the USB equipment corresponding to the information of the equipment to be used by utilizing the information of the equipment to be used;
and the second connecting unit is used for establishing communication connection with the USB equipment corresponding to the information of the equipment to be used by utilizing the specified communication protocol after the identification unit identifies the equipment to be used.
9. A computer master device, comprising: a memory, a processor and a transceiver, which are connected in sequence in a communication manner, wherein the memory is used for storing a computer program, the transceiver is used for transceiving a message, and the processor is used for reading the computer program and executing the remote distribution use method of the USB device according to any one of claims 1 to 4 or 5 to 6.
10. A computer-readable storage medium characterized by: the computer-readable storage medium has stored thereon instructions which, when run on a computer, perform a method of remote distributed use of a USB device according to any one of claims 1 to 4 or 5 to 6.
CN202010671117.8A 2020-07-13 2020-07-13 Remote distribution use method and device of USB (universal serial bus) equipment Active CN111930653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010671117.8A CN111930653B (en) 2020-07-13 2020-07-13 Remote distribution use method and device of USB (universal serial bus) equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010671117.8A CN111930653B (en) 2020-07-13 2020-07-13 Remote distribution use method and device of USB (universal serial bus) equipment

Publications (2)

Publication Number Publication Date
CN111930653A true CN111930653A (en) 2020-11-13
CN111930653B CN111930653B (en) 2022-06-24

Family

ID=73313901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010671117.8A Active CN111930653B (en) 2020-07-13 2020-07-13 Remote distribution use method and device of USB (universal serial bus) equipment

Country Status (1)

Country Link
CN (1) CN111930653B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778918A (en) * 2020-12-14 2021-12-10 西安网虫信息科技有限公司 USB device management system and management method
CN115118736A (en) * 2022-06-27 2022-09-27 西安万像电子科技有限公司 Authority management method and system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090019187A1 (en) * 2005-02-02 2009-01-15 Keiji Okuma Peripheral Device Using Method, and Peripheral Device Server
CN101488941A (en) * 2008-01-18 2009-07-22 中兴通讯股份有限公司 Method and system for implementing USB equipment shared using
CN101587459A (en) * 2008-05-22 2009-11-25 夏普株式会社 The remote usb device using system
US20120066361A1 (en) * 2010-09-14 2012-03-15 Samsung Electronics Co., Ltd. Server device connecting with usb device and device sharing method
US20120151013A1 (en) * 2010-12-14 2012-06-14 Electronics And Telecommunications Research Institute Legacy usb device service system in mobile terminal and method thereof
US20140095578A1 (en) * 2012-09-28 2014-04-03 Venkatesh Rajendran Systems and methods for capability sharing over a communicative link
CN105391719A (en) * 2015-11-19 2016-03-09 苏州跬步信息技术有限公司 Intelligent equipment remote control system based on TCP/IP network and interaction method thereof
CN105847007A (en) * 2016-03-17 2016-08-10 北京众云在线科技有限公司 Identity verification method for terminal device and computer device
US20170310790A1 (en) * 2016-04-25 2017-10-26 Wyse Technology L.L.C. Employing an auxiliary device to implement usb device redirection
CN108475160A (en) * 2015-12-25 2018-08-31 株式会社理光 Image processing apparatus, method for displaying image and program
CN109522246A (en) * 2018-11-23 2019-03-26 南京云帐房网络科技有限公司 A kind of method and apparatus remotely accessing more USB devices
CN110100237A (en) * 2017-04-18 2019-08-06 三菱电机株式会社 Data server unit and communication system
CN110706426A (en) * 2019-10-09 2020-01-17 翼石电子股份有限公司 Method and system for managing USB tax control disk

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090019187A1 (en) * 2005-02-02 2009-01-15 Keiji Okuma Peripheral Device Using Method, and Peripheral Device Server
CN101488941A (en) * 2008-01-18 2009-07-22 中兴通讯股份有限公司 Method and system for implementing USB equipment shared using
CN101587459A (en) * 2008-05-22 2009-11-25 夏普株式会社 The remote usb device using system
US20120066361A1 (en) * 2010-09-14 2012-03-15 Samsung Electronics Co., Ltd. Server device connecting with usb device and device sharing method
US20120151013A1 (en) * 2010-12-14 2012-06-14 Electronics And Telecommunications Research Institute Legacy usb device service system in mobile terminal and method thereof
US20140095578A1 (en) * 2012-09-28 2014-04-03 Venkatesh Rajendran Systems and methods for capability sharing over a communicative link
CN105391719A (en) * 2015-11-19 2016-03-09 苏州跬步信息技术有限公司 Intelligent equipment remote control system based on TCP/IP network and interaction method thereof
CN108475160A (en) * 2015-12-25 2018-08-31 株式会社理光 Image processing apparatus, method for displaying image and program
CN105847007A (en) * 2016-03-17 2016-08-10 北京众云在线科技有限公司 Identity verification method for terminal device and computer device
US20170310790A1 (en) * 2016-04-25 2017-10-26 Wyse Technology L.L.C. Employing an auxiliary device to implement usb device redirection
CN110100237A (en) * 2017-04-18 2019-08-06 三菱电机株式会社 Data server unit and communication system
CN109522246A (en) * 2018-11-23 2019-03-26 南京云帐房网络科技有限公司 A kind of method and apparatus remotely accessing more USB devices
CN110706426A (en) * 2019-10-09 2020-01-17 翼石电子股份有限公司 Method and system for managing USB tax control disk

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YE JIAO等: ""A Remote USB Architecture for Virtual Machine Oriented Device Sharing and Transparent Migration"", 《2012 IEEE 18TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS》 *
毛云: ""USB存储设备的远程访问系统设计"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778918A (en) * 2020-12-14 2021-12-10 西安网虫信息科技有限公司 USB device management system and management method
CN115118736A (en) * 2022-06-27 2022-09-27 西安万像电子科技有限公司 Authority management method and system

Also Published As

Publication number Publication date
CN111930653B (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN106844645B (en) Power communication equipment information inquiry system
CN111930653B (en) Remote distribution use method and device of USB (universal serial bus) equipment
CN113536376B (en) Enterprise financial data security management system and method thereof
CN109936621A (en) Multi-page information push method, device, equipment and the storage medium of information security
CN110347694B (en) Equipment monitoring method, device and system based on Internet of things
CN112950238B (en) Big data-based customer relationship management and service intelligent tracking system and method
CN108132868A (en) A kind of data monitoring method, device, computing device and storage medium
CN106789353A (en) The method and system of orientation problem between client and service end
CN111159530A (en) System, apparatus, method and storage medium for automatically pushing financial product message
CN110377489A (en) The method and apparatus of log information processing
CN112613724A (en) Compliance assessment method and device for enterprise, storage medium and electronic equipment
CN110162386B (en) Task issuing method and device
CN106533728B (en) Server info collection method and device
CN109389306B (en) User order synchronization method and device
CN106487799A (en) Facility information storage system based on cloud platform
CN111431733B (en) Service alarm coverage information evaluation method and device
CN108228355A (en) Task processing method and device, method for scheduling task and device
CN110009273B (en) Information processing method and device, storage medium, and electronic device
WO2016184341A1 (en) Method and apparatus for processing service
CN110136018A (en) A kind of intelligence adds method, equipment and the system of social good friend
CN109992614A (en) Data capture method, device and server
CN116955709A (en) User data fusion processing method and system
CN115292580A (en) Data query method and device, computer equipment and storage medium
CN112631996A (en) Log searching method and device
CN110264360A (en) A kind of public resource transaction platform big data based on cloud platform collects system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant