CN113448672A - Device control method, target terminal, cloud, virtual desktop server and medium - Google Patents

Device control method, target terminal, cloud, virtual desktop server and medium Download PDF

Info

Publication number
CN113448672A
CN113448672A CN202110739334.0A CN202110739334A CN113448672A CN 113448672 A CN113448672 A CN 113448672A CN 202110739334 A CN202110739334 A CN 202110739334A CN 113448672 A CN113448672 A CN 113448672A
Authority
CN
China
Prior art keywords
virtual machine
target terminal
configuration information
information
cloud server
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
CN202110739334.0A
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.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Technologies 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 Sangfor Technologies Co Ltd filed Critical Sangfor Technologies Co Ltd
Priority to CN202110739334.0A priority Critical patent/CN113448672A/en
Publication of CN113448672A publication Critical patent/CN113448672A/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/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/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/45575Starting, stopping, suspending or resuming virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses an equipment control method, a target terminal, a cloud, a virtual desktop server and a medium; the method comprises the following steps: after a virtual machine in a virtual desktop server is started, receiving configuration information of the external equipment sent by the cloud server; the virtual machine is provided with drive information of at least one external device; sending the configuration information to the virtual machine; when a control instruction which is input by a user and aims at the external equipment is detected, sending the control instruction to the virtual machine; the virtual machine is used for responding to the control instruction and controlling the external equipment according to the configuration information and the driving information.

Description

Device control method, target terminal, cloud, virtual desktop server and medium
Technical Field
The present application relates to the field of information technologies, and in particular, to an apparatus control method, a target terminal, a cloud, a virtual desktop server, and a medium.
Background
In practical applications, the desktop cloud created by the virtual desktop server for the user is generally configured with configuration information of external devices such as printers frequently used by the user, for example, the user usually works in a first office area and often uses the external devices in the first office area through a cloud desktop, and then the configuration information of the external devices in the first office area is configured in the desktop cloud. When the user changes the office environment to the second office area, the user can not use the external equipment of the second office area after logging in the desktop cloud, which has great influence on the office efficiency of the user.
Disclosure of Invention
Based on the above problems, embodiments of the present application provide an apparatus control method, a target terminal, a cloud, a virtual desktop server, and a medium.
According to the device control method provided by the embodiment of the application, after the virtual machine in the virtual desktop server is started, the virtual machine is provided with the driving information of the external device, and is also used for receiving the configuration information of the external device, which is returned by the target terminal and received from the cloud server, and when the virtual machine responds to the control instruction input by the user through the target terminal, the virtual machine is used for controlling the external device according to the driving information and the configuration information.
The technical scheme provided by the embodiment of the application is as follows:
a device control method is applied to a target terminal, and the target terminal is connected with an external device; the method comprises the following steps:
after a virtual machine in a virtual desktop server is started, receiving configuration information of the external equipment sent by the cloud server; the virtual machine is provided with drive information of at least one external device;
sending the configuration information to the virtual machine;
when a control instruction which is input by a user and aims at the external equipment is detected, sending the control instruction to the virtual machine; the virtual machine is used for responding to the control instruction and controlling the external equipment according to the configuration information and the driving information.
In some embodiments, before the receiving the configuration information of the external device sent by the cloud server, the method further includes:
acquiring configuration information of any one of the external devices;
and sending the configuration information of any external device to the cloud server so that the cloud server can manage the configuration information.
In some embodiments, before the virtual machine is started in the virtual desktop server, the method further comprises:
sending a login request to the virtual desktop server; and after receiving the login request, the virtual desktop server starts the virtual machine.
In some embodiments, the virtual machine is derived from a virtual machine template, and the driving information is pre-installed in the virtual machine template.
In some embodiments, the method further comprises: before the virtual machine is started in the virtual desktop server, the method further comprises the following steps:
sending a virtual machine configuration request to the cloud server under the condition that any external device is detected; the cloud server is used for responding to the virtual machine configuration request and sending the driving information to the virtual machine of the virtual desktop server.
In some embodiments, before receiving the configuration information of the external device sent by the cloud server, the method further includes:
under the condition that any external device is detected, acquiring the type information of any external device;
sending a configuration information acquisition request to the cloud server based on the type information; the cloud server is used for determining the configuration information according to the type information in the configuration information acquisition request.
The embodiment of the application also provides an equipment control method, which is applied to the cloud server; the method comprises the following steps:
receiving configuration information of external equipment uploaded by a plurality of terminals respectively;
after a virtual machine in a virtual desktop server is started, configuration information is sent to a target terminal; the target terminal is any one of the plurality of terminals; and the target terminal is used for sending the configuration information to the virtual machine, and the target terminal is connected with external equipment.
In some embodiments, before the virtual machine is started in the virtual desktop server, the method further comprises:
receiving a virtual machine configuration request sent by the target terminal; the virtual machine configuration request is sent by the target terminal under the condition that the external equipment is detected;
and responding to the virtual machine configuration request, and sending the driving information to the virtual machine of the virtual desktop server.
In some embodiments, before sending the configuration information to the target terminal, the method further comprises:
receiving a configuration information acquisition request sent by the target terminal; the configuration information acquisition request is sent by the target terminal based on the type information of any external device under the condition that the target terminal detects any external device;
determining the configuration information based on the type information in the configuration information acquisition request.
The embodiment of the application also provides an equipment control method, which is applied to the virtual desktop server; the method comprises the following steps:
receiving a login request sent by a target terminal; the target terminal is connected with external equipment;
responding to the login request, and starting a virtual machine; the virtual machine is provided with drive information of the external equipment;
receiving the configuration information sent by the target terminal;
receiving a control instruction sent by the target terminal; responding to the control instruction, and controlling the external equipment according to the configuration information and the drive; wherein the control instruction is a control instruction for the external device, which is input by a user and detected by the target terminal.
In some embodiments, before receiving the login request sent by the target terminal, the method further includes: and deriving the virtual machine according to a virtual machine template, wherein the driving information is preinstalled in the virtual machine template.
In some embodiments, prior to starting a virtual machine in response to the login request, the method further comprises:
receiving the driving information sent by the cloud server; the driving information is sent by the cloud server under the condition that the cloud server receives a virtual machine configuration request; the virtual machine configuration request is sent by the target terminal under the condition that the external equipment is detected.
The embodiment of the application further provides a target terminal, which comprises a first transceiver module, a second transceiver module and a third transceiver module, wherein the first transceiver module is used for receiving the configuration information of the external device, which is sent by the cloud server, after a virtual machine in a virtual desktop server is started; sending the configuration information to the virtual machine; when a control instruction which is input by a user and aims at the external equipment is detected, sending the control instruction to the virtual machine; the virtual machine is provided with drive information of at least one external device; the virtual machine is used for responding to the control instruction and controlling the external equipment according to the configuration information and the driving information.
The embodiment of the application further provides a cloud server, which comprises a second transceiver module, a second transceiver module and a second transceiver module, wherein the second transceiver module is used for receiving configuration information of the external equipment respectively uploaded by the plurality of terminals;
after a virtual machine in a virtual desktop server is started, configuration information is sent to a target terminal; the target terminal is any one of the plurality of terminals; and the target terminal is used for sending the configuration information to the virtual machine, and the target terminal is connected with external equipment.
An embodiment of the present application further provides a virtual desktop server, where the virtual desktop server includes a third transceiver module and a processing module, where:
the third transceiver module is used for receiving a login request sent by a target terminal; the target terminal is connected with external equipment;
the processing module is used for responding to the login request and starting a virtual machine; the virtual machine is provided with drive information of the external equipment;
the third transceiver module is configured to send a message that the virtual machine is started after the virtual machine is started, and receive the configuration information sent by the target terminal;
the third transceiver module is further configured to receive a control instruction sent by the target terminal after the virtual machine is started; wherein the control instruction is a control instruction for the external device, which is input by the user and detected by the target terminal
And the processing module is also used for responding to the control instruction and controlling the external equipment according to the configuration information and the drive.
The embodiment of the application also provides another target terminal, which comprises a processor and a memory, wherein the memory is used for storing a computer program capable of running on the processor; wherein the processor is configured to run the computer program to execute any one of the above-mentioned device control methods applied to the target terminal.
The embodiment of the application also provides another cloud server, which comprises a processor and a memory, wherein the memory is used for storing a computer program capable of running on the processor; the processor is configured to run the computer program to execute any one of the above-mentioned device control methods applied to the cloud server.
The embodiment of the application also provides another virtual desktop server, which comprises a processor and a memory for storing a computer program capable of running on the processor; the processor is used for running the computer program to execute any one of the above device control methods applied to the virtual desktop server.
An embodiment of the present application further provides an equipment control system, where the equipment control system includes the target terminal, the cloud server, and the virtual desktop server.
The embodiment of the present application further provides a computer-readable storage medium, which is used for being executed by a processor to implement the device control method as described in any one of the foregoing.
According to the device control method applied to the target terminal, after the virtual machine in the virtual desktop server is started, the cloud server sends the configuration information of the external device of the target terminal to the target terminal, and after the target terminal sends the configuration information to the virtual machine provided with the driving information, the virtual machine can respond to the control instruction of the user sent by the target terminal according to the driving information and the configuration information and control the external device based on the response result, so that remote control over the external device is flexibly achieved.
Drawings
Fig. 1 is a schematic flowchart of a device control method applied to a target terminal according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an apparatus control method applied to a cloud server according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of an apparatus control method applied to a virtual desktop server according to an embodiment of the present application;
fig. 4A is a schematic structural diagram of a target terminal according to an embodiment of the present disclosure;
fig. 4B is another schematic structural diagram of a target terminal according to an embodiment of the present disclosure;
fig. 5A is a schematic structural diagram of a cloud server according to an embodiment of the present disclosure;
fig. 5B is another schematic structural diagram of a cloud server according to an embodiment of the present disclosure;
fig. 6A is a schematic structural diagram of a virtual desktop server according to an embodiment of the present application;
fig. 6B is a schematic structural diagram of a virtual desktop server according to an embodiment of the present application;
fig. 7 is a first structural schematic diagram of an apparatus control system according to an embodiment of the present application;
fig. 8 is a second structural schematic diagram of an apparatus control system according to an embodiment of the present application;
fig. 9 is a schematic flowchart of a functional implementation of a configuration module according to an embodiment of the present application;
fig. 10 is a flowchart illustrating a function implementation of a transmission module according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The present application relates to the field of information technologies, and in particular, to an apparatus control method, a target terminal, a cloud, a virtual desktop server, and a medium.
In a Virtual Desktop Infrastructure (VDI) Desktop cloud environment, a user often needs to switch from a first office area to a second office area. While the types or parameters of peripheral devices may vary from office area configuration to office area configuration.
Taking a doctor as an example, a doctor usually works in department a, and the desktop cloud environment virtual machine of the doctor configures the peripheral configuration information of department a, and when the doctor switches to department B, the doctor logs in the desktop cloud environment virtual machine of the doctor, and then the doctor cannot use the peripheral of department B because the desktop cloud environment virtual machine does not configure the peripheral configuration information of department B. Therefore, when the doctor changes the department each time, the doctor needs to manually search and drive the peripheral configuration information of the current department to use the peripheral equipment of the current department, which directly affects the office efficiency of the doctor.
The above problems are widely present in the mobile office popularization environment and in the mobile office widely applied scenes of governments, organizations, institutions, enterprises and the like.
Based on the above problems, embodiments of the present application provide an apparatus control method, a target terminal, a cloud, a virtual desktop server, and a medium.
The device control method applied to the target terminal provided by the embodiment of the application can be realized through a processor of the target terminal.
The Processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor.
In the device control method applied to the target terminal provided by the embodiment of the application, the target terminal is connected with an external device.
In one embodiment, the target terminal may be a device, such as a computer device, a smart mobile terminal, or the like, having an operating system and capable of performing complex data operations.
In one embodiment, the target terminal may be a device with simple data transceiving function, such as a thin terminal device. The embodiments of the present application do not limit this.
In one embodiment, the external device may be a device that establishes a communication connection with a target terminal, and the communication connection may be wired or wireless, for example, and this is not limited in this embodiment of the present application.
In one embodiment, the external device may be a device capable of implementing complex data operations, such as a computer device, or may be a device capable of implementing specific data processing functions, such as at least one of a printer and a data acquisition device; illustratively, the data acquisition device may be a high-speed scanner; the data acquisition device may also be a card reader.
In one embodiment, the number and type of external devices may be at least one.
In one embodiment, the external devices may also include devices used in special situations, such as detection devices with radioactive threats, processing devices operating in high temperature environments, control devices with potential high pressure threats, and the like, and material detection devices operating in toxic threat environments, and the like.
In one embodiment, the external device may include a data output device, such as any of an audio output device, a video output device, and a text output device.
In one embodiment, the external device may include a device that establishes a communication connection with the target terminal at the current time, and may further include a device that once establishes a second connection with a second device.
In one embodiment, the external device may be in the same local area network as the target terminal, or may be connected through a wide area network.
Fig. 1 is a flowchart illustrating a device control method applied to a target terminal according to an embodiment of the present application, and as shown in fig. 1, the method may include steps 101 to 103:
step 101, after a virtual machine in a virtual desktop server is started, receiving configuration information of an external device sent by a cloud server.
Wherein the virtual machine is installed with drive information of at least one external device.
In one embodiment, the virtual desktop server may be a server for managing virtual machines, and illustratively, the virtual desktop server is configured to receive a connection request and a login request sent by any terminal, and is further configured to respond to the connection request and verify account information carried in the login request; for example, in the case that it is determined that the account information is valid and valid information, the virtual machine may be started based on the account information.
In one embodiment, the virtual machine in the virtual desktop server may be started for the first time, and after the resources required for the virtual machine to start are ready, the virtual machine may be started based on the resources.
In one embodiment, the virtual machine may be a virtualized desktop cloud environment, which has a virtualized operating system, and may further be provided with a desktop operating environment for human-computer interaction.
In one embodiment, the cloud server may be a server for managing data, and for example, the cloud server may be configured to manage configuration information; for example, the cloud server may manage the configuration information, including storing and updating operations.
In one embodiment, a communication connection may be established between the virtual desktop server and the cloud server, that is, two cloud platforms independent from each other are provided between the virtual desktop server and the cloud server.
In one embodiment, the virtual desktop server and the cloud server may be located in a larger cloud platform, and may communicate with each other, so that after the virtual desktop cloud server starts the virtual machine and generates the message that the virtual machine starts, the message may be obtained by the cloud server.
In one embodiment, the cloud server may actively send configuration information of the external device to the target terminal after determining that the virtual machine is started; it is also possible to send configuration information to the target terminal in response to a request of the target terminal.
In one embodiment, the driver information may include a driver of at least one external device. For example, there may be multiple versions of a driver for the same external device.
In one embodiment, the configuration information may be stored in the target terminal in addition to being received from the cloud server.
In one embodiment, the configuration information includes data information that can control the operating mode of the external device.
In one embodiment, the configuration information may include at least one of a duration of time that the external device can operate continuously, an optional power consumption parameter of the external device, a data output format of the external device, a data output frequency of the external device, a function description that the external device can implement, and the like.
In one embodiment, the configuration information may only include data information of at least one external device currently establishing a communication connection with the target terminal.
In one embodiment, the configuration information may include data information of at least one external device that has established a communication connection with the target terminal.
And 102, sending configuration information to the virtual machine.
In one embodiment, the target terminal may send the configuration information to the virtual machine directly after receiving the configuration information; after receiving the configuration information, responding to the operation of a user, processing the configuration information, and then sending the configuration information to the virtual machine; the configuration information can be processed through the communication connection between the virtual machine and the configuration information after being sent to the virtual machine.
And 103, when a control instruction for the external device input by the user is detected, sending the control instruction to the virtual machine.
The virtual machine is used for responding to the control instruction and controlling the external equipment according to the configuration information and the driving information.
In one embodiment, the control instruction may include an instruction for controlling the external device to switch the operating state and a condition for switching the operating state, for example, under a first condition, the external device may be in the first operating state; under a second condition, the external device may be switched to a second operating state. For example, the control command may be a command for controlling whether the external device is in an operating state.
In one embodiment, the control instruction may include an instruction to adjust a switching configuration parameter of the external device.
In one embodiment, after receiving the control instruction, the virtual machine analyzes the control instruction, determines a target external device, then obtains driving information and configuration information corresponding to the target external device, drives the target external device according to the driving information, configures the target external device according to the configuration information, and remotely controls the target external device based on the control instruction after the target external device is driven and configured.
In one embodiment, the controlling of the at least one external device may comprise at least one of: the method comprises the steps of controlling the external equipment to switch the working state, controlling the external equipment to switch the data output format, controlling the external equipment to switch the data processing mode, controlling the continuous working time of the external equipment and controlling the power consumption of the external equipment.
In one embodiment, in the case that the number of the external devices is multiple, or the types of the external devices are multiple, the virtual machine may further manage the working timing between the multiple external devices based on the control information, for example, the scanner performs a scanning operation at a first time to generate a first image; the printer receives the first image at the second moment and prints and outputs the first image; the display may show the first image at the second or third moment in time, etc.
In an embodiment, the virtual machine may further generate a condition for cooperative work among the external devices based on the control information, and control the cooperative work among the external devices based on the condition.
In an implementation, the virtual machine may respond to a device configuration instruction input by a user of the target terminal, and perform associated configuration on the driving information and the configuration information according to information of the target terminal enumerated by the virtual machine, so as to obtain target configuration information that can finally drive the target terminal, and then configure the target terminal based on the target configuration information.
In one embodiment, the virtual machine may automatically associate the configuration information and the driving information based on the configuration information and the driving information, and in combination with the device information of the external device enumerated by the target terminal, to determine the target configuration information.
As can be seen from the above, according to the device control method applied to the target terminal provided in the embodiment of the application, after the virtual machine in the virtual desktop server is started, the cloud server sends the configuration information of the external device of the target terminal to the target terminal, and after the target terminal sends the configuration information to the virtual machine equipped with the driving information, the virtual machine can respond to the control instruction of the user sent by the target terminal based on the driving information and the configuration information, and control the external device based on the response result, so that remote control of the external device is flexibly achieved.
Therefore, according to the device control method applied to the target terminal provided by the embodiment of the application, when a user switches an office environment, namely, under the condition that any one of the target terminal and the external device changes, the target terminal can flexibly respond to a control instruction input by the user through the target terminal based on the configuration information issued by the cloud server and the driver installed by the target terminal, so that the external device is efficiently controlled, and the control efficiency of the external device is improved.
In addition, under the condition that the setting position of the target terminal is close to the position of the external device, the device control method applied to the target terminal provided by the embodiment of the application can improve the flexibility of the peripheral device in use nearby; the device control method applied to the target terminal can also improve the flexibility of the use of the target terminal and the remote external device under the condition that the setting position of the target terminal is far away from the setting position of the external device, namely the target terminal and the external device are connected through remote communication.
In the device control method applied to the target terminal provided in the embodiment of the present application, before receiving the configuration information of the external device sent by the cloud server, steps a1 to a2 may be further performed:
and step A1, acquiring configuration information of any external device.
In one embodiment, the configuration information of any external device may be acquired by any one of the following methods:
under the condition that the target terminal establishes communication connection with any external equipment, any external equipment sends the communication connection to the target terminal;
under the condition that the target terminal establishes communication connection with any external device, processing the configuration information of any external device through third-party equipment, and writing the processing result into the target terminal;
the target terminal responds to configuration management operation of configuration information of any external device input by a user, determines the configuration information and stores the configuration information in the target terminal; for example, the configuration management operation may include at least one operation of adding, deleting, updating, etc. to the configuration information;
the target terminal stores configuration information of any external device with which a communication connection has been established.
Step a2, sending configuration information of any external device to the cloud server, so that the cloud server can manage the configuration information.
In one embodiment, the target terminal may send all configuration information acquired by the target terminal to the cloud server; or sending the configuration information corresponding to part of the external devices in the configuration information to the cloud server.
In one embodiment, the management of the configuration information by the cloud server may include any one of the following:
and the cloud server updates the configuration information stored in the cloud server based on the received configuration information.
The cloud server matches the configuration information with the mark information of the target terminal based on the received configuration information, so that after the target terminal is connected to the cloud server, the cloud server can issue the configuration information corresponding to the target terminal according to the mark information of the target terminal, and the configuration efficiency of the external equipment of the target terminal is improved.
As can be seen from the above, in the embodiment of the present application, the configuration information may be obtained by the target terminal, but the management of the configuration information is performed by the cloud server in a unified manner, so that on one hand, the storage space of the target terminal can be released; on the other hand, the cloud server is used for realizing the unified management of various configuration information sent by various target terminals, so that the probability of conflict of various configuration information is reduced. Therefore, under the condition that the target terminal is connected with the external equipment and connected to the cloud server and the virtual desktop server, the configuration information can be quickly and accurately adapted, and the efficiency of controlling the external equipment is improved.
Before the virtual machine in the virtual desktop server is started, the device control method applied to the target terminal provided in the embodiment of the present application may further include step B:
and step B, sending a login request to the virtual desktop server.
After the virtual desktop server receives the login request, the virtual machine is started.
Here, the virtual machine is derived from a virtual machine template, and the drive information is preinstalled in the virtual machine template. The same virtual machine template may derive multiple virtual machines.
In practical application, virtual machines corresponding to respective user accounts can be largely created through virtual machine templates. After the virtual machine is created, a user can trigger the virtual desktop server to run the virtual machine corresponding to the account through the login account, and the picture of the virtual machine is transmitted to the terminal through the network to be presented.
The virtual desktop server is further used for sending a message of completing the starting of the virtual machine to the target terminal after the virtual machine is started.
In one embodiment, the login request may carry account information, which may include key information such as a user name and a password. The virtual desktop server is used for verifying the account information, and under the condition that the account information passes the verification, the virtual desktop server is triggered to operate the virtual machine corresponding to the account information. .
In one embodiment, the virtual desktop server may summarize drive information of various versions of various types of external devices, and set the drive information in a virtual machine template, thereby obtaining a virtual machine template; illustratively, the virtual desktop server may also implement an update of the virtual machine template based on the update of the driving information, thereby updating the virtual machine.
Before the virtual machine in the virtual desktop server is started, the device control method applied to the target terminal provided by the embodiment of the present application may further include step C:
and step C, sending a virtual machine configuration request to the cloud server under the condition that any external device is detected.
The cloud server is used for responding to the virtual machine configuration request and sending driving information to the virtual machine of the virtual desktop server.
In an embodiment, the virtual machine configuration request may carry account information of the user, so that the cloud server may determine the corresponding virtual machine according to the account information and send the driving information to the virtual machine.
In one embodiment, the cloud server may store and/or manage not only the configuration information but also the driver information.
In an embodiment, after receiving the driving information sent by the cloud server, the virtual machine of the virtual desktop server may synchronize the driving information to the virtual machine template, may directly install the driving information in the virtual machine corresponding to the account information, and may also execute the above two operations at the same time.
As can be seen from the above, in the device control method applied to the target terminal provided in the embodiment of the present application, the cloud server sends the driving information to the virtual desktop server only when the target terminal detects any external device, so that on one hand, the communication load between the virtual desktop server and the cloud server is reduced, and on the other hand, the targeted installation of the driving information in the virtual desktop server can also be achieved.
Before receiving the configuration information of the external device sent by the cloud server, the device control method applied to the target terminal provided in the embodiment of the present application may further include steps D1 to D2:
and D1, acquiring the type information of any external device when any external device is detected.
In one embodiment, the type information of any external device may include basic function information of any external device; illustratively, the basic function information may include: data acquisition, data transmission, and the like.
In one embodiment, the type information of any external device may be embodied in a form of character string or digital code, for example, the type information of the printer may be "data printing", and the type information of the image capturing device may be "image capturing"; for example, the type information of the printer may be 1.
In one embodiment, the type information of any external device may further include at least one of flag information, model information, and the like of any external device.
In one embodiment, the type information of any external device may be that any external device sends to the target terminal; or may be actively acquired by the target terminal.
And D2, sending a configuration information acquisition request to the cloud server based on the type information.
The cloud server is used for determining the configuration information according to the type information in the configuration information acquisition request.
In one embodiment, the configuration information determined by the cloud server may be matched with the type information, for example, in a case that the type information is "data printing", the configuration information may include configuration information corresponding to at least one printer.
In an embodiment, the configuration information determined by the cloud server may be precisely matched with the type information, for example, in a case that the type information is "data print", the flag information is "0X 12345678", and the model information is "latest model", the cloud server may precisely match the configuration information according to the above information, and then send the configuration information obtained after precise matching to the desktop virtual server.
As can be seen from the above, in the device control method applied to the target terminal provided in the embodiment of the application, when the target terminal detects any external device, the target terminal can obtain the type information of any external device and send the type information to the cloud server, so that the cloud server can determine the corresponding configuration information according to the type information, and then send the configuration information to the virtual desktop server, so that the virtual machine in the virtual desktop server can configure any external device of the target terminal with a higher pertinence, thereby improving the efficiency of the virtual machine in configuring any external device.
In the device control method applied to the target terminal provided in the embodiment of the present application, after sending the configuration information to the virtual machine, the target terminal may further perform the following operations:
and when a configuration instruction sent by a user is detected, sending the configuration instruction to the virtual machine, so that the virtual machine can configure the configuration information and the driving information in response to the configuration instruction.
In one embodiment, the configuration instructions may include a configuration of at least one external device; for example, in the case that the external devices connected to the target terminal are devices of the same type and different models, the user may complete configuration of different implementations of the same function without using the external devices through the configuration instruction.
In one embodiment, the configuration instruction may include operations of filtering, associating and pairing configuration information and driving information; for example, the virtual machine may drive the first external device based on the first driving information and configure the first external device based on the first configuration information, and then the virtual machine may establish an association relationship between the first configuration information, the first driving information, and the device identifier of the first external device; the virtual machine may also drive the second external device based on the first driving information, but configure the second external device based on the second configuration information, at which point the virtual machine may establish an association between the first driving information, the second configuration information, and the device flag of the second external device.
As can be seen from the above, in the device control method applied to the target terminal provided in the embodiment of the present application, the target terminal is configured to receive the configuration instruction of the user and send the configuration instruction to the virtual machine, so that the virtual machine configures the configuration information and the driving information, so that the configuration accuracy of the virtual machine to the external device is higher, the pertinence of the virtual machine is stronger, and the efficiency of configuring the external device is further improved.
Based on the foregoing embodiment, the embodiment of the application further provides an equipment control method applied to the cloud server.
The device control method applied to the cloud server can be achieved through a processor of the cloud server.
The processor may be at least one of an ASIC, a DSP, a DSPD, a PLD, an FPGA, a CPU, a controller, a microcontroller, and a microprocessor.
Fig. 2 is a schematic flowchart of a device control method applied to a cloud server according to an embodiment of the present disclosure, as shown in fig. 2, the method may include steps 201 to 202:
step 201, receiving configuration information of the external device uploaded by each of the plurality of terminals.
In one embodiment, the plurality of terminals may be of different types.
In one embodiment, the plurality of terminals may be of the same type and of different models.
In one embodiment, the configuration information of the external device uploaded by each of the plurality of terminals may be the external device that establishes communication connection with the plurality of terminals; for example, the external devices may be connected to a plurality of terminals, or may be devices that have established communication connections with the plurality of terminals; illustratively, the external devices may be local devices of the terminals or remote devices of the terminals.
In one embodiment, the plurality of terminals may upload the configuration information based on a request from the cloud server, or may actively upload the configuration information when the plurality of terminals are connected to the cloud server.
Step 202, after the virtual machine in the virtual desktop server is started, configuration information is sent to the target terminal.
The target terminal is any one of a plurality of terminals; and the target terminal is used for sending the configuration information to the virtual machine and is connected with external equipment.
In an embodiment, after the target terminal sends a login request to the virtual desktop server and the virtual machine is started, a message of completing the virtual machine start can be sent to the cloud server, and at this time, the cloud server can send configuration information to the target terminal.
As can be seen from the above, in the device management method applied to the cloud server provided in the embodiment of the present application, before the cloud server issues the configuration information to the target terminal, the cloud server may receive the configuration information sent by the multiple terminals, and store the configuration information in a unified manner, and when the target terminal is connected to the external device and the virtual machine in the virtual desktop server is started, the configuration information may be sent to the target terminal, so that the target terminal sends the configuration information to the virtual machine.
Based on the foregoing embodiment, before the virtual machine in the virtual desktop server is started, the device control method applied to the cloud server provided in the embodiment of the present application may further include steps E1 to E2:
and step E1, receiving a virtual machine configuration request sent by the target terminal.
The virtual machine configuration request is sent by the target terminal under the condition that the external equipment is detected.
And step E2, responding to the virtual machine configuration request, and sending the driving information to the virtual machine of the virtual desktop server.
As can be seen from the above, in the device control method applied to the cloud server provided in the embodiment of the present application, after receiving the virtual machine configuration request sent by the target, the cloud server sends the driving information to the virtual machine of the virtual desktop server, so that on one hand, the cloud server stores the configuration information and the driving information separately, and on the other hand, the driving information is sent to the virtual machine of the virtual desktop server only after the virtual machine configuration request sent by the target terminal, thereby reducing the data transmission burden between the virtual desktop server and the cloud server.
Based on the foregoing embodiment, before sending the configuration information to the target terminal, the device control method applied to the cloud server provided in the embodiment of the present application may further include steps F1 to F2:
step F1, receiving a configuration information acquisition request sent by the target terminal.
The configuration information acquisition request is sent by the target terminal based on the type information of any external device under the condition that any external device is detected.
Step F2, determining the configuration information based on the type information in the configuration information acquisition request.
As can be seen from the above, in the device control method applied to the cloud server provided in the embodiment of the present application, after receiving the configuration information acquisition request sent by the target terminal, the cloud server determines the configuration information corresponding to the type information of the external device, and sends the configuration information to the virtual desktop server, so that the virtual machine has a stronger pertinence to the configuration of the target terminal, and further, the efficiency of configuring the external device is improved.
Based on the foregoing embodiment, the present application further provides an apparatus control method applied to a virtual desktop server.
The device control method applied to the virtual desktop server provided by the embodiment of the application can be realized through a processor of the virtual desktop server.
The processor may be at least one of an ASIC, a DSP, a DSPD, a PLD, an FPGA, a CPU, a controller, a microcontroller, and a microprocessor.
Fig. 3 is a flowchart illustrating a device control method applied to a virtual desktop server according to an embodiment of the present application, as shown in fig. 3, the method may include steps 301 to 304:
step 301, receiving a login request sent by a target terminal.
Wherein, the target terminal is connected with an external device.
Step 302, responding to the login request, starting the virtual machine.
Wherein the virtual machine is installed with drive information of the external device.
For example, after the virtual machine is started, the desktop virtual server may also send a message that the virtual machine is started to the target terminal and the cloud server. For example, after receiving a message that the virtual machine is started, the cloud server may send configuration information to the target terminal; for example, the target terminal may send the configuration information to the virtual machine when receiving the message that the virtual machine is started and receiving the configuration information sent by the cloud server.
Step 302, receiving the configuration information sent by the target terminal.
Step 302, receiving a control instruction sent by a target terminal; and responding to the control instruction, and controlling the external equipment according to the configuration information and the drive.
The control command is a control command for the external device, which is input by the user and detected by the target terminal.
As can be seen from the above, in the device control method applied to the virtual desktop server provided in the embodiment of the present application, after responding to the login request sent by the target terminal and starting the virtual machine, the virtual desktop server is configured to receive the configuration information of the target terminal and configure the external device of the target terminal based on the configuration information and the driving information in the virtual machine, that is, the virtual machine in the virtual desktop server can flexibly implement driving configuration and control on the external device of any target terminal, thereby improving the control efficiency on the external device of the target terminal.
In this embodiment of the application, before receiving a login request sent by a target terminal, a virtual machine may be derived according to a virtual machine template, where the virtual machine template is pre-loaded with driving information.
As can be seen from the above, in the virtual desktop server, the virtual machine can be derived from the virtual machine template, so that any virtual machine started according to the virtual machine template is provided with the driving information, and the efficiency of the virtual machine for driving the external device of the target terminal is accelerated; in addition, under the condition that the driving information in the virtual machine template is updated, the driving information in any virtual machine generated by the virtual machine template can be automatically and synchronously updated, so that the updating efficiency of the driving information is improved, and the driving efficiency of the external equipment of the target terminal is further improved.
Based on the foregoing embodiment, before starting the virtual machine in response to the login request, the apparatus control method applied to the virtual desktop server according to the embodiment of the present application may further include the following operations:
and receiving the driving information sent by the cloud server.
The driving information is sent by the cloud server under the condition that the cloud server receives the virtual machine configuration request; and the virtual machine configuration request is sent by the target terminal under the condition that the external equipment is detected. In practical applications, the driving information may be received by a virtual machine of the virtual desktop server.
Based on the foregoing embodiment, the device control method applied to the virtual desktop server provided in the embodiment of the present application may further include the following operations:
and receiving a configuration instruction sent by the target terminal, and configuring the configuration information and the driving information in response to the configuration instruction.
As can be seen from the above, in the control method applied to the virtual desktop server provided in the embodiment of the present application, the virtual machine of the virtual desktop server is configured to receive the driving information sent by the cloud server, so that real-time synchronization of the driving information can be realized; the configuration information and the driving information can be configured by receiving the configuration instruction of the target terminal, so that the flexibility of the configuration of the external equipment of the target terminal is improved, and the efficiency of the configuration of the external equipment of the target terminal is further improved.
Based on the foregoing embodiment, an embodiment of the present application further provides a target terminal 4, where fig. 4A is a schematic structural diagram of the target terminal 4 provided in the embodiment of the present application, and as shown in fig. 4A, the target terminal includes a first transceiver module 401, configured to receive configuration information of an external device sent by a cloud server after a virtual machine in a virtual desktop server is started; sending configuration information to the virtual machine; when a control instruction which is input by a user and aims at external equipment is detected, sending the control instruction to a virtual machine; the virtual machine is provided with drive information of at least one external device; the virtual machine is used for responding to the control instruction and controlling the external equipment according to the configuration information and the driving information.
In some embodiments, the first transceiver module 401 is configured to, before receiving the configuration information of the external device sent by the cloud server, obtain configuration information of any external device; and sending the configuration information of any external device to the cloud server so that the cloud server can manage the configuration information.
In some embodiments, the first transceiver module 401 is further configured to send a login request to the virtual desktop server before a virtual machine in the virtual desktop server is started; and after receiving the login request, the virtual desktop server starts the virtual machine. Enabling the virtual machine to be started based on a target virtual machine template; .
In some embodiments, the virtual machine is derived from a virtual machine template, and the driving information is pre-installed in the virtual machine template.
In some embodiments, the first transceiver module 401 is further configured to, before a virtual machine in the virtual desktop server is started, send a virtual machine configuration request to the cloud server if any of the external devices is detected; the cloud server is used for responding to the virtual machine configuration request and sending the driving information to the virtual machine of the virtual desktop server.
In some embodiments, the first transceiver module 401 is further configured to, before receiving the configuration information of the external device sent by the cloud server, obtain type information of any external device when any external device is detected; sending a configuration information acquisition request to the cloud server based on the type information; the cloud server is used for determining the configuration information according to the type information in the configuration information acquisition request.
The first transceiver module 401 may be implemented by a processor in the target terminal 4, and the processor may be at least one of an ASIC, a DSP, a DSPD, a PLD, an FPGA, a CPU, a controller, a microcontroller, and a microprocessor.
Based on the same technical concept of the foregoing embodiment, referring to fig. 4B, it shows another target terminal 4 provided by the embodiment of the present disclosure, which may include: a first memory 41 and a first processor 42; wherein the content of the first and second substances,
the first memory 41 for storing computer programs and data;
the first processor 42 is configured to execute the computer program stored in the memory to implement any one of the device control methods applied to the target terminal in the foregoing embodiments.
In practical applications, the first Memory 41 may be a volatile Memory, such as a Random Access Memory (RAM); or a non-volatile Memory such as a Read Only Memory (ROM), a flash Memory, a hard disk, or a solid state disk; or a combination of the above types of memories and provides instructions and data to the first processor 42.
The first processor 42 may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.
Based on the foregoing embodiment, an embodiment of the present application further provides a cloud server 5, where fig. 5A is a schematic structural diagram of the cloud server 5 provided in the embodiment of the present application, and as shown in fig. 5A, the cloud server 5 may include: a second transceiver module 501, configured to receive configuration information of an external device uploaded by a plurality of terminals respectively; after a virtual machine in a virtual desktop server is started, configuration information is sent to a target terminal; the target terminal is any one of a plurality of terminals; and the target terminal is used for sending the configuration information to the virtual machine and is connected with external equipment.
In some embodiments, the second transceiver module 501 is further configured to receive a virtual machine configuration request sent by the target terminal before a virtual machine in the virtual desktop server is started; the virtual machine configuration request is sent by the target terminal under the condition that the external equipment is detected;
and responding to the virtual machine configuration request, and sending the driving information to the virtual machine of the virtual desktop server.
In some embodiments, the second transceiver module 501 is further configured to, before sending configuration information to a target terminal, receive a configuration information obtaining request sent by the target terminal, and determine the configuration information based on the type information in the configuration information obtaining request; the configuration information acquisition request is sent by the target terminal based on the type information of any external device under the condition that the target terminal detects any external device.
It should be noted that the second transceiver module 501 may be implemented by a processor in the cloud server 5, and the processor may be at least one of an ASIC, a DSP, a DSPD, a PLD, an FPGA, a CPU, a controller, a microcontroller, and a microprocessor.
Based on the same technical concept of the foregoing embodiment, referring to fig. 5B, it shows another cloud server 5 provided in the embodiment of the present disclosure, which may include: a second memory 51 and a second processor 52; wherein the content of the first and second substances,
the second memory 51 for storing computer programs and data;
the second processor 52 is configured to execute the computer program stored in the memory, so as to implement any one of the device control methods applied to the cloud server in the foregoing embodiments.
In practical applications, the second memory 51 may be a volatile memory, such as a RAM; or non-volatile memory, such as ROM, flash memory, hard disk, or solid state disk; or a combination of the above types of memories and provides instructions and data to the second processor 52.
The second processor 52 may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.
Based on the foregoing embodiment, an embodiment of the present application further provides a virtual desktop server 6, where fig. 6A is a schematic structural diagram of the virtual desktop server 6 provided in the embodiment of the present application, and as shown in fig. 6A, the virtual desktop server 6 may include: a third transceiver module 601 and a processing module 602, wherein:
a third transceiver module 601, configured to receive a login request sent by a target terminal; wherein, the target terminal is connected with an external device;
a processing module 602, configured to start a virtual machine in response to a login request; the virtual machine is provided with driving information of external equipment;
the third transceiver module is used for receiving the configuration information sent by the target terminal after the virtual machine is started;
the third transceiver module 601 is further configured to receive a control instruction sent by the target terminal after the virtual machine is started; the control command is a control command for the external device, which is input by the user and detected by the target terminal.
The processing module 602 is further configured to respond to the control instruction, and control the external device according to the configuration information and the driver.
In some embodiments, the processing module 602 is further configured to, before receiving a login request sent by a target terminal, derive the virtual machine according to a virtual machine template, where the virtual machine template is pre-loaded with the driving information.
In some embodiments, the third transceiver module 601 is further configured to receive the driving information sent by the cloud server before starting a virtual machine in response to the login request; the driving information is sent by the cloud server under the condition that the cloud server receives a virtual machine configuration request; the virtual machine configuration request is sent by the target terminal under the condition that the external equipment is detected.
The third transceiver module 601 and the processing module 602 may be implemented by a processor in the desktop virtual server 6, and the processor may be at least one of an ASIC, a DSP, a DSPD, a PLD, an FPGA, a CPU, a controller, a microcontroller, and a microprocessor.
Based on the same technical concept of the foregoing embodiment, referring to fig. 6B, it shows another virtual desktop server 6 provided by the embodiment of the present disclosure, which may include: a third memory 61 and a third processor 62; wherein the content of the first and second substances,
the third memory 61 for storing computer programs and data;
the third processor 62 is configured to execute the computer program stored in the memory to implement any one of the device control methods applied to the virtual desktop server in the foregoing embodiments.
In practical applications, the third memory 61 may be a volatile memory, such as a RAM; or non-volatile memory, such as ROM, flash memory, hard disk, or solid state disk; or a combination of the above types of memories and provides instructions and data to the third processor 62.
The third processor 62 may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.
Based on the foregoing embodiment, an apparatus control system 7 is further provided in the embodiment of the present application, and fig. 7 is a schematic view of a first structure of the apparatus control system 7 provided in the embodiment of the present application. As shown in fig. 7, the device control system includes the target terminal 4 according to the foregoing embodiment, the cloud server 5 according to the foregoing embodiment, and the virtual desktop server 6 according to the foregoing embodiment.
As shown in fig. 7, a communication connection may be established between any two of the target terminal 4, the cloud server 5, and the virtual desktop server 6.
The target terminal 4 can send a login request to the virtual desktop server 6, the virtual desktop server 6 verifies account information in the login request, a virtual machine corresponding to the account information can be started after the verification is passed, a message of completing the virtual machine starting can be sent to the target terminal 4 and the cloud server 5 after the virtual machine starting is completed, the cloud server 5 can send configuration information to the target terminal 4 after receiving the message of completing the virtual machine starting, the target terminal 4 can send the configuration information to a virtual machine in the virtual desktop server 6, and the virtual machine can respond to the control instruction after receiving the control instruction sent by the target terminal 4 and control external equipment of the target terminal 4 according to a drive program and configuration information installed by the virtual machine.
As can be seen from the above, in the device control system 7 provided in the embodiment of the present application, even if the user switches the target terminal 4 to log in the virtual machine in the desktop virtual server 6, the virtual machine in the desktop virtual server 6 can drive and configure and control the external device associated with the current target terminal, so that the dependency of the user on the target terminal is reduced; in the process, the user does not need to manually adjust or configure the configuration information of the external equipment, so that the mobile office efficiency is improved, and the mobile office experience of the user is improved.
Based on the foregoing embodiment, fig. 8 is a schematic diagram of a second structure of the device control system 7 according to the embodiment of the present application. As shown in fig. 8, the device control system 7 provided in the embodiment of the present application may further include an access module 801, a configuration module 802, and a transmission module 803; wherein:
an access module 801 for providing an interface for any external device to access the device control system 7, for example, the access module 801 may include any target terminal 4. For example, the external device may access the cloud server 5 and the desktop virtual server through the access module 801.
The configuration module 802 is configured to provide configuration management for the external device when any external device is connected to the device control system 7, and for example, the configuration module 802 may receive a control instruction sent by the target terminal 5 through the desktop virtual server, and control the external device based on the configuration information and the driving information in response to the control instruction through the virtual machine.
The transmission module 803 is configured to implement data transmission between any two of the cloud server 5, the desktop virtual server 6, and the target terminal 4, and for example, the transmission module 803 may send the configuration information to the target terminal 5 through the cloud server 5, may also receive the configuration information sent by the target terminal 4 through the desktop virtual server 6, and may also send a control instruction detected by the target terminal 4 to a virtual machine in the desktop virtual server 6.
Fig. 9 is a flowchart illustrating a functional implementation of a configuration module 802 according to an embodiment of the present application. As shown in fig. 9, the process mainly includes the following steps:
step 802-1, the virtual machine sets configuration information.
Illustratively, the virtual machine may be a virtual machine in the desktop virtual server 5 in the foregoing embodiment.
Illustratively, the virtual machine may perform a setting operation of the configuration information in response to an input operation of the user through the target terminal 4, and may also perform an association, a filtering operation of the configuration information and the drive information in response to an input operation of the user through the target terminal 4.
Step 802-2, sending the configuration information to the cloud server 5.
For example, the cloud server 5 and the desktop virtual server 6 may both be disposed in a cloud platform, the desktop virtual server 6 may be a data management center of the cloud platform, and the configuration information may be sent to the cloud server 5 through the target terminal 4; for example, the target terminal 4 may obtain the configuration information when any external device is connected, and may also obtain the configuration information from the virtual machine, and then send the configuration information to the cloud server 5.
Illustratively, step 802-2 may be performed automatically by the target terminal 4; the target terminal 4 may be executed after receiving the indication information uploaded by the configuration information sent by the cloud server 5.
Step 802-3, the cloud server 5 manages configuration information.
Illustratively, the cloud server 5 may automatically manage the configuration information according to the matching relationship between the configuration information and the target terminal 4. For example, the matching relationship may be based on the type information in the matching information and the type information of the target terminal 4, or may be a historical matching relationship between the target terminal 4 and the external device; for example, the cloud server 5 manages the configuration information, and may associate the configuration information with the target terminal 4.
Illustratively, the cloud server 5 may further provide an interface for a professional to manually configure, and after the cloud server 5 detects the configuration operation on the configuration parameters and the target terminal 4 from the interface, may respond to the configuration operation and associate the configuration information with the target terminal 4.
Through the above operations, the configuration module 802 in the device control system 7 according to the embodiment of the present application can automatically determine the configuration information of the external device associated with the target terminal 4, so that the configuration module 802 can automatically determine the configuration information of the peripheral device associated with the target terminal 4 without manual operation by a user, thereby providing convenience for the remote control of the external device by the virtual machine.
Fig. 10 is a flowchart illustrating a function implementation of the transmission module 803 according to an embodiment of the present disclosure. As shown in fig. 10, the flow includes steps 803-1 to 803-2:
and step 803-1, transmitting the configuration information issued by the cloud server to the target terminal 4.
Step 803-2, transmitting the configuration information to the virtual machine.
Through the above manner, the transmission module 803 provided in this embodiment of the application is configured to implement real-time transmission of data among the cloud server 5, the target terminal 4, and the virtual desktop server 5, so as to provide convenience conditions for real-time control of external devices.
As can be seen from the above, in the device control system 7 provided in the embodiment of the present application, even if the user switches the target terminal 4, after the user logs in the virtual machine through the target terminal 4, the external device associated with the target terminal 4 can be driven and configured accurately in real time, so that the office efficiency of the user is improved.
Based on the foregoing embodiments, the present application further provides a computer-readable storage medium, which is used for being executed by a processor to implement the device control method according to any one of the foregoing embodiments.
The foregoing description of the various embodiments is intended to highlight various differences between the embodiments, and the same or similar parts may be referred to each other, and for brevity, will not be described again herein.
The methods disclosed in the method embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in various product embodiments provided by the application can be combined arbitrarily to obtain new product embodiments without conflict.
The features disclosed in the various method or apparatus embodiments provided herein may be combined in any combination to arrive at new method or apparatus embodiments without conflict.
The computer-readable storage medium may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); and may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus necessary general hardware nodes, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (20)

1. The equipment control method is characterized in that the method is applied to a target terminal, and the target terminal is connected with external equipment; the method comprises the following steps:
after a virtual machine in a virtual desktop server is started, receiving configuration information of the external equipment sent by the cloud server; the virtual machine is provided with drive information of at least one external device;
sending the configuration information to the virtual machine;
when a control instruction which is input by a user and aims at the external equipment is detected, sending the control instruction to the virtual machine; the virtual machine is used for responding to the control instruction and controlling the external equipment according to the configuration information and the driving information.
2. The method of claim 1, wherein before receiving the configuration information of the external device sent by the cloud server, the method further comprises:
acquiring configuration information of any one of the external devices;
and sending the configuration information of any external device to the cloud server so that the cloud server can manage the configuration information.
3. The method of claim 1, wherein prior to the virtual machine starting in the virtual desktop server, the method further comprises:
sending a login request to the virtual desktop server; and after receiving the login request, the virtual desktop server starts the virtual machine.
4. The method according to any one of claims 1 to 3, wherein the virtual machine is derived from a virtual machine template, and the drive information is preloaded in the virtual machine template.
5. The method of any of claims 1 to 3, wherein prior to the virtual machine starting in the virtual desktop server, the method further comprises:
sending a virtual machine configuration request to the cloud server under the condition that any external device is detected; the cloud server is used for responding to the virtual machine configuration request and sending the driving information to the virtual machine of the virtual desktop server.
6. The method according to any one of claims 1 to 3, wherein before receiving the configuration information of the external device sent by the cloud server, the method further comprises:
under the condition that any external device is detected, acquiring the type information of any external device;
sending a configuration information acquisition request to the cloud server based on the type information; the cloud server is used for determining the configuration information according to the type information in the configuration information acquisition request.
7. The equipment control method is applied to a cloud server; the method comprises the following steps:
receiving configuration information of external equipment uploaded by a plurality of terminals respectively;
after a virtual machine in a virtual desktop server is started, configuration information is sent to a target terminal; the target terminal is any one of the plurality of terminals; and the target terminal is used for sending the configuration information to the virtual machine, and the target terminal is connected with external equipment.
8. The method of claim 7, wherein prior to the virtual machine starting in the virtual desktop server, the method further comprises:
receiving a virtual machine configuration request sent by the target terminal; the virtual machine configuration request is sent by the target terminal under the condition that the external equipment is detected;
and responding to the virtual machine configuration request, and sending the driving information to the virtual machine of the virtual desktop server.
9. The method according to claim 7 or 8, wherein before sending configuration information to the target terminal, the method further comprises:
receiving a configuration information acquisition request sent by the target terminal; the configuration information acquisition request is sent by the target terminal based on the type information of any external device under the condition that the target terminal detects any external device;
determining the configuration information based on the type information in the configuration information acquisition request.
10. An equipment control method is characterized in that the method is applied to a virtual desktop server; the method comprises the following steps:
receiving a login request sent by a target terminal; the target terminal is connected with external equipment;
responding to the login request, and starting a virtual machine; the virtual machine is provided with drive information of the external equipment;
receiving the configuration information sent by the target terminal;
receiving a control instruction sent by the target terminal; responding to the control instruction, and controlling the external equipment according to the configuration information and the drive; wherein the control instruction is a control instruction for the external device, which is input by a user and detected by the target terminal.
11. The method of claim 10, wherein prior to receiving the login request sent by the target terminal, the method further comprises: and deriving the virtual machine according to a virtual machine template, wherein the driving information is preinstalled in the virtual machine template.
12. The method of claim 10 or 11, wherein prior to starting a virtual machine in response to the login request, the method further comprises:
receiving the driving information sent by the cloud server; the driving information is sent by the cloud server under the condition that the cloud server receives a virtual machine configuration request; the virtual machine configuration request is sent by the target terminal under the condition that the external equipment is detected.
13. The target terminal is characterized by comprising a first transceiver module, a second transceiver module and a third transceiver module, wherein the first transceiver module is used for receiving configuration information of the external equipment, which is sent by a cloud server, after a virtual machine in a virtual desktop server is started; sending the configuration information to the virtual machine; when a control instruction which is input by a user and aims at the external equipment is detected, sending the control instruction to the virtual machine; the virtual machine is provided with drive information of at least one external device; the virtual machine is used for responding to the control instruction and controlling the external equipment according to the configuration information and the driving information.
14. The cloud server is characterized by comprising a second transceiver module, a second transceiver module and a second transceiver module, wherein the second transceiver module is used for receiving configuration information of external equipment respectively uploaded by a plurality of terminals;
after a virtual machine in a virtual desktop server is started, configuration information is sent to a target terminal; the target terminal is any one of the plurality of terminals; and the target terminal is used for sending the configuration information to the virtual machine, and the target terminal is connected with external equipment.
15. A virtual desktop server, comprising a third transceiver module and a processing module, wherein:
the third transceiver module is used for receiving a login request sent by a target terminal; the target terminal is connected with external equipment;
the processing module is used for responding to the login request and starting a virtual machine; the virtual machine is provided with drive information of the external equipment;
the third transceiver module is configured to send a message that the virtual machine is started after the virtual machine is started, and receive the configuration information sent by the target terminal;
the third transceiver module is further configured to receive a control instruction sent by the target terminal after the virtual machine is started; wherein the control instruction is a control instruction for the external device, which is input by the user and detected by the target terminal
And the processing module is also used for responding to the control instruction and controlling the external equipment according to the configuration information and the drive.
16. A target terminal comprising a processor and a memory for storing a computer program operable on the processor; wherein the content of the first and second substances,
the processor is configured to run the computer program to perform the method of any of claims 1 to 6.
17. A cloud server comprising a processor and a memory for storing a computer program capable of running on the processor; wherein the content of the first and second substances,
the processor is configured to run the computer program to perform the method of any of claims 7 to 9.
18. A virtual desktop server comprising a processor and a memory for storing a computer program capable of running on the processor; wherein the content of the first and second substances,
the processor is configured to run the computer program to perform the method of any of claims 10 to 12.
19. A device control system, characterized in that the device control system comprises the target terminal of claim 13 or 16, the cloud server of claim 14 or 17, and the virtual desktop server of claim 15 or 18.
20. A computer-readable storage medium for execution by a processor to implement the device control method of any of claims 1 to 6, claims 7 to 9, or claims 10 to 12.
CN202110739334.0A 2021-06-30 2021-06-30 Device control method, target terminal, cloud, virtual desktop server and medium Pending CN113448672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110739334.0A CN113448672A (en) 2021-06-30 2021-06-30 Device control method, target terminal, cloud, virtual desktop server and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110739334.0A CN113448672A (en) 2021-06-30 2021-06-30 Device control method, target terminal, cloud, virtual desktop server and medium

Publications (1)

Publication Number Publication Date
CN113448672A true CN113448672A (en) 2021-09-28

Family

ID=77814472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110739334.0A Pending CN113448672A (en) 2021-06-30 2021-06-30 Device control method, target terminal, cloud, virtual desktop server and medium

Country Status (1)

Country Link
CN (1) CN113448672A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327504A (en) * 2021-12-01 2022-04-12 阿里巴巴(中国)有限公司 Communication method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324278A (en) * 2012-10-30 2013-09-25 中兴通讯股份有限公司 Terminal device, system and method for accessing virtual desktops
CN104601617A (en) * 2013-10-31 2015-05-06 南京中兴新软件有限责任公司 Peripheral access processing method and device in virtual desktop system
US10360172B1 (en) * 2017-02-01 2019-07-23 Amazon Technologies, Inc. Decoupled peripheral devices
CN112313614A (en) * 2019-05-30 2021-02-02 华为技术有限公司 Method, device and system for printing file in virtual machine by using terminal equipment
CN112416483A (en) * 2019-08-23 2021-02-26 中兴通讯股份有限公司 Method for accessing multiple displays to cloud desktop and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324278A (en) * 2012-10-30 2013-09-25 中兴通讯股份有限公司 Terminal device, system and method for accessing virtual desktops
CN104601617A (en) * 2013-10-31 2015-05-06 南京中兴新软件有限责任公司 Peripheral access processing method and device in virtual desktop system
US10360172B1 (en) * 2017-02-01 2019-07-23 Amazon Technologies, Inc. Decoupled peripheral devices
CN112313614A (en) * 2019-05-30 2021-02-02 华为技术有限公司 Method, device and system for printing file in virtual machine by using terminal equipment
CN112416483A (en) * 2019-08-23 2021-02-26 中兴通讯股份有限公司 Method for accessing multiple displays to cloud desktop and related equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘洁;王哲;: "智能型桌面云网络", 电信科学, no. 12, pages 138 - 143 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327504A (en) * 2021-12-01 2022-04-12 阿里巴巴(中国)有限公司 Communication method and system

