CN115202812A - Equipment management method and system - Google Patents

Equipment management method and system Download PDF

Info

Publication number
CN115202812A
CN115202812A CN202210764869.8A CN202210764869A CN115202812A CN 115202812 A CN115202812 A CN 115202812A CN 202210764869 A CN202210764869 A CN 202210764869A CN 115202812 A CN115202812 A CN 115202812A
Authority
CN
China
Prior art keywords
equipment
target
control instruction
external equipment
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210764869.8A
Other languages
Chinese (zh)
Inventor
刘雨果
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202210764869.8A priority Critical patent/CN115202812A/en
Publication of CN115202812A publication Critical patent/CN115202812A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The invention provides a device management and control method and system, relates to the technical field of electronic information, and can solve the problem of low processing efficiency when a server is compatible with a terminal device and is connected with an external device. The specific technical scheme is as follows: when the cloud service end receives a control instruction sent by the terminal equipment, the virtual external equipment is searched according to the control instruction, and the target virtual external equipment is driven to respond to the control instruction. The present disclosure is for device management and control.

Description

Equipment management method and system
Technical Field
The disclosure relates to the technical field of electronic information, in particular to a device management and control method and system.
Background
With the personalization requirements of enterprises becoming higher, VDI (Virtual Desktop Infrastructure) is popular with more and more enterprises.
Based on the VDI system, if the terminal device controls the cloud server through the external device, the cloud server needs to configure different driving systems according to different external devices, so that the external devices of different models can control the cloud server, the models of the external devices in the prior art are numerous, the cloud server is compatible with different external devices, adaptation processing is performed, and therefore the problem of low device control efficiency is caused when a user controls the virtual machine through the external devices.
Disclosure of Invention
The embodiment of the disclosure provides a device management and control method and system, which can solve the problem of low processing efficiency when a terminal device controls a server through an external device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an apparatus management and control method, which is applied to a server, and includes:
acquiring a control instruction, wherein the control instruction is used for indicating an external device accessed through a terminal device to control a cloud desktop, and the cloud desktop is deployed in a target virtual machine;
searching a target virtual external device matched with the external device according to the control instruction, wherein the target virtual external device is obtained by performing virtualization processing on a physical external device accessed by the terminal device;
and sending a control instruction to the target virtual external equipment, so that the control instruction is executed through the target virtual external equipment.
In one embodiment, the searching for the target virtual external device corresponding to the physical external device in the method includes:
according to the equipment identification information of the physical external equipment carried in the current control instruction, searching the virtual external equipment matched with the equipment identification information from one or more virtual external equipment, and determining the searched virtual external equipment as the target virtual external equipment.
In one embodiment, before the method acquires the manipulation instruction, the method further comprises:
receiving equipment configuration information sent by terminal equipment, and searching for a target drive matched with the equipment configuration information, wherein the equipment configuration information comprises configuration information of the physical external equipment;
and based on the equipment configuration information, creating virtual external equipment corresponding to the physical external equipment through target driving.
In one embodiment, the method for sending the manipulation instruction to the target virtual external device includes:
sending the control command to a target driver;
and sending the control instruction to the target virtual external equipment through target driving, and driving the target virtual external equipment to execute the control instruction.
In one embodiment, the method for executing the control instruction to the terminal device includes:
analyzing the control instruction, and acquiring a target object, a target coordinate and a target action in the control instruction;
and controlling the target object to execute the target action at the target coordinate through the target virtual external equipment to obtain an execution result.
In one embodiment, the method further comprises:
if the external equipment is detected to be pulled out of the terminal equipment, searching a target drive matched with the target virtual external equipment;
and destroying the target virtual external equipment through the target drive so as to finish the operation of pulling the target virtual external equipment out of the target drive.
According to the processing method provided by the embodiment of the disclosure, the cloud server establishes the virtual external device, the virtual external device is an external device for performing virtualization processing to access the terminal device, when the cloud server receives the control instruction sent by the terminal device, the virtual external device is searched according to the control instruction, and the target virtual external device is driven to respond to the control instruction, so that not only can the technical effect that the terminal device controls the cloud server be realized, but also different external devices can be compatible, and the device management and control efficiency is improved.
According to a second aspect of embodiments of the present disclosure, there is provided a server including: a receiving module, a searching module and a control module,
the receiving module is used for acquiring a control instruction, wherein the control instruction is used for indicating physical external equipment accessed through the terminal equipment to control a target virtual machine;
the searching module is used for searching a target virtual external device corresponding to the physical external device according to the control instruction, wherein the target virtual external device is obtained by virtualizing the physical external device accessed by the terminal device;
the control module is used for sending the control instruction to the target virtual external equipment, so that the control instruction is executed through the target virtual external equipment.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus management and control system, including: a server and a terminal device, wherein the server and the terminal device,
the terminal equipment is used for acquiring control information sent by physical external equipment, wherein the control information at least comprises one of key information or touch information;
generating a control instruction according to the control information, and sending the control instruction to a server;
the server is used for acquiring a control instruction, wherein the control instruction is used for indicating physical external equipment accessed through terminal equipment to control a cloud desktop, the cloud desktop is deployed in a target virtual machine, and the external equipment in the control instruction supports various types of external equipment;
according to the control instruction, searching a target virtual external device matched with the external device, wherein the target virtual external device is obtained by virtualizing a physical external device accessed by the terminal device;
and sending a control instruction to the target virtual external equipment, so that the control instruction is executed through the target virtual external equipment.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a framework diagram of a device management and control method provided by an embodiment of the present disclosure;
fig. 2 is a flowchart 1 of a device management and control method provided by an embodiment of the present disclosure;
fig. 3 is a flowchart 2 of a device management and control method provided by an embodiment of the present disclosure;
FIG. 4 is a block diagram of a server according to an embodiment of the present disclosure shown in FIG. 1;
FIG. 4a is a block diagram of a server provided by an embodiment of the present disclosure 2;
fig. 5 is a structural diagram of an apparatus management and control system provided in an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
In the prior art, in a cloud desktop system, a zero terminal is connected to a handle device, and sends a gamepad event input by a user to a virtual machine in a server, and the virtual machine executes an operation according to the gamepad event and transmits a display screen after the operation to the zero terminal and displays the display screen to the user. This difference results in the gamepad events of each vendor needing to be adapted, increasing the difficulty of development and post-maintenance.
Aiming at the problems that the efficiency is low when the game handle is controlled by the zero-terminal equipment, the adaptation difficulty is high, and the like, the application discloses an equipment control method. The virtual machine end can establish a virtual external device according to the simulation of the USB event, the virtual device can be understood as extending a game handle inserted by the zero terminal to the VM end through a network, and the USB event of all the game handles of the zero terminal can be sent to the virtual external device of the VM end to execute the operation.
Through the operation processing, different events of each handle can be replaced by unified USB events, so that the trouble that each handle needs to be adapted is avoided, and the efficiency of controlling the game handle is improved.
The following briefly describes an application environment of the device management and control method provided in the embodiment of the present application:
referring to fig. 1, a device management and control method provided in an embodiment of the present application is applied to a device management and control system, where the system includes a terminal device 101 and a server 102, and the server 102 may allocate a plurality of virtual machines to the terminal device 101. Users and administrators may install operating systems, applications, etc. in the virtual machines, and administrators may assign one or more virtual machines to one or more users as needed. And a user desktop does not need to be provided with a personal computer with strong performance, and only needs to be provided with a safe and easily-managed zero terminal to be connected to a virtual machine of the data center. The zero terminal is connected with the display, the zero terminal sends a game handle control event input by a user to the virtual machine, the virtual machine executes operation according to the control event, and the display picture after the operation is transmitted to the display of the zero terminal to be displayed to the user.
For example, in a cloud game scene, a game is not executed in a player game terminal but in a cloud server, a user can control a virtual machine or a physical machine on the cloud server through the game terminal, such as an external device, render the game scene into a video/audio stream, transmit the video/audio stream to the player game terminal through a network, and display the video/audio stream to the user through a display screen, so that visual lossy/lossless transmission of "computer images" such as texts, graphics and diagrams on a standard network and a reverse control function of the user on the virtual machine or the physical machine are realized, and the extreme experience which is completely the same as that of a locally used computer is provided for a remote user. The player game terminal does not need to have strong graphic operation and equipment management and control capabilities, and only needs to have basic streaming media playing capability and capability of acquiring player input instructions and sending the instructions to the cloud server.
Referring to fig. 2, the following embodiment specifically describes, by taking the server as an execution subject, an example of applying the method provided by the embodiment of the present application to processing connection abnormality between the server and the terminal device. The device management and control method provided by the embodiment of the application comprises the following steps 201 to 203:
an embodiment of the present disclosure provides an apparatus management and control method, as shown in fig. 2, the apparatus management and control method includes the following steps:
201. and acquiring a control instruction.
The control instruction is used for instructing a physical external device accessed through the terminal device to control the cloud desktop, and the cloud desktop is deployed in the target virtual machine.
In the embodiment of the application, the control instruction may be a control instruction of a plurality of different physical external devices sent by the same terminal device, or may be a plurality of terminal devices, each terminal device is connected to at least one physical external device, and each terminal device sends a control instruction of at least one physical external device.
The physical external device in the control instruction in the embodiment of the application may include a first physical external device and a second physical external device; the first physical external device belongs to a first type, the second physical external device belongs to a second type, and the first type and the second type can be the same or different.
The terminal equipment can be accessed to various types of physical external equipment and detects whether the external equipment generates a control instruction or not.
The manipulation instruction may generate an instruction by processing a USB manipulation event. For example, the terminal device may obtain the corresponding control instruction according to different key operations in the physical external device. The specific key operations of the physical external devices of different types may be different, for example, a left key is triggered or a letter key is triggered to generate a left shift instruction, and the terminal device may uniformly generate a USB control event according to different key operations.
According to the embodiment of the application, different events of each external device are replaced by unified control instructions, so that the trouble that each external device needs to develop adaptation is avoided, and the physical external device can be a keyboard and mouse device or a touch device and is used for controlling a virtual machine linked with the terminal device.
In the embodiment of the present application, the creating a virtual external device at a server side according to an external device locally accessed to a terminal device includes:
acquiring equipment configuration information sent by terminal equipment, and searching a target drive matched with the equipment configuration information, wherein the equipment configuration information is used for including configuration information of first physical external equipment and configuration information of second physical external equipment, and the target drive supports compatibility of the first physical external equipment and the second physical external equipment;
creating a first target virtual external device inserted into the terminal device according to the target drive and the configuration information of the first physical external device;
and creating a first target virtual external device inserted into the terminal device according to the target drive and the configuration information of the second physical external device.
The first physical peripheral device and the second physical peripheral device may be of the same type or different types.
The first target virtual external device and the second virtual external device are merely examples, and in practice, the first target virtual external device and the second virtual external device may be created according to a physical external device actually accessed by the terminal device.
The target driver can be a driver supporting a USB protocol, different types of external devices can be compatible when different physical external devices are connected with the cloud server through the USB protocol, virtual external devices are created through the target driver, and connection between the different physical external devices and the cloud server is established, so that the efficiency of cloud equipment in matching is improved.
The configuration information at least includes information such as unique identification information vid, pid, location path, and device path of the physical external device.
The target virtual external device created in the embodiment of the application is understood as extending the game handle inserted by the zero terminal to the virtual machine through the network, and the control events of all the game handles of the zero terminal can be sent to the virtual external device of the virtual terminal to execute the operation, and the final realization effect is as follows: the terminal equipment can interact with the target virtual external equipment in the same interaction mode as the locally connected physical external equipment.
202. And searching the target virtual external equipment matched with the external equipment according to the control instruction.
The target virtual external device is obtained by performing virtualization processing on a physical external device accessed by the terminal device.
According to the cloud service control method and device, starting from 'USB equipment' commonly supported by external equipment, the technical effect that different types of physical external equipment control cloud service can be achieved by capturing USB events on a USB controller and then sending the events to the cloud service end.
In the embodiment of the present application, searching for a target virtual machine device corresponding to a physical external device includes:
searching a target drive matched with the target virtual external equipment according to the control instruction;
and driving the target virtual external equipment to execute the control instruction through the target driver.
According to the equipment identification information of the physical external equipment carried in the current control instruction, searching the virtual external equipment matched with the equipment identification information from one or more virtual external equipment, and determining the searched virtual external equipment as the target virtual external equipment.
According to the method and the device for controlling the virtual external equipment, before the target virtual external equipment is searched, the same identification is distributed to the physical external equipment and the corresponding virtual external equipment according to the equipment configuration information of the physical external equipment sent by the terminal equipment, the control instruction sent by the external equipment every time carries the identification, and the target driver sends the control instruction to the corresponding virtual external equipment according to the identification information in the control instruction.
According to the embodiment of the application, different types of virtual external equipment established by the server can be searched according to different types of external equipment locally accessed by the terminal equipment.
203. And sending a control instruction to the target virtual external equipment so that the target virtual external equipment responds to the control instruction.
The sending of the control instruction to the target virtual external device in the embodiment of the application includes:
sending the control command to a target driver;
and sending the control instruction to the target virtual external equipment through target driving, and driving the target virtual external equipment to execute the control instruction.
And if so, driving the first target virtual external device to execute the control command through the target driver and driving the second target virtual external device to execute the control command through the target driver.
The embodiment of the application can analyze the operation instruction, and drive the virtual external device to execute the command according to the analysis result, which specifically includes:
analyzing the control instruction, and acquiring a target object, a target coordinate and a target action in the control instruction;
and controlling the target object to execute the target action at the target coordinate through the target virtual external equipment to obtain an execution result.
For example, in a shooting game, the user presses the left button of the arrow button of the zero-terminal game pad, and the virtual game pad of the virtual machine is driven to inform the system of the event of the left button of the arrow button. At this time, the character in the virtual end game moves to the left.
In this application embodiment, if the terminal device detects that the external device has been pulled out, the terminal device will notify the server, and the server destroys the virtual external device according to the pulling-out event, including:
if the external equipment is detected to be pulled out of the terminal equipment, searching a target drive matched with the target virtual external equipment;
and destroying the target virtual external equipment through the target drive so as to finish the unplugging operation of the target virtual external equipment from the target drive.
According to the processing method provided by the embodiment of the disclosure, the cloud server establishes the virtual external device, the virtual external device is obtained after the virtual processing is performed on the external device accessed to the terminal device, when the cloud server receives the control instruction sent by the terminal device, the virtual external device is searched according to the control instruction, and the target virtual external device is driven to respond to the control instruction, so that not only can the technical effect that the terminal device controls the cloud server be realized, but also different external devices can be compatible, and the device control efficiency is improved.
Referring to fig. 3, the following embodiment specifically explains, by taking the terminal device and the cloud server as execution subjects, the method provided by the embodiment of the present application applied to the control of the device between the server processing and the terminal device as an example. The device management and control method provided by the embodiment of the application comprises the following steps 301 to 307: 301. and the zero terminal equipment detects whether the physical external equipment is inserted or not.
302. And if the zero terminal equipment detects the insertion of the physical external equipment, acquiring equipment configuration information of the physical external equipment and sending the equipment configuration information to the virtual machine.
For example, when the terminal device detects that a gamepad is inserted, a device insertion message is acquired, and the specified device is carried in the insertion message. The zero terminal obtains detailed information of the handle through relevant API such as configuration information, such as unique identification information of the equipment, position and path of the equipment and other configuration information.
303. And the virtual machine creates virtual external equipment according to the equipment configuration information of the physical external equipment and informs the zero terminal equipment.
The virtual machine creates a virtual gamepad simulating a zero terminal insertion device by calling the driving interface.
Receiving equipment configuration information sent by terminal equipment, and searching for a target drive matched with the equipment configuration information, wherein the equipment configuration information comprises configuration information of the physical external equipment;
and based on the equipment configuration information, creating virtual external equipment corresponding to the physical external equipment through target driving.
304. And the zero terminal equipment acquires the control event of the physical external equipment and sends the control event to the virtual machine.
For example, when a handle operation occurs, a USB event may be generated at this time, and the zero terminal acquires the USB event through the driving interface and sends the USB event to the virtual machine.
305. The virtual machine acquires the control event and sends the control event to the virtual external equipment, so that the virtual external equipment responds to the control event.
And the virtual machine searches the virtual external equipment matched with the equipment identification information from one or more virtual external equipment according to the equipment identification information of the physical external equipment carried in the current control instruction, and determines the searched virtual external equipment as the target virtual external equipment.
306. And if the zero terminal device detects that the physical external device is pulled out, the virtual machine is informed, and the notice is used for indicating that the physical external device is pulled out from the terminal device.
307. And the virtual machine destroys and processes the virtual external equipment according to the notice of pulling out the physical external equipment of the terminal equipment.
For example, when the game handle is pulled out, the zero terminal detects a DBT _ DEVICEMOVECOMPLETE message, sends the message of pulling out the equipment to the VM, and then the VM calls the netusb _ vhub _ detach _ device to destroy the virtual game handle, thereby completing the operation flow from the handle insertion to the pulling out.
According to the device management and control method, when the physical external device is inserted into the terminal device, the terminal device obtains configuration information of the physical external device through a USB interface of the terminal and sends the configuration information to the server, and the server generates the virtual external device according to the configuration information; when the terminal device detects that the physical external device is controlled, the bottom layer driver acquires a USB control event, the USB control event is sent to the cloud server through the network, and the cloud server drives the virtual external device to control according to the USB control event, so that the cloud server is controlled to respond.
Example two
Based on the device management and control method described in the embodiment corresponding to fig. 2, the following is an embodiment of the apparatus of the present disclosure, and may be used to execute the embodiment of the method of the present disclosure.
An embodiment of the present disclosure provides a server, as shown in fig. 4, the server includes: a receiving module 401, a look-up module 402 and a control module 403,
the receiving module 401 is configured to obtain a control instruction, where the control instruction is used to instruct a physical external device accessed through a terminal device to control a target virtual machine;
the searching module 402 is configured to search, according to the control instruction, a target virtual external device corresponding to the physical external device, where the target virtual external device is obtained by performing virtualization processing on the physical external device accessed by the terminal device;
the control module 403 is configured to send the control instruction to the target virtual external device, so that the control instruction is executed by the target virtual external device.
As shown in fig. 4a, in an optional embodiment, the server 40 further includes a creating module 404, where the creating module 404 is configured to receive device configuration information sent by a terminal device, and find a target driver matching the device configuration information, where the device configuration information includes configuration information of the physical external device;
and based on the equipment configuration information, creating virtual external equipment corresponding to the physical external equipment through target driving.
In an alternative embodiment, the control module 403 in the server 40 is further configured to:
sending the control command to a target driver;
and sending the control instruction to the target virtual external equipment through target driving, and driving the target virtual external equipment to execute the control instruction.
In an optional embodiment, the searching module 402 in the server 40 is further configured to search for a target driver matching the target virtual external device if it is detected that the external device is pulled out from the terminal device;
the control module 403 is further configured to destroy the target virtual external device through the target driver, so as to complete the operation of pulling out the target virtual external device from the target driver.
According to the server provided by the disclosure, the server acquires configuration information of physical external equipment in the terminal equipment and generates virtual external equipment according to the configuration information; when the terminal device detects that the physical external device is controlled, the USB control event is obtained through the bottom layer driver, the cloud server is sent through the network, and the cloud server drives the virtual external device to control according to the USB control event, so that the cloud server is controlled to respond.
EXAMPLE III
Based on the device management and control method described in the embodiment corresponding to fig. 2, the following is an embodiment of the apparatus of the present disclosure, and may be used to execute the embodiment of the method of the present disclosure.
An embodiment of the present disclosure provides a device management system, as shown in fig. 5, the device management system 50 includes: a terminal device 501 and a server 502,
the terminal device 501 is configured to obtain control information sent by a physical external device, where the control information at least includes one of key information or touch information;
generating a control instruction according to the control information, and sending the control instruction to a server;
the server 502 is configured to obtain a control instruction, where the control instruction is used to instruct a physical external device accessed through a terminal device to control a cloud desktop, the cloud desktop is deployed in a target virtual machine, and the external device in the control instruction supports multiple types of external devices;
according to the control instruction, searching a target virtual external device matched with the external device, wherein the target virtual external device is obtained by virtualizing a physical external device accessed by the terminal device;
and sending a control instruction to the target virtual external equipment, so that the control instruction is executed through the target virtual external equipment.
The terminal device 501 in the system is also used in alternative embodiments,
if the external device is detected to be inserted into the terminal device 501, acquiring device configuration information of the physical external device, and sending the device configuration information to the server, so that the server generates a virtual external device;
if the external device is detected to be pulled out of the terminal device 501, a device pulling prompt is generated, and the device pulling prompt is sent to the server, so that the server destroys the virtual external device.
The server in the system in an alternative embodiment is also used,
sending the control command to a target driver;
and sending the control instruction to the target virtual external equipment through target driving, and driving the target virtual external equipment to execute the control instruction.
The server 502 in this system is also used in alternative embodiments,
receiving equipment configuration information sent by terminal equipment, and searching for a target drive matched with the equipment configuration information, wherein the equipment configuration information comprises configuration information of the physical external equipment;
and based on the equipment configuration information, creating virtual external equipment corresponding to the physical external equipment through target driving.
According to the equipment management and control system, when the physical external equipment is inserted into the terminal equipment, the configuration information of the physical external equipment is acquired through the USB interface of the terminal equipment and is sent to the server, and the server generates the virtual external equipment according to the configuration information; when the terminal device detects that the physical external device is controlled, the bottom layer driver acquires a USB control event, the USB control event is sent to the cloud server through the network, the cloud server drives the virtual external device according to the USB control event, and the virtual external device controls the cloud server to respond.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the unit may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partly contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made therein without departing from the spirit and scope of the invention.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. The equipment management and control method is applied to a cloud server, and comprises the following steps:
acquiring a control instruction, wherein the control instruction is used for indicating physical external equipment accessed through terminal equipment to control a target cloud desktop, and the cloud desktop is deployed in a target virtual machine;
searching a target virtual external device corresponding to the physical external device according to the control instruction, wherein the target virtual external device is obtained by performing virtualization processing on the physical external device accessed by the terminal device;
and sending the control instruction to the target virtual external equipment, so that the control instruction is executed through the target virtual external equipment.
2. The method of claim 1, wherein the searching for the target virtual peripheral device corresponding to the physical peripheral device comprises:
according to the equipment identification information of the physical external equipment carried in the current control instruction, searching the virtual external equipment matched with the equipment identification information from one or more virtual external equipment, and determining the searched virtual external equipment as the target virtual external equipment.
3. The method of claim 2, wherein prior to obtaining the manipulation instruction, the method further comprises:
receiving equipment configuration information sent by terminal equipment, and searching for a target drive matched with the equipment configuration information, wherein the equipment configuration information comprises configuration information of the physical external equipment;
and based on the equipment configuration information, creating virtual external equipment corresponding to the physical external equipment through target driving.
4. The method according to claim 1, wherein the sending the manipulation instruction to the target virtual peripheral device comprises:
sending the control command to a target driver;
and sending the control instruction to the target virtual external equipment through target driving, and driving the target virtual external equipment to execute the control instruction.
5. The method of claim 4, wherein the executing the manipulation instruction comprises:
analyzing the control instruction to obtain a target object, a target coordinate and a target action in the control instruction;
and controlling the target object to execute the target action at the target coordinate through the target virtual external equipment to obtain an execution result.
6. The method of claim 1, further comprising:
if the external device is detected to be pulled out of the terminal device, the target drive matched with the target virtual external device is found;
and destroying the target virtual external equipment through the target drive so as to finish the pulling-out operation of the target virtual external equipment from the target drive.
7. A server, characterized in that the server comprises: a receiving module, a searching module and a control module,
the receiving module is used for acquiring a control instruction, and the control instruction is used for indicating physical external equipment accessed through the terminal equipment to control a target virtual machine;
the searching module is used for searching a target virtual external device corresponding to the physical external device according to the control instruction, wherein the target virtual external device is obtained by performing virtualization processing on the physical external device accessed by the terminal device;
the control module is used for sending the control instruction to the target virtual external device, so that the control instruction is executed through the target virtual external device.
8. The equipment management and control system is characterized by comprising terminal equipment and a server,
the terminal device is used for acquiring control information sent by an external device, wherein the control information at least comprises one of key information or touch information;
generating a control instruction according to the control information, and sending the control instruction to a server;
the server is used for acquiring a control instruction, the control instruction is used for indicating physical external equipment accessed through terminal equipment to control a cloud desktop, the cloud desktop is deployed in a target virtual machine, and the external equipment in the control instruction supports multiple types of external equipment;
searching a target virtual external device matched with the external device according to the control instruction, wherein the target virtual external device is obtained by performing virtualization processing on a physical external device accessed by the terminal device;
and sending a control instruction to the target virtual external equipment, so that the control instruction is executed through the target virtual external equipment.
9. The system of claim 8, wherein the terminal device is further configured to,
if the external equipment is detected to be inserted into the terminal equipment, acquiring equipment configuration information of the external equipment, and sending the equipment configuration information to a server so as to enable the server to generate virtual external equipment;
and if the physical external equipment is detected to be pulled out of the terminal equipment, generating an equipment pulling-out prompt, and sending the equipment pulling-out prompt to the server so that the server destroys the virtual external equipment.
10. The system of claim 8, wherein the server is configured to,
sending the control command to a target driver;
and sending the control instruction to the target virtual external equipment through target driving, and driving the target virtual external equipment to execute the control instruction.
CN202210764869.8A 2022-06-29 2022-06-29 Equipment management method and system Pending CN115202812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210764869.8A CN115202812A (en) 2022-06-29 2022-06-29 Equipment management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210764869.8A CN115202812A (en) 2022-06-29 2022-06-29 Equipment management method and system

