CN113282527A - Method, device and host for realizing USB equipment switching management - Google Patents

Method, device and host for realizing USB equipment switching management Download PDF

Info

Publication number
CN113282527A
CN113282527A CN202110501044.2A CN202110501044A CN113282527A CN 113282527 A CN113282527 A CN 113282527A CN 202110501044 A CN202110501044 A CN 202110501044A CN 113282527 A CN113282527 A CN 113282527A
Authority
CN
China
Prior art keywords
virtual machine
host
switching
usb
switching instruction
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.)
Pending
Application number
CN202110501044.2A
Other languages
Chinese (zh)
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.)
Zhuhai Kingsware Information Technology Co Ltd
Original Assignee
Zhuhai Kingsware Information 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 Zhuhai Kingsware Information Technology Co Ltd filed Critical Zhuhai Kingsware Information Technology Co Ltd
Priority to CN202110501044.2A priority Critical patent/CN113282527A/en
Publication of CN113282527A publication Critical patent/CN113282527A/en
Pending legal-status Critical Current

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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances
    • 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]

Abstract

The invention relates to the field of equipment switching, and discloses a method, a device and a host for realizing USB equipment switching management. The method comprises the following steps: acquiring a preset switching instruction; the domain name system mapping or the switch virtual machine is changed according to the preset switching instruction so as to realize the switching of the USB equipment, so that the USB equipment required to be used can be automatically managed and switched, extra hardware is not required, the cost can be saved, and the universality is realized.

Description

