1. Technical Field
Embodiments of the present disclosure relate to computer management technology, and particularly to a computing device and a remote desktop management method of the computing device.
2. Description of Related Art
In order to remotely manage desktops of remote devices, a remote desktop management application needs to be installed in a control computer. Via the control computer, users can remotely manage desktops of the remote devices. If an operating system of the control computer changes, the remote desktop management application needs to be modified, causing inconvenience to the users.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
In general, the word “module”, as used herein, refers to logic embodied in computing or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an erasable programmable read only memory (EPROM). The modules described herein may be implemented as either software and/or computing modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
In the embodiment, the computing device 10 further includes a storage system 15 and at least one processor 16. The storage system 15 may be a dedicated memory, such as an EPROM, a hard disk drive, or flash memory. In some embodiments, the storage system 15 may be an external storage device, such as an external hard disk, a storage card, or a data storage medium.
In step S301, the generation module 200 generates a webpage that lists all the remote devices 13. For example, the webpage includes a plurality of icons, each of which represents one of the remote devices 13.
When one of the remote devices 13 is selected by the control computer 12 from the webpage, in step S302, the generation module 200 determines a computer name and an IP address of the selected remote device 13, and receives display parameters of the selected remote device 13 from the control computer 12. Computer names and IP addresses of the remote device 13 may be pre-stored in the storage system 15. The generation module 200 may obtain the computer name and the IP address of the selected remote device 13 from the pre-stored computer names and IP addresses. The display parameters may include a resolution of a remote desktop of the selected remote device 13. For example, the resolution of the remote desktop of the selected remote device 13 is 512×384 pixels.
In step S303, the creation module 210 creates a component object model (COM) object that complies with a remote desktop protocol in the webpage. In one embodiment, the creation module 210 may output creation failure information on the webpage if the COM object fails to be created.
In step S304, the configuration module 220 configures the COM object according to the computer name, the IP address, and the display parameters of the selected remote device 13. As such, the COM object is bound to the selected remote device 13. For example, configuration parameters of the COM object include a computer name, an IP address, and display parameters. The configuration module 220 sets the computer name of the selected remote device 13 as the computer name of the COM object, sets the IP address of the selected remote device 13 as the IP address of the COM object, and sets the display parameters of the selected remote device 13 as the display parameters of the COM object.
In step S305, the determination module 230 determines an operating system used in the selected remote device 13. Operating system information of the selected remote device 13 may be recorded in a system configuration file of the selected remote device 13. The determination module 230 reads the system configuration file to obtain operating system information, and determines the operating system used in the selected remote device 13 according to the operating system information.
In step S306, the connection module 240 uses the COM object to establish a remote connection between the computing device 10 and the selected remote device 13 according to the operation system used in the selected remote device 13, and generates a remote desktop of the selected remote device 13 on the webpage. Therefore, users can access the webpage to manage the remote desktop of the selected remote device 13 via the control computer 12 without any remote desktop management application installed in the control computer 12. In one embodiment, the COM object invokes a connection function corresponding to the operating system to establish the remote connection to the selected remote device 13.
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201210077823.5 | Mar 2012 | CN | national |