Publications (1)

Publication Number Publication Date
CN115202812A true CN115202812A (en) 2022-10-18

Family

ID=83578394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210764869.8A Pending CN115202812A (en) 2022-06-29 2022-06-29 Equipment management method and system

Country Status (1)

Country Link
CN (1) CN115202812A (en)

Similar Documents

Publication Publication Date Title
JP7101780B2 (en) APP remote control method and related devices
JP2020103941A (en) Game state save, transfer and resume for cloud gaming
CN112073758B (en) Cloud desktop screen projection method and device, computer equipment, computer readable storage medium and cloud desktop screen projection interaction system
CN112073754B (en) Cloud game screen projection method and device, computer equipment, computer readable storage medium and cloud game screen projection interaction system
CN112316417B (en) Control equipment connection method, device, equipment and computer readable storage medium
US9244699B2 (en) Method and system for audio device virtualization
CN112102457A (en) 3D rendering method and system
CN110337035B (en) Method and device for detecting video playing quality
CN111290722A (en) Screen sharing method, device and system, electronic equipment and storage medium
JP2024503984A (en) Metaverse spatial streaming system and method
CN112799801A (en) Method, device, equipment and medium for drawing simulation mouse pointer
CN112596852A (en) Graph display method, device and system, electronic equipment and storage medium
CN115202812A (en) Equipment management method and system
CN113617020B (en) Game control method, game control device, storage medium, server and terminal
CN112494931B (en) Cloud game control method, system, server and computer readable storage medium
CN115052043A (en) Video transmission method, electronic equipment, device and medium of cloud desktop
CN111803926B (en) Matching method and device of control object in cloud application and electronic equipment
CN114265714A (en) Drive control method and device based on cloud mobile phone and storage medium
CN110178353A (en) Method for processing business, Cloud Server and terminal device
CN113952736A (en) Cloud game login method and device, electronic equipment and computer-readable storage medium
CN113051032A (en) Application picture processing method, device and system
CN107770591B (en) Control method, control device, intelligent remote controller and computer readable storage medium
CN112416497A (en) Image display processing method and device and on-demand system
CN111090494A (en) Communication control method and system
CN107179892B (en) Control method, device and system of spliced screen, storage medium and processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication