Peripheral cloud dynamic configuration method, server, virtual terminal, device and system

CN117319191BActive Publication Date: 2026-10-30CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210705610.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-21
Publication Date
2026-10-30
Estimated Expiration
2042-06-21

AI Technical Summary

Technical Problem

[0004]本发明所要解决的技术问题是针对现有技术的上述不足,提供一种外设云端动态配置方法、服务器、虚拟终端、装置及系统,以解决现有技术中需要借助瘦客户端在本地连接外设,而不能直接在云端对外设进行动态配置,造成云业务成本高、灵活性不够的问题

Benefits of technology

[0051]本发明提供一种外设云端动态配置方法、服务器、虚拟终端、装置及系统,通过配置一个云端服务器,并在该云端服务器模拟任意云终端外设,在云端对外设进行动态配置,由模拟的外设充当虚拟终端与云终端外设交互的媒介,从而实现不再需要将云终端外设在用户侧接入“主机”的目的,去除了现有云终端依然存在类似瘦客户端作为“主机”的需求,简化了用户端的设备投入,同时,通过模拟外设的方式可以兼顾当前的软件生态,不必修改现有虚拟终端的操作系统、驱动程序及应用软件,降低了云业务成本,提高了灵活性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117319191B_ABST
    Figure CN117319191B_ABST
Patent Text Reader

Abstract

The application provides a peripheral cloud dynamic configuration method, a server, a virtual terminal, an apparatus and a system, and relates to the technical field of network cloud.The method comprises the following steps: obtaining information of a cloud terminal peripheral, and establishing a simulated peripheral of the cloud terminal peripheral according to the information; obtaining a virtual terminal to which the cloud terminal peripheral is to be connected according to the information, and sending a first registration request of the simulated peripheral to the virtual terminal; if a message that the simulated peripheral completes registration according to the first registration request sent by the virtual terminal is received, then the simulated peripheral is configured to act as a medium for interaction between the virtual terminal and the cloud terminal peripheral.The application simulates a cloud terminal peripheral on a cloud server, dynamically configures the peripheral on the cloud, and uses the simulated peripheral as a medium for interaction between the virtual terminal and the cloud terminal peripheral, so that the demand that the existing cloud terminal still needs a similar thin client as a host is removed, the cost of cloud services is reduced, and flexibility is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of network cloud technology, and in particular to a method for dynamic configuration of peripheral devices in the cloud, a server, a virtual terminal, an apparatus, and a system. Background Technology

[0002] A cloud terminal is a terminal device that runs in the cloud. It connects to the system desktop in the cloud via a specific communication protocol and displays it on the front end, while redirecting the input and output data of the cloud terminal to the cloud server. Existing cloud terminals typically configure a thin client locally, which acts as the master device to handle functions such as peripheral connection, network connection, and display of operation results.

[0003] Existing technologies only emphasize the cloudification of terminals, while the peripheral part still relies on the existing scheme of negotiation between ordinary local terminals and ordinary local peripherals. It uses thin clients to negotiate with peripherals and communicates all peripheral operations with the cloud through thin clients. This places high demands on the functionality and performance of thin clients, implicitly increasing their cost, size, and power consumption, and affecting the flexibility of cloud services. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to address the above-mentioned shortcomings of the prior art by providing a method, server, virtual terminal, device and system for dynamic configuration of peripherals in the cloud, so as to solve the problem that the prior art requires the use of thin clients to connect to peripherals locally, and cannot directly configure peripherals dynamically in the cloud, resulting in high cloud service costs and insufficient flexibility.

[0005] In a first aspect, the present invention provides a method for dynamic configuration of peripheral devices in the cloud, applied to a cloud server, the method comprising:

[0006] Obtain information about the cloud terminal peripherals and establish a simulated peripheral based on the information;

[0007] Based on the information, obtain the virtual terminal to be connected to the cloud terminal peripheral, and send the first registration request of the simulated peripheral to the virtual terminal;

[0008] If a message is received from the virtual terminal indicating that the simulated peripheral has completed registration according to the first registration request, then the simulated peripheral is configured to act as a medium for interaction between the virtual terminal and the cloud terminal peripheral.

[0009] Preferably, the method further includes:

[0010] Receive a second registration request sent by the cloud terminal peripheral, and complete the registration of the cloud terminal peripheral according to the second registration request.

[0011] Preferably, obtaining information about the cloud terminal peripherals specifically includes:

[0012] The information of the cloud terminal peripheral is obtained from the second registration request; or...

[0013] Retrieve information about pre-stored cloud terminal peripherals, or retrieve information about pre-stored cloud terminal peripherals from a third-party server.

[0014] Preferably, after configuring the simulated peripheral device to act as a medium for interaction between the virtual terminal and the cloud terminal peripheral device, the method further includes:

[0015] The uplink information sent by the cloud terminal peripheral is input into the virtual terminal through the simulated peripheral; and / or,