Method, device and host for realizing USB equipment switching management
Technical Field
The present invention relates to the field of device switching, and in particular, to a method, an apparatus, and a host for implementing USB device switching management.
Background
At present, the application of the USB device is very wide, and the USB device is connected to a computer through a USB interface to perform authentication, data reading, and the like from a common mouse keyboard, a USB disk, a U shield of a bank, various IC cards with the help of a card reader, and the like. Under various scenes, the conversion of the USB device needs to be realized, for example, in the fields of social security, tax, customs, and the like, centralized security control of the Ukey (a USB device for identity authentication) is performed; these USB devices are usually bound to the software control, and the USB devices may conflict with each other and cannot be connected to the same computer at the same time.
The existing commercial methods for implementing USB device switching and centralized management are mostly circuit control, and generally have corresponding USB switching devices, and need corresponding hardware configuration or hardware support (for example, using a single chip circuit management and control principle). The method for carrying out USB management by using the hardware product is simple and general and is convenient to arrange, but the cost of hardware equipment is higher and the hardware equipment needs to be maintained independently; because the control is not convenient to be built in the USB switching device, and the interaction rule of different USB equipment and the control is not clear, the switching is realized by means of external hardware, and the control is not universal for part of USB equipment.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus and a host for implementing USB device switching management, which can save cost and have versatility.
In a first aspect, an embodiment of the present invention provides a method for implementing USB device switching management, where the method is applied to a host, where at least one virtual machine runs on the host, and each virtual machine corresponds to a USB port of the host one to one, and the method includes:
acquiring a preset switching instruction;
and changing domain name system mapping or switching the virtual machine according to the preset switching instruction so as to realize switching of the USB equipment.
In some embodiments, the host computer has robot flow automation software installed thereon, the virtual machine has USB controls installed thereon,
the changing of the domain name system mapping according to the preset switching instruction to realize the switching of the USB equipment comprises the following steps:
and the robot process automation software executes the preset switching instruction to modify the system file of the host, so that when the host accesses the webpage, the webpage sends a request to the USB control of the virtual machine.
In some embodiments, the host computer has robot flow automation software installed thereon,
the switching the virtual machine according to the preset switching instruction to realize the switching of the USB equipment comprises the following steps:
the robot process automation software executes the preset switching instruction to close the currently opened virtual machine;
establishing connection between the USB equipment and the host;
starting the virtual machine to be started by utilizing the robot flow automation software;
and establishing the connection between the USB equipment and the started virtual machine, and disconnecting the connection between the USB equipment and the host machine to realize the switching of the USB equipment.
In some embodiments, the method further comprises:
installing a robot process automation agent on the virtual machine in advance;
and executing relevant operations in the virtual machine by utilizing the robot process automation agent, wherein the relevant operations comprise at least one of login operation, data query operation and information filling operation.
In some embodiments, when the host has insufficient USB ports, USB port expansion is performed using a USB docking station.
In some embodiments, the method further comprises:
establishing connection between the robot process automation software and a third-party system;
receiving a switching instruction of a third-party system;
and changing domain name system mapping or switching virtual machines according to the switching instruction of the third-party system so as to realize switching of the USB equipment.
In a second aspect, an embodiment of the present invention further provides an apparatus for implementing USB device switching management, where the apparatus is applied to a host, where at least one virtual machine runs on the host, and each virtual machine corresponds to a USB port of the host one to one, and the apparatus includes:
the acquisition module is used for acquiring a preset switching instruction;
and the switching module is used for changing domain name system mapping or switching on and off the virtual machine according to the preset switching instruction so as to realize switching of the USB equipment.
In some embodiments, the apparatus further comprises:
the installation module is used for installing a robot process automation agent on the virtual machine in advance;
and the execution module is used for executing related operations in the virtual machine by utilizing the robot process automation agent, wherein the related operations comprise at least one of login operation, data query operation and information filling operation.
In a third aspect, an embodiment of the present invention further provides a host, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the above-described method of implementing USB device switching management.
In a fourth aspect, the present invention also provides a non-transitory computer-readable storage medium, which stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the processor is caused to execute the method for implementing USB device switching management.
Compared with the prior art, the invention has the beneficial effects that: different from the situation of the prior art, the method, the device and the host for realizing switching management of the USB device in the embodiments of the present invention run at least one virtual machine on the host, where each virtual machine corresponds to a USB port of the host one to one, obtain a preset switching instruction, and change domain name system mapping or switch virtual machines according to the preset switching instruction to realize switching of the USB device.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a schematic diagram of an application scenario of a method for implementing USB device switch management according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method for implementing USB device switch management according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating switching of a virtual machine to implement switching of USB devices according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus for implementing USB device switch management according to an embodiment of the present invention;
fig. 5 is a diagram illustrating a hardware configuration of a host according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, if not conflicted, the various features of the embodiments of the invention may be combined with each other within the scope of protection of the invention. Additionally, while functional block divisions are performed in apparatus schematics, with logical sequences shown in flowcharts, in some cases, steps shown or described may be performed in sequences other than block divisions in apparatus or flowcharts. The terms "first", "second", "third", and the like used in the present invention do not limit data and execution order, but distinguish the same items or similar items having substantially the same function and action.
The method for realizing switching management of the USB equipment provided by the embodiment of the invention is suitable for the application scene shown in figure 1, the application scene comprises a single thread scene and a multi-thread scene, wherein the single thread scene can realize switching of the USB equipment by modifying a domain name system or switching on and off a virtual machine, and the multi-thread scene can realize some operations which can use the USB equipment by a robot flow automation agent installed in the virtual machine.
Specifically, the application scenario includes a USB device and a host, where the host has at least one USB port, and the host runs at least one virtual machine, and the virtual machines are in one-to-one correspondence with the USB ports of the host. Further, the host is installed with RPA software, that is, robot flow automation software, and the robot flow automation software is configured to execute various preset instructions, for example, execute a switch instruction and execute an instruction corresponding to the USB device, where the preset switch instruction is configured to control the virtual machine, manage and switch the USB device. The virtual machine is provided with an RPA agent, namely a robot flow automation agent, the robot flow automation agent is used for executing a command corresponding to the use of USB equipment, in addition, USB controls can be arranged on the virtual machine and the host machine according to requirements, and the USB controls are used for carrying out data interaction with the USB equipment.
Fig. 1 exemplarily shows a USB device 1, a host 2, and a virtual machine 3, where the virtual machine 3 runs in the host 2, and when the USB device is connected to the host, the USB device may automatically establish a connection with the virtual machine on the host, including interacting with a USB control on the virtual machine, to implement functions such as authentication, and the USB device at this time is no longer associated with the host, and each USB device generally corresponds to one virtual machine.
It should be noted that the method for implementing USB device switching management provided in the embodiment of the present invention may be further extended to other suitable application environments, and is not limited to the application scenario shown in fig. 1. In an actual application process, the application environment may further include more USB devices, hosts, and virtual machines.
As shown in fig. 2, an embodiment of the present invention provides a method for implementing USB device switching management, where the method is executed by a host, and the method includes:
step 202, a preset switching instruction is obtained.
And 204, changing domain name system mapping or switching on and off the virtual machine according to the preset switching instruction so as to realize switching of the USB equipment.
In the embodiment of the present invention, the preset switching instruction is an instruction set in advance according to a requirement, and the switching of the USB device may be implemented by changing a domain name system or switching a virtual machine. Specifically, switching of the USB equipment is achieved by obtaining a preset switching instruction and then changing domain name system mapping or switching of the virtual machine according to the preset switching instruction.
In some embodiments, as an implementation of step 204, the method includes: and the robot process automation software executes the preset switching instruction to modify the system file of the host, so that when the host accesses the webpage, the webpage sends a request to the USB control of the virtual machine.
In the embodiment of the invention, the robot flow automation software is installed on the host computer in advance, and the USB control is installed on the virtual machine. The robot process automation software is used for executing a preset switching instruction, wherein the preset switching instruction is used for changing domain name system mapping. The USB control is used for interacting with the USB equipment. Specifically, for verification of a webpage or data transmission, a domain name system mapping mode can be used to keep the corresponding virtual machine open, the corresponding webpage is mapped onto a host from the virtual machine, when a USB device needs to be switched, the robot process automation software executes the preset switching instruction to modify a system file, namely a host file, of the host, so that when the host accesses a specific webpage, the webpage should initiate a request to a USB control on the host, and the request is changed to send the request to the USB control in the virtual machine, thereby realizing switching of the USB device, and no additional hardware is needed, thereby saving cost and having universality.
In some embodiments, as another implementation of step 204, as shown in fig. 3, the method includes:
and 302, executing the preset switching instruction by the robot flow automation software to close the currently opened virtual machine.
Step 304, establishing the connection between the USB device and the host.
In the embodiment of the invention, robot flow automation software is installed on a host in advance, and the robot flow automation software is used for executing a preset switching instruction, wherein the preset switching instruction is used for switching on and off a virtual machine. And for tasks which do not need to be performed simultaneously and need to be displayed in a foreground, the robot process automation software closes the currently started virtual machine, and at the moment, the USB equipment is connected with the host. Illustratively, the host inserts 5 USB devices and then turns on 5 virtual machines, and at this time, the USB devices are not connected to the host but are connected to the 5 virtual machines, respectively. When the host computer wants to use the USB device No. 1, the virtual machine corresponding to the USB device No. 1 is closed only through the robot process automation software, and other virtual machines are kept open.
And step 306, starting the virtual machine to be started by utilizing the robot flow automation software.
Step 308, establishing the connection between the USB device and the started virtual machine, and disconnecting the USB device from the host to implement the switching of the USB device.
When the USB equipment needs to be switched, the robot process automation software starts the virtual machine needing to be started, automatically establishes the connection between the USB equipment and the started virtual machine, and disconnects the connection between the SUB equipment and the host, thereby realizing the switching of the USB equipment. For example, in connection with the above example, when the current host is connected to the USB device No. 1, the virtual machine corresponding to the USB device No. 1 is in the off state, and if the host wants to use the USB device No. 2, the virtual machine corresponding to the USB device No. 1 needs to be turned on, so that the USB device No. 1 is disconnected from the host and connected to the turned-on virtual machine, thereby implementing switching of the USB devices, and no additional hardware is required, so that cost can be saved, and the host has universality.
In some embodiments, the method further comprises: installing a robot process automation agent on the virtual machine in advance; and executing relevant operations in the virtual machine by utilizing the robot process automation agent, wherein the relevant operations comprise at least one of login operation, data query operation and information filling operation.
In the embodiment of the present invention, the related operation includes at least one of a login operation, a data query operation, and an information filling operation, and the related operation may be determined according to an actual scene without being limited by the definition in this embodiment. The robot process automation agent is installed on the virtual machine in advance, and related operations can be directly executed in the virtual machine by using the robot process automation agent for a scene needing to use a plurality of USB devices at the same time. Which USB device is intended to be used may be performed using a robotic automation agent on the corresponding virtual machine.
In some embodiments, the host's USB ports are limited, and when the host's USB ports are insufficient, USB port expansion may be performed by the USB docking station.
In some other embodiments, the robot process automation software may further interact with a third-party system through an interface as needed, so as to implement management and switching of the USB device by the third-party system, where the method further includes: establishing connection between the robot process automation software and a third-party system; receiving a switching instruction of a third-party system; and changing domain name system mapping or switching virtual machines according to the switching instruction of the third-party system so as to realize switching of the USB equipment.
Specifically, a connection between the robot process automation software and a third-party system is established, and when the robot process automation software receives a switching instruction of the third-party system, domain name system mapping or a virtual machine is changed according to the switching instruction of the third-party system, so that switching of the USB device is realized. Therefore, the USB equipment required to be used can be automatically managed and switched, extra hardware is not required, the cost can be saved, and the USB equipment has universality. Wherein, changing domain name system mapping or switching virtual machine is consistent with the above implementation mode, and is not described here again.
Correspondingly, an embodiment of the present invention further provides an apparatus 400 for implementing USB device switching management, where the apparatus is applied to a host, and as shown in fig. 4, the apparatus 400 includes:
an obtaining module 402, configured to obtain a preset switching instruction;
a switching module 404, configured to change domain name system mapping or switch a virtual machine according to the preset switching instruction, so as to implement switching of the USB device.
In the embodiment of the present invention, the obtaining module 402 obtains the preset switching instruction, and then the switching module changes the domain name system mapping or the switch virtual machine according to the preset switching instruction to implement the switching of the USB device, so that the USB device to be used can be automatically managed and switched, and no additional hardware is required, thereby saving the cost and having universality.
Optionally, in another embodiment of the apparatus, as shown in fig. 4, the apparatus 400 further includes:
an installation module 406, configured to install a robot process automation agent on the virtual machine in advance;
an executing module 408, configured to execute a related operation in the virtual machine by using the robot process automation agent, where the related operation includes at least one of a login operation, a data query operation, and an information filling operation.
Optionally, in other embodiments of the apparatus, the switching module 404 is specifically configured to:
and the robot process automation software executes the preset switching instruction to modify the system file of the host, so that when the host accesses the webpage, the webpage sends a request to the USB control of the virtual machine.
The robot process automation software executes the preset switching instruction to close the currently opened virtual machine;
establishing connection between the USB equipment and the host;
starting the virtual machine to be started by utilizing the robot flow automation software;
and establishing the connection between the USB equipment and the started virtual machine, and disconnecting the connection between the USB equipment and the host machine to realize the switching of the USB equipment.
Establishing connection between the robot process automation software and a third-party system;
receiving a switching instruction of a third-party system;
and changing domain name system mapping or switching virtual machines according to the switching instruction of the third-party system so as to realize switching of the USB equipment.
Optionally, in other embodiments of the apparatus, the installation module 406 is specifically configured to:
the robot process automation software is installed on the host, and the USB control is installed on the virtual machine.
Optionally, in another embodiment of the apparatus, when the USB port of the host is insufficient, the USB port expansion is performed by using a USB docking station.
It should be noted that the apparatus for implementing USB device switching management can execute the method for implementing USB device switching management provided in the embodiments of the present invention, and has corresponding functional modules and beneficial effects of the execution method. The method for implementing USB device switch management provided in the embodiments of the present invention may be referred to for the technical details not described in detail in the embodiments of the apparatus for implementing USB device switch management.
Fig. 5 is a schematic diagram of a hardware structure of a host according to an embodiment of the present invention, and as shown in fig. 5, the host 500 includes:
one or more processors 502 and a memory 504, with one processor 502 being an example in FIG. 5.
The processor 502 and the memory 504 may be connected by a bus or other means, such as by a bus in FIG. 5.
The memory 504, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for implementing USB device switching management in the embodiments of the present invention. The processor 502 executes various functional applications and data processing of the host by executing the nonvolatile software programs, instructions, and modules stored in the memory 504, that is, the method of implementing USB device switching management in the above-described embodiments is implemented.
The memory 504 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to device usage that implements USB device switching management, and the like. Further, the memory 504 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 504 may optionally include memory located remotely from processor 502, which may be connected over a network to a device that implements USB device switching management. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Embodiments of the present invention further provide a non-volatile computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by one or more processors, the one or more processors may execute the method for implementing USB device switching management in any of the above method embodiments.
The above-described embodiments of the apparatus 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.
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 general hardware platform, and certainly can also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for realizing USB device switching management is applied to a host, at least one virtual machine runs on the host, and each virtual machine is in one-to-one correspondence with a USB port of the host, and the method comprises the following steps:
acquiring a preset switching instruction;
and changing domain name system mapping or switching the virtual machine according to the preset switching instruction so as to realize switching of the USB equipment.
2. The method of claim 1, wherein the host computer has robot flow automation software installed thereon, the virtual machine has USB controls installed thereon,
the changing of the domain name system mapping according to the preset switching instruction to realize the switching of the USB equipment comprises the following steps:
and the robot process automation software executes the preset switching instruction to modify the system file of the host, so that when the host accesses the webpage, the webpage sends a request to the USB control of the virtual machine.
3. The method of claim 1, wherein the host computer has robot flow automation software installed thereon,
the switching the virtual machine according to the preset switching instruction to realize the switching of the USB equipment comprises the following steps:
the robot process automation software executes the preset switching instruction to close the currently opened virtual machine;
establishing connection between the USB equipment and the host;
starting the virtual machine to be started by utilizing the robot flow automation software;
and establishing the connection between the USB equipment and the started virtual machine, and disconnecting the connection between the USB equipment and the host machine to realize the switching of the USB equipment.
4. The method according to any one of claims 1-3, further comprising:
installing a robot process automation agent on the virtual machine in advance;
and executing relevant operations in the virtual machine by utilizing the robot process automation agent, wherein the relevant operations comprise at least one of login operation, data query operation and information filling operation.
5. The method of claim 4, wherein when the host has insufficient USB ports, USB port expansion is performed using a USB docking station.
6. The method of claim 5, further comprising:
establishing connection between the robot process automation software and a third-party system;
receiving a switching instruction of a third-party system;
and changing domain name system mapping or switching virtual machines according to the switching instruction of the third-party system so as to realize switching of the USB equipment.
7. An apparatus for implementing USB device switching management, wherein the apparatus is applied to a host, at least one virtual machine runs on the host, and each virtual machine corresponds to a USB port of the host one to one, and the apparatus includes:
the acquisition module is used for acquiring a preset switching instruction;
and the switching module is used for changing domain name system mapping or switching on and off the virtual machine according to the preset switching instruction so as to realize switching of the USB equipment.
8. The apparatus of claim 7, further comprising:
the installation module is used for installing a robot process automation agent on the virtual machine in advance;
and the execution module is used for executing related operations in the virtual machine by utilizing the robot process automation agent, wherein the related operations comprise at least one of login operation, data query operation and information filling operation.
9. A host, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-3 and claim 6.
10. A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, cause the processor to perform the method of any one of claims 1-3 and claim 6.
CN202110501044.2A 2021-05-08 2021-05-08 Method, device and host for realizing USB equipment switching management Pending CN113282527A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110501044.2A CN113282527A (en) 2021-05-08 2021-05-08 Method, device and host for realizing USB equipment switching management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110501044.2A CN113282527A (en) 2021-05-08 2021-05-08 Method, device and host for realizing USB equipment switching management

