Method and system for adaptively updating graphics card driver on cloud desktop

By automatically updating the graphics card driver of terminal devices in cloud desktop technology, the problem of unadaptation of graphics card drivers in multiple hardware models and old systems is solved, improving update efficiency and saving costs.

CN119002968APending Publication Date: 2024-11-22XIAN LEIFENG ELECTRONIC TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411382632.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing cloud desktop technology is difficult to adapt to terminal devices of many different hardware models and old systems, resulting in unadaptation problems of graphics card drivers and increasing adaptation time and cost.

Method used

After initialization, the terminal device reads hardware information and graphics card driver model, and sends it to the server device to determine whether it is adapted. If it is not adapted, a driver update file will be generated and sent to realize automatic update of graphics card driver.

Benefits of technology

One-click upgrade of terminal equipment graphics card drivers has been realized, saving costs, improving update efficiency, and avoiding the need for re-engraving and manually configuring new machines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002968A_ABST
    Figure CN119002968A_ABST
Patent Text Reader

Abstract

The invention provides a method and system for adaptively updating a graphics card driver on a cloud desktop, and the method comprises the steps: reading the hardware information of terminal equipment and the model of the current graphics card driver after the terminal equipment is initialized, and transmitting the hardware information and the model of the current graphics card driver to server equipment; the server equipment determines whether the current graphics card driver of the terminal equipment is adaptive to the cloud desktop according to the received model of the current graphics card driver, and if not, a first notification message is sent to the terminal equipment; the terminal equipment responds to the received first notification message and outputs prompt information to prompt a user to update the display card driver; the terminal device sends a second notification message to the server device in response to an instruction input by a user; and the server device responds to the second notification message, determines the model of the target graphics card driver and generates a driver update file according to the received hardware information, and sends the driver update file to the terminal device, so that the terminal device updates the current graphics card driver into the target graphics card driver according to the driver update file, and one-key update of the graphics card driver is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method and system for adaptively updating a graphics card driver for a cloud desktop. Background Art

[0002] The voi cloud desktop currently used in the market first needs to initialize the cloud desktop terminal, then register the terminal to the server device, send the desktop prepared on the server device to the terminal, and modify the login mode, that is, by modifying the system's grub file, so that the terminal enters from the desktop every time it is turned on. However, this traditional approach cannot adapt to the following three scenarios:

[0003] (1) There is no problem with a single model of terminal hardware. However, in actual projects, there is often not just one model of terminal, but multiple different hardware models and terminals from different manufacturers. Therefore, this traditional method may not be able to meet the requirements. If a batch of hardware terminals is not compatible, it will take more time to adapt this model of terminal.

[0004] (2) In certain specific projects, the unit purchases a batch of new machines. Since some specific software can only run on the old system, although they are newly purchased machines and new hardware, the system still needs to use the old system. In this case, it may be necessary to adapt these new hardware devices.

[0005] (3) In the scenario of reusing old machines, since the project version has been continuously updated and optimized, the new version may have been updated to the latest operating system, but the old machines may be from many years ago and can still be used without any problems. In this case, the hardware may be too old and the version is too new, and some system drivers need to be downgraded to adapt to these old machines. Summary of the invention

[0006] In order to solve the above problems existing in the prior art, the present invention provides a method and system for adaptively updating a graphics card driver for a cloud desktop, specifically comprising:

[0007] In a first aspect, the present invention provides a method for adaptively updating a graphics card driver for a cloud desktop, comprising:

[0008] After the initialization is completed, the terminal device reads the hardware information of the terminal device and the model of the current graphics card driver, and sends the read hardware information and the model of the current graphics card driver to the server device;

[0009] The server device determines, based on the received model of the current graphics driver, whether the current graphics driver of the terminal device is adapted to the cloud desktop, and if not, sends a first notification message to the terminal device;

[0010] The terminal device outputs prompt information in response to the received first notification message to prompt the user to update the graphics card driver;

[0011] The terminal device sends a second notification message to the server device in response to the graphics card driver update instruction input by the user;