[0016] The simulated peripheral device sends the downlink information output by the virtual terminal to the cloud terminal peripheral device.

[0017] Preferably, the step of inputting the uplink information sent by the cloud terminal peripheral to the virtual terminal through the simulated peripheral specifically includes:

[0018] Receive uplink information sent by the cloud terminal peripheral device;

[0019] Determine whether the simulated peripheral device has registered multiple virtual terminals. If so, determine the corresponding virtual terminal that the uplink information needs to be input.

[0020] The uplink information is input into the corresponding virtual terminal through the simulated peripheral device.

[0021] Preferably, determining the corresponding virtual terminal that needs to be input for the uplink information specifically includes:

[0022] Obtain the user-specified virtual terminal from the uplink information as the corresponding virtual terminal required for input in the uplink information; or,

[0023] The corresponding virtual terminal to which the uplink information needs to be input is determined based on the current business logic of the cloud terminal peripheral.

[0024] Preferably, the step of sending the downlink information output by the virtual terminal to the cloud terminal peripheral via the simulated peripheral specifically includes:

[0025] The simulated peripheral device receives downlink information output by the virtual terminal.

[0026] If the cloud terminal peripheral device has not completed registration or has been offline, the downlink information will be cached or discarded.

[0027] If the cloud terminal peripheral has completed registration and is online, the downlink information will be sent to the cloud terminal peripheral.

[0028] Secondly, the present invention provides a method for dynamic configuration of peripheral devices in the cloud, applied to a virtual terminal, the method comprising:

[0029] The system receives a first registration request for a simulated peripheral device sent by a cloud server based on information obtained from the cloud terminal peripheral device, wherein the simulated peripheral device is established by the cloud server for the cloud terminal peripheral device based on the information.

[0030] The simulated peripheral is registered according to the first registration request, and a message indicating that the simulated peripheral has completed registration is sent to the cloud server, so that the cloud server configures the simulated peripheral to act as a medium for interaction between the virtual terminal and the cloud terminal peripheral.

[0031] Preferably, the step of completing the registration of the simulated peripheral according to the first registration request and sending a message to the cloud server indicating that the simulated peripheral has completed registration specifically includes:

[0032] Based on the received first registration request, check whether the driver for a peripheral of the same type as the simulated peripheral has been completed;

[0033] If so, send a message to the cloud server indicating that the simulated peripheral has completed registration;

[0034] If not, after calling and loading the driver of the simulated peripheral to complete the registration of the simulated peripheral, a message indicating that the simulated peripheral has completed registration is sent to the cloud server.

[0035] Preferably, after sending the message that the simulated peripheral has completed registration to the cloud server, the method further includes:

[0036] Receive uplink information input from the simulated peripheral device, the uplink information being sent from the cloud terminal peripheral device to the cloud server; and / or,

[0037] The downlink information is output to the simulated peripheral device so that the cloud server sends the downlink information to the cloud terminal peripheral device.

[0038] Thirdly, the present invention provides a cloud server, comprising:

[0039] A module is established to acquire information about cloud terminal peripherals and to establish a simulated peripheral for the cloud terminal peripherals based on the information.

[0040] The registration module, connected to the establishment module, is used to obtain the virtual terminal to be connected to the cloud terminal peripheral based on the information, and send the first registration request of the simulated peripheral to the virtual terminal.

[0041] A configuration module, connected to the registration module, is configured to, upon receiving a message from the virtual terminal indicating that the simulated peripheral has completed registration according to the first registration request, configure the simulated peripheral to act as a medium for interaction between the virtual terminal and the cloud terminal peripheral.

[0042] Fourthly, the present invention provides a virtual terminal, comprising:

[0043] The receiving module is used to receive a first registration request for a simulated peripheral sent by the cloud server based on the information of the cloud terminal peripheral obtained, wherein the simulated peripheral is established by the cloud server for the cloud terminal peripheral based on the information;

[0044] The sending module, connected to the receiving module, is used to complete the registration of the simulated peripheral according to the first registration request, and send a message to the cloud server that the simulated peripheral has completed registration, so that the cloud server configures the simulated peripheral to act as a medium for interaction between the virtual terminal and the cloud terminal peripheral.

[0045] Fifthly, the present invention provides a peripheral cloud dynamic configuration device, including a memory and a processor, wherein the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the peripheral cloud dynamic configuration method as described above.

[0046] Sixthly, the present invention provides a peripheral cloud dynamic configuration system, comprising:

[0047] A cloud server is used to execute the peripheral cloud dynamic configuration method described above.

[0048] A virtual terminal, connected to the cloud server, is used to execute the peripheral cloud dynamic configuration method described above.

[0049] Preferably, the system further includes:

[0050] A cloud terminal peripheral device is connected to the cloud server and is used to interact with the simulated peripheral device to complete the interaction with the virtual terminal.

[0051] This invention provides a method, server, virtual terminal, device, and system for dynamic configuration of peripherals in the cloud. By configuring a cloud server and simulating any cloud terminal peripheral on the cloud server, the peripheral is dynamically configured in the cloud. The simulated peripheral acts as the medium for interaction between the virtual terminal and the cloud terminal peripheral, thereby eliminating the need to connect the cloud terminal peripheral to a "host" on the user side. This removes the requirement of existing cloud terminals still having thin clients as "hosts," simplifying the equipment investment on the user side. At the same time, by simulating peripherals, the current software ecosystem can be taken into account, without modifying the existing virtual terminal's operating system, drivers, and application software, reducing cloud service costs and improving flexibility. Attached Figure Description

[0052] Figure 1 This is a flowchart of a method for dynamic cloud configuration of peripheral devices according to an embodiment of the present invention;

[0053] Figure 2 This is a flowchart of another method for dynamic cloud configuration of peripheral devices according to an embodiment of the present invention;

[0054] Figure 3 This is a schematic diagram of the structure of a cloud server according to an embodiment of the present invention;

[0055] Figure 4 This is a schematic diagram of the structure of a virtual terminal according to an embodiment of the present invention;

[0056] Figure 5 This is a schematic diagram of the structure of a peripheral cloud dynamic configuration device according to an embodiment of the present invention;

[0057] Figure 6 This is a schematic diagram of the structure of a peripheral cloud dynamic configuration system according to an embodiment of the present invention. Detailed Implementation

[0058] To enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0059] It is understood that the specific embodiments and accompanying drawings described herein are merely for explaining the invention and are not intended to limit the invention.

[0060] It is understood that, without conflict, the various embodiments and features in the embodiments of the present invention can be combined with each other.

[0061] It is understood that, for ease of description, only the parts related to the present invention are shown in the accompanying drawings, while the parts unrelated to the present invention are not shown in the drawings.

[0062] It is understood that each unit or module involved in the embodiments of the present invention may correspond to only one entity structure, or may be composed of multiple entity structures, or multiple units or modules may be integrated into one entity structure.

[0063] It is understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of this invention may occur in a different order than that marked in the accompanying drawings.

[0064] It is understood that the flowcharts and block diagrams of this invention illustrate the possible architecture, functions, and operations of systems, apparatuses, devices, and methods according to various embodiments of this invention. Each block in the flowchart or block diagram may represent a unit, module, program segment, or code, containing executable instructions for implementing the specified function. Furthermore, each block or combination of blocks in the block diagram and flowchart can be implemented using a hardware-based system to achieve the specified function, or using a combination of hardware and computer instructions.

[0065] It is understood that the units and modules involved in the embodiments of the present invention can be implemented by software or by hardware. For example, the units and modules can be located in a processor.

[0066] Example 1:

[0067] like Figure 1 As shown, Embodiment 1 of the present invention provides a method for dynamic configuration of peripheral devices in the cloud, applied to a cloud server, the method comprising:

[0068] S21. Obtain information about the cloud terminal peripherals and establish a simulated peripheral for the cloud terminal peripherals based on the information.

[0069] In one specific embodiment, the cloud server can be a set of servers specifically configured to dynamically access and manage cloud terminal peripherals for implementing the present invention. The server can simulate any cloud terminal peripheral, including input devices (such as keyboards, mice, cameras, microphones, etc.) and output devices (such as monitors, speakers, etc.). The cloud terminal peripherals are directly connected to the cloud server through the network and communicate with the cloud server through network protocols. Instead of setting up a "host" locally on the user end, a corresponding simulated peripheral is established on the cloud server, and the simulated peripheral simulates the functions and performance of the cloud terminal peripherals corresponding to the existing local peripherals.

[0070] In an optional embodiment, the method further includes:

[0071] Receive a second registration request sent by the cloud terminal peripheral, and complete the registration of the cloud terminal peripheral according to the second registration request.

[0072] In an optional embodiment, obtaining the information of the cloud terminal peripheral specifically includes:

[0073] The information of the cloud terminal peripheral is obtained from the second registration request; or...

[0074] Retrieve information about pre-stored cloud terminal peripherals, or retrieve information about pre-stored cloud terminal peripherals from a third-party server.

[0075] In one specific embodiment, establishing a simulated peripheral only requires obtaining information about the cloud terminal peripheral. However, interaction between the simulated peripheral and the cloud terminal peripheral requires the cloud terminal peripheral to register on the cloud server (this registration is used for subsequent information exchange between the cloud terminal peripheral and the cloud server via network protocols). Therefore, there are two ways to obtain the information of the cloud terminal peripheral: one is to obtain it from the registration request information initiated by the cloud terminal peripheral to the cloud server, in which case the cloud terminal peripheral must first complete registration on the cloud server; the other is to obtain the information of the cloud terminal peripheral through pre-storage. This information can be pre-stored by the cloud server itself or by a third party, and then read by the cloud server. In this case, the registration process of the cloud terminal peripheral on the cloud server can occur at any time before the simulated peripheral interacts with the cloud terminal peripheral. The information of the cloud terminal peripheral may include account, device identification number, device type, etc. Based on this information, the required functions and performance of the simulated peripheral can be determined.

[0076] S22. Obtain the virtual terminal to be connected to the cloud terminal peripheral based on the information, and send the first registration request of the simulated peripheral to the virtual terminal.

[0077] In one specific embodiment, the cloud server can obtain the virtual terminal (which can be one or more) to be connected based on the information of the cloud terminal peripheral. For example, the virtual terminal that the user of the cloud terminal peripheral has reserved with the virtual terminal service provider (which can be determined by the account), or the virtual terminal that the cloud terminal peripheral requests to connect to (which can be specified when sending the registration request), etc. The cloud server connects to the corresponding virtual terminal and registers the simulated peripheral with the corresponding virtual terminal. The virtual terminal calls the driver of the simulated peripheral to complete the registration (similar to the process of an existing ordinary local peripheral connecting to the host. The virtual terminal does not recognize that the registered device is a simulated peripheral. This registration is used for subsequent input and output information between the simulated peripheral and the virtual terminal). The virtual terminal returns the simulated peripheral registration result to the cloud server according to the standard peripheral connection process. After receiving the registration request of the simulated peripheral, the virtual terminal can first check whether the driver of the same type of peripheral has been loaded. If so, it can directly return a message that the peripheral registration is successful. For the virtual terminal, it is equivalent to connecting a local peripheral. By using the simulated peripheral method, the current software ecosystem can be taken into account without modifying the existing virtual terminal's operating system, drivers, and application software. In this specific embodiment, a dedicated physical server is responsible for setting up the simulated peripherals, but it is understood that the virtual terminal and the simulated peripherals can also be set up on the same physical server.

[0078] S23. If a message is received from the virtual terminal indicating that the simulated peripheral has completed registration according to the first registration request, then the simulated peripheral is configured to act as a medium for interaction between the virtual terminal and the cloud terminal peripheral.

[0079] In one specific embodiment, after receiving the message from the virtual terminal indicating that the simulated peripheral has completed registration, the cloud server uses the simulated peripheral as a medium for interaction between the virtual terminal and the cloud terminal peripheral, simulating arbitrary operations by the cloud terminal peripheral. The cloud terminal peripheral communicates with the cloud server via network protocols to transmit its input / output content. The cloud server converts the input / output content of the cloud terminal peripheral with the corresponding protocol of the driver, interacts with the virtual terminal, and completes the control of the cloud terminal services by the cloud terminal peripheral.

[0080] In an optional embodiment, after configuring the simulated peripheral to act as a medium for interaction between the virtual terminal and the cloud terminal peripheral, the method further includes:

[0081] The uplink information sent by the cloud terminal peripheral is input into the virtual terminal through the simulated peripheral; and / or,

[0082] The simulated peripheral device sends the downlink information output by the virtual terminal to the cloud terminal peripheral device.

[0083] In an optional embodiment, the step of inputting the uplink information sent by the cloud terminal peripheral to the virtual terminal via the simulated peripheral specifically includes:

[0084] Receive uplink information sent by the cloud terminal peripheral device;

[0085] Determine whether the simulated peripheral device has registered multiple virtual terminals. If so, determine the corresponding virtual terminal that the uplink information needs to be input.

[0086] The uplink information is input into the corresponding virtual terminal through the simulated peripheral device.

[0087] In an optional embodiment, determining the corresponding virtual terminal that needs to be input for the uplink information specifically includes:

[0088] Obtain the user-specified virtual terminal from the uplink information as the corresponding virtual terminal required for input in the uplink information; or,

[0089] The corresponding virtual terminal to which the uplink information needs to be input is determined based on the current business logic of the cloud terminal peripheral.

[0090] In an optional embodiment, the step of sending the downlink information output by the virtual terminal to the cloud terminal peripheral via the simulated peripheral specifically includes:

[0091] The simulated peripheral device receives downlink information output by the virtual terminal.

[0092] If the cloud terminal peripheral device has not completed registration or has been offline, the downlink information will be cached or discarded.

[0093] If the cloud terminal peripheral has completed registration and is online, the downlink information will be sent to the cloud terminal peripheral.

[0094] In one specific embodiment, the present invention can be tailored to different application scenarios, such as:

[0095] Scenario 1: The cloud terminal peripheral first registers with the cloud server. After the cloud terminal peripheral completes the registration, the cloud server establishes a corresponding simulated peripheral. The simulated peripheral then registers with the virtual terminal. After registration, the uplink information of the cloud terminal peripheral is input into the virtual terminal by the simulated peripheral, and the downlink information of the virtual terminal is received by the simulated peripheral and sent to the cloud terminal peripheral.

[0096] Scenario 2: The cloud server first establishes a simulated peripheral. After the simulated peripheral registers with the virtual terminal, the cloud terminal peripheral registers with the cloud server. Then, the cloud terminal peripheral is matched with the corresponding simulated peripheral. At this time, it is equivalent to the cloud server supporting hot-swapping of the cloud terminal peripheral. That is, the virtual terminal continues to run, and the cloud server registers the simulated peripheral on the running virtual terminal. The virtual terminal only interacts with the simulated peripheral and does not know whether the cloud terminal peripheral is connected to the cloud server. The cloud server can receive registration requests or online notifications sent by the cloud terminal peripheral at any time. So, even if the cloud terminal peripheral is not connected to the cloud server, the virtual terminal will still output downlink information to the simulated peripheral. After the cloud server determines that no cloud terminal peripheral is connected, it caches or discards the downlink information according to the business logic. If the cloud terminal peripheral is connected to the cloud server, the uplink / downlink information between the cloud terminal peripheral and the virtual terminal will be normally exchanged. At the same time, the cloud server also receives the offline notification of the cloud terminal peripheral or senses the online / offline status of the cloud terminal peripheral through heartbeat packets. After the cloud terminal peripheral goes offline, it continues to cache or discard downlink information according to the business logic.

[0097] Scenario 3: Cloud terminal peripherals can also correspond to multiple virtual terminals and switch between them. This switching can be achieved by the user sending switching information to the cloud server (i.e., the user-specified virtual terminal) through the cloud terminal peripheral, and the cloud server switching the virtual terminal according to the user's specification. Alternatively, the cloud server can determine the switching based on the current business logic of the cloud terminal peripheral, such as a comprehensive judgment based on the access status of different cloud terminal peripherals of the same user. Specifically, based on the virtual terminal service subscribed by a user of a certain cloud terminal peripheral, this cloud terminal peripheral can access N virtual terminals, and currently only one of the N virtual terminals is also connected to other necessary peripherals. In this case, it can be determined that the cloud terminal peripheral should actually access that virtual terminal. This switching usually affects the uplink information sent by the cloud terminal peripheral, requiring the uplink information to be input into the switched virtual terminal. In this scenario, one cloud terminal peripheral can correspond to N virtual terminals, and the multiple peripherals connected to a virtual terminal can be partly the cloud terminal peripherals described in this invention and partly peripherals of existing technologies. These do not limit the implementation of this invention, thereby increasing the flexibility of cloud services and further reducing user costs.

[0098] Example 2:

[0099] like Figure 2 As shown, Embodiment 2 of the present invention provides a method for dynamic configuration of peripheral devices in the cloud, applied to a virtual terminal, the method comprising:

[0100] S31. Receive a first registration request for a simulated peripheral sent by the cloud server based on the information of the cloud terminal peripheral obtained, wherein the simulated peripheral is established by the cloud server for the cloud terminal peripheral based on the information;

[0101] S32. Complete the registration of the simulated peripheral according to the first registration request, and send a message to the cloud server that the simulated peripheral has completed registration, so that the cloud server configures the simulated peripheral to act as a medium for interaction between the virtual terminal and the cloud terminal peripheral.

[0102] In an optional embodiment, the step of completing the registration of the simulated peripheral according to the first registration request and sending a message to the cloud server indicating that the simulated peripheral has completed registration specifically includes:

[0103] Based on the received first registration request, check whether the driver for a peripheral of the same type as the simulated peripheral has been completed;

[0104] If so, send a message to the cloud server indicating that the simulated peripheral has completed registration;

[0105] If not, after calling and loading the driver of the simulated peripheral to complete the registration of the simulated peripheral, a message indicating that the simulated peripheral has completed registration is sent to the cloud server.

[0106] In an optional embodiment, after sending the message that the simulated peripheral has completed registration to the cloud server, the method further includes:

[0107] Receive uplink information input from the simulated peripheral device, the uplink information being sent from the cloud terminal peripheral device to the cloud server; and / or,

[0108] The downlink information is output to the simulated peripheral device so that the cloud server sends the downlink information to the cloud terminal peripheral device.

[0109] Example 2 is an interaction method with Example 1. The detailed process has been described in Example 1. Example 2 can be understood in conjunction with Example 1.

[0110] Example 3:

[0111] like Figure 3 As shown, Embodiment 3 of the present invention provides a cloud server, comprising:

[0112] Module 21 is used to acquire information about cloud terminal peripherals and to establish a simulated peripheral of the cloud terminal peripherals based on the information.

[0113] Registration module 22, connected to establishment module 21, is used to obtain the virtual terminal to be accessed by the cloud terminal peripheral device according to the information, and send the first registration request of the simulated peripheral device to the virtual terminal.

[0114] The configuration module 23, connected to the registration module 22, is configured to, if it receives a message from the virtual terminal indicating that the simulated peripheral has completed registration according to the first registration request, configure the simulated peripheral to act as a medium for interaction between the virtual terminal and the cloud terminal peripheral.

[0115] In an optional embodiment, the registration module 22 further includes:

[0116] The second registration unit is used to receive a second registration request sent by the cloud terminal peripheral device and complete the registration of the cloud terminal peripheral device according to the second registration request.

[0117] In an optional embodiment, the establishment module 21 includes:

[0118] The acquisition unit is used to obtain information about the cloud terminal peripheral from the second registration request; or, to obtain pre-stored information about the cloud terminal peripheral, or to obtain pre-stored information about the cloud terminal peripheral from a third-party server.

[0119] In an optional embodiment, the cloud server further includes: an interaction module connected to the configuration module 23, specifically comprising:

[0120] Uplink interaction unit, used to input uplink information sent by the cloud terminal peripheral into the virtual terminal through the simulated peripheral; and / or,

[0121] The downlink interaction unit is used to send the downlink information output by the virtual terminal to the cloud terminal peripheral through the simulated peripheral.

[0122] In an optional embodiment, the uplink interaction unit specifically includes:

[0123] A receiving subunit is used to receive uplink information sent by the cloud terminal peripheral device;

[0124] The judgment subunit is connected to the receiving subunit to determine whether the simulated peripheral device has registered multiple virtual terminals. If so, it determines the corresponding virtual terminal that the uplink information needs to be input.

[0125] An input subunit, connected to the judgment subunit, is used to input the uplink information into the corresponding virtual terminal through the simulated peripheral.

[0126] In an optional embodiment, the determining subunit is specifically used for:

[0127] Obtain the user-specified virtual terminal from the uplink information as the corresponding virtual terminal required for input in the uplink information; or,

[0128] The corresponding virtual terminal to which the uplink information needs to be input is determined based on the current business logic of the cloud terminal peripheral.

[0129] In an optional embodiment, the downlink interaction unit specifically includes:

[0130] The output subunit is used to receive downlink information output by the virtual terminal through the simulated peripheral device;

[0131] A caching subunit, connected to the output subunit, is used to cache or discard the downlink information if the cloud terminal peripheral device has not completed registration or has gone offline.

[0132] A sending subunit, connected to the output subunit, is used to send the downlink information to the cloud terminal peripheral if the cloud terminal peripheral has completed registration and is online.

[0133] Example 4:

[0134] like Figure 4 As shown, Embodiment 4 of the present invention provides a virtual terminal, including:

[0135] The receiving module 31 is used to receive a first registration request for a simulated peripheral sent by the cloud server based on the information of the cloud terminal peripheral obtained, wherein the simulated peripheral is established by the cloud server for the cloud terminal peripheral based on the information.

[0136] The sending module 32, connected to the receiving module 31, is used to complete the registration of the simulated peripheral according to the first registration request, and send a message to the cloud server that the simulated peripheral has completed registration, so that the cloud server configures the simulated peripheral to act as a medium for interaction between the virtual terminal and the cloud terminal peripheral.

[0137] In an optional embodiment, the sending module 32 specifically includes:

[0138] The checking unit is used to check, based on the received first registration request, whether the driver for a peripheral of the same type as the simulated peripheral has been completed;

[0139] A driver unit, used to, if not, call and load the driver of the simulated peripheral to complete the registration of the simulated peripheral;

[0140] The sending unit is used to send a message to the cloud server that the simulated peripheral has completed registration.

[0141] In an optional embodiment, the virtual terminal further includes:

[0142] An input module is configured to receive uplink information input from the simulated peripheral device, the uplink information being sent from the cloud terminal peripheral device to the cloud server; and / or,

[0143] The output module is used to output downlink information to the simulated peripheral device, so that the cloud server can send the downlink information to the cloud terminal peripheral device.

[0144] Example 5:

[0145] like Figure 5 As shown, Embodiment 5 of the present invention provides a peripheral cloud dynamic configuration device. The device includes a memory 10 and a processor 20. The memory 10 stores a computer program. When the processor 20 runs the computer program stored in the memory 10, the processor 20 executes the peripheral cloud dynamic configuration method as described in Embodiment 1 or Embodiment 2.

[0146] The memory 10 is connected to the processor 20. The memory 10 can be a flash memory, a read-only memory, or another type of memory. The processor 20 can be a central processing unit or a microcontroller.

[0147] The memory 10 includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules, or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other memory technologies, CD-ROM (CompactDisc Read-Only Memory), DVD or other optical disc storage, cartridges, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer.

[0148] Example 6:

[0149] like Figure 6 As shown, Embodiment 6 of the present invention provides a peripheral cloud dynamic configuration system, including:

[0150] Cloud server 2 is used to execute the peripheral cloud dynamic configuration method as described in Example 1;

[0151] The virtual terminal 3 is connected to the cloud server 2 and is used to execute the peripheral cloud dynamic configuration method as described in Embodiment 2.

[0152] In an optional embodiment, the system further includes:

[0153] The cloud terminal peripheral 1 is connected to the cloud server 2 and is used to interact with the simulated peripheral to complete the interaction with the virtual terminal 3.

[0154] Embodiments 1-6 of this invention provide a method, server, virtual terminal, device, and system for dynamic configuration of peripherals in the cloud. By configuring a cloud server and simulating any cloud terminal peripheral on the cloud server, the peripheral is dynamically configured in the cloud. The simulated peripheral acts as the medium for interaction between the virtual terminal and the cloud terminal peripheral, thereby eliminating the need to connect the cloud terminal peripheral to the "host" on the user side. This removes the requirement of existing cloud terminals still having thin clients as "hosts," simplifying the equipment investment on the user side. At the same time, by simulating peripherals, the current software ecosystem can be taken into account, without modifying the existing virtual terminal's operating system, drivers, and application software, reducing cloud service costs and improving flexibility.

[0155] It is understood that the above embodiments are merely exemplary implementations used to illustrate the principles of the present invention, and the present invention is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A method for dynamic cloud-based configuration of peripheral devices, characterized in that, Applied to a cloud server, the method includes: Obtain information about the cloud terminal peripherals and establish a simulated peripheral based on the information; Based on the information, obtain multiple virtual terminals to be connected to the cloud terminal peripheral, and send the first registration request of the simulated peripheral to the multiple virtual terminals; If a message is received from the plurality of virtual terminals indicating that the simulated peripheral has completed registration according to the first registration request, then the simulated peripheral is configured to act as a medium for interaction between the plurality of virtual terminals and the cloud terminal peripheral. The cloud terminal peripheral is not connected to the host locally on the user side, but is directly connected to the cloud server through the network. Based on the switching information sent by the cloud terminal peripheral or the current business logic of the cloud terminal peripheral, the cloud terminal peripheral is switched among the multiple virtual terminals, including: Receive uplink information sent by the cloud terminal peripheral device. Alternatively, the user-specified virtual terminal can be obtained from the uplink information as one of the multiple virtual terminals required for input in the uplink information; or, one of the multiple virtual terminals required for input in the uplink information can be determined based on the current business logic of the cloud terminal peripheral. The uplink information is input to one of the virtual terminals through the simulated peripheral, and the downlink information output by one of the virtual terminals is sent to the cloud terminal peripheral through the simulated peripheral.

2. The method according to claim 1, characterized in that, The method further includes: Receive a second registration request sent by the cloud terminal peripheral, and complete the registration of the cloud terminal peripheral according to the second registration request.

3. The method according to claim 2, characterized in that, The acquisition of information from cloud terminal peripherals specifically includes: The information of the cloud terminal peripheral is obtained from the second registration request; or... Obtain information about pre-stored cloud terminal peripherals, or obtain information about pre-stored cloud terminal peripherals from a third-party server; The information of the cloud terminal peripheral includes an account, a device identification number, and a device type. The account is used to identify the virtual terminal that the user of the cloud terminal peripheral has reserved with the virtual terminal service provider.

4. The method according to any one of claims 1-3, characterized in that, The step of sending downlink information output by one of the virtual terminals to the cloud terminal peripheral via the simulated peripheral specifically includes: The analog peripheral device receives downlink information output by one of the virtual terminals. If the cloud terminal peripheral device has not completed registration or has been offline, the downlink information will be cached or discarded. If the cloud terminal peripheral has completed registration and is online, the downlink information will be sent to the cloud terminal peripheral.

5. A method for dynamic cloud-based configuration of peripheral devices, characterized in that, Applied to virtual terminals, wherein there are multiple virtual terminals, the method includes: The system receives a first registration request for a simulated peripheral device sent by a cloud server based on information obtained from the cloud terminal peripheral device, wherein the simulated peripheral device is established by the cloud server for the cloud terminal peripheral device based on the information. The registration of the simulated peripheral is completed according to the first registration request, and a message indicating that the registration of the simulated peripheral is complete is sent to the cloud server, so that: The cloud server configures the simulated peripherals to act as a medium for interaction between multiple virtual terminals and the cloud terminal peripherals. The cloud terminal peripherals are not connected locally to a host on the user side, but are directly connected to the cloud server via a network, including: The cloud server switches the cloud terminal peripheral between multiple virtual terminals based on the switching information sent by the cloud terminal peripheral or the current business logic of the cloud terminal peripheral, including: Receive uplink information sent by the cloud terminal peripheral device. Alternatively, the user-specified virtual terminal can be obtained from the uplink information as one of a plurality of virtual terminals required for input of the uplink information, or the virtual terminal can be determined as one of a plurality of virtual terminals required for input of the uplink information based on the current business logic of the cloud terminal peripheral. The uplink information is input to one of the virtual terminals through the simulated peripheral, and the downlink information output by one of the virtual terminals is sent to the cloud terminal peripheral through the simulated peripheral.

