Computing instance processing method and apparatus, electronic device, and storage medium

By establishing the association relationship between the instance specifications and the display driver, and determining the display driver matching the target instance specifications for configuration, the problem of inflexible configuration scheme for computing instance display drivers in the prior art is solved, and flexible configuration and mirror reduction are achieved when the instance specifications are changed.

WO2025158215A1PCT designated stage Publication Date: 2025-07-31CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/IB2024/063337
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-25
Filing Date
2024-12-31
Publication Date
2025-07-31

AI Technical Summary

Technical Problem

The existing computing instance display driver configuration solution cannot flexibly meet the needs of frequent changes in instance specifications, resulting in the need to change the computing instance image when switching instance specifications, which cannot meet the flexible configuration requirements in cloud applications and cloud desktop scenarios.

Method used

Establish an association relationship between the instance specification and the display driver, determine the target display driver that matches the target instance specification according to the association relationship, and configure it to avoid mirror changes when the instance specification changes.

Benefits of technology

It realizes flexible configuration when instance specifications are changed, reduces the number of calculated instance mirrors, avoids the problem of inflexible change caused by the binding relationship between mirror and specifications, and does not interrupt user business.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure IB2024063337_31072025_PF_FP_ABST
    Figure IB2024063337_31072025_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of computing, and provides a computing instance processing method and apparatus, an electronic device, and a storage medium. The method comprises: acquiring a processing request for a computing instance, and determining a target instance specification of the computing instance on the basis of the processing request; on the basis of an association relationship between instance specifications and display driver programs, determining a target display driver program matching the target instance specification; and on the basis of the target display driver program, configuring a display driver program of the computing instance. In the embodiments, when an instance specification is changed, a display driver program matching the instance specification can be flexibly configured, without changing a computing instance image, so that the problem that an instance specification cannot be flexibly changed due to the binding relationship between a computing instance image and the instance specification is avoided. In addition, since there is no longer need to bind a matching computing instance image for each instance specification, the number of computing instance images provided can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] TECHNICAL FIELD The present disclosure relates to the field of cloud computing technology, and more particularly to a method, apparatus, electronic device, and storage medium for processing a computing instance. Computing services are provided for compute instances of different sizes. Computing instances of different instance specifications require different display drivers. Currently, typical display driver configuration schemes provide multiple compute instance images with various display drivers, and restrict the use of a particular compute instance image to a particular instance specification. Therefore, different compute instance images are needed for different instance specifications. However, in cloud applications and cloud desktop scenarios, there is a need for frequent switching and configuration changes between instance specifications. For example, when computing power requirements are high, a more powerful instance specification may be used, while when computing power requirements are low, a less powerful instance specification may be used to reduce costs. Current display driver configuration schemes for compute instances require changing the compute instance image when changing instance specifications. This configuration approach is inflexible and cannot meet the needs of frequent instance specification changes. SUMMARY OF THE INVENTION Embodiments of the present disclosure provide a method, apparatus, electronic device, and storage medium for processing compute instances to address the problem of inflexible display driver configuration schemes for compute instances, which cannot meet the needs of frequent instance specification changes. In a first aspect, embodiments of the present disclosure provide a method for processing a computing instance. The method comprises: obtaining a processing request for a computing instance, determining a target instance specification for the computing instance based on the processing request; determining a target display driver that matches the target instance specification based on an association between the instance specification and the display driver; and configuring the display driver for the computing instance based on the target display driver. In a second aspect, embodiments of the present disclosure provide a computing instance processing device. The device comprises: an obtaining module configured to obtain a processing request for a computing instance, determining a target instance specification for the computing instance based on the processing request; a determining module configured to determine a target display driver that matches the target instance specification based on an association between the instance specification and the display driver; and a configuring module configured to configure the display driver for the computing instance based on the target display driver. In a third aspect, embodiments of the present disclosure provide an electronic device comprising a memory, a processor, and a computer program stored in the memory. The processor implements any of the aforementioned methods when executing the computer program. In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium storing the computer program. The computer program, when executed by the processor, implements any of the aforementioned methods.Compared to existing technologies, the present disclosure has the following advantages: The present disclosure provides a computing instance processing method, apparatus, electronic device, and storage medium. First, a processing request for a computing instance is obtained and a target instance specification of the computing instance is determined based on the processing request. Then, a target display driver matching the target instance specification is determined based on the association between the instance specification and the display driver. Finally, the display driver for the computing instance is configured based on the target display driver. In this embodiment, an association between the instance specification and the display driver is established. Based on the association, a target display driver matching the target instance specification of the computing instance is determined and the display driver for the computing instance is configured. This allows for flexible configuration of a display driver matching the instance specification when the instance specification changes, without having to change the computing instance image. This avoids the issue of inflexible instance specification changes caused by the binding between the computing instance image and the instance specification. Furthermore, since a matching computing instance image is no longer required for each instance specification, the number of provided computing instance images can be reduced. The above description is merely an overview of the technical solutions of the present disclosure. To better understand the technical solutions of the present disclosure, implementation is possible in accordance with the contents of this specification. To make the above and other objectives, features, and advantages of the present disclosure more readily apparent, specific embodiments of the present disclosure are described below. In the accompanying drawings, unless otherwise specified, identical reference numerals throughout the multiple figures denote identical or similar components or elements. The drawings are not necessarily drawn to scale. It should be understood that these drawings depict only some embodiments of the present disclosure and should not be construed as limiting the scope of the present disclosure. Figure 1 is a schematic diagram of an application scenario of the method for processing a computing instance provided by the present disclosure. Figure 2 is a schematic diagram of an application scenario of the method for processing a computing instance provided by the present disclosure. Figure 3 is a flowchart of the method for processing a computing instance according to one embodiment of the present disclosure. Figure 4 is a flowchart of the method for processing a computing instance according to one embodiment of the present disclosure. Figure 5 is a flowchart of the method for processing a computing instance according to one embodiment of the present disclosure. Figure 6 is a flowchart of the method for processing a computing instance according to one embodiment of the present disclosure. Figure 7 is a block diagram of the structure of a computing instance processing apparatus according to one embodiment of the present disclosure. Figure 8 is a block diagram of an electronic device for implementing an embodiment of the present disclosure. The following description briefly describes certain exemplary embodiments. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present disclosure. Therefore, the drawings and description are to be regarded as illustrative rather than restrictive in nature. To facilitate understanding of the technical solutions of the embodiments of the present disclosure, the following describes related technologies of the embodiments of the present disclosure.The following related technologies are optional solutions that can be combined with the technical solutions of the embodiments of this disclosure in any manner and are all within the scope of protection of the embodiments of this disclosure. It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, storage, and display) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. The collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or deny. Figure 1 is a schematic diagram of an application scenario of the computing instance processing method provided by this disclosure. In this embodiment, the computing instance can be a virtual server applied to cloud computing, allowing users to select different computing capabilities, memory sizes, hard disk capacities, etc. as needed. The management and control shown in Figure 1 represents a virtual machine that manages and controls the computing instance and can be deployed on a cloud server. The virtualization shown in Figure 1 represents virtualization software running on a physical machine. Virtualization software is the underlying logic of the computing instance and is used to virtualize a virtual server as a computing instance. The instance shown in Figure 1 represents a computing instance. In this embodiment, instances and virtualization can be deployed on the same server, while management, instances, and virtualization can be deployed on the same server or on different servers. The application scenario shown in Figure 1 illustrates the process of configuring a display driver when a computing instance's configuration is changed. First, a user terminal sends a configuration change request, or a configuration change request, to the management and control system to change the instance specifications of the computing instance. Instance specifications include a set of parameters describing the instance's computing resources and performance characteristics, including CPU, GPU, memory, storage, and bandwidth. Management and control sends the change request to the virtualization system and a startup command to the virtualization system. The virtualization system starts the computing instance. Based on the configuration change request, management and control obtain the instance specifications of the compute instance after the configuration change, or the target instance specifications. Based on the pre-configured association between instance specifications and display drivers, management and control determines the version information of the target display driver that matches the target instance specifications. Management and control sends a command to the instance to obtain the current display driver version information. The instance reports the display driver version information to management and control. The target display driver's version information is compared with the current display driver's version information. The comparison results indicate that the target display driver and the current display driver do not match, that is, they are not the same version. Therefore, the display driver is invalid. The controller sends a driver uninstallation instruction to the instance. The instance uninstalls the current display driver and sends a successful uninstallation notification message to the controller.The control sends a restart command to the virtualization, which restarts the compute instance. The control sends a command to the compute instance to install a new driver. The compute instance obtains the driver download address from the control, downloads the target display driver from the driver download address, and installs it. The control sends a notification message to the control indicating the driver installation is complete. The control sends a restart command to the virtualization, which restarts the compute instance. Finally, the control sends a notification message to the user terminal indicating that the configuration change is complete, completing the instance specification configuration change for the compute instance. Figure 2 illustrates an application scenario for the computing instance processing method provided by the present disclosure. The deployment method of the various interacting entities in Figure 2 is the same as that in Figure 1 and will not be further described here. The application scenario illustrated in Figure 2 depicts the process of configuring a display driver when performing a software upgrade using a cloud desktop or cloud application on a compute instance. Cloud desktops or cloud applications using a compute instance refer to cloud desktops or cloud applications that utilize the computing power provided by the compute instance to implement corresponding service functions. Cloud desktops, also known as virtual desktops or remote desktops, are convenient and secure cloud-based virtual desktop services provided by cloud computing service providers. They support fast and convenient desktop environment creation, deployment, unified management, and operation and maintenance. Without the need for upfront investment in traditional hardware, a secure, high-performance, and low-cost desktop office system can be quickly built. Cloud applications transform the traditional "local installation, local computing" model of software into a "ready-to-use" service. These new applications connect to and control remote server clusters via the internet or a local area network to complete business logic or computing tasks. As shown in Figure 2, first, the user terminal sends a software upgrade request to the control center. The control center sends the software upgrade request to the instance, which then performs the software upgrade. Upon completion, the control center sends a notification message notifying the control center that the upgrade is complete. The control center then sends a restart command to the virtualization system, which restarts the instance. Based on the software upgrade request, the control center obtains the instance specifications of the upgraded compute instance, namely the target instance specifications. Based on the pre-configured association between instance specifications and display drivers, the control center determines the target display driver version information that matches the target instance specifications. The control center sends a command to the instance to obtain the current display driver version information. The instance then reports the display driver version information to the control center. The target display driver's version information is compared with the current display driver's version information. The comparison indicates that the target display driver and the current display driver do not match, that is, they are not the same version. Therefore, the display driver can be upgraded. The controller sends a driver uninstallation instruction to the instance. The instance uninstalls the current display driver and sends a successful uninstallation notification message to the controller. The controller sends a restart instruction to the virtualization system, which restarts the instance.The controller sends an instruction to install a new driver to the instance. The instance obtains the driver download address from the controller, downloads the target display driver according to the driver download address, and installs it. A notification message notifying the controller of the driver installation completion is sent to the controller. The controller sends a restart instruction to the virtualization system, which restarts the compute instance. Finally, the controller sends a notification message to the user terminal indicating the upgrade completion, completing the display driver upgrade. In the above embodiment, an association between instance specifications and display drivers is established. Based on the association, a target display driver matching the target instance specification of the compute instance is determined, and the display driver for the compute instance is configured. This allows for flexible configuration of a display driver matching the instance specification when the instance specification changes (e.g., due to a configuration change or software upgrade). This eliminates the need to change the compute instance image and disrupts user services, thus avoiding the issue of inflexible instance specification changes caused by the binding between the compute instance image and the instance specification. Furthermore, since a matching compute instance image is no longer required for each instance specification, the number of provided compute instance images can be reduced. The present disclosure provides a method for processing compute instances. The method in this embodiment can be applied to computing devices, which may include servers, etc. FIG3 is a flowchart of a method for processing a computing instance according to an embodiment of the present disclosure, comprising: Step S301: Obtaining a processing request for a computing instance and determining a target instance specification for the computing instance based on the processing request. A computing instance may be a virtual server used in cloud computing, supporting users to select different computing capabilities, memory sizes, hard disk capacities, and the like as needed. Obtaining a processing request for a computing instance may involve various methods, such as receiving a processing request sent by a user terminal. The processing request may include any of the following: an instance creation request, a configuration change request for a computing instance, or an upgrade request for a desktop or application using the computing instance. Different processing requests require different methods for determining the target instance specification. Step S302: Determining a target display driver that matches the target instance specification based on the association between the instance specification and the display driver. Multiple associations between instance specifications and display drivers are pre-set and can be configured according to specific needs, for example, by establishing a mapping between the instance specification and the display driver version information. Based on the instance specification and the mapping, the version information of the target display driver that matches the target instance specification can be retrieved. The instance specifications include a set of parameters for the computing resources and performance characteristics of the instance, including CPU, GPU, memory, storage, bandwidth, etc. Step S303: Configure the display driver of the computing instance based on the target display driver.Configuring the display driver for a compute instance may specifically include installing or changing the display driver for the compute instance. In this embodiment, since it is no longer necessary to bind a matching compute instance image to each instance specification, a single compute instance image can be provided to select a display driver that matches different instance specifications, thereby reducing the number of provided compute instance images. The compute instance processing method provided in this disclosed embodiment first obtains a processing request for a compute instance and determines a target instance specification for the compute instance based on the processing request. Then, based on the association between the instance specification and the display driver, a target display driver that matches the target instance specification is determined. Finally, based on the target display driver, the display driver for the compute instance is configured. In this embodiment, an association between the instance specification and the display driver is established. Based on the association, a target display driver that matches the target instance specification of the compute instance is determined, and the display driver for the compute instance is configured. This allows for flexible configuration of a display driver that matches the instance specification when the instance specification changes, without having to change the compute instance image. This avoids the issue of inflexible instance specification changes caused by the binding between the compute instance image and the instance specification. Furthermore, since it is no longer necessary to bind a matching compute instance image to each instance specification, the number of provided compute instance images can be reduced. The specific implementation process of the above steps is described below using multiple specific implementations. In one implementation, the processing request includes an instance creation request. In step S301, determining the target instance specification of the compute instance based on the processing request includes: creating the compute instance based on the instance creation request, obtaining the instance specification of the compute instance as the target instance specification; and configuring the display driver of the compute instance based on the target display driver, including configuring the target display driver as the display driver of the compute instance. In actual applications, if the processing request is an instance creation request, the instance creation request includes the instance specification of the compute instance to be created, i.e., the target instance specification. Based on the pre-configured association between the instance specification and the display driver, a target display driver matching the target instance specification is determined, and the target display driver is installed as the display driver of the compute instance. In one implementation, the processing request includes a configuration change request for a computing instance; and determining a target instance specification of the computing instance according to the processing request includes: obtaining, according to the configuration change request, an instance specification of the computing instance after the configuration change, as the target instance specification.In actual applications, if the processing request is a configuration change request, the configuration change request is parsed and the instance specifications after the configuration change are extracted as the target instance specifications. Based on the pre-configured association between the instance specifications and display drivers, a target display driver that matches the target instance specifications is determined. If the current display driver (i.e., the display driver before the configuration change) does not match the target display driver, or if the current display driver is operating abnormally, the current display driver is uninstalled and the target display driver is installed. In one implementation, the processing request includes an upgrade request for a cloud desktop or cloud application that uses a compute instance. Determining the target instance specifications of the compute instance based on the processing request includes: obtaining, based on the upgrade request, the instance specifications of the compute instance after the upgrade of the cloud desktop or cloud application as the target instance specifications. A cloud desktop or cloud application that uses a compute instance means that the cloud desktop or cloud application uses the computing power provided by the compute instance to implement the corresponding service functions. Cloud desktops, also known as virtual desktops and remote desktops, are convenient and secure cloud-based virtual desktop services provided by cloud computing service providers. They support fast and convenient desktop environment creation, deployment, unified management, control, and operation and maintenance. Without the need for upfront investment in traditional hardware, a secure, high-performance, and low-cost desktop office system can be quickly built. Cloud applications transform the traditional "local installation and local computing" model of software into a "ready-to-use" service. These new applications connect to and control remote server clusters via the internet or local area network to complete business logic or computing tasks. When upgrading software for a cloud desktop or cloud application using a compute instance, the display driver may also need to be upgraded simultaneously. If the request is for an upgrade of a cloud desktop or cloud application using a compute instance, the upgrade request is parsed and the upgraded instance specifications are extracted as the target instance specifications. Based on the pre-configured association between instance specifications and display drivers, a target display driver matching the target instance specifications is determined. If the current display driver (i.e., the display driver before the upgrade) does not match the target display driver, or if the current display driver is operating abnormally, the current display driver is uninstalled and the target display driver is installed. In one implementation, step S303 configures the display driver of the computing instance based on the target display driver, including: if the current display driver does not match the target display driver, or the current display driver is abnormal, uninstalling the current display driver and installing the target display driver.In actual applications, if the current display driver does not match the target display driver, or if the current display driver is operating abnormally, the current display driver is replaced with the target display driver, i.e., the current display driver is uninstalled and the target display driver is installed. In one implementation, the abnormal operating status of the current display driver includes at least one of the following: the current display driver has not obtained a license; or the operating system has not correctly loaded the current display driver. In actual applications, if the current display driver has not obtained a license, it cannot properly drive the display components of the cloud application or cloud desktop for normal display, which is one case of abnormal operating status. If the operating system has not correctly loaded the current display driver, the current display driver cannot properly drive the display components of the cloud application or cloud desktop for normal display, which is another case of abnormal operating status. Abnormal display driver operating status can include various other cases, which are not limited in this disclosure. In one implementation, the computing instance processing method further includes: obtaining version information corresponding to the current display driver and the target display driver, respectively; comparing the version information corresponding to the current display driver and the target display driver, and determining whether the current display driver matches the target display driver based on the comparison results. Optionally, the version information of the target display driver is compared with the version information of the current display driver. If the comparison result indicates that the target display driver and the current display driver do not match, i.e., they are not the same version, the current display driver is uninstalled and the target display driver is installed. Embodiments of the present disclosure provide a method for processing a computing instance. The method of this embodiment can be applied to a computing device, which may include a server, etc. FIG4 is a flowchart of the method for processing a computing instance according to an embodiment of the present disclosure, comprising: Step S401: Obtaining an instance creation request for a computing instance; creating a computing instance based on the instance creation request; and obtaining the instance specifications of the computing instance as target instance specifications. Step S402: Determining a target display driver that matches the target instance specifications based on the association between the instance specifications and the display driver; Step S403: Configuring the target display driver as the display driver for the computing instance.In this embodiment, an association between instance specifications and display drivers is established. Based on the association, a target display driver matching the target instance specification of the compute instance is determined, and the target display driver is configured as the display driver for the compute instance. This allows for flexible configuration of a display driver matching the instance specifications. Furthermore, since it is no longer necessary to bind a matching compute instance image to each instance specification, the number of provided compute instance images can be reduced. This embodiment of the present disclosure provides a method for processing a compute instance. The method of this embodiment can be applied to a computing device, which may include a server, etc. FIG5 is a flowchart of the method for processing a compute instance according to one embodiment of the present disclosure, comprising: Step S501: Obtaining a configuration change request for a compute instance. Based on the configuration change request, obtaining the instance specification of the compute instance after the configuration change, as the target instance specification. Step S502: Determining a target display driver matching the target instance specification based on the association between the instance specification and the display driver. Step S503: Obtaining version information corresponding to the current display driver and the target display driver, respectively. In step S504, the version information corresponding to the current display driver and the target display driver are compared, and based on the comparison results, it is determined whether the current display driver matches the target display driver. In step S505, if the current display driver does not match the target display driver, or if the current display driver is operating abnormally, the current display driver is uninstalled and the target display driver is installed. In this embodiment, an association between instance specifications and display drivers is established. Based on the association, a target display driver that matches the target instance specification of the compute instance is determined, and the display driver for the compute instance is configured. This allows for flexible configuration of a display driver that matches the instance specification when the compute instance configuration is changed, without changing the compute instance image and interrupting user services. This avoids the issue of inflexible instance specification changes caused by the binding between the compute instance image and the instance specification. Furthermore, since a matching compute instance image is no longer required for each instance specification, the number of provided compute instance images can be reduced. The present disclosure provides a method for processing compute instances. This method can be applied to computing devices, which may include servers, etc. FIG6 is a flowchart of a method for processing a computing instance according to an embodiment of the present disclosure, comprising: Step S601, obtaining an upgrade request for a cloud desktop or cloud application that uses a computing instance, and obtaining, based on the upgrade request, the instance specification of the computing instance after the cloud desktop or cloud application is upgraded as a target instance specification.In step S602, a target display driver that matches the target instance specifications is determined based on the association between instance specifications and display drivers. In step S603, version information corresponding to the current display driver and the target display driver is obtained. In step S604, the version information corresponding to the current display driver and the target display driver are compared, and based on the comparison results, whether the current display driver matches the target display driver is determined. In step S606, if the current display driver does not match the target display driver, or if the current display driver is operating abnormally, the current display driver is uninstalled and the target display driver is installed. In this embodiment, an association between instance specifications and display drivers is established. Based on this association, a target display driver that matches the target instance specifications of the compute instance is determined, and the display driver for the compute instance is configured. This allows for flexible configuration of a display driver that matches the instance specifications when upgrading cloud desktops or cloud applications using the compute instance, without changing the compute instance image or interrupting user services. This avoids the issue of inflexible instance specification changes caused by the binding between the compute instance image and the instance specifications. Furthermore, since it is no longer necessary to bind a matching compute instance image to each instance specification, the number of provided compute instance images can be reduced. Corresponding to the application scenarios and methods of the methods provided in the embodiments of the present disclosure, the embodiments of the present disclosure also provide a device for processing compute instances. FIG7 shows a block diagram of the structure of the device for processing compute instances according to one embodiment of the present disclosure. The device includes: an acquisition module 701 configured to acquire a processing request for a compute instance and determine a target instance specification for the compute instance based on the processing request. A determination module 702 configured to determine a target display driver that matches the target instance specification based on an association between the instance specification and the display driver. A configuration module 703 configured to configure the display driver for the compute instance based on the target display driver. The compute instance processing device provided in the embodiments of the present disclosure first acquires a processing request for the compute instance and determines the target instance specification for the compute instance based on the processing request. Then, based on the association between the instance specification and the display driver, it determines a target display driver that matches the target instance specification. Finally, based on the target display driver, the display driver for the compute instance is configured.In this embodiment, an association between instance specifications and display drivers is established. Based on this association, a target display driver matching the target instance specification of the compute instance is determined, and the display driver for the compute instance is configured. This allows for flexible configuration of a display driver matching the instance specification when the instance specification changes, without having to change the compute instance image. This avoids the issue of inflexible instance specification changes caused by the binding between the compute instance image and the instance specification. Furthermore, since a matching compute instance image is no longer required for each instance specification, the number of provided compute instance images can be reduced. In one implementation, the processing request includes an instance creation request; when determining the target instance specification of the compute instance based on the processing request, the acquisition module 701 is configured to: create a compute instance based on the instance creation request, and obtain the instance specification of the compute instance as the target instance specification; and the determination module 702 is configured to: configure the target display driver as the display driver for the compute instance. In one implementation, the processing request includes a configuration change request for a computing instance; when determining the target instance specifications of the computing instance based on the processing request, the acquisition module 701 is configured to: obtain, based on the configuration change request, the instance specifications of the computing instance after the configuration change, as the target instance specifications. In one implementation, the processing request includes an upgrade request for a cloud desktop or cloud application that uses the computing instance; when determining the target instance specifications of the computing instance based on the processing request, the acquisition module 701 is configured to: obtain, based on the upgrade request, the instance specifications of the computing instance after the upgrade of the cloud desktop or cloud application, as the target instance specifications. In one implementation, the configuration module 703 is configured to: uninstall the current display driver and install the target display driver if the current display driver does not match the target display driver or if the current display driver is operating abnormally. In one implementation, the abnormal operating status of the current display driver includes at least one of the following: the current display driver has not obtained a license; the operating system has not correctly loaded the current display driver. In one implementation, the processing device of the computing instance is further configured to: obtain version information corresponding to the current display driver and the target display driver, respectively; compare the version information corresponding to the current display driver and the target display driver, respectively; and determine whether the current display driver and the target display driver match based on the comparison result. The functions of each module in the embodiment of the present disclosure can be found in the corresponding description of the above method, and have corresponding beneficial effects, and are not further described here. FIG8 is a block diagram of an electronic device used to implement the embodiment of the present disclosure.As shown in FIG8 , the electronic device includes a memory 810 and a processor 820. The memory 810 stores a computer program executable on the processor 820. When the processor 820 executes the computer program, the method described in the above embodiment is implemented. The number of the memory 810 and the processor 820 can be one or more. The electronic device also includes a communication interface 830 for communicating with external devices and exchanging data. If the memory 810, the processor 820, and the communication interface 830 are implemented independently, the memory 810, the processor 820, and the communication interface 830 can be interconnected via a bus to facilitate communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, FIG8 shows only one thick line, but this does not mean that there is only one bus or only one type of bus. Optionally, in a specific implementation, if the memory 810, processor 820, and communication interface 830 are integrated on a single chip, the memory 810, processor 820, and communication interface 830 may communicate with each other via an internal interface. Embodiments of the present disclosure provide a computer-readable storage medium storing a computer program. When executed by a processor, the program implements the methods provided in the embodiments of the present disclosure. Embodiments of the present disclosure also provide a chip including a processor configured to retrieve and execute instructions stored in a memory, thereby enabling a communication device equipped with the chip to perform the methods provided in the embodiments of the present disclosure. Embodiments of the present disclosure also provide a chip including an input interface, an output interface, a processor, and a memory. The input interface, the output interface, the processor, and the memory are connected via an internal connection path. The processor is configured to execute code in the memory. When the code is executed, the processor performs the methods provided in the embodiments of the present disclosure.It should be understood that the processor described above may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor. It is worth noting that the processor may be a processor supporting the Advanced RISC Machines (ARM) architecture. Furthermore, optionally, the memory described above may include read-only memory and random access memory. The memory may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Non-volatile memory may include read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which serves as an external cache. By way of example and not limitation, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronized link dynamic random access memory (SLDRAM) and direct rambus random access memory (DR RAM).The above embodiments can be implemented in whole or in part via software, hardware, firmware, or any combination thereof. When implemented using software, they can be implemented in whole or in part in the form of a computer program product. A computer program product comprises one or more computer instructions. When the computer program instructions are loaded and executed on a computer, they fully or partially generate the processes or functions according to the present disclosure. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. Throughout this specification, references to terms such as "one embodiment," "some embodiments," "examples," "specific examples," or "some examples" indicate that the specific features, structures, materials, or characteristics described in conjunction with that embodiment or example are included in at least one embodiment or example of the present disclosure. Furthermore, the specific features, structures, materials, or characteristics described can be combined in any appropriate manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and integrate the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, unless mutually inconsistent. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features indicated. Thus, features specified as "first" or "second" may explicitly or implicitly include at least one such feature. Throughout the present disclosure, "plurality" means two or more, unless otherwise specifically defined. Any process or method described in a flowchart or otherwise herein may be understood to represent a module, segment, or portion of code comprising one or more executable instructions for implementing a specific logical function or process step. Furthermore, the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved. The logic and / or steps described in the flowcharts or otherwise described herein can be considered, for example, as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device), or in conjunction with such an instruction execution system, apparatus, or device. It should be understood that various aspects of the present disclosure can be implemented using hardware, software, firmware, or a combination thereof.In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above method embodiments can be performed by a program instructing the relevant hardware. The program can be stored in a computer-readable storage medium. When executed, the program includes one or a combination of the steps of the method embodiments. Furthermore, the functional units in the various embodiments of the present disclosure can be integrated into a single processing module, each unit can exist physically separately, or two or more units can be integrated into a single module. The integrated modules can be implemented in hardware or as software functional modules. If the integrated modules are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a magnetic disk, or an optical disk, etc. The above are merely exemplary embodiments of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Anyone skilled in the art can easily conceive of various variations or substitutions within the technical scope of the present disclosure, and such variations or substitutions are intended to be encompassed by the scope of protection of the present disclosure. Therefore, the protection scope of the present disclosure shall be determined by the protection scope of the claims. n RN1 54109 AT RR.

Claims

Claims 1. A method for processing a computing instance, the method comprising: Obtain a processing request for a computing instance, and determine a target instance specification of the computing instance according to the processing request; Determine a target display driver that matches the target instance specification according to the association relationship between the instance specification and the display driver; Based on the target display driver, configure the display driver of the computing instance.

2. The method according to claim 1, wherein The processing request includes an instance creation request; The determining the target instance specification of the computing instance according to the processing request includes: creating the computing instance according to the instance creation request, and obtaining the instance specification of the computing instance as the target instance specification; The configuring the display driver of the computing instance based on the target display driver includes: configuring the target display driver as the display driver of the computing instance.

3. The method according to claim 1, wherein The processing request includes a configuration change request of the computing instance; The determining the target instance specification of the computing instance according to the processing request includes: obtaining the instance specification after the configuration change of the computing instance according to the configuration change request, as the target instance specification.

4. The method according to claim 1, wherein The processing request includes an upgrade request for a cloud desktop or a cloud application that uses the computing instance; The determining the target instance specification of the computing instance according to the processing request includes: obtaining the instance specification of the computing instance after the cloud desktop or the cloud application is upgraded according to the upgrade request, as the target instance specification.

5. The method according to claim 3 or 4, wherein, The configuring the display driver of the computing instance based on the target display driver includes: if the current display driver does not match the target display driver, or the running state of the current display driver is abnormal, then uninstall the current display driver and install the target display driver.

6. The method according to claim 5, wherein The abnormal running state of the current display driver includes at least one of the following: the current display driver fails to obtain a license; the operating system fails to correctly load the current display driver.

7. The method according to claim 5, wherein The method further includes: respectively obtaining the version information corresponding to the current display driver and the target display driver; comparing the version information corresponding to the current display driver and the target display driver, and determining whether the current display driver matches the target display driver according to the comparison result.

8. A processing device for computing instances, the device comprising: An obtaining module, configured to obtain a processing request for a computing instance, and determine a target instance specification of the computing instance according to the processing request; A determining module, configured to determine a target display driver that matches the target instance specification according to the association relationship between the instance specification and the display driver; A configuration module, configured to configure the display driver of the computing instance based on the target display driver.

9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory, wherein the processor implements the method according to any one of claims 1-7 when executing the computer program.

10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and the computer program implements the method according to any one of claims 1-7 when executed by a processor.

Citation Information

Patent Citations

  • Dynamic and application-specific virtualized graphics processing

    CN110192182A

  • Driver loading method and device, electronic equipment and storage medium

    CN111309387A

  • Drive communication method, server, graphics processor, device and chip

    CN116578390A

  • Driver version identification and update system

    US10095537B1