[0012] The server device responds to the second notification message, determines the model of the target graphics card driver based on the received hardware information, generates a driver update file based on the model of the target graphics card driver, and sends the driver update file to the terminal device so that the terminal device updates the current graphics card driver to the target graphics card driver based on the driver update file.

[0013] In a second aspect, the present invention further provides a system for adaptively updating a graphics card driver on a cloud desktop, comprising:

[0014] Terminal equipment and server equipment;

[0015] The terminal device is used to read the hardware information of the terminal device and the model of the current graphics driver after initialization is completed, and send the read hardware information and the model of the current graphics driver to the server device;

[0016] The server device is used to determine whether the current graphics card driver of the terminal device is adapted to the cloud desktop according to the received model of the current graphics card driver, and if not, send a first notification message to the terminal device;

[0017] The terminal device is further configured to output prompt information in response to the received first notification message to prompt the user to update the graphics card driver;

[0018] The terminal device is further configured to send a second notification message to the server device in response to a graphics card driver update instruction input by a user;

[0019] The server device is also used to respond to the second notification message, determine the model of the target graphics card driver according to the received hardware information, generate a driver update file according to the model of the target graphics card driver, and send the driver update file to the terminal device, so that the terminal device updates the current graphics card driver to the target graphics card driver according to the driver update file.

[0020] In a third aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, any one of the methods provided in the first aspect is implemented.

[0021] Beneficial effects of the present invention:

[0022] The method and system for adaptively updating a graphics card driver of a cloud desktop provided by the present invention reads the hardware information of the terminal device and the model of the current graphics card driver after initialization is completed by the terminal device, and sends the read hardware information and the model of the current graphics card driver to the server device; the server device determines whether the current graphics card driver of the terminal device is adapted to the cloud desktop according to the received model of the current graphics card driver, and if not, sends a first notification message to the terminal device; the terminal device outputs prompt information in response to the received first notification message to prompt the user to update the graphics card driver; the terminal device sends a second notification message to the server device in response to the graphics card driver update instruction input by the user; the server device determines the model of the target graphics card driver according to the received hardware information in response to the second notification message, generates a driver update file according to the model of the target graphics card driver, and sends the driver update file to the terminal device, so that the terminal device updates the current graphics card driver to the target graphics card driver according to the driver update file, and can realize a one-key upgrade of the graphics card driver of the terminal device without re-burning the disc or manually configuring the new machine, which not only saves costs but also has a high update efficiency.

[0023] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of a flow chart of a method for adaptively updating a graphics card driver for a cloud desktop provided by the present invention;

[0025] Figure 2 A schematic diagram of the structure of a system for a method for adaptively updating a graphics card driver for a cloud desktop provided by the present invention. DETAILED DESCRIPTION

[0026] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.

[0027] In order to solve the problems existing in the prior art, the present invention provides a method for adaptively updating a graphics card driver for a cloud desktop. The method aims to directly upgrade the graphics card driver if it is found that the graphics card driver of the cloud desktop does not support the hardware of the terminal device after the terminal device is initialized.

[0028] Figure 1 A flowchart of a method for adaptively updating a graphics card driver for a cloud desktop provided by the present invention is shown in FIG. Figure 1 As shown, the method includes:

[0029] S101. After initialization is completed, the terminal device reads the hardware information of the terminal device and the model of the current graphics card driver, and sends the read hardware information and the model of the current graphics card driver to the server device.

[0030] S102: The server device determines whether the current graphics card driver of the terminal device is compatible with the cloud desktop according to the received model of the current graphics card driver. If not, a first notification message is sent to the terminal device.

[0031] Cloud desktop, also known as desktop virtualization or cloud computer, is a new model to replace traditional computers.

[0032] voi cloud desktop is a new desktop cloud product with centralized desktop management and local distributed computing. It can fully utilize the computing performance of the terminal itself and effectively reduce the network pressure of the back-end server equipment. It can also realize the unified management and maintenance of large-scale decentralized and heterogeneous terminals, and remotely deploy and update desktops in a unified manner. It is suitable for scenarios with complex networks, multiple peripherals, and the need to manage old PCs.

[0033] S103. The terminal device outputs prompt information in response to the received first notification message to prompt the user to update the graphics card driver.

[0034] Exemplarily, the terminal device may output prompt information in the form of images or text through an interactive interface, or may output prompt information in the form of audio through an audio module, without specific limitation.

[0035] S104: The terminal device sends a second notification message to the server device in response to the graphics card driver update instruction input by the user.

[0036] Exemplarily, the user inputs a graphics card driver update instruction by pressing a corresponding virtual or physical button.

[0037] It should be noted that the server device may also directly respond to the graphics driver update instruction input by the user on the server device side.

[0038] S105. The server device responds to the second notification message, determines the model of the target graphics card driver according to the received hardware information, generates a driver update file according to the model of the target graphics card driver, and sends the driver update file to the terminal device, so that the terminal device updates the current graphics card driver to the target graphics card driver according to the driver update file.

[0039] In a possible implementation, the server device generates a driver update file according to the model of the target graphics driver, and sends the driver update file to the terminal device, so that the terminal device updates the current graphics driver to the target graphics driver according to the driver update file, including the following steps A1 and A2:

[0040] A1. The server device queries the local database according to the model of the target graphics card driver to determine whether a corresponding deb installation package is stored. If so, the deb installation package corresponding to the model of the target graphics card driver is sent to the terminal device as a driver update file.

[0041] Optionally, if the server device does not find the deb installation package corresponding to the model of the target graphics card driver, the server device generates a script file according to the model of the target graphics card driver, and sends the script file to the terminal device; after the terminal device receives the script file, the server device sends a third notification message to the server device to notify the server device of the reception status of the script file; the server device responds to the third notification message and sends a script execution instruction to the terminal device; the terminal device responds to the script execution instruction and executes the script file to update the current graphics card driver to the target graphics card driver.

[0042] deb installation package: Debian Binary Package, is the standard format for software package distribution and installation used in Debian operating system and its derivative versions (such as Ubuntu, Linux Mint, etc.). deb installation package is an important software package distribution and installation format in Debian and its derivative versions. By understanding the structure, characteristics and management tools of deb installation package, users can better utilize the software resources on these distributions.

[0043] A2. The terminal device installs the deb installation package corresponding to the target graphics card driver model, and updates the current graphics card driver to the target graphics card driver.

[0044] The method is based on an offline mode and can adaptively update the graphics card driver on the terminal device following the cloud desktop, thus having a higher update efficiency.

[0045] In another possible implementation, the server device generates a driver update file according to the model of the target graphics driver, and sends the driver update file to the terminal device, so that the terminal device updates the current graphics driver to the target graphics driver according to the driver update file, including B1-B4:

[0046] B1. The server device generates a script file according to the model of the target graphics card driver, and sends the script file to the terminal device.

[0047] B2. After receiving the script file, the terminal device sends a third notification message to the server device to notify the server device of the receiving status of the script file.

[0048] B3. The server device sends a script execution instruction to the terminal device in response to the third notification message.

[0049] B4. The terminal device executes the script file in response to the script execution instruction to update the current graphics card driver to the target graphics card driver.

[0050] Optionally, the terminal device executes a script file to update the graphics card driver of the terminal device, including: the terminal device executes an installation source switching operation, switches the installation source of the initialization Linux system from sourcess.list to other installation sources, and downloads the deb installation package of the target graphics card driver from the new installation source; the terminal device executes an apt update command to load the deb installation package of the target graphics card driver; the terminal device executes an apt-get command based on the loaded deb installation package of the target graphics card driver to update the current graphics card driver to the target graphics card driver.

[0051] Specifically, the terminal device executes the apt-get command based on the loaded deb installation package of the target graphics driver to update the current graphics driver to the target graphics driver, including: the terminal device executes the apt-get command based on the loaded deb installation package of the target graphics driver, and automatically restarts to update the current graphics driver to the target graphics driver.

[0052] This method is based on an online mode and can adaptively update the graphics card driver on the terminal device following the cloud desktop, with a higher success rate.

[0053] Optionally, the method also includes: the terminal device sends the deb installation package and model of the target graphics driver obtained when executing the script file to the server device; the server device stores the deb installation package and model of the target graphics driver.

[0054] This method can continuously update the database on the server device and provide the terminal device with offline update data for the graphics card driver, thereby improving the graphics card update efficiency.

[0055] Optionally, the method further includes: after the terminal device updates the current graphics driver to the target graphics driver, sending a fourth notification message to the server device to notify the server device of the update status of the graphics driver on the terminal device.

[0056] This method can timely synchronize the graphics card update status of the terminal device to the server device.

[0057] Optionally, the method further includes: after the terminal device updates the current graphics driver to the target graphics driver, a fifth notification message is displayed through the interactive interface to show the user information about the graphics driver on the terminal device.

[0058] Exemplarily, the terminal device displays the current graphics card driver information or displays the version information of the graphics card driver before and after the update to the user through the interactive interface.

[0059] Through this method, users can timely understand the information of the graphics card driver of the terminal device, thereby improving the user experience.

[0060] Optionally, the method further includes: after the terminal device updates the current graphics driver to the target graphics driver, sending a sixth notification message to other user devices to notify the user of the update status of the graphics driver on the terminal device.

[0061] Exemplarily, a message is pushed to other user devices in the form of text messages or emails to inform the user of the update status of the graphics card driver on the terminal device.

[0062] Through this method, remote notification can be achieved to promptly inform the user of the update status of the graphics card driver on the user's terminal device, thereby improving the user experience.

[0063] The method for adaptively updating a graphics card driver for a cloud desktop provided by the present invention comprises the following steps: the terminal device reads the hardware information of the terminal device and the model of the current graphics card driver after initialization is completed, and sends the read hardware information and the model of the current graphics card driver to the server device; the server device determines whether the current graphics card driver of the terminal device is adapted to the cloud desktop according to the received model of the current graphics card driver, and if not, sends a first notification message to the terminal device; the terminal device outputs prompt information in response to the received first notification message to prompt the user to update the graphics card driver; the terminal device sends a second notification message to the server device in response to a graphics card driver update instruction input by the user; the server device determines the model of the target graphics card driver according to the received hardware information in response to the second notification message, generates a driver update file according to the model of the target graphics card driver, and sends the driver update file to the terminal device, so that the terminal device updates the current graphics card driver to the target graphics card driver according to the driver update file, and can realize a one-key upgrade of the graphics card driver of the terminal device without re-burning the disc or configuring a new machine, which not only saves costs but also has a high update efficiency.

[0064] Figure 2 A schematic diagram of the structure of a system for adaptively updating a graphics card driver for a cloud desktop provided by the present invention is shown in FIG. Figure 2 As shown, the system includes:

[0065] Terminal device 21 and server device 22;

[0066] The terminal device 21 is used to read the hardware information of the terminal device 21 and the model of the current graphics driver after initialization is completed, and send the read hardware information and the model of the current graphics driver to the server device 22.

[0067] The server device 22 is used to determine whether the current graphics card driver model of the terminal device 21 is compatible with the cloud desktop according to the received current graphics card driver model, and if not, send a first notification message to the terminal device 21.

[0068] The terminal device 21 is further configured to output prompt information in response to the received first notification message to prompt the user to update the graphics card driver;

[0069] The terminal device 21 is further configured to send a second notification message to the server device 22 in response to a graphics driver update instruction input by a user;

[0070] The server device 22 is also used to respond to the second notification message, determine the model of the target graphics card driver according to the received hardware information, generate a driver update file according to the model of the target graphics card driver, and send the driver update file to the terminal device, so that the terminal device 21 updates the current graphics card driver to the target graphics card driver according to the driver update file.

[0071] The present invention also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps provided in the above method embodiment are implemented.

[0072] As for the system / storage medium embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the specific contents and beneficial effects and other related matters can be referred to the partial description of the method embodiment.

[0073] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0074] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A method for adaptively updating a graphics card driver for a cloud desktop, characterized in that: include: After the initialization is completed, the terminal device reads the hardware information of the terminal device and the model of the current graphics card driver, and sends the read hardware information and the model of the current graphics card driver to the server device; The server device determines, according to the received model of the current graphics card driver, whether the current graphics card driver of the terminal device is adapted to the cloud desktop, and if not, sends a first notification message to the terminal device; The terminal device outputs prompt information in response to the received first notification message to prompt the user to update the graphics card driver; The terminal device sends a second notification message to the server device in response to the graphics card driver update instruction input by the user; The server device responds to the second notification message, determines the model of the target graphics card driver according to the received hardware information, generates a driver update file according to the model of the target graphics card driver, and sends the driver update file to the terminal device, so that the terminal device updates the current graphics card driver to the target graphics card driver according to the driver update file.

2. The method according to claim 1, characterized in that The server device generates a driver update file according to the model of the target graphics driver, and sends the driver update file to the terminal device, so that the terminal device updates the current graphics driver to the target graphics driver according to the driver update file, including: The server device queries the local database according to the model of the target graphics card driver to determine whether a corresponding deb installation package is stored, and if so, sends the deb installation package corresponding to the model of the target graphics card driver as a driver update file to the terminal device; The terminal device installs the deb installation package corresponding to the model of the target graphics card driver, and updates the current graphics card driver to the target graphics card driver.

3. The method according to claim 1, characterized in that The server device generates a driver update file according to the model of the target graphics driver, and sends the driver update file to the terminal device, so that the terminal device updates the current graphics driver to the target graphics driver according to the driver update file, including: The server device generates a script file according to the model of the target graphics card driver, and sends the script file to the terminal device; After receiving the script file, the terminal device sends a third notification message to the server device to notify the server device of the receiving status of the script file; The server device sends a script execution instruction to the terminal device in response to the third notification message; The terminal device executes the script file in response to the script execution instruction to update the current graphics card driver to the target graphics card driver.

4. The method according to claim 3, characterized in that: The terminal device executes the script file to update the graphics card driver of the terminal device, including: The terminal device performs an installation source switching operation, switches the installation source of the initialization Linux system from sourcess.list to another installation source, and downloads the deb installation package of the target graphics card driver from the new installation source; The terminal device executes the apt update command to load the deb installation package of the target graphics card driver; The terminal device executes an apt-get command based on the loaded deb installation package of the target graphics driver to update the current graphics driver to the target graphics driver.

5. The method according to claim 3 or 4, characterized in that: Also includes: The terminal device sends the deb installation package and model of the target graphics card driver obtained when executing the script file to the server device; The server device stores the deb installation package of the target graphics card driver and the model of the target graphics card driver.

6. The method according to any one of claims 1 to 4, characterized in that: Also includes: After the terminal device updates the current graphics driver to the target graphics driver, the terminal device sends a fourth notification message to the server device to notify the server device of the update status of the graphics driver on the terminal device.

7. The method according to any one of claims 1 to 4, characterized in that: Also includes: After the terminal device updates the current graphics driver to the target graphics driver, the fifth notification message is displayed through the interactive interface to show the information of the graphics driver on the terminal device to the user.

8. The method according to any one of claims 1 to 4, characterized in that: Also includes: After the terminal device updates the current graphics driver to the target graphics driver, the terminal device sends a sixth notification message to other user devices to notify the user of the update status of the graphics driver on the terminal device.

9. A system for adaptively updating a graphics card driver on a cloud desktop, characterized in that: include: Terminal equipment and server equipment; The terminal device is used to read the hardware information of the terminal device and the model of the current graphics card driver after initialization is completed, and send the read hardware information and the model of the current graphics card driver to the server device; The server device is used to determine whether the current graphics card driver of the terminal device is adapted to the cloud desktop according to the received model of the current graphics card driver, and if not, send a first notification message to the terminal device; The terminal device is further configured to output prompt information in response to the received first notification message to prompt the user to update the graphics card driver; The terminal device is further configured to send a second notification message to the server device in response to a graphics card driver update instruction input by a user; The server device is also used to respond to the second notification message, determine the model of the target graphics card driver according to the received hardware information, generate a driver update file according to the model of the target graphics card driver, and send the driver update file to the terminal device, so that the terminal device updates the current graphics card driver to the target graphics card driver according to the driver update file.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Cloud computer peripheral drive automatic adaptation system and method based on hardware ID matching

    CN121300866A