Similar Documents

Publication Publication Date Title
US10637953B2 (en) Apparatus, system and method for cache management
US9164710B2 (en) Service providing system and service providing method
EP3541098B1 (en) Processing method for communication identifier binding and terminal
US9648180B2 (en) Information processing system performing operation based on tag information, information processing device, portable terminal and non-transitory computer readable recording medium
CN109871222B (en) Application updating method and recording medium
EP3579592B1 (en) Operating system updating method and device
EP2899650A1 (en) Information processing system, terminal apparatus, and control method for terminal apparatus
WO2019072165A1 (en) Method and device for automatically managing virtualized flow mirroring policy, and storage medium
CN101808176A (en) Image forming apparatus, license management system and license management method
WO2019237438A1 (en) System, electronic device, and method for online firmware upgrading
US11645087B1 (en) Management of a stateless device environment
US20170351503A1 (en) Method and system for installing software
CN111031124B (en) Home equipment networking deployment method and device, electronic equipment and storage medium
CN113448672A (en) Device control method, target terminal, cloud, virtual desktop server and medium
US20130139240A1 (en) Network system, information processing apparatus, method for controlling the information processing apparatus, and computer-readable storage medium for computer program
JP6855860B2 (en) Image forming device, information processing terminal and program
JP2012053836A (en) Application management system
CN108121578B (en) Method and device for generating application program, storage medium and electronic equipment
CN107219780B (en) Control method of controlled device, control device, configuration method of control device and terminal
CN114301771B (en) Virtual machine configuration method and device and electronic equipment
WO2023050913A1 (en) Smart device cloud server access method and apparatus, medium, device and system
CN115658221A (en) State detection method, service virtual machine, equipment and medium
JP6259919B2 (en) Communication method between server and secure element
JP7455613B2 (en) Information processing device, its control method, and program
CN104468671A (en) Configuration information processing method, device and relevant device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination