CN116107648A - Physical CD driver redirection method, system and device in cloud desktop environment - Google Patents

Physical CD driver redirection method, system and device in cloud desktop environment Download PDF

Info

Publication number
CN116107648A
CN116107648A CN202211702423.9A CN202211702423A CN116107648A CN 116107648 A CN116107648 A CN 116107648A CN 202211702423 A CN202211702423 A CN 202211702423A CN 116107648 A CN116107648 A CN 116107648A
Authority
CN
China
Prior art keywords
virtual
redirection
rom
optical drive
physical
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
CN202211702423.9A
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.)
Hunan Qilin Xin'an Technology Co ltd
Original Assignee
Hunan Qilin Xin'an 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 Hunan Qilin Xin'an Technology Co ltd filed Critical Hunan Qilin Xin'an Technology Co ltd
Priority to CN202211702423.9A priority Critical patent/CN116107648A/en
Publication of CN116107648A publication Critical patent/CN116107648A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • 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/4555Para-virtualisation, i.e. guest operating system has to be modified
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to the technical field of cloud desktops and provides a physical CD-ROM redirection method, a system and a device under a cloud desktop environment, wherein the system comprises a client, a server and a virtual machine; the method comprises the steps that a client detects a physical optical drive of the client, creates a virtual optical drive, establishes a mapping relation between the physical optical drive and the virtual optical drive, and establishes a redirection tunnel between the client and a server; when a redirection tunnel is established, the server establishes redirection character equipment, submits a virtual CD-ROM to the redirection character equipment through the redirection tunnel, and sends the virtual CD-ROM to a preset virtual buffer area; the virtual machine loads the virtual CD-ROM by reading the preset virtual buffer area to finish the redirection process. The method and the device can enable the user to use the same use experience as the local use experience in the virtual machine, so that the problem that the redirection of the physical CD-ROM drive cannot be supported in the cloud desktop environment in the existing scheme is solved, and the use requirement of the user is better met.

Description

Physical CD driver redirection method, system and device in cloud desktop environment
Technical Field
The invention relates to the technical field of cloud desktops, in particular to a physical CD driver redirection method, a physical CD driver redirection system and a physical CD driver redirection device under a cloud desktop environment.
Background
In the prior art, the cloud desktop supports redirection of relevant peripheral devices of the USB, for example, relevant USB devices such as a USB flash disk, a mobile hard disk, a USB camera and the like of a client side can be redirected from the client side to a virtual machine for use, but the problem that redirection of a physical optical drive cannot be supported exists, and the same characteristics of the physical optical drive in local use, such as operations of recording, formatting, popup and the like, are not supported.
Disclosure of Invention
The invention aims to provide a physical CD-ROM redirection system, a method, a device, a terminal device and a readable storage medium in a cloud desktop environment.
In a first aspect, the present invention provides a physical optical drive redirection system in a cloud desktop environment, where the system includes a client, a server, and a virtual machine;
the client is used for detecting a physical CD-ROM of the client, creating a virtual CD-ROM, establishing a mapping relation between the physical CD-ROM and the virtual CD-ROM, and establishing a redirection tunnel between the client and the server;
the server is used for creating a redirection character device when the redirection tunnel is established, submitting the virtual CD-ROM to the redirection character device through the redirection tunnel, and sending the virtual CD-ROM to a preset virtual buffer area;
the virtual machine is used for loading the virtual CD-ROM by reading the preset virtual buffer area to finish the redirection process.
In an alternative embodiment, the establishing a mapping relationship between the physical optical drive and the virtual optical drive includes:
and marking the virtual CD-ROM as a redirection object of the physical CD-ROM, marking the information of the physical CD-ROM to the virtual CD-ROM, and registering a redirection callback function of the physical CD-ROM for the virtual CD-ROM.
In an alternative embodiment, the information of the physical optical drive includes any one or more of a device location, a device path, bus information, vendor information, product information, and a device type.
In an alternative embodiment, the system further comprises:
the client is further configured to receive a control instruction issued by the virtual machine through the server, parse the control instruction, execute the parsed control instruction based on the physical optical drive to obtain an execution result, and send the execution result to the virtual machine through the server, so that the virtual machine executes a corresponding action according to the execution result.
In an alternative embodiment, said parsing said control instruction includes:
and analyzing a SCSI instruction in the control instruction from the control instruction, packaging the SCSI instruction into an operation instruction through a preset file descriptor, and issuing the operation instruction to the physical CD-ROM.
In an optional embodiment, the executing the control instruction after the analyzing based on the physical optical drive obtains an execution result, including:
opening the physical optical drive through the file descriptor so that the physical optical drive executes the operation instruction to obtain return information; and simulating according to the returned information to obtain an execution result.
In a second aspect, the present invention provides a physical optical drive redirection method in a cloud desktop environment, applied to a client, where the method includes:
detecting a physical optical drive of the client, creating a virtual optical drive, and establishing a mapping relation between the physical optical drive and the virtual optical drive;
and establishing a redirection tunnel between the client and the server so that the server creates redirection character equipment, submitting the virtual CD-ROM to the redirection character equipment through the redirection tunnel, and sending the virtual CD-ROM to a preset virtual buffer area, thereby enabling a virtual machine to load the virtual CD-ROM by reading the preset virtual buffer area and completing the redirection process.
In a third aspect, the present invention provides a physical optical drive redirection device in a cloud desktop environment, applied to a client, where the device includes:
the optical drive virtual module is used for detecting a physical optical drive of the client, creating a virtual optical drive and establishing a mapping relation between the physical optical drive and the virtual optical drive;
and the redirection module is used for establishing a redirection tunnel between the client and the server so as to enable the server to create redirection character equipment, submitting the virtual CD-ROM to the redirection character equipment through the redirection tunnel, and sending the virtual CD-ROM to a preset virtual buffer area, so that the virtual machine loads the virtual CD-ROM by reading the preset virtual buffer area, and the redirection process is completed.
In a fourth aspect, the present invention provides a terminal device, including a memory and a processor, where the memory stores a computer program, and the computer program executes the physical optical drive redirection method in a cloud desktop environment when running on the processor.
In a fifth aspect, the present invention provides a readable storage medium storing a computer program, where the computer program when run on a processor performs the method for redirecting a physical optical drive in a cloud desktop environment.
The embodiment of the invention has the beneficial effects that:
the embodiment of the application provides a physical CD-ROM redirection system in a cloud desktop environment, which comprises a client, a server and a virtual machine; the method comprises the steps that a client detects a physical optical drive of the client, creates a virtual optical drive, establishes a mapping relation between the physical optical drive and the virtual optical drive, and establishes a redirection tunnel between the client and a server; when a redirection tunnel is established, the server establishes redirection character equipment, submits a virtual CD-ROM to the redirection character equipment through the redirection tunnel, and sends the virtual CD-ROM to a preset virtual buffer area; the virtual machine loads the virtual CD-ROM by reading the preset virtual buffer area to finish the redirection process. The method and the device can enable the user to use the same use experience as that of the local in the virtual machine, such as recording, formatting, popup and other operations, so that the problem that the redirection of a physical CD-ROM can not be supported in the cloud desktop environment in the existing scheme is solved, and the use requirement of the user is better met.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are required for the embodiments will be briefly described, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope of the present invention. Like elements are numbered alike in the various figures.
Fig. 1 is a schematic flow chart illustrating a process of completing redirection in a physical optical drive redirection system in a cloud desktop environment according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a second procedure for completing a redirection procedure in a physical optical drive redirection system in a cloud desktop environment according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a physical optical drive redirection method in a cloud desktop environment according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a physical optical drive redirecting device in a cloud desktop environment according to an embodiment of the present application.
Description of main reference numerals:
the physical CD driver redirecting device under the 10-cloud desktop environment; 11-a virtual CD driver module; 12-redirection module.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments.
The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
The terms "comprises," "comprising," "including," or any other variation thereof, are intended to cover a specific feature, number, step, operation, element, component, or combination of the foregoing, which may be used in various embodiments of the present invention, and are not intended to first exclude the presence of or increase the likelihood of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the invention belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having a meaning that is the same as the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in connection with the various embodiments of the invention.
It can be understood that, under the cloud desktop environment, after the client is connected to the virtual machine of the server, because the virtual machine and the client are not on the same device, the USB device, the optical drive device and the like on the terminal need to be redirected to the virtual machine.
Example 1
The physical optical drive redirection system in the cloud desktop environment comprises a client, a server and a virtual machine, wherein the physical optical drive redirection method is realized based on SPICE (Simple Protocol for Independent Computing Environment, independent computing environment simple protocol) protocol when the client uses the cloud desktop.
The process of implementing the physical optical drive redirection is described based on the physical optical drive redirection system in the cloud desktop environment, as shown in fig. 1, and specifically includes steps S100 to S300.
Step S100: the client detects a physical CD-ROM of the client, creates a virtual CD-ROM, establishes a mapping relation between the physical CD-ROM and the virtual CD-ROM, and establishes a redirection tunnel between the client and the server.
It will be appreciated that when the client is using a cloud desktop, i.e., the SPICE client is connected to a virtual machine of a QEMU (Quick emulators) on a remote server, a channel connection will be established with a SPICE-server running on the server.
When the physical optical drive of the client needs to be redirected, the physical optical drive of the client is detected, and a virtual physical optical drive, namely a virtual optical drive, is created at the client, wherein the virtual optical drive records information of the physical optical drive, in other words, a USB redirected object is created at the client, and a mapping relation between the physical optical drive and the virtual optical drive is created. When the physical optical drive of the client needs to be redirected, a corresponding redirection channel is also established between the SPICE client of the client and the SPICE-server of the server, so as to be used for data transmission between the server and the client.
When the mapping relation between the physical CD-ROM and the virtual CD-ROM is established, the virtual CD-ROM created through simulation is marked as a redirection object of the physical CD-ROM, the information of the physical CD-ROM is marked for the virtual CD-ROM, and a redirection callback function of the physical CD-ROM is registered for the virtual CD-ROM, so that the purpose of redirecting instructions is achieved by controlling the behavior of the redirection callback function.
The information of the physical optical drive includes any one or more of information such as a device position, a device path, bus information, manufacturer information, product information, a drive letter of a windows system disk, a/dev/device path under a Linux system, namely, a path of the physical optical drive in the Linux system, a device type and the like, which correspond to the physical optical drive.
Step S200: when the server establishes a redirection tunnel, a redirection character device is established, the virtual CD-ROM is submitted to the redirection character device through the redirection tunnel, and the virtual CD-ROM is sent to a preset virtual buffer zone.
When the server side and the client side establish a redirection tunnel, the server side establishes a redirection character device and associates the redirection character device with the redirection tunnel between the server side and the client side, so that when the server side receives virtual CD-ROM data from the redirection tunnel, the received virtual CD-ROM data is submitted to the redirection character device, and then the controller of the server side submits the virtual CD-ROM data to a preset virtual buffer area of the server side for reading by a virtual machine. The redirection character device is simulated device which transmits in character unit in redirection input/output process, and the preset virtual buffer is preset buffer for access by drive layer in the virtual machine.
Step S300: the virtual machine loads the virtual CD-ROM by reading the preset virtual buffer area to finish the redirection process.
In the application, when the virtual machine reads the corresponding data of the virtual drive of the preset virtual buffer area in the server, the virtual drive is loaded, in other words, the drive device is loaded in the virtual machine, and it is determined that the redirection process of the physical drive in the cloud desktop environment is completed.
In one embodiment, as shown in fig. 2, the physical optical drive redirection system in the cloud desktop environment further includes step S400.
Step S400: the client receives the control instruction issued by the virtual machine through the server, analyzes the control instruction, executes the analyzed control instruction in the physical CD-ROM to obtain an execution result, and sends the execution result to the virtual machine through the server so that the virtual machine executes corresponding actions according to the execution result.
It may be understood that the simulated virtual drive includes a redirection packet, for example, a control packet, a bulk packet, etc., that is, the virtual drive includes a control instruction, and the corresponding control instruction is obtained from the redirection packet in the virtual drive through a registered redirection callback function, where the control packet, the bulk packet, etc. are encapsulated by SCSI instructions, and the SCSI instructions can be directly communicated with the physical drive device. Thus, SCSI instructions are included in the redirect packet. The virtual machine will send the redirection package of the virtual CD-ROM to the customer end through the server end, namely the virtual machine will send the control command to the customer end.
The client receives the control instruction of the virtual CD-ROM through the redirection tunnel, analyzes the SCSI instruction from the control instruction, namely the redirection packet, encapsulates the SCSI instruction into a corresponding operation instruction through a preset file descriptor, namely the redirection control instruction, and issues the operation instruction to the physical CD-ROM of the client.
It can be understood that the physical optical drive is opened in a file descriptor manner, in other words, the physical optical drive is opened through a preset file descriptor, and receives and executes an operation instruction issued by the client, and the physical optical drive returns corresponding return information to the client after executing the operation instruction. The client simulates the returned information of the operation instruction to obtain a redirection packet, namely an execution result is obtained, the obtained execution result is uploaded to the virtual machine through the redirection tunnel, and corresponding actions are executed in a virtual CD-ROM of the virtual machine according to the received execution result, so that the purpose of redirecting the physical CD-ROM to the virtual machine for use is achieved.
According to the method and the device, the purpose that the physical CD-ROM is mapped to the virtual machine is achieved through the CD-ROM simulation technology, and a user can use the same use experience as that of the local CD-ROM in the virtual machine, such as recording, formatting, popup and other operations, so that the problem that the redirection of the physical CD-ROM cannot be supported in the cloud desktop environment in the existing scheme is solved, and the use requirement of the user is met well.
Based on the above-mentioned physical optical drive redirection system under the cloud desktop environment, please refer to fig. 3, the embodiment of the present application further provides a physical optical drive redirection method under the cloud desktop environment, which is applied to a client, and the method exemplarily includes steps S10 to S20.
Step S10: and detecting a physical CD-ROM of the client, creating a virtual CD-ROM, and establishing a mapping relation between the physical CD-ROM and the virtual CD-ROM.
Step S20: and establishing a redirection tunnel between the client and the server so that the server creates redirection character equipment, submitting the virtual CD-ROM to the redirection character equipment through the redirection tunnel, and sending the virtual CD-ROM to a preset virtual buffer area, thereby enabling the virtual machine to load the virtual CD-ROM by reading the preset virtual buffer area, and completing the redirection process.
It can be understood that the method steps of this embodiment correspond to the corresponding functions of the physical optical drive redirection system in the cloud desktop environment in the above embodiment, where the options of the physical optical drive redirection system in the cloud desktop environment are also applicable to the method of this embodiment, and will not be repeated here.
Based on the above embodiment of the physical optical drive redirection method under the cloud desktop environment, fig. 4 shows a schematic structural diagram of a physical optical drive redirection device 10 under the cloud desktop environment according to an embodiment of the present application. The physical optical drive redirecting device 10 in the cloud desktop environment is applied to a client, and comprises:
the virtual drive module 11 is configured to detect a physical drive of the client, create a virtual drive, and establish a mapping relationship between the physical drive and the virtual drive.
The redirection module 12 is configured to establish a redirection tunnel between the client and the server, so that the server creates a redirection character device, submits the virtual drive to the redirection character device through the redirection tunnel, and sends the virtual drive to a preset virtual buffer, thereby enabling the virtual machine to load the virtual drive by reading the preset virtual buffer, and completing the redirection process.
The physical optical drive redirection device 10 under the cloud desktop environment of the present embodiment is used for executing the physical optical drive redirection method under the cloud desktop environment of the above embodiment, and the implementation and the beneficial effects related to the above embodiment are also applicable in the present embodiment, and are not described herein again.
The embodiment of the application also provides a terminal device, which comprises a memory and a processor, wherein the memory stores a computer program, and the computer program executes the physical CD-ROM redirection method under the cloud desktop environment when running on the processor.
The embodiment of the application also provides a computer readable storage medium, which stores a computer program, and when the computer program is executed on a processor, the method for redirecting the physical optical drive under the cloud desktop environment is implemented.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners as well. The apparatus embodiments described above are merely illustrative, for example, of the flow diagrams and block diagrams in the figures, which illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules or units in various embodiments of the invention may be integrated together to form a single part, or the modules may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a smart phone, a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention.

Claims (10)

1. The physical CD-ROM redirection system in the cloud desktop environment is characterized by comprising a client, a server and a virtual machine;
the client is used for detecting a physical CD-ROM of the client, creating a virtual CD-ROM, establishing a mapping relation between the physical CD-ROM and the virtual CD-ROM, and establishing a redirection tunnel between the client and the server;
the server is used for creating a redirection character device when the redirection tunnel is established, submitting the virtual CD-ROM to the redirection character device through the redirection tunnel, and sending the virtual CD-ROM to a preset virtual buffer area;
the virtual machine is used for loading the virtual CD-ROM by reading the preset virtual buffer area to finish the redirection process.
2. The system for redirecting a physical optical drive in a cloud desktop environment according to claim 1, wherein the establishing a mapping relationship between the physical optical drive and the virtual optical drive comprises:
and marking the virtual CD-ROM as a redirection object of the physical CD-ROM, marking the information of the physical CD-ROM to the virtual CD-ROM, and registering a redirection callback function of the physical CD-ROM for the virtual CD-ROM.
3. The system of claim 2, wherein the information of the physical optical drive includes any one or more of a device location, a device path, bus information, vendor information, product information, and a device type.
4. The physical optical drive redirection system in a cloud desktop environment of claim 1, further comprising:
the client is further configured to receive a control instruction issued by the virtual machine through the server, parse the control instruction, execute the parsed control instruction based on the physical optical drive to obtain an execution result, and send the execution result to the virtual machine through the server, so that the virtual machine executes a corresponding action according to the execution result.
5. The system for redirecting a physical optical drive in a cloud desktop environment of claim 4 wherein said parsing said control instructions comprises:
and analyzing a SCSI instruction in the control instruction from the control instruction, packaging the SCSI instruction into an operation instruction through a preset file descriptor, and issuing the operation instruction to the physical CD-ROM.
6. The system for redirecting a physical optical drive in a cloud desktop environment according to claim 5, wherein the executing the parsed control instruction based on the physical optical drive to obtain an execution result includes:
opening the physical optical drive through the file descriptor so that the physical optical drive executes the operation instruction to obtain return information; and simulating according to the returned information to obtain an execution result.
7. The physical CD driver redirection method in cloud desktop environment is characterized by being applied to a client, and comprises the following steps:
detecting a physical optical drive of the client, creating a virtual optical drive, and establishing a mapping relation between the physical optical drive and the virtual optical drive;
and establishing a redirection tunnel between the client and the server so that the server creates redirection character equipment, submitting the virtual CD-ROM to the redirection character equipment through the redirection tunnel, and sending the virtual CD-ROM to a preset virtual buffer area, thereby enabling a virtual machine to load the virtual CD-ROM by reading the preset virtual buffer area and completing the redirection process.
8. A physical optical drive redirection device in a cloud desktop environment, which is applied to a client, the device comprising:
the optical drive virtual module is used for detecting a physical optical drive of the client, creating a virtual optical drive and establishing a mapping relation between the physical optical drive and the virtual optical drive;
and the redirection module is used for establishing a redirection tunnel between the client and the server so as to enable the server to create redirection character equipment, submitting the virtual CD-ROM to the redirection character equipment through the redirection tunnel, and sending the virtual CD-ROM to a preset virtual buffer area, so that the virtual machine loads the virtual CD-ROM by reading the preset virtual buffer area, and the redirection process is completed.
9. A terminal device comprising a memory and a processor, the memory storing a computer program that, when run on the processor, performs the physical optical drive redirection method in a cloud desktop environment of claim 7.
10. A readable storage medium, characterized in that it stores a computer program which, when run on a processor, performs the physical optical drive redirection method in a cloud desktop environment according to claim 7.
CN202211702423.9A 2022-12-28 2022-12-28 Physical CD driver redirection method, system and device in cloud desktop environment Pending CN116107648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211702423.9A CN116107648A (en) 2022-12-28 2022-12-28 Physical CD driver redirection method, system and device in cloud desktop environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211702423.9A CN116107648A (en) 2022-12-28 2022-12-28 Physical CD driver redirection method, system and device in cloud desktop environment

Publications (1)

Publication Number Publication Date
CN116107648A true CN116107648A (en) 2023-05-12

Family

ID=86260841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211702423.9A Pending CN116107648A (en) 2022-12-28 2022-12-28 Physical CD driver redirection method, system and device in cloud desktop environment

Country Status (1)

Country Link
CN (1) CN116107648A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116804907A (en) * 2023-08-16 2023-09-26 北京淳中科技股份有限公司 Touch screen redirection method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116804907A (en) * 2023-08-16 2023-09-26 北京淳中科技股份有限公司 Touch screen redirection method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US9665841B2 (en) Cross-platform application framework
US10963287B2 (en) Reducing request latency in a multi-tenant web service host
TWI400652B (en) Dual operating system parallel processing methods, recording media and computer program products
WO2017166447A1 (en) Method and device for loading kernel module
US20070288937A1 (en) Virtual Device Driver
CN105760162A (en) Development method for hybrid APP software
CN112861057A (en) Page rendering method, device and equipment based on small program and storage medium
EP3117327B1 (en) Universal serial bus emulation of peripheral devices
US10630399B2 (en) Testing distributed applications that have an established exchange in an advanced message queuing protocol (AMQP) message broker
CN109684573B (en) Target picture display method and device, storage medium and electronic equipment
CN108089870B (en) Method and apparatus for repairing applications
CN116107648A (en) Physical CD driver redirection method, system and device in cloud desktop environment
CN110516447A (en) A kind of method and apparatus of identification terminal simulator
US9710575B2 (en) Hybrid platform-dependent simulation interface
CN113868174B (en) Verification platform building method and device and storage medium
JP2016525731A (en) Program test service
CN115237735A (en) Method, device, equipment and medium for collecting logs of serial port of virtual machine
CN113032246A (en) SSD (solid State disk) firmware operation method and device, readable storage medium and electronic equipment
US11068371B2 (en) Method and apparatus for simulating slow storage disk
CN116795679A (en) Web application testing method and device, electronic equipment and storage medium
CN113296876B (en) Equipment direct connection method, equipment and storage medium of virtual machine
CN111352357B (en) Robot control method and device and terminal equipment
CN113724115A (en) Data processing method and server based on online education
CN108551410B (en) Interface returning method and terminal equipment
CN111013157A (en) Game loading method, device, equipment and storage medium

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