CN113849267A - Virtual display method, system, terminal and storage medium for display card - Google Patents

Virtual display method, system, terminal and storage medium for display card Download PDF

Info

Publication number
CN113849267A
CN113849267A CN202110956591.XA CN202110956591A CN113849267A CN 113849267 A CN113849267 A CN 113849267A CN 202110956591 A CN202110956591 A CN 202110956591A CN 113849267 A CN113849267 A CN 113849267A
Authority
CN
China
Prior art keywords
display
virtual machine
virtual
display card
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202110956591.XA
Other languages
Chinese (zh)
Inventor
宋艳
段春焕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110956591.XA priority Critical patent/CN113849267A/en
Publication of CN113849267A publication Critical patent/CN113849267A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a virtual display method, a system, a terminal and a storage medium for a display card, comprising the following steps: writing the identity code of the virtual display into the local of the display card so that the display card can identify the virtual display by reading the identity code in the memory of the display card; creating a virtual machine, and installing a display card driver in the virtual machine to start virtual display service; and mapping the virtual machine to a remote terminal for display output through a remote control service. The invention realizes the integration of the display in the local of the display card by storing the identity code of the virtual display in the local of the display card, saves the cost for purchasing a real display or a deceptive device, has no occupied space, avoids the risk of interference between a display adapter and a case, is convenient for display output operation, does not need to install the display and improves the working efficiency.

Description

Virtual display method, system, terminal and storage medium for display card
Technical Field
The invention relates to the technical field of server display cards, in particular to a display card virtual display method, a system, a terminal and a storage medium.
Background
The Video card (Video card, Display card, Graphics card, Video adapter) is one of the components of the personal computer base, converts the Display information required by the computer system to drive the Display, provides progressive or interlaced scanning signals to the Display, controls the Display to be correctly displayed, is an important component for connecting the Display and the personal computer mainboard, is one of the important devices of 'man-machine', and the built-in parallel computing capability of the Display card is also used for deep learning and other operations at present. The graphic card, which is an important graphic output device of a computer, must rely on a display to convert a digital signal of the graphic card into an image signal.
However, in some application scenarios of the graphics card, only the graphics processing capability of the graphics card is required, and no entity server display is required. For example, a cloud game (cloud gaming) is a game mode based on cloud computing, the game is run on a cloud server, a client sends an operation instruction through a terminal device, the cloud server continuously compresses an instruction feedback and audio and video content coding of a game after receiving the instruction and finishes cloud rendering, the compressed instruction feedback and audio and video content coding are transmitted to a client game terminal through a network, and real-time synchronous game experience of a user is achieved through high-speed network transmission, operation, coding and decoding capabilities. The server side of the cloud game is generally a large machine room, and when the GeForce display card is applied to the cloud game server, the display requirement of the display card matched with the displayer cannot be met due to limited space in the machine room. In addition, the existing display card has the following problems depending on the characteristics of the display: the graphic performance of the display card is limited by the performance of the display; the adapter wire or adapter connecting the display card and the display has different specifications, and the risk of influencing the performance and the structural interference of the display card also exists. In order to improve the limitation that a real display must be connected when the display output of a display card is displayed, a fake display appears in the market to replace the real display, the fake display realizes all functions of the real display through remote desktop access service, a computer reduces the occupation of the display, and the space and the resources are saved.
However, false displays present an abnormal lockout risk. The false display needs to be installed on an output interface of the display card to replace the positive display; in the installation process, due to different installation methods of operators, the false display can not be installed in place and cannot be locked normally; in addition, the false display may interfere with the rear window of the chassis, and the phenomenon of abnormal locking may occur, which affects the use of the terminal user; in addition, the dummy display as a component also requires procurement, introduction of tests, and the like, which also results in an increase in cost resources.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a method, a system, a terminal and a storage medium for displaying a virtual display of a graphics card, so as to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a method for displaying a virtual display on a graphics card, including:
writing the identity code of the virtual display into the local of the display card so that the display card can identify the virtual display by reading the identity code in the memory of the display card;
creating a virtual machine, and installing a display card driver in the virtual machine to start virtual display service;
and mapping the virtual machine to a remote terminal for display output through a remote control service.
Further, the method further comprises:
switches are respectively added to a plurality of reading channels corresponding to a plurality of memories of the display card;
setting the state of each reading channel switch by setting the value of the display equipment;
the corresponding virtual display identity code is saved in the memory.
Further, mapping the virtual machine to a remote terminal for display output through a remote control service, including:
establishing remote control of the remote terminal on the virtual machine according to the static IP of the virtual machine;
and entering the virtual machine through the remote terminal, and calling the display adapter information of the virtual machine to verify the identification state of the virtual machine on the display card.
Further, mapping the virtual machine to a remote terminal for display output through a remote control service, including:
and installing a display card test program in the virtual machine, periodically acquiring the state parameters of the display card by using the display card test program, and monitoring the running state of the display card according to the state parameters of the display card.
In a second aspect, the present invention provides a display card virtual display system, including:
the virtual display unit is used for writing the identity code of the virtual display into the local display card so that the display card can identify the virtual display by reading the identity code in the memory of the display card;
the service creation unit is used for creating a virtual machine and installing a display card driver on the virtual machine to start virtual display service;
and the display output unit is used for mapping the virtual machine to a remote terminal for display output through a remote control service.
Further, the system further comprises:
the switch creating unit is used for respectively adding switches for a plurality of reading channels corresponding to a plurality of memories of the display card;
the switch setting unit is used for setting the state of each reading channel switch by setting the value of the display equipment;
and the code storage unit is used for storing the corresponding virtual display identity code in the memory.
Further, the display output unit includes:
the remote control module is used for establishing remote control of the remote terminal on the virtual machine according to the static IP of the virtual machine;
and the identification and verification module is used for entering the virtual machine through the remote terminal and calling the display adapter information of the virtual machine to verify the identification state of the virtual machine to the display card.
Further, the display output unit includes:
and the display card testing module is used for installing a display card testing program in the virtual machine, periodically acquiring the state parameters of the display card by utilizing the display card testing program and monitoring the running state of the display card according to the state parameters of the display card.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
the virtual display method of the display card provided by the invention comprises the steps of establishing a virtual machine, and installing a display card driver and a virtual display service in the virtual machine; then acquiring an identity code of a virtual display of the virtual machine and burning the identity code into a display card memory so that the display card can identify the virtual display by reading the identity code in the display card memory, thereby realizing the binding of the display card and the virtual machine display of the virtual machine; and mapping the virtual machine to a remote terminal for display output through the remote control service. The invention realizes the integration of the display in the local of the display card by storing the identity code of the virtual display in the local of the display card, saves the cost for purchasing a real display or a deceptive device, has no occupied space, avoids the risk of interference between a display adapter and a case, is convenient for display output operation, does not need to install the display and improves the working efficiency.
The virtual display system of the display card provided by the invention is characterized in that a virtual machine is established through a service establishing unit, and a display card driver and a virtual display service are installed in the virtual machine; then the virtual display unit acquires the identity code of the virtual display of the virtual machine and burns the identity code into the display card memory, so that the display card can identify the virtual display by reading the identity code in the display card memory, and the binding of the display card and the virtual machine display of the virtual machine is realized; and mapping the virtual machine to a remote terminal for display output through the display output unit remote control service. The invention realizes the integration of the display in the local of the display card by storing the identity code of the virtual display in the local of the display card, saves the cost for purchasing a real display or a deceptive device, has no occupied space, avoids the risk of interference between a display adapter and a case, is convenient for display output operation, does not need to install the display and improves the working efficiency.
The terminal provided by the invention comprises a processor running a display card virtual display method, wherein a virtual machine is created, and a display card driver and a virtual display service are installed in the virtual machine; then acquiring an identity code of a virtual display of the virtual machine and burning the identity code into a display card memory so that the display card can identify the virtual display by reading the identity code in the display card memory, thereby realizing the binding of the display card and the virtual machine display of the virtual machine; and mapping the virtual machine to a remote terminal for display output through the remote control service. The invention realizes the integration of the display in the local of the display card by storing the identity code of the virtual display in the local of the display card, saves the cost for purchasing a real display or a deceptive device, has no occupied space, avoids the risk of interference between a display adapter and a case, is convenient for display output operation, does not need to install the display and improves the working efficiency.
The storage medium stores a program for executing a virtual display method of a display card, and a display card driver and a virtual display service are installed in a virtual machine by creating the virtual machine; then acquiring an identity code of a virtual display of the virtual machine and burning the identity code into a display card memory so that the display card can identify the virtual display by reading the identity code in the display card memory, thereby realizing the binding of the display card and the virtual machine display of the virtual machine; and mapping the virtual machine to a remote terminal for display output through the remote control service. The invention realizes the integration of the display in the local of the display card by storing the identity code of the virtual display in the local of the display card, saves the cost for purchasing a real display or a deceptive device, has no occupied space, avoids the risk of interference between a display adapter and a case, is convenient for display output operation, does not need to install the display and improves the working efficiency.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following explains key terms appearing in the present invention.
The BMC executes a server remote Management controller, which is called Basebard Management controller in English. The method can perform operations such as firmware upgrading, machine equipment checking and the like on the machine in a state that the machine is not started. Fully implementing IPMI functionality in a BMC requires a powerful 16-bit or 32-bit microcontroller as well as RAM for data storage, flash memory and firmware for non-volatile data storage, providing basic remote manageability in terms of secure remote restart, secure re-power-up, LAN alerts and system health monitoring. In addition to the basic IPMI function and system operation monitoring function, the mBMC enables selection and protection of BIOS flash devices by storing the previous BIOS using one of 2 flash memories. For example, when the system cannot be started after the remote BIOS is upgraded, the remote administrator can switch back to the BIOS image that worked before to start the system. Once BIOS is upgraded, BIOS image can be locked to prevent virus from invading it.
The I2C bus is a simple, bi-directional two-wire synchronous serial bus developed by Philips. It requires only two wires to transfer information between devices connected to the bus. The master device is used to initiate the bus to transfer data and to generate a clock to open up the devices that are transferring, when any addressed device is considered a slave device. If the host wants to send data to the slave device, the host addresses the slave device first, then actively sends the data to the slave device, and finally the host terminates the data transmission; the master device addresses the slave device first if the master device is to receive data from the slave device. The host is responsible for generating the timing clock and terminating the data transfer.
BIOS is an abbreviation of English "Basic Input Output System", and the name of Chinese after translation is "Basic Input Output System". It is a standard firmware interface in the industry for IBM PC compatible systems. It is a set of programs solidified on a ROM chip on the internal mainboard of computer, it stores the most important basic input and output program of computer, self-checking program after starting up and system self-starting program, it can read and write the specific information set by system from CMOS. Its primary function is to provide the lowest level, most direct hardware setup and control for the computer. In addition, the BIOS provides some system parameters to the operating system. The change of system hardware is hidden by BIOS, and programs use BIOS functions rather than directly control the hardware. Modern operating systems ignore the abstraction layer provided by the BIOS and directly control the hardware components.
A Central Processing Unit (CPU) is a final execution unit for information processing and program operation, and serves as an operation and control core of a computer system.
The method aims to solve the following problems in the existing method for avoiding the limitation of a display card: false displays present an abnormal lock-on risk. The false display needs to be installed on an output interface of the display card to replace the positive display; in the installation process, due to different installation methods of operators, the false display can not be installed in place and cannot be locked normally; in addition, the false display may interfere with the rear window of the chassis, and the phenomenon of abnormal locking may occur, which affects the use of the terminal user; in addition, the dummy display as a component also requires procurement, introduction of tests, and the like, which also results in an increase in cost resources. The invention provides a virtual display method of a display card.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution subject in fig. 1 may be a video card virtual display system.
As shown in fig. 1, the method includes:
step 110, writing the identity code of the virtual display into the local of the display card so that the display card can identify the virtual display by reading the identity code in the memory of the display card;
step 120, creating a virtual machine, and installing a display card driver in the virtual machine to start a virtual display service;
and step 130, mapping the virtual machine to a remote terminal for display output through a remote control service.
The invention realizes the integration of the display in the local of the display card by storing the identity code of the virtual display in the local of the display card, saves the cost for purchasing a real display or a deceptive device, has no occupied space, avoids the risk of interference between a display adapter and a case, is convenient for display output operation, does not need to install the display and improves the working efficiency.
In order to facilitate understanding of the present invention, the virtual display method of the display card provided by the present invention is further described below with reference to the principle of the virtual display method of the display card of the present invention and the process of performing virtual display setting on the display card in the embodiment.
The display card virtual display method provided by the invention comprises the steps of burning the EDID value of the virtual display into a DDC memory of the display card, controlling the ON-off of a DDC channel by using a control switch, and reading the EDID value of the virtual display in the DDC memory by the display card through the DDC channel when the control switch is turned to an ON state and the DDC channel is communicated, so that the virtual display can be normally identified.
Specifically, the present embodiment takes the GeForce RTX 3090 graphics card as an example for explanation. The virtual display method of the display card comprises the following steps:
s1, writing the identity code of the virtual display into the local display card so that the display card can identify the virtual display by reading the identity code in the memory of the display card;
preferably, in this embodiment, switches are added to a plurality of reading channels corresponding to a plurality of memories of the graphics card, and in this embodiment, 5 control switches are set for the GeForce RTX 3090, so that the graphics card can read the EDID value of the virtual display from the memories in the on state of the control switches, thereby identifying the virtual display. Whether the virtual display is enabled can be controlled by setting a switch.
Burning the EDID value of the virtual display into a display card DDC memory, and connecting a DDC channel by using a control switch in a display output module of the display card, so that the virtual display of the display card can be normally identified;
the display card body includes output interface and control switch, and control switch and output interface one-to-one, wherein control switch have two kinds of states, are OFF state and ON state respectively, and the acquiescence is the OFF state, beats ON state with control switch 1 now, installs the display card ON cloud game server after finishing setting up.
And verifying whether the virtual display of the display card can be normally identified by using the command:
verifying that the command is a first row of codes, and if the system returns that the Display Devices numerical value is equal to the numerical value of the ON state of the control switch, indicating that the Display card normally starts the function of the virtual Display;
#nvidia-xconfig--query-gpu-info|grep-E"Display Devices|UUID"|awk-F:'{print$2}'
GPU-b6e0f2d0-0ebc-ecae-2ca7-7d8564d7304d 1
if the function is not needed, the control switch 1 is turned to an OFF state after the power-OFF, the following command is input after the power-on is finished, and if the system returns the following information, the display card is indicated to normally close the function of the virtual display;
#nvidia-xconfig--query-gpu-info|grep-E"Display Devices|UUID"|awk-F:'{print$2}'
GPU-b6e0f2d0-0ebc-ecae-2ca7-7d8564d7304d 0
and S2, creating a virtual machine, and installing a display card driver in the virtual machine to start the virtual display service.
And each virtual machine is respectively directly connected with 1 GeForce RTX 3090 output interface, and a Win10 system is installed on the virtual machine. Configuring a static IP for the virtual machine, where IP addresses are: 192.168.122.2. installing a tightncserver by the virtual machine, and selecting default configuration; and installing a GeForce RTX 3090 display card driver in the virtual machine, and restarting the virtual machine to take effect after the display card driver is installed.
And S3, mapping the virtual machine to a remote terminal for display output through a remote control service.
(1) Establishing remote control of the remote terminal on the virtual machine according to the static IP of the virtual machine; and entering the virtual machine through the remote terminal, and calling the display adapter information of the virtual machine to verify the identification state of the virtual machine on the display card.
And installing VNCViewer software on the other PC computer, starting VNC on the PC computer and linking the IP of the virtual machine. Entering a virtual machine, starting a menu by a right key, selecting an equipment manager- > display adapter, and seeing that the display card GeForce RTX 3090 is normally identified, has no yellow exclamation mark and has no 43 error reports; after a right key on a Win10 desktop is clicked and displayed, a display with the resolution of 3840 x 2160 is a virtual display of the display card, the virtual display is proved to be correctly identified, and the display is set to be displayed only on the virtual display; a right button on the Win10 desktop is clicked on NVIDIA Control Panel, and the Virtual Display of GEFORCE RTX 3090 can be normally seen on the Set Up Multiple Displays column.
(2) And installing a display card test program in the virtual machine, periodically acquiring the state parameters of the display card by using the display card test program, and monitoring the running state of the display card according to the state parameters of the display card.
Installing a video card detection program Unigine-Heaven-4.0. exe in the virtual machine, opening the installed Unigine-Heaven-4.0. exe, testing the video card for 2 hours in two modes of DirectX 11 and OpenGL respectively by using a software configuration interface as follows, recording the state of the video card every 5 seconds by using a command 'nvidia-smi-l > log.txt' in the testing process, and checking whether the video card is in place and whether the temperature and power consumption information is correct. According to the test data, the 5 virtual machines can normally run in the DirectX 11 and OpenGL modes, the virtual display is normal in function in the test process, the display card is always in place, and the temperature, the power consumption and the fan duty ratio are normally displayed.
Attached: comparison of results of Benchmark:
Figure BDA0003220537400000101
Figure BDA0003220537400000111
OpenGL virtual machine 1 Virtual machine 2 Virtual machine 3 Virtual machine 4 Virtual machine 5
FPS 49.3 49.8 46.9 45.7 47.7
Score 1242 1253 1181 1152 1202
Min FPS 12.2 8.7 8.4 11.3 12.7
Max FPS 138.7 123.1 148.1 130.9 124.8
The embodiment establishes the virtual machine and installs the video card driver and the virtual display service in the virtual machine; then acquiring an identity code of a virtual display of the virtual machine and burning the identity code into a display card memory so that the display card can identify the virtual display by reading the identity code in the display card memory, thereby realizing the binding of the display card and the virtual machine display of the virtual machine; and mapping the virtual machine to a remote terminal for display output through the remote control service. This embodiment has realized through the identity code of the local internal storage virtual display of display card with the display integration local at the display card, has saved the cost of purchasing real display or deceiving ware, and zero occupation space not only has also avoided the risk that shows adapter and quick-witted case and interfere moreover, shows that output convenient operation need not to install the display, has improved work efficiency.
As shown in fig. 2, the system 200 includes:
the virtual display unit 220 is configured to write the identity code of the virtual display into the local display card, so that the display card identifies the virtual display by reading the identity code in the memory of the display card;
a service creation unit 210, configured to create a virtual machine, and install a graphics card driver in the virtual machine to start a virtual display service;
and a display output unit 230, configured to map the virtual machine to a remote terminal for display output through a remote control service.
Optionally, as an embodiment of the present invention, the system further includes:
the switch creating unit is used for respectively adding switches for a plurality of reading channels corresponding to a plurality of memories of the display card;
the switch setting unit is used for setting the state of each reading channel switch by setting the value of the display equipment;
and the code storage unit is used for storing the corresponding virtual display identity code in the memory.
Optionally, as an embodiment of the present invention, the display output unit includes:
the remote control module is used for establishing remote control of the remote terminal on the virtual machine according to the static IP of the virtual machine;
and the identification and verification module is used for entering the virtual machine through the remote terminal and calling the display adapter information of the virtual machine to verify the identification state of the virtual machine to the display card.
Optionally, as an embodiment of the present invention, the display output unit includes:
and the display card testing module is used for installing a display card testing program in the virtual machine, periodically acquiring the state parameters of the display card by utilizing the display card testing program and monitoring the running state of the display card according to the state parameters of the display card.
Fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention, where the terminal 300 may be used to execute a virtual display method of a graphics card according to the embodiment of the present invention.
Among them, the terminal 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the invention creates the virtual machine and installs the display card driver and the virtual display service in the virtual machine; then acquiring an identity code of a virtual display of the virtual machine and burning the identity code into a display card memory so that the display card can identify the virtual display by reading the identity code in the display card memory, thereby realizing the binding of the display card and the virtual machine display of the virtual machine; and mapping the virtual machine to a remote terminal for display output through the remote control service. The display is integrated in the local display card by storing the identity code of the virtual display in the local display card, so that the cost for purchasing a real display or a deceptive device is saved, the occupied space is zero, the risk of interference between a display adapter and a case is avoided, the display output operation is convenient, the display does not need to be installed, the working efficiency is improved, the technical effect which can be achieved by the embodiment can be seen in the description above, and the description is omitted here.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A virtual display method of a display card is characterized by comprising the following steps:
writing the identity code of the virtual display into the local of the display card so that the display card can identify the virtual display by reading the identity code in the memory of the display card;
creating a virtual machine, and installing a display card driver in the virtual machine to start virtual display service;
and mapping the virtual machine to a remote terminal for display output through a remote control service.
2. The method of claim 1, further comprising:
switches are respectively added to a plurality of reading channels corresponding to a plurality of memories of the display card;
setting the state of each reading channel switch by setting the value of the display equipment;
the corresponding virtual display identity code is saved in the memory.
3. The method of claim 1, wherein mapping the virtual machine to a remote terminal for display output by a remote control service comprises:
establishing remote control of the remote terminal on the virtual machine according to the static IP of the virtual machine;
and entering the virtual machine through the remote terminal, and calling the display adapter information of the virtual machine to verify the identification state of the virtual machine on the display card.
4. The method of claim 3, wherein mapping the virtual machine to a remote terminal for display output by a remote control service comprises:
and installing a display card test program in the virtual machine, periodically acquiring the state parameters of the display card by using the display card test program, and monitoring the running state of the display card according to the state parameters of the display card.
5. A graphics card virtual display system, comprising:
the virtual display unit is used for writing the identity code of the virtual display into the local display card so that the display card can identify the virtual display by reading the identity code in the memory of the display card;
the service creation unit is used for creating a virtual machine and installing a display card driver on the virtual machine to start virtual display service;
and the display output unit is used for mapping the virtual machine to a remote terminal for display output through a remote control service.
6. The system of claim 5, further comprising:
the switch creating unit is used for respectively adding switches for a plurality of reading channels corresponding to a plurality of memories of the display card;
the switch setting unit is used for setting the state of each reading channel switch by setting the value of the display equipment;
and the code storage unit is used for storing the corresponding virtual display identity code in the memory.
7. The system of claim 5, wherein the display output unit comprises:
the remote control module is used for establishing remote control of the remote terminal on the virtual machine according to the static IP of the virtual machine;
and the identification and verification module is used for entering the virtual machine through the remote terminal and calling the display adapter information of the virtual machine to verify the identification state of the virtual machine to the display card.
8. The system of claim 7, wherein the display output unit comprises:
and the display card testing module is used for installing a display card testing program in the virtual machine, periodically acquiring the state parameters of the display card by utilizing the display card testing program and monitoring the running state of the display card according to the state parameters of the display card.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202110956591.XA 2021-08-19 2021-08-19 Virtual display method, system, terminal and storage medium for display card Withdrawn CN113849267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110956591.XA CN113849267A (en) 2021-08-19 2021-08-19 Virtual display method, system, terminal and storage medium for display card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110956591.XA CN113849267A (en) 2021-08-19 2021-08-19 Virtual display method, system, terminal and storage medium for display card

Publications (1)

Publication Number Publication Date
CN113849267A true CN113849267A (en) 2021-12-28

Family

ID=78976058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110956591.XA Withdrawn CN113849267A (en) 2021-08-19 2021-08-19 Virtual display method, system, terminal and storage medium for display card

Country Status (1)

Country Link
CN (1) CN113849267A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116401017A (en) * 2023-04-13 2023-07-07 摩尔线程智能科技(北京)有限责任公司 Method, device, equipment and storage medium for realizing virtual display card

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116401017A (en) * 2023-04-13 2023-07-07 摩尔线程智能科技(北京)有限责任公司 Method, device, equipment and storage medium for realizing virtual display card
CN116401017B (en) * 2023-04-13 2023-11-21 摩尔线程智能科技(北京)有限责任公司 Method, device, equipment and storage medium for realizing virtual display card

Similar Documents

Publication Publication Date Title
US8176207B2 (en) System debug of input/output virtualization device
KR100946395B1 (en) Microcomputer bridge architecture with an embedded microcontroller
US6321287B1 (en) Console redirection for a computer system
US7822964B2 (en) Booting apparatus for booting a computer and method therefor and computer with a booting apparatus
JP4117193B2 (en) How to enable a port on a computing device
US7467290B2 (en) Method and system for providing a modular server on USB flash storage
CN111831976A (en) Linux operating system-based copyright protection method and equipment
US11308002B2 (en) Systems and methods for detecting expected user intervention across multiple blades during a keyboard, video, and mouse (KVM) session
CN113849267A (en) Virtual display method, system, terminal and storage medium for display card
CN114003445A (en) I2C monitoring function test method, system, terminal and storage medium of BMC
CN1244864C (en) Information processing system with debug function on initializing and its method
EP1062562A1 (en) Computer expansion system
CN117407065A (en) Network card pre-start control method, device, equipment, system and storage medium
CN116028125A (en) Remote control startup display mode setting method, system, terminal and storage medium
CN111475356A (en) System startup test information display method and related device
CN116627729A (en) External connection cable, external connection cable in-place detection device, startup self-checking method and system
CN116450046A (en) Cloud disk implementation method and device, intelligent network card, server and storage medium
CN115098342A (en) System log collection method, system, terminal and storage medium
CN204302961U (en) Embedded device and the diagnostic card for embedded device
CN111061603B (en) Motherboard capable of recording self-checking data, computer and recording method of self-checking data
CN114637669A (en) Device management method, device and storage medium
CN115913913B (en) Network card pre-starting execution environment function fault positioning method and device
CN218413461U (en) Examination device and examination system suitable for machine examination
CN117436405B (en) Simulation verification method and device and electronic equipment
CN113835762A (en) Method and system for updating default configuration of hard disk backplane

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20211228

WW01 Invention patent application withdrawn after publication