WO2023221845A1 - 外围设备的连接控制方法、装置、电子设备和存储介质 - Google Patents

外围设备的连接控制方法、装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2023221845A1
WO2023221845A1 PCT/CN2023/093403 CN2023093403W WO2023221845A1 WO 2023221845 A1 WO2023221845 A1 WO 2023221845A1 CN 2023093403 W CN2023093403 W CN 2023093403W WO 2023221845 A1 WO2023221845 A1 WO 2023221845A1
Authority
WO
WIPO (PCT)
Prior art keywords
peripheral device
computer
operation interface
operating system
connection
Prior art date
Application number
PCT/CN2023/093403
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 WO2023221845A1 publication Critical patent/WO2023221845A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices

Definitions

  • the present application relates to the field of cloud computing, and in particular to a peripheral device connection control method, device, electronic device and storage medium.
  • USB Universal Serial Bus
  • OS Operating System
  • Embodiments of the present application provide a peripheral device connection control method, device, electronic device, and storage medium to solve problems existing in related technologies.
  • the technical solutions are as follows:
  • connection control method for peripheral devices including:
  • the target peripheral device includes a peripheral device connected to the first communication interface of the computer.
  • connection control device for peripheral devices including:
  • a processing module configured to respond to the computer's focus switching to a first operation interface among the plurality of operation interfaces and establish a connection between the operating system of the background device corresponding to the first operation interface and the target peripheral device;
  • the target peripheral device includes a peripheral device connected to the first communication interface of the computer.
  • embodiments of the present application provide an electronic device, including a memory, a processor, and a computer program stored on the memory.
  • the processor executes the computer program, it implements the method provided by any embodiment of the present application.
  • embodiments of the present application provide a computer-readable storage medium.
  • a computer program is stored in the computer-readable storage medium.
  • the computer program is executed by a processor, the method provided by any embodiment of the present application is implemented.
  • embodiments of the present application provide a computer program product, including a computer program. When executed by a processor, the computer program implements the method provided by any embodiment of the present application.
  • the technical solution of the embodiment of the present application is to use the focus switching of the computer as a trigger condition for peripheral devices connected to the first communication interface of the computer to establish a connection between the operating system of the background device corresponding to the operation interface where the focus is located and the peripheral device. . Based on this, when a peripheral device needs to be used in a certain operation interface, the connection between the operating system of the background device corresponding to the operation interface and the peripheral device can be automatically established by switching the focus.
  • Figure 1 is a schematic diagram of an exemplary application scenario for implementing the method of the embodiment of the present application.
  • FIG. 2 is a flow chart of a connection control method for a peripheral device according to an embodiment of the present application.
  • FIG. 3 is a flow chart of a connection control method for a peripheral device according to another embodiment of the present application.
  • Figure 4 is a schematic diagram of an application example of the method according to the embodiment of the present application.
  • FIG. 5 is a structural block diagram of a connection control device for peripheral equipment according to an embodiment of the present application.
  • Figure 6 is a structural block diagram of an electronic device used to implement the method according to the embodiment of the present application.
  • Computer peripherals also known as external devices or peripherals
  • USB storage disks U disks
  • printers signature pads
  • high-definition cameras etc.
  • Peripheral devices using these communication interfaces can only be connected to one host at the same time and cannot be used by multiple hosts at the same time.
  • the local desktop provided by the operating system of the local computer, and the cloud desktop or cloud application provided by the operating system of the cloud server and presented using the local computer cannot use such peripheral devices at the same time. If the local computer is physically connected to the peripheral device, and the local computer maintains a network connection with the cloud desktop and the running environment behind the cloud application, connection, the local computer can establish a software-level connection between the peripheral device and the local desktop, cloud desktop or the running environment behind the cloud application, and can switch the host to which the peripheral device is connected. This switching process can also be called redirection.
  • USB redirection requires the establishment of a two-way, direct communication connection between the cloud server and USB peripherals. , to transmit information based on the USB protocol between the cloud server and USB peripherals.
  • a cloud desktop or cloud application wants to use the USB peripherals of the local computer (which can be understood as the local client of the cloud desktop or cloud application)
  • the protocol data is redirected from the local to the cloud desktop, and then the USB request of the cloud desktop is redirected to the local USB peripheral, so that the cloud desktop or cloud application can use the USB peripheral.
  • Figure 1 shows an exemplary application scenario.
  • the computer establishes physical layer connections with multiple peripheral devices. That is to say, the connection between the computer and the peripheral devices is established through the connection between the communication interface on the computer and the communication interface of the peripheral device.
  • multiple peripheral devices include, for example, USB microphones, USB flash drives, USB tablets, USB microscopes and other USB peripherals.
  • the computer is connected to multiple cloud servers. Cloud desktops and/or cloud applications corresponding to multiple cloud servers are presented to the user on an output device of the computer, such as a display, for the user to operate. Based on this, the computer outputs multiple operation interfaces such as local desktop, cloud desktop, and cloud application interface. Users can only operate on one operation interface at the same time.
  • USB peripherals can only be connected to one host at a time. Therefore, you need to consider how to switch USB peripherals.
  • the embodiment of the present application takes advantage of the fact that the user can only operate on one operation interface at the same time, and uses the focus switching of the computer as a trigger condition to establish a connection between the operating system of the background device corresponding to the user operation interface and the peripheral device, thereby realizing automatic Switch the host to which the peripheral device is connected.
  • FIG. 2 shows a flowchart of a connection control method for a peripheral device according to an embodiment of the present application.
  • the method may optionally be implemented by a computer, for example based on a peripheral device driver module or agent module configured on the computer, but is not limited thereto.
  • the method includes:
  • S210 In response to switching the focus of the computer to the first operation interface among the plurality of operation interfaces, establish a connection between the operating system of the background device corresponding to the first operation interface and the target peripheral device; wherein the target peripheral device includes a third operation interface with the computer.
  • a communication interface connects peripheral devices.
  • the focus of the computer may refer to the area on the output device of the computer, such as a display, that the user focuses on.
  • the focus of the computer may be the area where the cursor is activated.
  • the user pays attention to an operation interface he or she can move the mouse and click on the operation interface, or click the shortcut key on the keyboard for switching focus, so that the input cursor on the operation interface is activated. All information input by an input device such as a keyboard is presented on the operation interface, and the operation interface is the focus of the computer.
  • the output device of the computer presents multiple operation interfaces, so that the focus of the computer can be switched between the multiple operation interfaces.
  • the operation interface may refer to a display interface used for interaction with the user.
  • the multiple operation interfaces may include at least one of a local desktop, a cloud desktop, and a cloud application interface.
  • they may include a local desktop and a cloud desktop, or include two or more cloud application interfaces, or include a local desktop and a cloud application interface.
  • the first operation interface is the operation interface where the focus is located after the focus is switched, which may be a local desktop, a cloud desktop, or a cloud application interface.
  • the local desktop is an operation interface provided by the operating system of the computer.
  • the cloud desktop and cloud application interface are operation interfaces provided by the operating system of the remote server (such as a cloud server).
  • the local desktop or cloud desktop can contain one or more application interfaces.
  • the local desktop can contain the operation interfaces of multiple local applications running based on local computer resources; the cloud desktop can contain multiple applications running based on cloud server resources. operating interface.
  • the background device corresponding to the operation interface may refer to a device that provides data of the operation interface to provide user interaction services.
  • the background device corresponding to the cloud desktop may include a cloud server for providing cloud desktop data and running the background program of the cloud desktop.
  • the background device corresponding to the cloud application interface may include a cloud server used to provide cloud application data and run the background program of the cloud application.
  • the background device corresponding to the local desktop may be a local computer, that is, the computer in step S210 above.
  • the target peripheral device may be a specific peripheral device among at least one peripheral device connected to the first communication interface of the computer.
  • the user may select one of at least one peripheral device as a target peripheral device to perform automatic switching connection for this peripheral device, but not perform automatic switching connection for other peripheral devices.
  • the first communication interface is, for example, a peripheral device connected by a communication interface based on a master-slave architecture.
  • connection between the target peripheral device and the first communication interface of the computer may be a physical connection, through hardware docking between the communication interface on the peripheral device and the communication interface on the computer.
  • the communication interface may be a master-slave architecture interface, such as a USB interface.
  • a network connection is established between the background device and the local computer, and a physical connection is established between the local computer and the peripheral device.
  • the local computer can realize the connection between the operating system of the background device and the peripheral device, thereby realizing the master-slave connection from the physical layer to the software layer based on the communication interface, so that the background device, especially the remote server Data can be transmitted with peripheral devices based on the protocol of the communication interface.
  • connection between the operating system of the background device and the target peripheral device may refer to a protocol connection, that is, a connection for communication based on the communication protocol of the target peripheral device.
  • a protocol connection that is, a connection for communication based on the communication protocol of the target peripheral device.
  • the protocol may refer to a communication protocol supported by the target peripheral device, which is also a communication protocol supported by the first communication interface, such as the USB protocol.
  • the module executing the above method can redirect the protocol data of the target peripheral device to the operating system of the local computer.
  • the module executing the above method can redirect the protocol data of the target peripheral device to The operating system of the cloud desktop server.
  • the technical solution of the embodiment of the present application is to use the focus switching of the computer as a trigger condition for peripheral devices that are physically connected to the computer to establish a connection between the operating system of the background device corresponding to the operation interface where the focus is located and the peripheral device.
  • the connection between the peripheral device and the peripheral device of the background device corresponding to the operation interface can be automatically established by switching the focus, so that the protocol data of the peripheral device can be stored in the background Transfer between devices and peripherals.
  • step S210 in response to switching the focus of the computer to the first operation interface among the plurality of operation interfaces, establishing a connection between the operating system of the background device corresponding to the first operation interface and the target peripheral device, may specifically include:
  • the above-mentioned disconnection between the operating system of the background device corresponding to the second operation interface and the target peripheral device includes:
  • the target peripheral device When the target peripheral device is in an idle state, the connection between the operating system of the background device corresponding to the second operation interface and the target peripheral device is disconnected.
  • the target peripheral device has a background running status, for example, the target peripheral device is a USB flash drive, high-definition camera, printer, etc., and will continue to run in the background, you need to maintain the background running status of the target peripheral device, only when the target peripheral device When the system is in an idle state, the connection between the operating system of the background device corresponding to the second operation interface and the target peripheral device is disconnected. In this way, interruption of the operation of the target peripheral device can be avoided, causing the user to lose information.
  • the target peripheral device has a background running status
  • the target peripheral device is a USB flash drive, high-definition camera, printer, etc.
  • the focus of the computer can be obtained only when the target peripheral device is in an idle state, so that the connection switch of the peripheral device can be performed following the focus switching.
  • the focus of the computer can always be obtained, and when it is determined that the focus is switched to the first operation interface, the background running status of the target peripheral device can be judged.
  • the background running status of the target peripheral device can be achieved by detecting the activity data of the target peripheral device. For example, when it is detected that the target peripheral device has no active data within a preset period of time, it is determined that the target peripheral device is in an idle state.
  • the target peripheral device does not have a background running state, for example, the target peripheral device is a 3D mouse, signature pad, drawing tablet, etc., since its data transmission is triggered in real time based on user input and does not continuously run in the background, it can be When the focus is switched from the second operation interface to the first operation interface, the connection between the target peripheral device and the second operation interface is directly disconnected.
  • the above method may also include:
  • an information list of peripheral devices connected to the first communication interface can be displayed, so that the user can select one or more devices in the list as target peripheral devices, and follow the focus switch to target the selected peripheral devices.
  • the device performs connection switching.
  • the first communication interface may be a communication interface of a master-slave architecture.
  • the connection switching of peripheral devices can be made only for some of the peripheral devices in need, without the need for all peripheral devices connected to the computer.
  • users can choose to switch the connection of peripheral devices such as USB flash drives and high-definition cameras to follow the focus, thereby realizing the sharing of these peripheral devices on local desktops, cloud desktops, and cloud applications.
  • peripheral devices such as mice and keyboards
  • the local computer can be used to parse the input data of the peripheral devices and transmit the parsed data to the background devices of cloud desktops and cloud applications to achieve sharing of these peripheral devices.
  • the computer is configured with a local operating system, USB peripheral decision and driver module, EDS (Elastic Desktop Service) agent and USB redirection component, and cloud desktop service client.
  • the cloud desktop service client provides multiple operation interfaces. Among them, multiple operation interfaces include cloud desktop and cloud application interfaces, such as cloud desktop 1, cloud desktop 2, cloud application 1 and cloud application 2. Connection control methods for USB peripherals can include:
  • Step 1 The user clicks or switches the focus to an operation interface, for example, switches the focus from Cloud Desktop 1 to Cloud Application 2.
  • Step 2 The USB peripheral decision and driver module detects the focus switch.
  • Step 3 The USB peripheral decision and driver module disconnects the USB peripheral device from the cloud desktop 1 through the EDS agent and USB redirection component of the cloud desktop 1.
  • Step 4 The USB peripheral device determination and driver module establishes a connection between the USB peripheral device and cloud application 2 through the EDS proxy and USB redirection component of cloud application 2.
  • the USB peripheral decision and driver module can obtain the data transmitted by the USB peripheral to the local operating system USB protocol stack, and transmit the data to the back of cloud application 2 based on the connection between the USB peripheral and cloud application 2
  • the operating environment that is, the operating system of the background device corresponding to cloud application 2, makes the background device corresponding to cloud application 2 Can read information of USB peripherals and interact with USB peripherals.
  • USB is used as an example to introduce the connection control method of peripheral devices as above, those skilled in the art can understand that the present application should not be limited thereto. In fact, as long as the peripheral device uses a master-slave architecture communication interface to connect to the computer, the above method can be used to implement connection switching.
  • the focus can be automatically established by switching the focus between the peripheral device and the background device corresponding to the operation interface. Connections between operating systems.
  • the embodiments of the present application also provide a connection control apparatus 500 for peripheral devices.
  • the device 500 may include:
  • the processing module 510 is configured to respond to the focus of the computer switching to a first operation interface among the plurality of operation interfaces, and establish a connection between the operating system of the background device corresponding to the first operation interface and the target peripheral device;
  • the target peripheral device includes a peripheral device that establishes a connection with the computer.
  • the multiple operation interfaces include at least one of a local desktop, a cloud desktop, and a cloud application interface.
  • processing module 510 is specifically used to:
  • processing module 510 is specifically used to:
  • the target peripheral device When the target peripheral device is in an idle state, the connection between the operating system of the background device corresponding to the second operation interface and the target peripheral device is disconnected.
  • the device further includes:
  • the device determination module 520 is configured to determine a target peripheral device among at least one peripheral device connected to the first communication interface of the computer based on the user's selection operation.
  • the first communication interface is a communication interface of a master-slave architecture.
  • each module in each device of the embodiment of the present application can be found in the corresponding description in the above method, and have corresponding beneficial effects, which will not be described again here.
  • FIG. 6 shows a structural block diagram of an electronic device according to an embodiment of the present application.
  • the electronic device includes: a memory 610 and a processor 620 .
  • the memory 610 stores a computer program that can run on the processor 620 .
  • the processor 620 executes the computer program, the connection control method of the peripheral device in the above embodiment is implemented.
  • the number of memory 610 and processor 620 may be one or more.
  • the electronic device also includes:
  • the communication interface 630 is used to communicate with external devices and perform data interactive transmission.
  • the bus can be an industry standard system Industrial Standard Architecture (ISA) bus, Peripheral Component Interconnect (PCI) bus or Extended Industry Standard Architecture (EISA) bus, etc.
  • ISA industry standard system Industrial Standard Architecture
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 6, but it does not mean that there is only one bus or one type of bus.
  • the memory 610, the processor 620 and the communication interface 630 are integrated on one chip, the memory 610, the processor 620 and the communication interface 630 can communicate with each other through the internal interface.
  • Embodiments of the present application also provide a computer-readable storage medium, which stores a computer program. When the program is executed by a processor, the method provided in any embodiment of the present application is implemented.
  • An embodiment of the present application also provides a computer program product, which includes a computer program that implements the method provided in any embodiment of the present application when executed by a processor.
  • An embodiment of the present application also provides a chip, which includes a processor for calling and running instructions stored in the memory, so that the communication device installed with the chip executes the method provided by the embodiment of the present application.
  • Embodiments of the present application also provide a chip, including: an input interface, an output interface, a processor and a memory.
  • the input interface, the output interface, the processor and the memory are connected through an internal connection path, and the processor is used to execute the code in the memory. , when the code is executed, the processor is used to execute the method provided by the application embodiment.
  • processor can be a central processing unit (Central Processing Unit, CPU), or other general-purpose processor, digital signal processor (Digital Signal Processing, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • CPU Central Processing Unit
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • a general-purpose processor can be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor that supports Advanced RISC Machines (ARM) architecture.
  • ARM Advanced RISC Machines
  • the above-mentioned memory may include read-only memory and random access memory, and may also include non-volatile random access memory.
  • the memory may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • non-volatile memory can include read-only memory (Read-only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
  • Erase programmable read-only memory Electrically EPROM, EEPROM
  • Volatile memory may include Random Access Memory (RAM), which acts as an external cache. By way of illustration, but not limitation, many forms of RAM are available.
  • static random access memory Static RAM, SRAM
  • dynamic random access memory DRAM
  • synchronous dynamic random access memory Synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access Memory Double Data Rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory Enhanced SDRAM, ESDRAM
  • synchronous link dynamic random access memory Sync Link DRAM, SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • references to the terms “one embodiment,” “some embodiments,” “an example,” “specific examples,” or “some examples” or the like means that specific features are described in connection with the embodiment or example.
  • structures, materials or features are included in at least one embodiment or example of the present application.
  • the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
  • those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, features defined as “first” and “second” may explicitly or implicitly include at least one of these features. In the description of this application, “plurality” means two or more than two, unless otherwise explicitly and specifically limited.
  • logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered a sequenced list of executable instructions for implementing the logical functions, and may be embodied in any computer-readable medium, For use by, or in combination with, instruction execution systems, devices or devices (such as computer-based systems, systems including processors or other systems that can fetch instructions from and execute instructions from the instruction execution system, device or device) or equipment.
  • various parts of the present application may be implemented in hardware, software, firmware, or a combination thereof.
  • various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the method in the above embodiment can be completed by instructing relevant hardware through a program.
  • the program can be stored in a computer-readable storage medium. When executed, the program includes one of the steps of the method embodiment or other steps. combination.
  • each functional unit in various embodiments of the present application can be integrated into a processing module, or each unit can exist physically alone, or two or more units can be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules. If the above integrated modules are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
  • the storage medium can be a read-only memory, a magnetic disk or an optical disk, etc.

Abstract

本申请提出一种外围设备的连接控制方法、装置、电子设备和存储介质,技术方案如下:响应于计算机的焦点切换至多个操作界面中的第一操作界面,建立第一操作界面对应的后台设备的操作系统与目标外围设备之间的连接;其中,目标外围设备包括与计算机的第一通信接口连接的外围设备。根据本申请实施例,可以通过切换焦点,自动建立外围设备与操作界面对应的后台设备的操作系统之间的连接。

Description

外围设备的连接控制方法、装置、电子设备和存储介质
本申请要求于2022年05月16日提交中国专利局、申请号为202210531519.7、申请名称为“外围设备的连接控制方法、装置、电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及云计算领域,尤其涉及一种外围设备的连接控制方法、装置、电子设备和存储介质。
背景技术
一般来说,通过USB(Universal Serial Bus,通用串行总线)接口连接计算机的外围设备,同一时刻只能连接一个主机。这不仅仅是物理单体的限制,也是基于通信协议和OS(Operating System,操作系统)实现的软件层面的架构设计限制。因此,在云场景中,当已在本地桌面、某个云桌面或云应用中使用外围设备时,若需要在其他云桌面或云应用中使用该外围设备,则要通过用户手动配置的方式,切换该外围设备所连接的主机。
发明内容
本申请实施例提供一种外围设备的连接控制方法、装置、电子设备和存储介质,以解决相关技术存在的问题,技术方案如下:
第一方面,本申请实施例提供了一种外围设备的连接控制方法,包括:
响应于计算机的焦点切换至多个操作界面中的第一操作界面,建立第一操作界面对应的后台设备的操作系统与目标外围设备之间的连接;
其中,目标外围设备包括与计算机的第一通信接口连接的外围设备。
第二方面,本申请实施例提供了一种外围设备的连接控制装置,包括:
处理模块,用于响应于计算机的焦点切换至多个操作界面中的第一操作界面,建立第一操作界面对应的后台设备的操作系统与目标外围设备之间的连接;
其中,目标外围设备包括与计算机的第一通信接口连接的外围设备。
第三方面,本申请实施例提供一种电子设备,包括存储器、处理器及存储在存储器上的计算机程序,处理器在执行计算机程序时实现本申请任一实施例提供的方法。
第四方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质内存储有计算机程序,计算机程序被处理器执行时实现本申请任一实施例提供的方法。
第五方面,本申请实施例提供一种计算机程序产品,包括计算机程序,计算机程序在被处理器执行时实现本申请任一实施例提供的方法。
本申请实施例的技术方案,针对与计算机的第一通信接口连接的外围设备,以计算机的焦点切换作为触发条件,建立焦点所在的操作界面对应的后台设备的操作系统与外围设备之间的连接。基于此,在需要在某个操作界面中使用外围设备时,可以通过切换焦点,自动建立该操作界面对应的后台设备的操作系统与外围设备之间的连接。
上述概述仅仅是为了说明书的目的,并不意图以任何方式进行限制。除上述描述的示意性的方面、实施方式和特征之外,通过参考附图和以下的详细描述,本申请进一步的方面、实施方式和特征将会是容易明白的。
附图说明
在附图中,除非另外规定,否则贯穿多个附图相同的附图标记表示相同或相似的部件或元素。这些附图不一定是按照比例绘制的。应该理解,这些附图仅描绘了根据本申请公开的一些实施方式,而不应将其视为是对本申请范围的限制。
图1为一个示例性的用于实现本申请实施例的方法的应用场景的示意图。
图2为根据本申请一实施例的外围设备的连接控制方法的流程图。
图3为根据本申请另一实施例的外围设备的连接控制方法的流程图。
图4为根据本申请实施例的方法的应用示例的示意图。
图5为根据本申请一实施例的外围设备的连接控制装置的结构框图。
图6为用于实现本申请实施例的方法的电子设备的结构框图。
具体实施方式
在下文中,仅简单地描述了某些示例性实施例。正如本领域技术人员可认识到的那样,在不脱离本申请的精神或范围的情况下,可通过各种不同方式修改所描述的实施例。因此,附图和描述被认为本质上是示例性的而非限制性的。
为便于理解本申请实施例的技术方案,以下对本申请实施例的相关技术进行说明,以下相关技术作为可选方案与本申请实施例的技术方案可以进行任意结合,其均属于本申请实施例的保护范围。
计算机的外围设备(也可以称为外部设备或外设),例如USB存储盘(U盘)、打印机、签字板、高拍仪等,通过通信接口与计算机建立连接。一些通信接口例如USB,其通信架构为主从(master-slave)架构。采用这些通信接口的外围设备,同一时间只能连接一个主机(host),无法同时供多个主机使用。
在传统的外围设备使用场景中,切换外围设备所连接的主机,需要物理层到软件层的一次完整的插拔过程。
在云场景中,由本地计算机的操作系统提供的本地桌面,以及由云服务器的操作系统提供并利用本地计算机呈现的云桌面或云应用,同样无法同时使用这类外围设备。如果本地计算机与外围设备物理连接,且本地计算机与云桌面、云应用背后的运行环境保持网络 连接,则本地计算机可以建立外围设备与本地桌面、云桌面或云应用背后的运行环境之间在软件层面的连接,并可切换外围设备所连接的主机。这一切换过程,也可以称为重定向。
实际应用中,以USB为例,有别于本地计算机解析云服务器与USB之间的交互数据并传输解析后的数据,USB重定向需要建立云服务器与USB外设之间双向、直接的通信连接,以在云服务器与USB外设之间基于USB协议传输信息。云桌面或云应用想要使用本地计算机(可以理解为云桌面或云应用的本地客户端)的USB外设,需要建立云桌面或云应用的操作系统与USB外设之间的连接,将USB的协议数据从本地重定向到云桌面内,然后将云桌面的USB请求重定向到本地USB外设,实现云桌面或云应用对USB外设的使用。相关技术中,在USB外设已经在一个云桌面或云应用中使用的情况下,若本地计算机或者其他基于本地计算机呈现的云桌面或云应用需要使用该USB外设,则需要用户能够区分云桌面或云应用背后的运行环境,手动根据需求重新进行重定向桌面的选择。存在不易用、不便捷等问题。
本申请实施例的技术方案,主要为了解决上述技术问题。为了更清楚地展示本申请实施例中提供的外围设备的连接控制方法,首先介绍可用于实现该方法的应用场景。
图1示出了一个示例性的应用场景。在该应用场景中,计算机与多个外围设备建立物理层连接,也就是说,通过计算机上的通信接口和外围设备的通信接口之间的对接,建立计算机与外围设备之间的连接。其中,多个外围设备包括例如USB麦克风、U盘、USB数位板、USB显微镜和其他USB外设。同时,计算机与多个云服务器连接。多个云服务器对应的云桌面和/或云应用在计算机的输出装置例如显示器上呈现给用户,以供用户操作。基于此,计算机输出本地桌面、云桌面和云应用界面等多种操作界面。用户同一时刻只能在一个操作界面上操作。
由于云桌面和云应用背后的运行环境也是一个完整的操作系统,许多应用也需要甚至依赖USB外设进行操作,而一个USB外设同一时间只能连接一个主机,因此,需要考虑如何切换USB外设的连接,以满足本地桌面、云桌面和云应用等的外设使用需求。本申请实施例利用用户同一时刻只能在一个操作界面上操作的特点,以计算机的焦点切换作为触发条件,建立用户操作界面对应的后台设备的操作系统与外围设备之间的连接,从而实现自动切换外围设备连接的主机。
为了能够更加详尽地了解本申请实施例的特点与技术内容,下面结合附图对本申请实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本申请实施例。
图2示出根据本申请一实施例的外围设备的连接控制方法的流程图。该方法可选地可以由计算机实现,例如基于计算机上配置的外围设备驱动模块或代理模块实现,但不仅限于此。如图2所示,该方法包括:
S210、响应于计算机的焦点切换至多个操作界面中的第一操作界面,建立第一操作界面对应的后台设备的操作系统与目标外围设备之间的连接;其中,目标外围设备包括与计算机的第一通信接口连接的外围设备。
本申请实施例中,计算机的焦点可以指计算机的输出装置例如显示器上,用户关注的区域。示例性地,计算机的焦点可以为光标被激活的区域。例如,当用户关注某个操作界面时,可以通过移动鼠标并点击该操作界面,或者通过点击键盘上的用于切换焦点的快捷键,使得该操作界面上的输入光标被激活,用户基于计算机的输入装置例如键盘等输入的信息均在该操作界面上呈现,则该操作界面为计算机的焦点。
在本申请实施例中,计算机的输出装置呈现多个操作界面,从而计算机的焦点可以在多个操作界面之间切换。这里,操作界面可以指用于与用户交互的显示界面。示例性地,多个操作界面可以包括本地桌面、云桌面和云应用界面中的至少一项,例如可以包括本地桌面和一个云桌面,或者包括两个以上的云应用界面,或者包括本地桌面和一个云桌面、一个云应用界面等。相应地,在本申请实施例中,第一操作界面为焦点切换后焦点所在的操作界面,其可以是本地桌面、云桌面或云应用界面。
其中,本地桌面为该计算机的操作系统提供的操作界面。云桌面和云应用界面为远端的服务器(例如云服务器)的操作系统提供的操作界面。本地桌面或云桌面中可以包含一个或多个应用界面,例如,本地桌面中可以包含基于本地计算机资源运行的多个本地应用的操作界面;云桌面中可以包含基于云服务器资源运行的多个应用的操作界面。
示例性地,在本申请实施例中,操作界面对应的后台设备,可以指提供该操作界面的数据以提供用户交互服务的设备。例如,云桌面对应的后台设备,可以包括用于提供云桌面数据并运行该云桌面的后台程序的云服务器。云应用界面对应的后台设备,可以包括用于提供云应用数据并运行该云应用的后台程序的云服务器。本地桌面对应的后台设备,可以是本地计算机,即上述步骤S210中的计算机。
示例性地,在本申请实施例中,目标外围设备可以是与计算机的第一通信接口连接的至少一个外围设备中特定的外围设备。例如,用户可以选择至少一个外围设备中的其中一个作为目标外围设备,以针对该外围设备进行自动切换连接,但对其他外围设备不进行自动切换连接。其中,第一通信接口例如是基于主从架构的通信接口连接的外围设备。
需要说明的是,在本申请实施例中,目标外围设备与计算机的第一通信接口之间的连接,可以是物理连接,通过外围设备上的通信接口与计算机上的通信接口之间的硬件对接实现。其中,该通信接口可以为主从架构的接口,例如USB接口。
在本申请实施例中,对于远端的服务器(云桌面的后台设备、云应用界面的后台设备)而言,在后台设备与本地计算机之间建立网络连接且本地计算机与外围设备之间建立物理层连接的情况下,本地计算机可以实现该后台设备的操作系统与外围设备之间的连接,从而实现基于通信接口的从物理层面到软件层面的主从连接,使得后台设备特别是远端的服务器与外围设备之间可基于通信接口的协议传输数据。
需要说明的是,在本申请实施例中,后台设备的操作系统与目标外围设备之间的连接,可以指协议连接,即基于目标外围设备的通信协议进行通信的连接。可选地,在本申请实施例中,建立第一操作界面对应的后台设备的操作系统与目标外围设备之间的连接,可以 包括:
将目标外围设备发送的协议数据重定向到所述第一操作界面对应的后台设备的操作系统,和/或,将所述后台设备基于所述第一操作界面接收到的协议请求重定向到所述目标外围设备。这里的协议可以指目标外围设备支持的通信协议,该协议也是第一通信接口支持的通信协议,例如USB协议。
以本地计算机为例,在本地计算机的操作系统与目标外围设备之间建立上述连接的情况下,执行上述方法的模块可以将目标外围设备的协议数据重定向到本地计算机的操作系统。在本地计算机的操作系统与目标外围设备没有建立上述连接,且目标外围设备与云桌面的服务器的操作系统建立上述连接的情况下,执行上述方法的模块可以将目标外围设备的协议数据重定向到云桌面的服务器的操作系统。
根据上述说明,本申请实施例的技术方案,针对与计算机物理连接的外围设备,以计算机的焦点切换作为触发条件,建立焦点所在的操作界面对应的后台设备的操作系统与外围设备之间的连接。基于此,当需要在某个操作界面中使用外围设备时,可以通过切换焦点,自动建立该操作界面对应的后台设备的外围设备与外围设备之间的连接,使得外围设备的协议数据在该后台设备与外围设备之间传输。如此,在云场景下,用户不需要区分云桌面、云应用背后的运行主体,可以自动使外围设备跟随用户当前焦点进行连接切换。
可选地,上述步骤S210、响应于计算机的焦点切换至多个操作界面中的第一操作界面,建立第一操作界面对应的后台设备的操作系统与目标外围设备之间的连接,具体可以包括:
响应于焦点从多个操作界面中的第二操作界面切换至第一操作界面,断开第二操作界面对应的后台设备的操作系统与目标外围设备之间的连接,并建立第一操作界面对应的后台设备的操作系统与目标外围设备之间的连接。
也就是说,在上述可选方案中,在建立第一操作界面对应的后台设备的操作系统与外围设备之间的连接之前,先断开第二操作界面对应的后台设备的操作系统与外围设备之间的连接。如此,可满足外围设备只能同时连接一个主机的限制性要求。
可选地,上述断开第二操作界面对应的后台设备的操作系统与目标外围设备之间的连接,包括:
在目标外围设备处于空闲状态的情况下,断开第二操作界面对应的后台设备的操作系统与目标外围设备之间的连接。
也就是说,如果目标外围设备有后台运行状态,例如目标外围设备为U盘、高拍仪、打印机等,会在后台持续运行,则需维护目标外围设备的后台运行状态,仅在目标外围设备处于空闲状态的情况下,才断开第二操作界面对应的后台设备的操作系统与目标外围设备之间的连接。如此,可以避免目标外围设备的工作中断,导致用户丢失信息。
示例性地,可以在目标外围设备处于空闲状态的情况下,才获取计算机的焦点,以跟随焦点切换进行外围设备的连接切换。或者,可以始终获取计算机的焦点,在确定焦点切换至第一操作界面的情况下,再对目标外围设备的后台运行状态进行判断。
实际应用中,目标外围设备的后台运行状态可以通过检测目标外围设备的活动数据实现。例如,当检测到目标外围设备在预设时长内没有活动数据时,确定目标外围设备处于空闲状态。
可选地,若目标外围设备没有后台运行状态,例如目标外围设备为3D鼠标、签字板和绘图板等,由于其数据传输是基于用户输入实时触发的,并非后台持续运行的,因此,可以在焦点从第二操作界面切换至第一操作界面时,直接断开目标外围设备与第二操作界面之间的连接。
可选地,如图3所示,上述方法还可以包括:
S310、基于用户的选择操作,在与计算机的第一通信接口连接的至少一个外围设备中,确定目标外围设备。
例如,可以基于本地桌面上的一个应用界面,显示第一通信接口连接的外围设备的信息列表,使得用户可以选择列表中的一个或多个设备作为目标外围设备,跟随焦点切换,对选中的外围设备进行连接切换。
示例性地,第一通信接口可以是主从架构的通信接口。
根据上述方法,可以使得外围设备的连接切换仅针对部分有需求的外围设备,而无需针对计算机所连接的全部外围设备。例如,用户可以选择U盘、高拍仪等外围设备的连接跟随焦点进行切换,从而实现本地桌面、云桌面、云应用共享这些外围设备。而对于鼠标、键盘等外围设备,则可以采用本地计算机解析外围设备的输入数据并向云桌面、云应用的后台设备传输解析数据的方式,实现共享这些外围设备。
为了更清楚地呈现本申请的技术思路,下面以USB外设为例,提供一个具体的应用示例。
如图4所示,计算机中配置本地操作系统、USB外设决断与驱动模块、EDS(Elastic Desktop Service,弹性桌面服务)代理与USB重定向组件以及云桌面服务客户端。云桌面服务客户端提供多个操作界面。其中,多个操作界面包括云桌面以及云应用界面,如云桌面1、云桌面2、云应用1和云应用2。USB外设的连接控制方法可以包括:
步骤1、用户点击或者将焦点切换到一个操作界面,例如将焦点从云桌面1切换到云应用2。
步骤2、USB外设决断与驱动模块检测到焦点切换。
步骤3、USB外设决断与驱动模块通过云桌面1的EDS代理与USB重定向组件,断开USB外设与云桌面1之间的连接。
步骤4、USB外设决断与驱动模块通过云应用2的EDS代理与USB重定向组件,建立USB外设与云应用2之间的连接。
通过上述步骤的执行,USB外设决断与驱动模块可以获取USB外设传输至本地操作系统USB协议栈的数据,并基于USB外设与云应用2的连接,将该数据传输到云应用2背后的运行环境,即云应用2对应的后台设备的操作系统,使得云应用2对应的后台设备 可以读取USB外设的信息并与USB外设交互。
需要说明的是,尽管以USB作为示例介绍了外围设备的连接控制方法如上,但本领域技术人员能够理解,本申请应不限于此。事实上,只要是采用主从架构的通信接口与计算机进行连接的外围设备,均可以利用上述方法实现连接切换。
这样,针对与计算机连接的外围设备,根据本申请上述实施例的方法,在需要在某个操作界面中使用外围设备时,可以通过切换焦点,自动建立外围设备与该操作界面对应的后台设备的操作系统之间的连接。
与本申请实施例提供的方法的应用场景以及方法相对应地,本申请实施例还提供一种外围设备的连接控制装置500。参考图5,该装置500可以包括:
处理模块510,用于响应于计算机的焦点切换至多个操作界面中的第一操作界面,建立第一操作界面对应的后台设备的操作系统与目标外围设备之间的连接;
其中,目标外围设备包括与计算机建立连接的外围设备。
示例性地,多个操作界面包括本地桌面、云桌面和云应用界面中的至少一项。
示例性地,处理模块510具体用于:
响应于焦点从多个操作界面中的第二操作界面切换至第一操作界面,断开第二操作界面对应的后台设备的操作系统与目标外围设备之间的连接,并建立第一操作界面对应的后台设备的操作系统与目标外围设备之间的连接。
示例性地,处理模块510具体用于:
在目标外围设备处于空闲状态的情况下,断开第二操作界面对应的后台设备的操作系统与目标外围设备之间的连接。
示例性地,如图5所示,该装置还包括:
设备确定模块520,用于基于用户的选择操作,在与计算机的第一通信接口连接的至少一个外围设备中,确定目标外围设备。
示例性地,第一通信接口为主从架构的通信接口。
本申请实施例各装置中的各模块的功能可以参见上述方法中的对应描述,并具备相应的有益效果,在此不再赘述。
本申请实施例还提供了一种用于实现上述方法的电子设备。图6示出根据本申请实施例的电子设备的结构框图。如图6所示,该电子设备包括:存储器610和处理器620,存储器610内存储有可在处理器620上运行的计算机程序。处理器620执行该计算机程序时实现上述实施例中的外围设备的连接控制方法。存储器610和处理器620的数量可以为一个或多个。
该电子设备还包括:
通信接口630,用于与外界设备进行通信,进行数据交互传输。
如果存储器610、处理器620和通信接口630独立实现,则存储器610、处理器620和通信接口630可以通过总线相互连接并完成相互间的通信。该总线可以是工业标准体系 结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component Interconnect,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
可选的,在具体实现上,如果存储器610、处理器620及通信接口630集成在一块芯片上,则存储器610、处理器620及通信接口630可以通过内部接口完成相互间的通信。
本申请实施例还提供一种计算机可读存储介质,其存储有计算机程序,该程序被处理器执行时实现本申请任一实施例中提供的方法。
本申请实施例还提供一种计算机程序产品,其包括计算机程序,该计算机程序在被处理器执行时实现本申请任一实施例中提供的方法。
本申请实施例还提供了一种芯片,该芯片包括,包括处理器,用于从存储器中调用并运行存储器中存储的指令,使得安装有芯片的通信设备执行本申请实施例提供的方法。
本申请实施例还提供了一种芯片,包括:输入接口、输出接口、处理器和存储器,输入接口、输出接口、处理器以及存储器之间通过内部连接通路相连,处理器用于执行存储器中的代码,当代码被执行时,处理器用于执行申请实施例提供的方法。
应理解的是,上述处理器可以是中央处理器(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者是任何常规的处理器等。值得说明的是,处理器可以是支持进阶精简指令集机器(Advanced RISC Machines,ARM)架构的处理器。
进一步地,可选的,上述存储器可以包括只读存储器和随机存取存储器,还可以包括非易失性随机存取存储器。该存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以包括只读存储器(Read-only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以包括随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用。例如,静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic Random Access Memory,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Sync Link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包 括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包括于本申请的至少一个实施例或示例中。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分。并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。
应理解的是,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。上述实施例方法的全部或部分步骤是可以通过程序来指令相关的硬件完成,该程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。上述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读存储介质中。该存储介质可以是只读存储器,磁盘或光盘等。
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到其各种变化或替换,这些都 应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (11)

  1. 一种外围设备的连接控制方法,包括:
    响应于计算机的焦点切换至多个操作界面中的第一操作界面,建立所述第一操作界面对应的后台设备的操作系统与目标外围设备之间的连接;其中,所述目标外围设备包括与所述计算机的第一通信接口连接的外围设备。
  2. 根据权利要求1所述的方法,其中,所述多个操作界面包括本地桌面、云桌面和云应用界面中的至少一项。
  3. 根据权利要求1或2所述的方法,其中,所述响应于计算机的焦点切换至多个操作界面中的第一操作界面,建立所述第一操作界面对应的后台设备的操作系统与目标外围设备之间的连接,包括:
    响应于所述焦点从所述多个操作界面中的第二操作界面切换至所述第一操作界面,断开所述第二操作界面对应的后台设备的操作系统与所述目标外围设备之间的连接,并建立所述第一操作界面对应的后台设备的操作系统与所述目标外围设备之间的连接。
  4. 根据权利要求3所述的方法,其中,所述断开所述第二操作界面对应的后台设备的操作系统与所述目标外围设备之间的连接,包括:
    在所述目标外围设备处于空闲状态的情况下,断开所述第二操作界面对应的后台设备的操作系统与所述目标外围设备之间的连接。
  5. 根据权利要求1或2所述的方法,其中,所述建立所述第一操作界面对应的后台设备的操作系统与目标外围设备之间的连接,包括:
    将所述目标外围设备发送的协议数据重定向到所述第一操作界面对应的后台设备的操作系统,和/或,将所述后台设备基于所述第一操作界面接收到的协议请求重定向到所述目标外围设备。
  6. 根据权利要求1或2所述的方法,其中,所述方法还包括:
    基于用户的选择操作,在与所述计算机的第一通信接口连接的至少一个外围设备中,确定所述目标外围设备。
  7. 根据权利要求6所述的方法,其中,所述第一通信接口为主从架构的通信接口。
  8. 一种外围设备的连接控制装置,包括:
    处理模块,用于响应于计算机的焦点切换至多个操作界面中的第一操作界面,建立所述第一操作界面对应的后台设备的操作系统与所述目标外围设备之间的连接;其中,所述目标外围设备包括与所述计算机的第一通信接口连接的外围设备。
  9. 一种电子设备,包括存储器、处理器及存储在存储器上的计算机程序,所述处理器在执行所述计算机程序时实现权利要求1-7中任一项所述的方法。
  10. 一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-7中任一项所述的方法。
  11. 一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现权利要求1-7中任一项所述的方法。
PCT/CN2023/093403 2022-05-16 2023-05-11 外围设备的连接控制方法、装置、电子设备和存储介质 WO2023221845A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210531519.7 2022-05-16
CN202210531519.7A CN114911720A (zh) 2022-05-16 2022-05-16 外围设备的连接控制方法、装置、电子设备和存储介质

Publications (1)

Publication Number Publication Date
WO2023221845A1 true WO2023221845A1 (zh) 2023-11-23

Family

ID=82767710

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/093403 WO2023221845A1 (zh) 2022-05-16 2023-05-11 外围设备的连接控制方法、装置、电子设备和存储介质

Country Status (2)

Country Link
CN (1) CN114911720A (zh)
WO (1) WO2023221845A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114911720A (zh) * 2022-05-16 2022-08-16 阿里巴巴(中国)有限公司 外围设备的连接控制方法、装置、电子设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104735108A (zh) * 2013-12-20 2015-06-24 中国移动通信集团公司 一种使用云桌面的方法、装置和云桌面系统
US9374415B1 (en) * 2013-09-16 2016-06-21 The Boeing Company Remote peripheral controller
CN109831586A (zh) * 2019-02-28 2019-05-31 努比亚技术有限公司 一种用户界面切换显示方法、移动终端和存储介质
CN113656120A (zh) * 2021-07-23 2021-11-16 北京鸿合爱学教育科技有限公司 界面切换方法、装置、设备及存储介质
CN114911720A (zh) * 2022-05-16 2022-08-16 阿里巴巴(中国)有限公司 外围设备的连接控制方法、装置、电子设备和存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739124A (zh) * 2008-11-20 2010-06-16 英业达股份有限公司 可切换成多种外围模式的手持式电子装置
US9098431B2 (en) * 2011-11-23 2015-08-04 Red Hat, Inc. USB redirection for interrupt transactions
WO2014049601A2 (en) * 2012-09-27 2014-04-03 Dell Products L.P. Local interface redirection
US9665525B2 (en) * 2014-06-09 2017-05-30 High Sec Labs Ltd. Multi-host docking device
WO2016141586A1 (zh) * 2015-03-12 2016-09-15 华为技术有限公司 复用外围接口的方法、用户设备和外接设备
US20170351629A1 (en) * 2016-06-03 2017-12-07 Logitech Europe S.A. Automatic multi-host switching for multiple input devices
CN109298806B (zh) * 2018-09-21 2022-01-11 杨立群 一种基于对象识别的远程快速界面交互方法及装置
CN110149371A (zh) * 2019-04-24 2019-08-20 深圳市九和树人科技有限责任公司 设备连接方法、装置及终端设备
CN113973133A (zh) * 2021-09-30 2022-01-25 西安万像电子科技有限公司 Usb设备重定向方法、装置、电子设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9374415B1 (en) * 2013-09-16 2016-06-21 The Boeing Company Remote peripheral controller
CN104735108A (zh) * 2013-12-20 2015-06-24 中国移动通信集团公司 一种使用云桌面的方法、装置和云桌面系统
CN109831586A (zh) * 2019-02-28 2019-05-31 努比亚技术有限公司 一种用户界面切换显示方法、移动终端和存储介质
CN113656120A (zh) * 2021-07-23 2021-11-16 北京鸿合爱学教育科技有限公司 界面切换方法、装置、设备及存储介质
CN114911720A (zh) * 2022-05-16 2022-08-16 阿里巴巴(中国)有限公司 外围设备的连接控制方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN114911720A (zh) 2022-08-16

Similar Documents

Publication Publication Date Title
US10095639B2 (en) Multi-processor startup system
US10142425B2 (en) Session reliability for a redirected USB device
US9940283B2 (en) Application sharing in multi host computing systems
US8850090B2 (en) USB redirection for read transactions
US8856407B2 (en) USB redirection for write streams
WO2023221845A1 (zh) 外围设备的连接控制方法、装置、电子设备和存储介质
US11449456B2 (en) System and method for scheduling sharable PCIe endpoint devices
US9098431B2 (en) USB redirection for interrupt transactions
WO2021088671A1 (zh) 一种端能力的调用方法、设备和计算机存储介质
US7200646B2 (en) System and method for on-demand node creation for fabric devices
US20170286681A1 (en) Restricting reprogramming of a redirected usb device
US10180853B2 (en) Session reliability for a redirected mass storage device
US10742776B1 (en) Accelerating isochronous endpoints of redirected USB devices
US9087031B2 (en) Method and program for selective suspension of USB device
CN113467656B (zh) 一种屏幕触摸事件的通知方法和车机
CN111800890B (zh) 一种处理方法及输入设备
EP4254207A1 (en) Data processing apparatus and method, and related device
JP2019536173A (ja) アプリケーションのリソース使用量の削減
US10938875B2 (en) Multi-processor/endpoint data duplicating system
US10938904B2 (en) Multi-processor/endpoint data splitting system
US20200133369A1 (en) Managing power request during cluster operations
Sawant et al. Computer independent USB to USB data transfer bridge
WO2019015089A1 (zh) 一种全局菜单的控制方法、装置、设备和存储介质
WO2024066638A1 (zh) 远程协助方法、装置、电子设备、云桌面服务器及介质
WO2020220969A1 (zh) 智能交互设备及其控制方法

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: 23806797

Country of ref document: EP

Kind code of ref document: A1