WO2022057560A1 - 视频设备重定向方法、客户端、虚拟机桌面及存储介质 - Google Patents

视频设备重定向方法、客户端、虚拟机桌面及存储介质 Download PDF

Info

Publication number
WO2022057560A1
WO2022057560A1 PCT/CN2021/113571 CN2021113571W WO2022057560A1 WO 2022057560 A1 WO2022057560 A1 WO 2022057560A1 CN 2021113571 W CN2021113571 W CN 2021113571W WO 2022057560 A1 WO2022057560 A1 WO 2022057560A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
video device
virtual machine
image
image parameter
Prior art date
Application number
PCT/CN2021/113571
Other languages
English (en)
French (fr)
Inventor
王�义
曹颖
管天云
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2022057560A1 publication Critical patent/WO2022057560A1/zh

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/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • 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/445Program loading or initiating
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/451Execution arrangements for user interfaces

Definitions

  • the embodiments of the present application relate to, but are not limited to, the field of communications technologies, and in particular, relate to a video device redirection method, a client, a virtual machine desktop, and a computer-readable storage medium.
  • video devices such as cameras and high-speed cameras need to be used.
  • Some video devices have low compatibility. Therefore, it is difficult for the data of video devices to be stably stored on the operating system of the local client. Loading and reading out, poor user experience.
  • the relevant software applied on the operating system is used to realize the data loading of the video equipment.
  • this method must require the relevant software to be adapted to the video equipment, that is, the video equipment must meet the software requirements. Relevant specifications can only be used for data transmission, which imposes great restrictions on the use of video equipment and cannot meet the needs of users.
  • Embodiments of the present application provide a video device redirection method, a client, a virtual machine desktop, and a computer-readable storage medium.
  • an embodiment of the present application provides a video device redirection method, which is applied to a client and includes: in the case of connecting with a virtual machine desktop, obtaining configuration information of a first device application corresponding to the video device, The virtual machine desktop is constructed on a server; the configuration information is sent to the virtual machine desktop, so that the virtual machine desktop creates a second device application corresponding to the video device according to the configuration information; trigger information from the virtual machine desktop is obtained , the trigger information indicates that the second device application is opened; the video device is opened according to the trigger information, and image information is obtained from the video device; the image information is sent to the virtual machine desktop, so that the virtual The computer desktop displays the image information through the second device application.
  • an embodiment of the present application also provides a video device redirection method, which is applied to a virtual machine desktop, and the virtual machine desktop is built on a server, including: in the case of connecting with the client, obtaining a video sent by the client.
  • configuration information the configuration information is obtained by the client from a first device application corresponding to the video device; a second device application corresponding to the video device is created according to the configuration information; trigger information is sent to the client to enable
  • the client opens the video device according to the trigger information, and obtains image information from the video device, wherein the trigger information indicates that the second device application is opened; obtains the image information sent by the client, and uses The second device application displays the image information.
  • an embodiment of the present application further provides a client, including: a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implements the above when executing the computer program The image processing method described in the first aspect.
  • an embodiment of the present application further provides a virtual machine desktop, including: a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the computer program when the processor executes the computer program.
  • a virtual machine desktop including: a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the computer program when the processor executes the computer program.
  • the embodiments of the present application further provide a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to execute the image processing method as described above.
  • FIG. 1 is a schematic diagram of a network architecture for performing a video device redirection method provided by an embodiment of the present application
  • FIG. 2 is a flowchart of a video device redirection method provided by an embodiment of the present application
  • FIG. 3 is a flowchart of a video device redirection method provided by another embodiment of the present application.
  • FIG. 4 is a flowchart of a video device redirection method provided by another embodiment of the present application.
  • FIG. 5 is a flowchart of a video device redirection method provided by another embodiment of the present application.
  • FIG. 6 is a flowchart of a video device redirection method provided by another embodiment of the present application.
  • FIG. 7 is a flowchart of a method for redirecting a video device provided by another embodiment of the present application.
  • the present application provides a video device redirection method, a client, a virtual machine desktop, and a computer-readable storage medium, wherein the client can send configuration information of a first device application to the virtual machine desktop, so that the virtual machine desktop can According to this configuration information, the second device application is correspondingly created.
  • the client's video device can be redirected to the virtual machine desktop only through the interaction of the configuration information, and the user only needs to open the second device application on the virtual machine desktop. That is, it can send trigger information to the client to remotely trigger the video device and redirect the video device to the second device application on the virtual machine desktop for display.
  • peripheral software for adaptation there is no need to introduce peripheral software for adaptation. Therefore, for users, redirecting the video device to the virtual machine desktop for use can make the user use the video device more conveniently and reliably, and can further improve the user’s experience. Use experience.
  • FIG. 1 is a schematic diagram of a network architecture 100 for executing a video device redirection method provided by an embodiment of the present application.
  • the network architecture 100 includes a client 101 and a virtual machine desktop 102, wherein the client 101 and the virtual machine desktop 102 can be connected, and when the two are connected, the network architecture 100 can execute video equipment redirect method.
  • the client 101 is connected to a local video device, so the client 101 can obtain the configuration information of the video device, wherein the client 101 may be a device terminal, such as a PC, or an operation on the device terminal. system, such as any Windows operating system on a PC.
  • the configuration information may include hardware information of the video device, such as storage capacity, drive type, etc., and may also include application information of the video device, such as the upload rate, compatibility, etc. when the video device is connected to the computer, Those skilled in the art can easily think that the configuration information may also be other information similar to the above example, which is not limited in this embodiment.
  • the video device may be, but is not limited to, a USB device, a magnetic disk device, or other types of flash disk devices, or the like.
  • the virtual machine desktop 102 can support remote dynamic access of the desktop system and unified hosting in the data center. For users, the virtual machine desktop 102 can be accessed at any place and at any time through any device, or through the virtual machine.
  • the desktop 102 implements a large amount of data storage.
  • the virtual machine desktop 102 can be built in a server, wherein the server can be a cloud or any type of computer, the server can be connected to the network, and it has the ability to respond to service requests from the virtual machine desktop 102, It can also undertake the services required by the virtual machine desktop 102, and can also provide computing, driving or other application services for the virtual machine desktop 102.
  • the virtual machine desktop 102 can send request information to the server , so that the server creates a response service corresponding to logging in to the virtual machine desktop 102 according to the request information, and provides the response service to the virtual machine desktop 102 , so that the user can log in to the virtual machine desktop 102 .
  • the client 101 and the virtual machine desktop 102 may include a memory and a processor, respectively, wherein the memory and the processor may be connected by a bus or in other ways.
  • the memory can be used to store non-transitory software programs and non-transitory computer-executable programs.
  • the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
  • the memory may include memory located remotely from the processor, which may be connected to the processor through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the network architecture 100 and application scenarios described in the embodiments of the present application are to more clearly describe the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application.
  • the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • both the client 101 and the virtual machine desktop 102 can respectively call their stored video device redirection programs to execute the video device redirection method.
  • FIG. 2 is a flowchart of a video device redirection method provided by an embodiment of the present application.
  • the video device redirection method can be applied to a client in the network architecture of the embodiment shown in FIG. 1, so The method includes but is not limited to steps S100 to S500.
  • Step S100 in the case of connecting with the virtual machine desktop, obtain the configuration information of the first device application corresponding to the video device;
  • Step S200 sending configuration information to the virtual machine desktop, so that the virtual machine desktop creates a second device application corresponding to the video device according to the configuration information;
  • Step S300 acquiring trigger information from the virtual machine desktop, where the trigger information indicates that the second device application is opened;
  • Step S400 turn on the video device according to the trigger information, and obtain image information from the video device;
  • Step S500 sending the image information to the virtual machine desktop, so that the virtual machine desktop displays the image information through the second device application.
  • the client can send the configuration information of the first device application to the virtual machine desktop, so that the virtual machine desktop can create the second device application correspondingly according to the configuration information.
  • the video device of the client can be redirected to the virtual machine desktop, and the user can send trigger information to the client only by opening the second device application on the virtual machine desktop, so as to remotely trigger the video device and realize the redirection of the video device
  • the second device application on the virtual machine desktop for display in this process, there is no need to introduce peripheral software for adaptation operations, nor to require the video device to comply with the relevant software specifications. Therefore, for users, , redirecting the video device to the virtual machine desktop for use can make the user use the video device more conveniently and reliably, and can further improve the user's use experience.
  • the video device is used as an entity device, and the corresponding first device application can be regarded as a specific application of the video device on the client, that is, the video device can be controlled through the first device application.
  • the second device application can be regarded as the specific application of the video device on the virtual machine desktop, that is, the video device can also be controlled through the second device application.
  • the trigger information indicates that the second device application is opened, and the conditions under which the second device application is opened are not strictly limited in this embodiment.
  • the application on the virtual machine desktop is used to control the opening of the application of the second device, or the application of the second device is controlled to be opened based on the driver that has been set on the desktop of the virtual machine. For example, the driver is set according to the time node, so that it selects to control the opening of the application of the second device at a specific moment.
  • the image information may be obtained by the video device through lossy compression after acquiring the image, or may be obtained by the client through lossy compression after acquiring the image from the video device, wherein there are: Lossy compression is defined relative to lossless compression. Lossy compression is a compression method that takes advantage of the insensitivity of humans to certain frequency components in images, which allows certain information to be lost in the compression process, although in the The original data cannot be completely recovered after compression, but the lost part has less impact on understanding the original image, and an image with a larger compression ratio can be obtained.
  • the image information obtained after lossy compression is more conducive to network transmission, can support the simultaneous transmission of a larger amount of data, and the network transmission speed and efficiency will be significantly improved.
  • the embodiments of the present application are implemented based on the configuration-driven development of video devices, and do not require application programs to cooperate with specific modifications. Therefore, there is no need to embed specific video device application programs in the client and the virtual machine desktop. , and the embodiment of the present application transmits image playback control commands (corresponding to configuration information and trigger information) and real image data (corresponding to image information), rather than video device command data, that is, it does not need to target video devices.
  • image playback control commands corresponding to configuration information and trigger information
  • real image data corresponding to image information
  • video device command data that is, it does not need to target video devices.
  • Direct command transmission for example, direct transparent transmission of USB commands in the conventional technology in the art
  • the present application does not need to perform a large number of command interactions with video equipment, and can achieve the purpose of reducing bandwidth .
  • FIG. 3 is a flowchart of a video device redirection method provided by another embodiment of the present application, wherein the trigger information includes first image parameter information, and before step S400, it also includes but is not limited to steps S600 to Step S700.
  • Step S600 sending the second image parameter information supported by the video device to the virtual machine desktop according to the first image parameter information
  • Step S700 acquiring third image parameter information sent by the virtual machine desktop according to the second image parameter information, where the third image parameter information is determined by the virtual machine desktop selected in the second image parameter information.
  • the first image parameter information represents image parameters that can be adapted to the second device application, that is, parameters that the second device application can support.
  • the purpose of the interaction between the client and the virtual machine desktop is The final step is to obtain the image information of the video device. Therefore, the video device needs to support the first image parameter information, so that the video device can obtain the corresponding image information based on the first image parameter information. Therefore, by sending the first image parameter information to the client, so that the client can send the second image parameter information supported by the video device to the virtual machine desktop, that is, the client can indicate that it has learned that the video device can support the second image parameter information by sending the second image parameter information, and The second parameter information is obtained according to the first image parameter information.
  • the virtual machine desktop can select the corresponding third image parameter information from the second image parameter information.
  • the first image parameter information and the second image parameter information in the example can represent several types of image parameter information that the video device can support
  • the third image parameter information can represent a specific one or several types of image parameter information that the video device can support.
  • the specific one or several types of image parameter information can be selected and determined from the above-mentioned several types of image parameter information.
  • the first image parameter information, the second image parameter information, and the third image parameter information may all be, but are not limited to, parameters such as resolution, image format, etc.
  • parameters such as resolution, image format, etc.
  • video devices and their applications are based on The relevant parameters set for acquiring the image information can be regarded as the image parameter information of the video device, which is not limited in this embodiment.
  • the virtual machine desktop can select the second image parameter information through the image preview of the second device application, that is, obtain the second image parameter information through the intuitive image preview, so that it can be displayed in the third image. is determined in the parameter information, and other methods may also be used to select the second image parameter information, which is not limited in this embodiment.
  • the "obtaining image information from the video device" in step S400 may include, but is not limited to, step S410.
  • Step S410 Acquire image information determined by the video device according to the third image parameter information from the video device.
  • the third image parameter information can be supported by the video device. Therefore, the video device can determine the image information according to the third image parameter information. image information, so as to ensure that the image information redirected to the virtual machine desktop can meet user requirements.
  • FIG. 4 is a flowchart of a video device redirection method provided by another embodiment of the present application, wherein the trigger information includes first image parameter information, and before step S400, it also includes but is not limited to steps S800 to S800 to Step S900.
  • Step S800 sending feedback information to the virtual machine desktop according to the first image parameter information, where the feedback information indicates that the video device is adapted to the first image parameter information;
  • Step S900 Obtain fourth image parameter information sent by the virtual machine desktop according to the feedback information, where the fourth image parameter information is determined by selecting and determining the virtual machine desktop in the first image parameter information.
  • the first image parameter information represents image parameters that can be adapted to the second device application, that is, parameters that the second device application can support.
  • the purpose of the interaction between the client and the virtual machine desktop is The final step is to obtain the image information of the video device. Therefore, the video device needs to support the first image parameter information, and then the video device can obtain the corresponding image information based on the first image parameter information. Therefore, the client receives the first image parameter information.
  • the video device needs to support the first image parameter information, and then the video device can obtain the corresponding image information based on the first image parameter information. Therefore, the client receives the first image parameter information.
  • a feedback message is sent to the virtual machine desktop, and the feedback information is used to inform the video device of the adaptation of the first image parameter information.
  • the virtual machine desktop so that the virtual machine desktop can select the corresponding fourth image parameter information from the first image parameter information and send it to the client. It is worth noting that the video device cannot be adapted to the first image parameter information. Under the same conditions, the client can also send another feedback information to the virtual machine desktop, and can also notify the virtual machine desktop that the video device cannot be adapted to the first image parameter information.
  • the first image information and the fourth image parameter information may be, but are not limited to, parameters such as resolution, image format, etc.
  • parameters such as resolution, image format, etc.
  • the video equipment and its application are based on the relevant parameters set by acquiring image information. All can be regarded as the image parameter information of the video device, which is not limited in this embodiment.
  • the virtual machine desktop can select the fourth image parameter information through the image preview of the second device application, that is, obtain the fourth image parameter information through the intuitive image preview, so that it can be displayed in the first image. If the parameter information is determined, the fourth image parameter information may also be selected in other manners, which is not limited in this embodiment.
  • step S400 after the client obtains the fourth image parameter information, "obtaining image information from a video device" in step S400 may include but is not limited to step S420.
  • Step S420 Acquire image information determined by the video device according to the fourth image parameter information from the video device.
  • the fourth image parameter information is determined from the first image parameter information, and the first image parameter information can be supported by the video device. Therefore, the fourth image parameter information can also be supported by the video device. Therefore, , the video device can determine the image information according to the fourth image parameter information. For the client, it can obtain the image information that can be supported by the video device, so as to ensure that the image information redirected to the virtual machine desktop can meet the user's requirements. of.
  • FIG. 5 is a flowchart of a video device redirection method provided by another embodiment of the present application.
  • the video device redirection method can be applied to a virtual machine desktop in the network architecture of the embodiment shown in FIG. 1 .
  • the method includes but is not limited to steps S1000 to S1300.
  • Step S1000 in the case of connecting with the client, obtain configuration information sent by the client, where the configuration information is obtained by the client from a first device application corresponding to the video device;
  • Step S1100 creating a second device application corresponding to the video device according to the configuration information
  • Step S1200 sending trigger information to the client, so that the client opens the video device according to the trigger information, and obtains image information from the video device, wherein the trigger information indicates that the second device application is opened;
  • Step S1300 acquiring the image information sent by the client, and displaying the image information through the second device application.
  • the virtual machine desktop can obtain the configuration information sent by the client, and then can create the second device application correspondingly according to the configuration information. It can be seen that the video device of the client can be redirected only through the interaction of the configuration information.
  • the user On the virtual machine desktop, the user only needs to open the second device application on the virtual machine desktop to send trigger information to the client, thereby remotely triggering the video device and redirecting the video device to the second device on the virtual machine desktop.
  • the device is applied for display. In this process, there is no need to introduce peripheral software for adaptation operations, nor to require the video device to comply with the relevant software specifications. Therefore, for the user, redirect the video device to the virtual device. Using it on the desktop of the computer can make the user use the video device more conveniently and reliably, and can further improve the user experience.
  • FIG. 6 is a flowchart of a video device redirection method provided by another embodiment of the present application, wherein the trigger information includes first image parameter information, and in step S1200 "make the client open the video according to the trigger information" Before “device”, it also includes but is not limited to steps S1400 to S1500.
  • Step S1400 obtaining the second image parameter information supported by the video equipment sent by the client according to the first image parameter information
  • Step S1500 Send third image parameter information to the client according to the second image parameter information, where the third image parameter information is determined by selecting the virtual machine desktop from the second image parameter information.
  • the first image parameter information represents image parameters that can be adapted to the second device application, that is, parameters that the second device application can support.
  • the final step is to obtain the image information of the video device. Therefore, the video device needs to support the first image parameter information, so that the video device can obtain the corresponding image information based on the first image parameter information.
  • the second image parameter information indicates that the video device can support the second image parameter information, and the second parameter information is obtained according to the first image parameter information. Therefore, in this case, the virtual machine desktop can obtain the second image parameter information from the second image parameter information.
  • the corresponding third image parameter information is selected from the information.
  • first image parameter information and the second image parameter information in this embodiment may represent several types of image parameter information that the video device can support.
  • the third image parameter information The information may represent a specific one or several types of image parameter information that can be supported by the video device, and the specific one or several types of image parameter information may be selected and determined from the above-mentioned several types of image parameter information.
  • the image information may be determined by the video device according to the third image parameter information, that is, the third image parameter information can be supported by the video device, therefore, the video device may determine the image information according to the third image parameter information, Therefore, for the virtual machine desktop, redirected image information that can meet user requirements can be obtained.
  • FIG. 7 is a flowchart of a method for redirecting a video device provided by another embodiment of the present application, wherein the trigger information includes first image parameter information, and in step S1200 "make the client open the video according to the trigger information" Before the “device”, it also includes but is not limited to steps S1600 to S1700.
  • Step S1600 obtaining feedback information sent by the client according to the first image parameter information, where the feedback information indicates that the video device is adapted to the first image parameter information;
  • Step S1700 Send fourth image parameter information to the client according to the feedback information, where the fourth image parameter information is determined by selecting the virtual machine desktop from the first image parameter information.
  • the virtual machine desktop can select the corresponding image parameter information from the first image parameter information.
  • Fourth image parameter information so that the video device can obtain corresponding image information according to this parameter information, that is, since the fourth image parameter information can be supported by the video device, the image information can be obtained by the video device according to the fourth image parameter information. It is determined that, for the virtual machine desktop, the redirected image information that can meet the user's requirements can also be obtained accordingly.
  • an embodiment of the present application provides a client comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor and memory may be connected by a bus or otherwise.
  • the client in this embodiment can be applied to the network architecture in the embodiment shown in FIG. 1 , and can form a part of the network architecture in the embodiment shown in FIG. 1 , and these embodiments all belong to the same Therefore, these embodiments have the same realization principle and technical effect, and will not be described in detail here.
  • the non-transitory software programs and instructions required to implement the video device redirection method of the above-described embodiment are stored in the memory, and when executed by the processor, execute the video device redirection method of the above-described embodiment, for example, execute the diagram described above.
  • an embodiment of the present application provides a virtual machine desktop, where the virtual machine desktop includes: a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor and memory may be connected by a bus or otherwise.
  • the virtual machine desktop in this embodiment can be applied to the network architecture in the embodiment shown in FIG. 1 , and can form a part of the network architecture in the embodiment shown in FIG. 1 , and these embodiments all belong to the same Therefore, these embodiments have the same realization principle and technical effect, and will not be described in detail here.
  • the non-transitory software programs and instructions required to implement the video device redirection method of the above-described embodiment are stored in the memory, and when executed by the processor, execute the video device redirection method of the above-described embodiment, for example, execute the diagram described above.
  • an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by a processor or controller, for example, by the above-mentioned
  • the execution of a processor in the embodiment can cause the above-mentioned processor to execute the video device redirection method in the above-mentioned embodiment, for example, to execute the above-described method steps S100 to S500 in FIG. S700, method steps S800 to S900 in FIG. 4, method steps S1000 to S1300 in FIG. 5, method steps S1400 to S1500 in FIG. 6, or method steps S1600 to S1700 in FIG. 7, or perform the method steps described above S410 or S420.
  • the embodiments of the present application include: in the case of connecting with a virtual machine desktop, acquiring configuration information of a first device application corresponding to a video device, wherein the virtual machine desktop is constructed on a server; sending the configuration information to the virtual machine desktop, To make the virtual machine desktop create a second device application corresponding to the video device according to the configuration information; obtain trigger information from the virtual machine desktop, the trigger information indicates that the second device application is opened; open the video device according to the trigger information, and from the video device Acquiring image information; sending the image information to the virtual machine desktop, so that the virtual machine desktop displays the image information through the second device application.
  • the client can send the configuration information of the first device application to the virtual machine desktop, so that the virtual machine desktop can create the second device application correspondingly according to the configuration information. It can be seen that only the configuration information is needed
  • the interaction of the client can redirect the video device of the client to the virtual machine desktop, and the user can send trigger information to the client only by opening the second device application on the virtual machine desktop, so as to remotely trigger the video device and realize the video
  • the device is redirected to the second device application on the virtual machine desktop for display.
  • redirecting the video device to the virtual machine desktop for use can make the user use the video device more conveniently and reliably, and can further improve the user experience.
  • Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种视频设备重定向方法、客户端、虚拟机桌面及存储介质。其中,视频设备重定向方法,应用于客户端,包括:在与虚拟机桌面进行连接的情况下,获取与视频设备对应的第一设备应用的配置信息(S100);向虚拟机桌面发送配置信息,以使虚拟机桌面根据配置信息创建与视频设备对应的第二设备应用(S200);获取来自虚拟机桌面的触发信息,触发信息表示第二设备应用被打开(S300);根据触发信息打开视频设备,并从视频设备获取图像信息(S400);将图像信息发送至虚拟机桌面,以使虚拟机桌面通过第二设备应用显示图像信息(S500)。

Description

视频设备重定向方法、客户端、虚拟机桌面及存储介质
相关申请的交叉引用
本申请基于申请号为202010980939.4、申请日为2020年9月17日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请实施例涉及但不限于通信技术领域,尤其涉及一种视频设备重定向方法、客户端、虚拟机桌面及计算机可读存储介质。
背景技术
在运营商、教育系统等用户群中,需要使用摄像头、高拍仪等视频设备,有的视频设备本身的兼容性不高,因此,视频设备的数据难以在本地客户端的操作系统上稳定地被加载读取出,对于用户而言体验不佳。基于此,本领域常规技术中采用相关应用在操作系统上的软件来实现视频设备的数据加载,但是,这种方式必须要求相关软件与视频设备相适配,即,视频设备必须要符合软件的相关规范,才能够进行数据传输,这对于视频设备的使用存在着较大的限制,无法满足用户的使用需求。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本申请实施例提供了一种视频设备重定向方法、客户端、虚拟机桌面及计算机可读存储介质。
第一方面,本申请实施例提供了一种视频设备重定向方法,应用于客户端,包括:在与虚拟机桌面进行连接的情况下,获取与视频设备对应的第一设备应用的配置信息,其中,虚拟机桌面构建于服务器;向虚拟机桌面发送所述配置信息,以使虚拟机桌面根据所述配置信息创建与所述视频设备对应的第二设备应用;获取来自虚拟机桌面的触发信息,所述触发信息表示所述第二设备应用被打开;根据所述触发信息打开所述视频设备,并从所述视频设备获取图像信息;将所述图像信息发送至虚拟机桌面,以使虚拟机桌面通过所述第二设备应用显示所述图像信息。
第二方面,本申请实施例还提供了一种视频设备重定向方法,应用于虚拟机桌面,虚拟机桌面构建于服务器,包括:在与客户端进行连接的情况下,获取由客户端发送的配置信息,所述配置信息为客户端从与视频设备对应的第一设备应用获取的;根据所述配置信息创建与所述视频设备对应的第二设备应用;向客户端发送触发信息,以使客户端根据所述触发信息打开所述视频设备,并从所述视频设备获取图像信息,其中,所述触发信息表示所述第二设备应用被打开;获取由客户端发送的图像信息,并通过所述第二设备应用显示所述图像信息。
第三方面,本申请实施例还提供了一种客户端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上第一方面所述的图像处理方法。
第四方面,本申请实施例还提供了一种虚拟机桌面,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上 第二方面所述的图像处理方法。
第五方面,本申请实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行如上所述的图像处理方法。
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图说明
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。
图1是本申请一个实施例提供的用于执行视频设备重定向方法的网络架构的示意图;
图2是本申请一个实施例提供的视频设备重定向方法的流程图;
图3是本申请另一个实施例提供的视频设备重定向方法的流程图;
图4是本申请另一个实施例提供的视频设备重定向方法的流程图;
图5是本申请另一个实施例提供的视频设备重定向方法的流程图;
图6是本申请另一个实施例提供的视频设备重定向方法的流程图;
图7是本申请另一个实施例提供的视频设备重定向方法的流程图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
本申请提供了一种视频设备重定向方法、客户端、虚拟机桌面及计算机可读存储介质,其中,客户端能够将第一设备应用的配置信息发送给虚拟机桌面,从而使得虚拟机桌面能够根据此配置信息来对应创建第二设备应用,可见只需通过配置信息的交互就能够将客户端的视频设备重定向在虚拟机桌面上,同时用户也只需在虚拟机桌面上开启第二设备应用即能够发送触发信息至客户端,从而远程触发视频设备,实现将视频设备重定向到虚拟机桌面上的第二设备应用以进行显示,在这一过程中,既无需引入外设软件来进行适配操作,也无需要求视频设备符合相关软件的相关规范,因此,对于用户而言,将视频设备重定向到虚拟机桌面进行使用,可以使用户更加方便可靠地使用视频设备,能够进一步提高用户的使用体验。
下面结合附图,对本申请实施例作进一步阐述。
如图1所示,图1是本申请一个实施例提供的用于执行视频设备重定向方法的网络架构100的示意图。
在图1的示例中,该网络架构100包括客户端101和虚拟机桌面102,其中,客户端101和虚拟机桌面102可以进行连接,当两者进行连接时,该网络架构100能够执行视频设备重定向方法。
在一实施例中,客户端101与本地的视频设备进行连接,因此客户端101能够获取视 频设备的配置信息,其中,客户端101可以是设备终端,比如PC,也可以是设备终端上的操作系统,比如PC上的任意一种的windows操作系统。
在一实施例中,配置信息可以包括视频设备的硬件信息,比如存储容量、驱动类型等,还可以包括视频设备的应用信息,比如当视频设备接入到计算机时的上传速率、兼容度等,本领域技术人员容易想到配置信息还可以是与上述示例相类似的其它信息,这在本实施例中并未限制。
在一实施例中,视频设备可以但不限于是USB设备、磁盘设备或者其它类型的闪存盘设备等。
在一实施例中,虚拟机桌面102可以支持实现桌面系统的远程动态访问与数据中心统一托管,对于用户而言,可以通过任何设备在任何地点、任何时间访问虚拟机桌面102,也可以通过虚拟机桌面102实现大量数据储存。虚拟机桌面102可以构建于服务器中,其中,服务器可以是云端,也可以是任意一种类型的计算机,服务器可以接入到网络中,其具备承担响应来自虚拟机桌面102的服务请求的能力,也能够承担虚拟机桌面102所需求的服务,也能够为虚拟机桌面102提供计算、驱动或者其它应用服务,比如,用户需要登录虚拟机桌面102时,可以通过虚拟机桌面102向服务器发送请求信息,以使服务器根据请求信息创建对应于登录虚拟机桌面102的响应服务,并将响应服务提供给虚拟机桌面102,从而使得用户能够登录到虚拟机桌面102。
客户端101和虚拟机桌面102可以分别包括有存储器和处理器,其中,存储器和处理器可以通过总线或者其他方式连接。
存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器可包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至该处理器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
本申请实施例描述的网络架构100以及应用场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域技术人员可知,随着网络架构100的演变和新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
在图1所示的网络架构100中,客户端101和虚拟机桌面102均可以分别调用其储存的视频设备重定向程序,以执行视频设备重定向方法。
基于上述网络架构100的结构,提出本申请的视频设备重定向方法的各个实施例。
如图2所示,图2是本申请一个实施例提供的视频设备重定向方法的流程图,该视频设备重定向方法可以应用于如图1所示实施例的网络架构中的客户端,所述方法包括但不限于步骤S100至步骤S500。
步骤S100,在与虚拟机桌面进行连接的情况下,获取与视频设备对应的第一设备应用的配置信息;
步骤S200,向虚拟机桌面发送配置信息,以使虚拟机桌面根据配置信息创建与视频设备对应的第二设备应用;
步骤S300,获取来自虚拟机桌面的触发信息,触发信息表示第二设备应用被打开;
步骤S400,根据触发信息打开视频设备,并从视频设备获取图像信息;
步骤S500,将图像信息发送至虚拟机桌面,以使虚拟机桌面通过第二设备应用显示图像信息。
在一实施例中,客户端能够将第一设备应用的配置信息发送给虚拟机桌面,从而使得虚拟机桌面能够根据此配置信息来对应创建第二设备应用,可见只需通过配置信息的交互就能够将客户端的视频设备重定向在虚拟机桌面上,同时用户也只需在虚拟机桌面上开启第二设备应用即能够发送触发信息至客户端,从而远程触发视频设备,实现将视频设备重定向到虚拟机桌面上的第二设备应用以进行显示,在这一过程中,既无需引入外设软件来进行适配操作,也无需要求视频设备符合相关软件的相关规范,因此,对于用户而言,将视频设备重定向到虚拟机桌面进行使用,可以使用户更加方便可靠地使用视频设备,能够进一步提高用户的使用体验。
在一实施例中,视频设备作为实体设备,与之相对应的第一设备应用可以看作视频设备在客户端上的具体应用,即,通过第一设备应用即能够实现控制视频设备,同理,第二设备应用可以看作视频设备在虚拟机桌面上的具体应用,即,通过第二设备应用也能够实现控制视频设备,采用这种方式的好处在于:便于通过虚拟的设备应用来控制实际的视频设备,取得更方便可靠的控制效果。
在一实施例中,触发信息表示第二设备应用被打开,其中,第二设备应用是在何种条件下被打开的,这在本实施例中并未严格限制,比如,用户可以在客户端与虚拟机桌面建立连接的情况下,通过虚拟机桌面上的应用程序来控制第二设备应用打开,或者,基于虚拟机桌面上已经设定好的驱动程序来控制第二设备应用打开,一种示例为,按照时间节点设置好驱动程序,以使其在特定时刻选择控制第二设备应用打开。
在一实施例中,图像信息可以是由视频设备在获取图像之后经过有损压缩而得到的,也可以是由客户端在获取到视频设备的图像之后经过有损压缩而得到的,其中,有损压缩是相对于无损压缩而进行定义的,有损压缩是利用了人类对图像中的某些频率成分不敏感的特性的一种压缩方式,其允许在压缩过程中损失一定的信息,虽然在压缩后不能完全恢复原始数据,但是所损失的部分对理解原始图像的影响较小,可以得到具有更大压缩比的图像。经过有损压缩后得到的图像信息更加有利于网络传输,可以支持更大量数据同时进行传输,其网络传输速度和效率均会显著提高。
在一实施例中,本申请实施例是基于视频设备的配置驱动开发来实现的,不需要应用程序配合做特定修改,因此,不需要在客户端和虚拟机桌面内嵌入特定的视频设备应用程序,并且,本申请实施例所传输的是图像播放控制命令(对应于配置信息和触发信息)和真实的图像数据(对应于图像信息),而并非视频设备命令数据,即,不需要针对视频设备直接进行命令传输(比如,本领域常规技术中的直接透传USB命令),因此,与本领域常规技术相比,本申请无需与视频设备之间进行大量的命令交互,能够达到降低带宽的目的。
如图3所示,图3是本申请另一个实施例提供的视频设备重定向方法的流程图,其中,触发信息包括第一图像参数信息,在步骤S400之前,还包括但不限于步骤S600至步骤S700。
步骤S600,根据第一图像参数信息向虚拟机桌面发送视频设备所支持的第二图像参数信息;
步骤S700,获取由虚拟机桌面根据第二图像参数信息发送的第三图像参数信息,第三 图像参数信息为虚拟机桌面在第二图像参数信息中选择确定。
在一实施例中,第一图像参数信息表示能够适配第二设备应用的图像参数,即,第二设备应用能够支持的参数,根据前述实施例可知,客户端与虚拟机桌面的交互的目的最终在于获取视频设备的图像信息,因此,需要视频设备支持第一图像参数信息,则视频设备才能够基于该第一图像参数信息来获取到相应的图像信息,因此,通过发送第一图像参数信息到客户端,使得客户端能够向虚拟机桌面发送视频设备所支持的第二图像参数信息,即,客户端通过发送第二图像参数信息可以表明已经获知视频设备能够支持第二图像参数信息,而第二参数信息是根据第一图像参数信息得到的,因此,在这种情况下,虚拟机桌面可以从第二图像参数信息中选择相应的第三图像参数信息,值得注意的是,在本实施例中的第一图像参数信息和第二图像参数信息可以表示视频设备能够支持的若干类图像参数信息,第三图像参数信息可以表示视频设备能够支持的特定某一种或几种的图像参数信息,该特定某一种或几种的图像参数信息可以从上述的若干类图像参数信息中选择确定。
在一实施例中,第一图像参数信息、第二图像参数信息和第三图像参数信息均可以但不限于是分辨率、图像格式等参数,本领域技术人员应当了解,视频设备及其应用基于获取图像信息而设置的相关参数都可以看作为视频设备的图像参数信息,这在本实施例中也并未进行限制。
在一实施例中,虚拟机桌面可以通过第二设备应用的图像预览来选定第二图像参数信息,即,通过直观的图像预览来获取到第二图像参数信息,以使其在第三图像参数信息中被确定,还可以采用其它方式来选定第二图像参数信息,在本实施例中并未限制。
在一实施例中,当客户端获取到第三图像参数信息之后,步骤S400中的“从视频设备获取图像信息”,可以包括但不限于步骤S410。
步骤S410,从视频设备获取由视频设备根据第三图像参数信息所确定的图像信息。
在一实施例中,第三图像参数信息是视频设备能够支持的,因此,视频设备可以根据第三图像参数信息确定图像信息,因此,对于客户端而言,其可以获取到符合视频设备可支持的图像信息,从而确保重定向到虚拟机桌面上的图像信息是能够满足用户要求的。
如图4所示,图4是本申请另一个实施例提供的视频设备重定向方法的流程图,其中,触发信息包括第一图像参数信息,在步骤S400之前,还包括但不限于步骤S800至步骤S900。
步骤S800,根据第一图像参数信息向虚拟机桌面发送反馈信息,反馈信息表示视频设备与第一图像参数信息相适配;
步骤S900,获取由虚拟机桌面根据反馈信息发送的第四图像参数信息,第四图像参数信息为虚拟机桌面在第一图像参数信息中选择确定。
在一实施例中,第一图像参数信息表示能够适配第二设备应用的图像参数,即,第二设备应用能够支持的参数,根据前述实施例可知,客户端与虚拟机桌面的交互的目的最终在于获取视频设备的图像信息,因此,需要视频设备支持第一图像参数信息,则视频设备才能够基于该第一图像参数信息来获取到相应的图像信息,因此,客户端在接收到第一图像参数信息之后,若该视频设备与第一图像参数信息能够相适配,则向虚拟机桌面发送一反馈信息,该反馈信息用于将视频设备与第一图像参数信息相适配的情况告知虚拟机桌面,以使得虚拟机桌面可以从第一图像参数信息中选择相应的第四图像参数信息并发送给客户端,值得注意的是,在视频设备与第一图像参数信息不能够相适配的条件下,客户端也可以向虚拟机桌面发送另一反馈信息,同样能够向虚拟机桌面告知视频设备与第一图像参 数信息不能够相适配的情况。
在一实施例中,第一图像信息和第四图像参数信息可以但不限于是分辨率、图像格式等参数,本领域技术人员应当了解,视频设备及其应用基于获取图像信息而设置的相关参数都可以看作为视频设备的图像参数信息,这在本实施例中也并未进行限制。
在一实施例中,虚拟机桌面可以通过第二设备应用的图像预览来选定第四图像参数信息,即,通过直观的图像预览来获取到第四图像参数信息,以使其在第一图像参数信息中被确定,还可以采用其它方式来选定第四图像参数信息,在本实施例中并未限制。
在一实施例中,当客户端获取到第四图像参数信息之后,步骤S400中的“从视频设备获取图像信息”,可以包括但不限于步骤S420。
步骤S420,从视频设备获取由视频设备根据第四图像参数信息所确定的图像信息。
在一实施例中,第四图像参数信息是从第一图像参数信息中确定的,而第一图像参数信息是视频设备能够支持的,因此,第四图像参数信息也是视频设备能够支持的,因此,视频设备可以根据第四图像参数信息确定图像信息,对于客户端而言,其可以获取到符合视频设备可支持的图像信息,从而确保重定向到虚拟机桌面上的图像信息是能够满足用户要求的。
如图5所示,图5是本申请另一个实施例提供的视频设备重定向方法的流程图,该视频设备重定向方法可以应用于如图1所示实施例的网络架构中的虚拟机桌面,所述方法包括但不限于步骤S1000至步骤S1300。
步骤S1000,在与客户端进行连接的情况下,获取由客户端发送的配置信息,配置信息为客户端从与视频设备对应的第一设备应用获取的;
步骤S1100,根据配置信息创建与视频设备对应的第二设备应用;
步骤S1200,向客户端发送触发信息,以使客户端根据触发信息打开视频设备,并从视频设备获取图像信息,其中,触发信息表示第二设备应用被打开;
步骤S1300,获取由客户端发送的图像信息,并通过第二设备应用显示图像信息。
在一实施例中,虚拟机桌面能够获取由客户端发送的配置信息,进而能够根据此配置信息来对应创建第二设备应用,可见只需通过配置信息的交互就能够将客户端的视频设备重定向在虚拟机桌面上,同时用户也只需在虚拟机桌面上开启第二设备应用即能够发送触发信息至客户端,从而远程触发视频设备,实现将视频设备重定向到虚拟机桌面上的第二设备应用以进行显示,在这一过程中,既无需引入外设软件来进行适配操作,也无需要求视频设备符合相关软件的相关规范,因此,对于用户而言,将视频设备重定向到虚拟机桌面进行使用,可以使用户更加方便可靠地使用视频设备,能够进一步提高用户的使用体验。
应当说明的是,由于本实施例中的视频设备重定向方法与上述图2所示实施例中的视频设备重定向方法的区别仅在于执行主体的不同,本质上属于同一发明构思,因此本实施例中的视频设备重定向方法的具体实施方式,可以参照上述图2所示实施例中的视频设备重定向方法的相关具体实施例,为避免冗余,本实施例的视频设备重定向方法的其它具体实施方式在此不再赘述。
如图6所示,图6是本申请另一个实施例提供的视频设备重定向方法的流程图,其中,触发信息包括第一图像参数信息,在步骤S1200中“使客户端根据触发信息打开视频设备”之前,还包括但不限于步骤S1400至步骤S1500。
步骤S1400,获取由客户端根据第一图像参数信息发送的视频设备所支持的第二图像 参数信息;
步骤S1500,根据第二图像参数信息向客户端发送第三图像参数信息,第三图像参数信息为虚拟机桌面在第二图像参数信息中选择确定。
在一实施例中,第一图像参数信息表示能够适配第二设备应用的图像参数,即,第二设备应用能够支持的参数,根据前述实施例可知,客户端与虚拟机桌面的交互的目的最终在于获取视频设备的图像信息,因此,需要视频设备支持第一图像参数信息,则视频设备才能够基于该第一图像参数信息来获取到相应的图像信息,因此,当接收到客户端发送的第二图像参数信息,则表明视频设备能够支持第二图像参数信息,而第二参数信息是根据第一图像参数信息得到的,因此,在这种情况下,虚拟机桌面可以从第二图像参数信息中选择相应的第三图像参数信息,值得注意的是,在本实施例中的第一图像参数信息和第二图像参数信息可以表示视频设备能够支持的若干类图像参数信息,第三图像参数信息可以表示视频设备能够支持的特定某一种或几种的图像参数信息,该特定某一种或几种的图像参数信息可以从上述的若干类图像参数信息中选择确定。
在一实施例中,图像信息可以由视频设备根据第三图像参数信息所确定,即,第三图像参数信息是视频设备能够支持的,因此,视频设备可以根据第三图像参数信息确定图像信息,因此,对于虚拟机桌面而言,可以获取到能够满足用户要求的重定向的图像信息。
应当说明的是,由于本实施例中的视频设备重定向方法与上述图3所示实施例中的视频设备重定向方法的区别仅在于执行主体的不同,本质上属于同一发明构思,因此本实施例中的视频设备重定向方法的具体实施方式,可以参照上述图3所示实施例中的视频设备重定向方法的相关具体实施例,为避免冗余,本实施例的视频设备重定向方法的其它具体实施方式在此不再赘述。
如图7所示,图7是本申请另一个实施例提供的视频设备重定向方法的流程图,其中,触发信息包括第一图像参数信息,在步骤S1200中“使客户端根据触发信息打开视频设备”之前,还包括但不限于步骤S1600至步骤S1700。
步骤S1600,获取由客户端根据第一图像参数信息发送的反馈信息,反馈信息表示视频设备与第一图像参数信息相适配;
步骤S1700,根据反馈信息向客户端发送第四图像参数信息,第四图像参数信息为虚拟机桌面在第一图像参数信息中选择确定。
在一实施例中,当接收到客户端发送的反馈信息,则表明视频设备能够支持第一图像参数信息,因此,在这种情况下,虚拟机桌面可以从第一图像参数信息中选择相应的第四图像参数信息,以使视频设备能够根据此参数信息来获取相应图像信息,即,由于第四图像参数信息是视频设备能够支持的,因此,图像信息可以由视频设备根据第四图像参数信息所确定,对于虚拟机桌面而言,同样可以相应获取到能够满足用户要求的重定向的图像信息。
应当说明的是,由于本实施例中的视频设备重定向方法与上述图4所示实施例中的视频设备重定向方法的区别仅在于执行主体的不同,本质上属于同一发明构思,因此本实施例中的视频设备重定向方法的具体实施方式,可以参照上述图4所示实施例中的视频设备重定向方法的相关具体实施例,为避免冗余,本实施例的视频设备重定向方法的其它具体实施方式在此不再赘述。
另外,本申请的一个实施例提供了一种客户端,该客户端包括:存储器、处理器及存 储在存储器上并可在处理器上运行的计算机程序。
处理器和存储器可以通过总线或者其他方式连接。
需要说明的是,本实施例中的客户端,可以应用于如图1所示实施例中的网络架构,能够构成图1所示实施例中的网络架构的一部分,这些实施例均属于相同的发明构思,因此这些实施例具有相同的实现原理以及技术效果,此处不再详述。
实现上述实施例的视频设备重定向方法所需的非暂态软件程序以及指令存储在存储器中,当被处理器执行时,执行上述实施例的视频设备重定向方法,例如,执行以上描述的图2中的方法步骤S100至S500、图3中的方法步骤S600至S700或图4中的方法步骤S800至S900或者,执行以上描述的方法步骤S410或S420。
另外,本申请的一个实施例提供了一种虚拟机桌面,该虚拟机桌面包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序。
处理器和存储器可以通过总线或者其他方式连接。
需要说明的是,本实施例中的虚拟机桌面,可以应用于如图1所示实施例中的网络架构,能够构成图1所示实施例中的网络架构的一部分,这些实施例均属于相同的发明构思,因此这些实施例具有相同的实现原理以及技术效果,此处不再详述。
实现上述实施例的视频设备重定向方法所需的非暂态软件程序以及指令存储在存储器中,当被处理器执行时,执行上述实施例的视频设备重定向方法,例如,执行以上描述的图5中的方法步骤S1000至S1300、图6中的方法步骤S1400至S1500或图7中的方法步骤S1600至S1700。
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
此外,本申请的一个实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个处理器或控制器执行,例如,被上述实施例中的一个处理器执行,可使得上述处理器执行上述实施例中的视频设备重定向方法,例如,执行以上描述的图2中的方法步骤S100至S500、图3中的方法步骤S600至S700、图4中的方法步骤S800至S900、图5中的方法步骤S1000至S1300、图6中的方法步骤S1400至S1500或图7中的方法步骤S1600至S1700,或者,执行以上描述的方法步骤S410或S420。
本申请实施例包括:在与虚拟机桌面进行连接的情况下,获取与视频设备对应的第一设备应用的配置信息,其中,虚拟机桌面构建于服务器;向虚拟机桌面发送所述配置信息,以使虚拟机桌面根据配置信息创建视频设备对应的第二设备应用;获取来自虚拟机桌面的触发信息,触发信息表示所述第二设备应用被打开;根据触发信息打开视频设备,并从视频设备获取图像信息;将图像信息发送至虚拟机桌面,以使虚拟机桌面通过第二设备应用显示图像信息。根据本申请实施例提供的方案,客户端能够将第一设备应用的配置信息发送给虚拟机桌面,从而使得虚拟机桌面能够根据此配置信息来对应创建第二设备应用,可见只需通过配置信息的交互就能够将客户端的视频设备重定向在虚拟机桌面上,同时用户也只需在虚拟机桌面上开启第二设备应用即能够发送触发信息至客户端,从而远程触发视频设备,实现将视频设备重定向到虚拟机桌面上的第二设备应用以进行显示,在这一过程中,既无需引入外设软件来进行适配操作,也无需要求视频设备符合相关软件的相关规范, 因此,对于用户而言,将视频设备重定向到虚拟机桌面进行使用,可以使用户更加方便可靠地使用视频设备,能够进一步提高用户的使用体验。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
以上是对本申请的一些实施方式进行的具体说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请范围的前提下还可作出种种的等同变形或替换,这些等同的变形或替换均包含在本申请权利要求所限定的范围内。