Publications (1)

Publication Number Publication Date
CN113282527A true CN113282527A (en) 2021-08-20

Family

ID=77278275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110501044.2A Pending CN113282527A (en) 2021-05-08 2021-05-08 Method, device and host for realizing USB equipment switching management

Country Status (1)

Country Link
CN (1) CN113282527A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806719A (en) * 2021-09-15 2021-12-17 大连华信计算机技术股份有限公司 Remote automatic switching system for RPA + USB cabinet to realize multi-network bank U shield
CN115633025A (en) * 2022-12-01 2023-01-20 北财在线科技(北京)有限公司 Intelligent integrated equipment based on USBServer and application method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090204965A1 (en) * 2008-02-07 2009-08-13 Youji Tanaka Usb port shared control method
CN104252375A (en) * 2013-06-25 2014-12-31 国际商业机器公司 Method and system for sharing USB (Universal Serial Bus) Key by multiple virtual machines positioned in different host computers
KR101498965B1 (en) * 2014-06-27 2015-03-04 김영자 A system and method for isolating the internet and the intranet by using the virtual machines
CN104954451A (en) * 2015-06-02 2015-09-30 华中科技大学 Access control method of USB (universal serial bus) device in virtualized environment
CN105183674A (en) * 2015-08-26 2015-12-23 深圳市深信服电子科技有限公司 USB virtualization network mapping method, USB virtualization network mapping device and USB hub
US20160224493A1 (en) * 2015-01-30 2016-08-04 Asix Electronics Corporation Universal serial bus (usb) kvm switch using virtual usb for switching among multiple hosts
CN108255578A (en) * 2017-12-27 2018-07-06 中标易云信息技术有限公司 The method that virtual machine remote booting is realized based on zero terminal
US20180330081A1 (en) * 2016-02-03 2018-11-15 Huawei Technologies Co., Ltd. Execution environment virtualization method and apparatus and virtual execution environment access method and apparatus
CN109522246A (en) * 2018-11-23 2019-03-26 南京云帐房网络科技有限公司 A kind of method and apparatus remotely accessing more USB devices
CN110413376A (en) * 2019-07-12 2019-11-05 苏州浪潮智能科技有限公司 A kind of method, equipment and the storage medium of Virtual Machine Manager USB device
CN110618959A (en) * 2019-09-23 2019-12-27 上海百胜软件股份有限公司 Using method of programmable USB concentrator and RPA process automation method
CN111581128A (en) * 2019-02-15 2020-08-25 英特尔公司 Method for dynamically providing virtualization function in USB device through virtual USB center

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090204965A1 (en) * 2008-02-07 2009-08-13 Youji Tanaka Usb port shared control method
CN104252375A (en) * 2013-06-25 2014-12-31 国际商业机器公司 Method and system for sharing USB (Universal Serial Bus) Key by multiple virtual machines positioned in different host computers
KR101498965B1 (en) * 2014-06-27 2015-03-04 김영자 A system and method for isolating the internet and the intranet by using the virtual machines
US20160224493A1 (en) * 2015-01-30 2016-08-04 Asix Electronics Corporation Universal serial bus (usb) kvm switch using virtual usb for switching among multiple hosts
CN104954451A (en) * 2015-06-02 2015-09-30 华中科技大学 Access control method of USB (universal serial bus) device in virtualized environment
CN105183674A (en) * 2015-08-26 2015-12-23 深圳市深信服电子科技有限公司 USB virtualization network mapping method, USB virtualization network mapping device and USB hub
US20180330081A1 (en) * 2016-02-03 2018-11-15 Huawei Technologies Co., Ltd. Execution environment virtualization method and apparatus and virtual execution environment access method and apparatus
CN108255578A (en) * 2017-12-27 2018-07-06 中标易云信息技术有限公司 The method that virtual machine remote booting is realized based on zero terminal
CN109522246A (en) * 2018-11-23 2019-03-26 南京云帐房网络科技有限公司 A kind of method and apparatus remotely accessing more USB devices
CN111581128A (en) * 2019-02-15 2020-08-25 英特尔公司 Method for dynamically providing virtualization function in USB device through virtual USB center
CN110413376A (en) * 2019-07-12 2019-11-05 苏州浪潮智能科技有限公司 A kind of method, equipment and the storage medium of Virtual Machine Manager USB device
CN110618959A (en) * 2019-09-23 2019-12-27 上海百胜软件股份有限公司 Using method of programmable USB concentrator and RPA process automation method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李世杰;: "在硬件基础上的USB设备虚拟化的研究", 电脑开发与应用, no. 05, 25 May 2013 (2013-05-25), pages 57 - 60 *
王继刚;郑纬民;滕志猛;钟卫东;: "虚拟化环境下的USB设备访问方法", 计算机应用, no. 05, 1 May 2011 (2011-05-01), pages 1439 - 1442 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806719A (en) * 2021-09-15 2021-12-17 大连华信计算机技术股份有限公司 Remote automatic switching system for RPA + USB cabinet to realize multi-network bank U shield
CN115633025A (en) * 2022-12-01 2023-01-20 北财在线科技(北京)有限公司 Intelligent integrated equipment based on USBServer and application method