6. The method according to claim 5, characterized in that, The step of completing the registration of the simulated peripheral according to the first registration request and sending a message to the cloud server indicating that the simulated peripheral has completed registration specifically includes: Based on the received first registration request, check whether the driver for a peripheral of the same type as the simulated peripheral has been completed; If so, send a message to the cloud server indicating that the simulated peripheral has completed registration; If not, after calling and loading the driver of the simulated peripheral to complete the registration of the simulated peripheral, a message indicating that the simulated peripheral has completed registration is sent to the cloud server.

7. The method according to any one of claims 5-6, characterized in that, After sending the message that the simulated peripheral has completed registration to the cloud server, the method further includes: Receive uplink information input from the simulated peripheral device, the uplink information being sent from the cloud terminal peripheral device to the cloud server; and / or, The downlink information is output to the simulated peripheral device so that the cloud server sends the downlink information to the cloud terminal peripheral device.

8. A cloud server, characterized in that, include: A module is established to acquire information about cloud terminal peripherals and to establish a simulated peripheral for the cloud terminal peripherals based on the information. The registration module, connected to the establishment module, is used to obtain multiple virtual terminals to be connected to the cloud terminal peripheral based on the information, and send the first registration request of the simulated peripheral to the multiple virtual terminals. A configuration module, connected to the registration module, is configured to, if it receives a message from the plurality of virtual terminals indicating that the simulated peripheral has completed registration according to the first registration request, configure the simulated peripheral to act as a medium for interaction between the plurality of virtual terminals and the cloud terminal peripheral, wherein the cloud terminal peripheral is not connected to the host locally on the user side, but is directly connected to the cloud server through the network. The interaction module, connected to the configuration module, is used to switch the cloud terminal peripheral among the multiple virtual terminals according to the switching information sent by the cloud terminal peripheral or the current business logic of the cloud terminal peripheral, specifically including: Receive uplink information sent by the cloud terminal peripheral device. Alternatively, the user-specified virtual terminal can be obtained from the uplink information as one of the multiple virtual terminals required for input in the uplink information; or, one of the multiple virtual terminals required for input in the uplink information can be determined based on the current business logic of the cloud terminal peripheral. The uplink information is input to one of the virtual terminals through the simulated peripheral, and the downlink information output by one of the virtual terminals is sent to the cloud terminal peripheral through the simulated peripheral.

9. A virtual terminal, characterized in that, The virtual terminals are multiple, including: The receiving module is used to receive a first registration request for a simulated peripheral sent by the cloud server based on the information of the cloud terminal peripheral obtained, wherein the simulated peripheral is established by the cloud server for the cloud terminal peripheral based on the information; A sending module, connected to the receiving module, is used to complete the registration of the simulated peripheral according to the first registration request, and send a message to the cloud server indicating that the simulated peripheral has completed registration, so that: The cloud server configures the simulated peripherals to act as a medium for interaction between multiple virtual terminals and the cloud terminal peripherals. The cloud terminal peripherals are not connected locally to a host on the user side, but are directly connected to the cloud server via a network, including: The cloud server switches the cloud terminal peripheral between multiple virtual terminals based on the switching information sent by the cloud terminal peripheral or the current business logic of the cloud terminal peripheral, including: Receive uplink information sent by the cloud terminal peripheral device. Alternatively, the user-specified virtual terminal can be obtained from the uplink information as one of a plurality of virtual terminals required for input of the uplink information, or the virtual terminal can be determined as one of a plurality of virtual terminals required for input of the uplink information based on the current business logic of the cloud terminal peripheral. The uplink information is input to one of the virtual terminals through the simulated peripheral, and the downlink information output by one of the virtual terminals is sent to the cloud terminal peripheral through the simulated peripheral.

10. A peripheral cloud-based dynamic configuration device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the peripheral cloud dynamic configuration method as described in any one of claims 1-4 or 5-7.

11. A peripheral cloud-based dynamic configuration system, characterized in that, include: A cloud server for executing the peripheral cloud dynamic configuration method as described in any one of claims 1-4; A virtual terminal, connected to the cloud server, is used to execute the peripheral cloud dynamic configuration method as described in any one of claims 5-7.

12. The system according to claim 11, characterized in that, The system also includes: A cloud terminal peripheral device is connected to the cloud server and is used to interact with the simulated peripheral device to complete the interaction with the virtual terminal.

Citation Information

Patent Citations

  • Method and system for redirecting USB (universal serial bus) devices

    CN102368231A