Claims (15)

  1. 一种视频设备重定向方法,应用于客户端,包括:
    在与虚拟机桌面进行连接的情况下,获取与视频设备对应的第一设备应用的配置信息,其中,虚拟机桌面构建于服务器;
    向虚拟机桌面发送所述配置信息,以使虚拟机桌面根据所述配置信息创建与所述视频设备对应的第二设备应用;
    获取来自虚拟机桌面的触发信息,所述触发信息表示所述第二设备应用被打开;
    根据所述触发信息打开所述视频设备,并从所述视频设备获取图像信息;
    将所述图像信息发送至虚拟机桌面,以使虚拟机桌面通过所述第二设备应用显示所述图像信息。
  2. 根据权利要求1所述的视频设备重定向方法,其中,所述触发信息包括第一图像参数信息,在根据所述触发信息打开所述视频设备之前,还包括:
    根据所述第一图像参数信息向虚拟机桌面发送所述视频设备所支持的第二图像参数信息;
    获取由虚拟机桌面根据所述第二图像参数信息发送的第三图像参数信息,所述第三图像参数信息为虚拟机桌面在所述第二图像参数信息中选择确定。
  3. 根据权利要求2所述的视频设备重定向方法,其中,所述从所述视频设备获取所述图像信息,包括:
    从所述视频设备获取由所述视频设备根据所述第三图像参数信息所确定的图像信息。
  4. 根据权利要求1所述的视频设备重定向方法,其中,所述触发信息包括第一图像参数信息,在根据所述触发信息打开所述视频设备之前,还包括:
    根据所述第一图像参数信息向虚拟机桌面发送反馈信息,所述反馈信息表示所述视频设备与所述第一图像参数信息相适配;
    获取由虚拟机桌面根据所述反馈信息发送的第四图像参数信息,所述第四图像参数信息为虚拟机桌面在所述第一图像参数信息中选择确定。
  5. 根据权利要求4所述的视频设备重定向方法,其中,所述从所述视频设备获取所述图像信息,包括:
    从所述视频设备获取由所述视频设备根据所述第四图像参数信息所确定的图像信息。
  6. 根据权利要求1至5任意一项所述的视频设备重定向方法,其中,所述图像信息为经过有损压缩的图像信息。
  7. 一种视频设备重定向方法,应用于虚拟机桌面,虚拟机桌面构建于服务器,包括:
    在与客户端进行连接的情况下,获取由客户端发送的配置信息,所述配置信息为客户端从与视频设备对应的第一设备应用获取的;
    根据所述配置信息创建与所述视频设备对应的第二设备应用;
    向客户端发送触发信息,以使客户端根据所述触发信息打开所述视频设备,并从所述视频设备获取图像信息,其中,所述触发信息表示所述第二设备应用被打开;
    获取由客户端发送的图像信息,并通过所述第二设备应用显示所述图像信息。
  8. 根据权利要求7所述的视频设备重定向方法,其中,所述触发信息包括第一图像参数信息,在使客户端根据所述触发信息打开所述视频设备之前,还包括:
    获取由客户端根据所述第一图像参数信息发送的所述视频设备所支持的第二图像参 数信息;
    根据所述第二图像参数信息向客户端发送第三图像参数信息,所述第三图像参数信息为虚拟机桌面在所述第二图像参数信息中选择确定。
  9. 根据权利要求8所述的视频设备重定向方法,其中,所述图像信息由所述视频设备根据所述第三图像参数信息所确定。
  10. 根据权利要求7所述的视频设备重定向方法,其中,所述触发信息包括第一图像参数信息,在使客户端根据所述触发信息打开所述视频设备之前,还包括:
    获取由客户端根据所述第一图像参数信息发送的反馈信息,所述反馈信息表示所述视频设备与所述第一图像参数信息相适配;
    根据所述反馈信息向客户端发送第四图像参数信息,所述第四图像参数信息为虚拟机桌面在所述第一图像参数信息中选择确定。
  11. 根据权利要求10所述的视频设备重定向方法,其中,所述图像信息由所述视频设备根据所述第四图像参数信息所确定。
  12. 根据权利要求7至11任意一项所述的视频设备重定向方法,其中,所述图像信息为经过有损压缩的图像信息。
  13. 一种客户端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求1至6中任意一项所述的视频设备重定向方法。
  14. 一种虚拟机桌面,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求7至12中任意一项所述的视频设备重定向方法。
  15. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至6中任意一项所述的视频设备重定向方法或者执行权利要求7至12中任意一项所述的视频设备重定向方法。
PCT/CN2021/113571 2020-09-17 2021-08-19 视频设备重定向方法、客户端、虚拟机桌面及存储介质 WO2022057560A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010980939.4 2020-09-17
CN202010980939.4A CN114201249A (zh) 2020-09-17 2020-09-17 视频设备重定向方法、客户端、虚拟机桌面及存储介质

Publications (1)

Publication Number Publication Date
WO2022057560A1 true WO2022057560A1 (zh) 2022-03-24

Family

ID=80644809

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/113571 WO2022057560A1 (zh) 2020-09-17 2021-08-19 视频设备重定向方法、客户端、虚拟机桌面及存储介质

Country Status (2)

Country Link
CN (1) CN114201249A (zh)
WO (1) WO2022057560A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595948A (zh) * 2013-08-14 2014-02-19 郭洪斌 分辨率自适应的视频通话系统和方法
CN105700864A (zh) * 2014-11-28 2016-06-22 华为技术有限公司 Twain协议的远程重定向方法、装置及系统
CN106790612A (zh) * 2016-12-30 2017-05-31 深圳市杰云科技有限公司 一种动态虚拟摄像头映射方法和系统
CN108304247A (zh) * 2017-12-19 2018-07-20 华为技术有限公司 访问摄像头的方法和装置、服务器、可读存储介质
US10616559B1 (en) * 2018-12-12 2020-04-07 Vmware, Inc. Virtual stereo device redirection for virtual desktops
CN112311950A (zh) * 2020-10-30 2021-02-02 新华三大数据技术有限公司 通信方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208406A (zh) * 2014-06-11 2015-12-30 中兴通讯股份有限公司 视频数据提供方法、视频播放方法、装置及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595948A (zh) * 2013-08-14 2014-02-19 郭洪斌 分辨率自适应的视频通话系统和方法
CN105700864A (zh) * 2014-11-28 2016-06-22 华为技术有限公司 Twain协议的远程重定向方法、装置及系统
CN106790612A (zh) * 2016-12-30 2017-05-31 深圳市杰云科技有限公司 一种动态虚拟摄像头映射方法和系统
CN108304247A (zh) * 2017-12-19 2018-07-20 华为技术有限公司 访问摄像头的方法和装置、服务器、可读存储介质
US10616559B1 (en) * 2018-12-12 2020-04-07 Vmware, Inc. Virtual stereo device redirection for virtual desktops
CN112311950A (zh) * 2020-10-30 2021-02-02 新华三大数据技术有限公司 通信方法及装置

Also Published As

Publication number Publication date
CN114201249A (zh) 2022-03-18

Similar Documents

Publication Publication Date Title
US11146616B2 (en) Platform-independent content generation for thin client applications
US20210258357A1 (en) Method and device for recording and transmitting courseware, interactive white board and storage medium
US6437786B1 (en) Method of reproducing image data in network projector system, and network projector system
USRE48494E1 (en) Network accessible projectors that display multiple client screens at once
US20140279075A1 (en) Interactive advertising
US10389832B2 (en) Remote casting of media content
US20170034551A1 (en) Dynamic screen replication and real-time display rendering based on media-application characteristics
US20210224014A1 (en) Display method, display system and vehicle
US20120254381A1 (en) Method and apparatus of capturing a screen image of a remotely managed machine
WO2023024563A1 (zh) 视频处理方法、服务器和计算机可读存储介质
CN110752999B (zh) 屏幕广播方法、装置、系统、电子设备以及存储介质
WO2022242281A1 (zh) 文件保存方法、装置、电子设备以及存储介质
US20130191774A1 (en) Method and apparatus for executing application file and screen capture method and apparatus therefor
CN112055251A (zh) 一种媒体数据播放方法、装置、设备及存储介质
US20040264775A1 (en) Image capture method, system and apparatus
WO2022057560A1 (zh) 视频设备重定向方法、客户端、虚拟机桌面及存储介质
CN106599323A (zh) 在分布式文件系统中实现分布式管道的方法和装置
KR20140093219A (ko) 모바일 장치로부터의 원격 액세스 기법
JP6957768B2 (ja) メディアコンテンツを提示するための方法、システム、およびプログラム
US10742776B1 (en) Accelerating isochronous endpoints of redirected USB devices
CN113422669A (zh) 数据传输方法、装置和系统、电子设备以及计算机可读存储介质
CN115904567A (zh) 一种云桌面中应用服务的交互、处理、控制方法
CN113287092B (zh) 在应用打开操作期间添加数字内容的系统和方法
US9055235B2 (en) Video output apparatus and video input determination method
CN113709541A (zh) 基于web的多终端设备互动方法、系统、终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21868388

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02.08.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21868388

Country of ref document: EP

Kind code of ref document: A1