Similar Documents

Publication Publication Date Title
US10313871B2 (en) Transferring information to a mobile device
CN108029011B (en) Method, equipment and system for migrating SIM card to eUICC
CN102316043B (en) Port virtualization method, switch and communication system
CN113282527A (en) Method, device and host for realizing USB equipment switching management
EP3376738A1 (en) Resource configuration method and network device thereof
CN102413183B (en) Cloud intelligence switch and processing method and system thereof
CN107395710B (en) Method and device for realizing configuration and high availability HA of cloud platform network element
CN103716400A (en) Method and system for achieving mobile working based on virtual machine
CN105450494A (en) Virtual network and method for implementing same
CN110795209B (en) Control method and device
CN109284153A (en) Method, relevant device and the computer media of single machine experience multiple operating system
CN105472599A (en) Method for accessing SIM cards and double-card mobile terminal
CN105160213A (en) Terminal starting method and terminal thereof
CN109274532B (en) Method, device and system for issuing policy, centralized control equipment and readable storage medium
CN111124536A (en) Data isolation-based dual-system data sharing method and device and terminal equipment
CN106127092A (en) The smart card of a kind of COS system application stripping and method of work thereof
CN108664325B (en) Handle the method and electronic equipment of data
CN108121574B (en) Hot upgrading method and device for kernel module and virtual machine system
EP4035003A1 (en) Peripheral device for configuring compute instances at client- selected servers
CN110995867A (en) Communication system for human-computer interaction and robot
KR20210145155A (en) Cloud enabling of legacy trusted networking devices for zero-touch provisioning and enterprise as-a-service
CN103338117A (en) Management method, management device and management system of virtual switch
CN117692322B (en) Network card configuration method and device, electronic equipment and storage medium
CN210005883U (en) Intelligent micro-grid communication module and intelligent micro-grid system
US11880568B2 (en) On demand configuration of FPGA interfaces

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