Disclosure of Invention
In order to solve the existing technical problem, the embodiment of the invention provides a display method and a terminal of a virtual desktop.
The embodiment of the invention provides a display method of a virtual desktop, which comprises the following steps:
after searching the display equipment with DLNA function around, the terminal establishes connection with the display equipment; after the authentication of the cloud service terminal is successful, the terminal receives image data from a virtual desktop of the cloud service terminal and transmits the image data to the display equipment;
the terminal starts the function of the input device, transmits data of the user operating the input device to the cloud server, and transmits image data corresponding to the input device and fed back by the cloud server to the display device.
Wherein the input device comprises:
a touch pad, and/or a touch screen, and/or a keyboard.
When the input device is a keyboard, the terminal transmits data of the user operating the input device to the cloud server, and transmits image data corresponding to the input device and fed back by the cloud server to the display device, and the method includes:
and the terminal transmits the content input by the user through the virtual keyboard to the cloud server, and transmits the image data which is fed back by the cloud server and corresponds to the content input by the virtual keyboard to the display equipment for displaying.
When the input device is a touch screen, the terminal transmits data of the user operating the input device to the cloud server, and transmits image data corresponding to the input device and fed back by the cloud server to the display device, and the method includes the following steps:
the terminal transmits data when the user directly operates the terminal touch screen to the cloud server, and transmits image data which are fed back by the cloud server and correspond to the data when the user directly operates the terminal touch screen to the display device for displaying.
When the input device is a touch pad, the terminal transmits data of the input device operated by a user to the cloud server, and transmits image data corresponding to the input device and fed back by the cloud server to the display device, and the method includes the following steps:
the terminal transmits data when the user operates the terminal touch pad to the cloud server, and transmits image data which are fed back by the cloud server and correspond to the data when the user operates the terminal touch pad to the display device for displaying.
An embodiment of the present invention further provides a terminal, where the terminal includes: the device comprises a connection establishing module, a data transceiving module and an operation processing module; wherein,
the connection establishing module is used for establishing connection with the display equipment after searching the display equipment with DLNA function around;
the data receiving and sending module is used for receiving the image data from the virtual desktop of the cloud service terminal after the authentication of the cloud service terminal is successful, and transmitting the image data to the display equipment; transmitting data of the user operation input equipment sent by the operation processing module to the cloud server, and transmitting image data corresponding to the input equipment and fed back by the cloud server to the display equipment;
and the operation processing module is used for starting the function of the input equipment and transmitting the data of the user operation input equipment to the data transceiver module.
Wherein the input device comprises:
a touch pad, and/or a touch screen, and/or a keyboard.
Before, when the input device is a keyboard, the data of the user operating the input device is: the content input by the user through the virtual keyboard; accordingly, the method can be used for solving the problems that,
the data transceiver module transmits data of the user operating the input device to the cloud server and transmits image data corresponding to the input device and fed back by the cloud server to the display device, and the data transceiver module comprises:
the data receiving and sending module transmits the content input by the user through the virtual keyboard and sent by the operation processing module to the cloud server, and transmits the image data corresponding to the content input by the virtual keyboard and fed back by the cloud server to the display device for displaying.
When the input device is a touch screen, the data of the user operating the input device is as follows: data when a user directly operates a terminal touch screen; accordingly, the method can be used for solving the problems that,
the data transceiver module transmits data of the user operating the input device to the cloud server and transmits image data corresponding to the input device and fed back by the cloud server to the display device, and the data transceiver module comprises:
the data receiving and sending module transmits the data which are sent by the operation processing module and are generated when the user directly operates the terminal touch screen to the cloud server, and transmits the image data which are fed back by the cloud server and correspond to the data which are generated when the user directly operates the terminal touch screen to the display device for displaying.
When the input device is a touch pad, the data of the user operating the input device is as follows: data when a user operates a terminal touch panel; accordingly, the method can be used for solving the problems that,
the data transceiver module transmits data of the user operating the input device to the cloud server and transmits image data corresponding to the input device and fed back by the cloud server to the display device, and the data transceiver module comprises:
the data receiving and sending module transmits the data which are sent by the operation processing module when the user operates the touch panel of the terminal to the cloud server, and transmits the image data which are fed back by the cloud server and correspond to the data which are fed back by the cloud server when the user operates the touch panel on the terminal to the display device for displaying.
According to the display method and the terminal of the virtual desktop, after the terminal searches for the display equipment with the DLNA (digital Living network alliance) function around, the connection is established with the display equipment; after the authentication of the cloud service terminal is successful, the terminal receives image data from a virtual desktop of the cloud service terminal and transmits the image data to the display equipment; the terminal starts the function of the input device, transmits data of the user operating the input device to the cloud server, and transmits image data corresponding to the input device and fed back by the cloud server to the display device. The embodiment of the invention can display the virtual desktop on a larger screen, and is more suitable for a plurality of people to watch the scene of the virtual desktop; in addition, the embodiment of the invention realizes the functions of various input devices such as a keyboard, a touch pad, a touch screen and the like through the terminal, and is simpler and more convenient than the traditional method for realizing the virtual desktop through a plurality of external devices, simple operation and higher user experience.
Detailed Description
In the embodiment of the invention, after searching the display equipment with DLNA function around, the terminal establishes connection with the display equipment; after the authentication of the cloud service terminal is successful, the terminal receives image data from a virtual desktop of the cloud service terminal and transmits the image data to the display equipment;
the terminal starts the function of the input device, transmits data of the user operating the input device to the cloud server, and transmits image data corresponding to the input device and fed back by the cloud server to the display device.
The invention is described in further detail below with reference to the figures and the embodiments.
Fig. 1 is a schematic flow chart illustrating an implementation process of a display method of a virtual desktop according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 101: after searching the display equipment with DLNA function around, the terminal establishes connection with the display equipment;
step 102: after the authentication of the cloud service terminal is successful, the terminal receives image data from a virtual desktop of the cloud service terminal and transmits the image data to the display equipment;
step 103: the terminal starts the function of the input equipment and transmits data of the user operation input equipment to the cloud server;
step 104: and the terminal transmits the image data corresponding to the input equipment fed back by the cloud server to the display equipment.
In the embodiment of the invention, the terminal supports virtual desktop application; the display equipment is a television and other display equipment with a large display screen.
The embodiment of the invention can display the virtual desktop on a larger screen, and is more suitable for a plurality of people to watch the scene of the virtual desktop; in addition, the embodiment of the invention realizes the functions of various input devices such as a keyboard, a touch pad, a touch screen and the like through the terminal, and is simpler and more convenient than the traditional method for realizing the virtual desktop through a plurality of external devices, simple operation and higher user experience.
Fig. 2 is a schematic flow chart illustrating an implementation process of a display method of a virtual desktop according to another embodiment of the present invention, as shown in fig. 2, the method includes:
step 201: the terminal searches for display equipment with DLNA function around and establishes connection with the display equipment;
here, the process of searching for a display device is similar to the process of searching for a nearby bluetooth device by a terminal.
Step 202: the terminal initiates a login request to the cloud server, the cloud server authenticates after receiving the login request, and replies a response of successful authentication to the terminal after the authentication is successful;
step 203: after receiving the response, the terminal waits for receiving the image data of the virtual desktop from the cloud server;
the image data is desktop content presented on the display device.
Step 204: the terminal receives the image data and forwards the image data to the display equipment through a DLNA protocol;
here, the terminal may also display the image data through its own display screen, for example: a smartphone supporting a virtual desktop application displays image data on a display screen.
Step 205: the terminal starts the function of the input equipment;
step 206: the terminal transmits data of the user operating the input equipment to the cloud server, and transmits image data corresponding to the data of the input equipment fed back by the cloud server to the display equipment.
In this case, the terminal may be used as an input device, such as: a touch pad, and/or a touch screen, and/or a keyboard, etc.
In an embodiment of the present invention, when the input device is a keyboard, the terminal transmits data of the input device operated by a user to a cloud server, and transmits image data corresponding to the input device and fed back by the cloud server to the display device, where the method includes:
the terminal transmits the content input by the user through the virtual keyboard to the cloud server, and transmits the image data corresponding to the content input by the virtual keyboard and fed back by the cloud server to the display equipment for displaying.
In an embodiment of the present invention, when the input device is a touch screen, the terminal transmits data of a user operating the input device to a cloud server, and transmits image data corresponding to the input device, which is fed back by the cloud server, to the display device, where the method includes:
the terminal transmits data when the user directly operates the terminal touch screen to the cloud server, and transmits image data which are fed back by the cloud server and correspond to the data when the user directly operates the terminal touch screen to the display device for displaying.
The scene corresponds to the operation of sliding or clicking and the like directly performed on the touch screen of the intelligent terminal by the user, and different images formed on the display screen of the terminal by corresponding operation are correspondingly displayed on the display equipment.
In an embodiment of the present invention, when the input device is a touch panel, the terminal transmits data of the input device operated by a user to a cloud server, and transmits image data corresponding to the input device and fed back by the cloud server to the display device, where the method includes:
the terminal transmits data when the user operates the touch panel on the terminal to the cloud server, and transmits image data which are fed back by the cloud server and correspond to the data when the user operates the touch panel on the terminal to the display device for displaying.
The scene corresponds to the operation of sliding or clicking and the like performed by a user on a touch pad of a terminal (such as a notebook computer), and the user can perform the operation according to the image displayed on the display equipment without watching a display screen of the terminal, so that the terminal can be in a black screen state at the moment, and the aim of saving electric energy is fulfilled.
An embodiment of the present invention further provides a terminal, as shown in fig. 3, where the terminal includes: a connection establishing module 301, a data transceiving module 302 and an operation processing module 303; wherein,
the connection establishing module 301 is configured to establish a connection with a display device having a DLNA function after searching for the display device around;
the data transceiver module 302 is configured to receive image data from a virtual desktop of a cloud service end after authentication of the cloud service end is successful, and transmit the image data to the display device; transmitting data of the user operation input device sent by the operation processing module 303 to the cloud server, and transmitting image data corresponding to the input device, which is fed back by the cloud server, to the display device;
the operation processing module 303 is configured to start a function of the input device, and transmit data of the user operating the input device to the data transceiver module.
In the embodiment of the invention, the terminal supports virtual desktop application; the display equipment is a television and other display equipment with a large display screen.
The embodiment of the invention can display the virtual desktop on a larger screen, and is more suitable for a plurality of people to watch the scene of the virtual desktop; in addition, the embodiment of the invention realizes the functions of various input devices such as a keyboard, a touch pad, a touch screen and the like through the terminal, and is simpler and more convenient than the traditional method for realizing the virtual desktop through a plurality of external devices, simple operation and higher user experience.
Wherein the input device comprises: a touch pad, and/or a touch screen, and/or a keyboard.
In an embodiment of the present invention, when the input device is a keyboard, the data of the user operating the input device is: the content input by the user through the virtual keyboard; accordingly, the method can be used for solving the problems that,
the data transceiver module 302 transmits data of the user operating the input device to the cloud server, and transmits image data corresponding to the input device, which is fed back by the cloud server, to the display device, including:
the data receiving and sending module transmits the content input by the user through the virtual keyboard and sent by the operation processing module to the cloud server, and transmits the image data corresponding to the content input by the virtual keyboard and fed back by the cloud server to the display device for displaying.
In an embodiment of the present invention, when the input device is a touch screen, the data of the user operating the input device is: data when a user directly operates a terminal touch screen; accordingly, the method can be used for solving the problems that,
the data transceiver module 302 transmits data of the user operating the input device to the cloud server, and transmits image data corresponding to the input device, which is fed back by the cloud server, to the display device, including:
the data receiving and sending module transmits the data which are sent by the operation processing module and are generated when the user directly operates the terminal touch screen to the cloud server, and transmits the image data which are fed back by the cloud server and correspond to the data which are generated when the user directly operates the terminal touch screen to the display device for displaying.
The scene corresponds to the operation of sliding or clicking and the like directly performed on the touch screen of the intelligent terminal by the user, and different images formed on the display screen of the terminal by corresponding operation are correspondingly displayed on the display equipment.
In an embodiment of the present invention, when the input device is a touch panel, the data of the user operating the input device is: data when a user operates a terminal touch panel; accordingly, the method can be used for solving the problems that,
the data transceiver module 302 transmits data of the user operating the input device to the cloud server, and transmits image data corresponding to the input device, which is fed back by the cloud server, to the display device, including:
the data receiving and sending module transmits the data which are sent by the operation processing module when the user operates the touch panel of the terminal to the cloud server, and transmits the image data which are fed back by the cloud server and correspond to the data which are fed back by the cloud server when the user operates the touch panel on the terminal to the display device for displaying.
The scene corresponds to the operation of sliding or clicking and the like performed by a user on a touch pad of a terminal (such as a notebook computer), and the user can perform the operation according to the image displayed on the display equipment without watching a display screen of the terminal, so that the terminal can be in a black screen state at the moment, and the aim of saving electric energy is fulfilled.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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 invention, and is not intended to limit the scope of the present invention.