Display output method, computer equipment and storage medium

By combining hardware and software detection in the display device to determine the insertion status of the discrete graphics card, the system can automatically switch to either the integrated or discrete graphics card, solving the problem of poor display output switching flexibility and improving user experience and reliability.

CN122044501APending Publication Date: 2026-05-15GUANGZHOU SHIRUI ELECTRONICS +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGZHOU SHIRUI ELECTRONICS
Filing Date
2024-11-13
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

When a display device switches from a dedicated graphics card to an integrated graphics card, the flexibility is poor, requiring manual operation and affecting the user experience.

Method used

By performing comprehensive hardware and software testing on the connector's detection pins and bus interface, the system determines whether the discrete graphics card is properly inserted and automatically switches between the integrated graphics card and the discrete graphics card for display output, enabling flexible switching of display output.

Benefits of technology

It improves the flexibility of display output switching, reduces manual operation by users, and enhances user experience and display output reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122044501A_ABST
    Figure CN122044501A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a display output method, computer equipment and a storage medium, the display output method is used for the computer equipment comprising a control chip, a connector, a switching circuit and a display screen, the control chip comprises an integrated display card, and the connector comprises a first detection pin, a second detection pin and a first bus interface. The method comprises the following steps: when a preset display mode is an independent display output mode, receiving level signals detected by a first detection pin and a second detection pin, and receiving graphics card information identified by a first bus interface; determining whether the independent graphics card is effectively inserted according to the level signal and the graphics card information; when it is determined that the independent graphics card is effectively inserted, a first level signal is sent to the switching circuit so as to switch to the independent graphics card for display output; when it is determined that the independent graphics card is not effectively inserted, a second level signal is sent to the switching circuit so as to switch to the integrated graphics card for display output, the technical problem that the display output switching flexibility is poor is solved, and the display output switching flexibility is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent display technology, and in particular to a display output method, computer device, and storage medium. Background Technology

[0002] Display devices are output devices in computer systems used to present visual information. They can display data, images, text and other information processed by the computer to users in a visual form.

[0003] Display devices have an integrated graphics card for basic display output functions. To enhance the versatility of display output, a dedicated graphics card can also be inserted for high-performance and high-speed display output.

[0004] In related technologies, when a display device is equipped with a discrete graphics card, it defaults to using the discrete graphics card for display output. If the discrete graphics card malfunctions, it needs to be manually removed in order to switch to the integrated graphics card for display output. This results in poor flexibility in switching display output and affects the user experience. Summary of the Invention

[0005] This application provides a display output method, computer device, and storage medium, which can solve the technical problem of poor switching flexibility of display output, improve the switching flexibility of display output, and enhance the user experience.

[0006] In a first aspect, embodiments of this application provide a display output method for a computer device. The computer device includes a control chip, a connector, a switching circuit, and a display screen. The control chip includes an integrated graphics card and is connected to a first end of the connector and a first end of the switching circuit. A second end of the connector is used to connect to a discrete graphics card. The connector includes a first detection pin, a second detection pin, and a first bus interface. A second end of the switching circuit is connected to a third end of the connector and is connected to the display screen. The second end of the switching circuit is used to connect to the discrete graphics card via the connector. The display output method includes:

[0007] When the preset display mode is the independent display output mode, it receives the level signals detected by the first detection pin and the second detection pin, as well as the graphics card information identified by the first bus interface;

[0008] Determine whether a discrete graphics card is validly inserted based on the voltage level signal and graphics card information;

[0009] When a valid discrete graphics card is inserted, a first-level signal is sent to the switching circuit to switch to the discrete graphics card for display output;

[0010] If it is determined that the discrete graphics card is not properly inserted, a second-level signal is sent to the switching circuit to switch to the integrated graphics card for display output.

[0011] As described above, during display output, when the preset display mode is the independent display output mode, the system determines whether a discrete graphics card is validly inserted based on the level signals detected by the first and second detection pins of the connector and the graphics card information identified by the first bus interface. If a valid discrete graphics card is detected, the system switches to the discrete graphics card for display output; if a discrete graphics card is not detected, the system switches to the integrated graphics card for display output. This solves the technical problem of poor flexibility in display output switching. When a discrete graphics card is not detected, the system can automatically switch to the integrated graphics card for display output. Compared with related technologies where the discrete graphics card must be manually removed to switch to the integrated graphics card for output display, this improves the flexibility of display output switching, eliminates the need for manual operation by the user, and thus enhances the user experience.

[0012] In one embodiment, after determining that a discrete graphics card is validly inserted, a first-level signal is sent to the switching circuit to switch to display output via the discrete graphics card, and then the process includes:

[0013] Receive a switching command and send a first-level signal or a second-level signal to the switching circuit according to the switching command to switch to the discrete graphics card for display output or to the integrated graphics card for display output;

[0014] Save the current display output mode to obtain the preset display mode, which includes either the independent display output mode or the integrated display output mode.

[0015] As described above, once a dedicated graphics card is successfully inserted, the user can switch between the dedicated and integrated graphics cards via software. Compared to existing technologies where a dedicated graphics card is the default for display output, this improves the flexibility of display output switching, enables personalized display output settings, and enhances the user experience.

[0016] In one embodiment, determining whether a discrete graphics card is validly inserted based on a voltage level signal and graphics card information includes:

[0017] When both the level signals detected by the first detection pin and the second detection pin are low level signals, and the first bus interface recognizes the corresponding graphics card information, it is determined that a discrete graphics card has been successfully inserted.

[0018] If the level signal detected by the first detection pin or the second detection pin is a high level signal, or if the first bus interface does not recognize the graphics card information, it is determined that the discrete graphics card is not effectively inserted.

[0019] The above-described hardware and software comprehensive detection is performed through the first detection pin, the second detection pin, and the first bus interface to comprehensively determine whether the discrete graphics card is effectively inserted. Compared with related technologies that only implement logical connection detection through software, this embodiment adds physical connection detection in hardware to determine that all pins of the discrete graphics card are effectively connected to the connector, that is, all pins of the discrete graphics card are effectively inserted into the connector. This avoids the problem of the discrete graphics card failing to output display due to some pins not being fully inserted. Subsequently, the discrete graphics card can be switched to output display only after it is determined that all pins of the discrete graphics card are effectively inserted into the connector, thereby ensuring the normal function of the discrete graphics card in output display and improving the reliability of the discrete graphics card in output display.

[0020] In one embodiment, the first level signal is a level signal in which the first level sub-signal is a high level signal and the second level sub-signal is a low level signal, and the switching circuit includes a DP switching circuit and an HDMI switching circuit.

[0021] Upon confirming a valid dedicated graphics card insertion, a first-level signal is sent to the switching circuit to switch to the dedicated graphics card for display output, including:

[0022] Determine the signal type of the video signal to be displayed. Signal types include DP and HDMI.

[0023] When a valid discrete graphics card is inserted and the signal type is DP, a first-level signal is sent to the DP switching circuit to switch to displaying DP type video signals using the discrete graphics card.

[0024] When a valid discrete graphics card is inserted and the signal type is HDMI, a first-level signal is sent to the HDMI switching circuit to switch to displaying HDMI video signals using the discrete graphics card.

[0025] As mentioned above, by intelligently switching the output type based on the video type when determining to use a dedicated graphics card for display output, the flexibility of display output switching is further improved, eliminating the need for manual operation and thus enhancing the user experience.

[0026] In one embodiment, the second level signal is a level signal where the first level sub-signal is a low level signal and the second level sub-signal is a high level signal, and the switching circuit includes a DP switching circuit and an HDMI switching circuit;

[0027] When it is determined that a discrete graphics card is not properly inserted, a second-level signal is sent to the switching circuit to switch to the integrated graphics card for display output, including:

[0028] Determine the signal type of the video signal to be displayed. Signal types include DP and HDMI.

[0029] When it is determined that no dedicated graphics card is inserted and the signal type is DP, the second level signal is sent to the DP switching circuit to switch to displaying the DP type video signal using the dedicated graphics card.

[0030] When it is determined that no discrete graphics card is inserted and the signal type is HDMI, a second-level signal is sent to the HDMI switching circuit to switch to displaying HDMI video signals using the discrete graphics card.

[0031] As mentioned above, by intelligently switching the output type based on the video type when the integrated graphics card is selected for display output, the flexibility of display output switching is further improved, eliminating the need for manual operation and thus enhancing the user experience.

[0032] In one embodiment, before determining whether a discrete graphics card is validly inserted based on the level signal and graphics card information, the process includes:

[0033] When the preset display mode is the integrated display output mode, a second level signal is sent to the switching circuit to switch to the integrated graphics card for display output.

[0034] As described above, during the use of computer equipment, the integrated display output mode can be saved as a preset display mode, so that the integrated graphics card can be used directly for display output the next time the computer is turned on. Compared with the related technology, which prioritizes the display output of the dedicated graphics card as long as it is plugged in, this embodiment can set a preset display mode according to user needs. Subsequent use can directly output the display based on the preset display mode, thereby improving the flexibility of display output and enhancing the user experience.

[0035] In a second aspect, embodiments of this application provide a computer device, including: a control chip, a connector, a switching circuit, and a display screen. The control chip includes an integrated graphics card and is used for the display output method described in the first aspect.

[0036] The control chip is connected to the first end of the connector and the first end of the switching circuit, and the second end of the connector is used to connect to the discrete graphics card.

[0037] The second end of the switching circuit is connected to the third end of the connector, the third end of the switching circuit is connected to the display screen, and the second end of the switching circuit is used to connect to the discrete graphics card through the connector.

[0038] The above-described hardware and software comprehensive detection is performed through the first detection pin, the second detection pin, and the first bus interface to comprehensively determine whether the discrete graphics card is effectively inserted. Compared with related technologies that only implement logical connection detection through software, this embodiment adds physical connection detection in hardware to determine whether all pins of the discrete graphics card are effectively connected to the connector, that is, whether all pins of the discrete graphics card are fully and effectively inserted into the connector. This avoids the problem of the discrete graphics card failing to output display due to some pins not being effectively inserted. Only after confirming that all pins of the discrete graphics card are effectively inserted into the connector will the display output be switched to the discrete graphics card, thereby ensuring the normal function of the discrete graphics card in display output and improving the reliability of the discrete graphics card in display output.

[0039] In one embodiment, the switching circuit includes: a DP switching circuit and an HDMI switching circuit;

[0040] The first end of the DP switching circuit is connected to the control chip, the second end of the DP switching circuit is connected to the fourth end of the connector, the third end of the DP switching circuit is connected to the display screen, and the second end of the DP switching circuit is used to connect to the discrete graphics card through the connector.

[0041] The first end of the HDMI switching circuit is connected to the control chip, the second end of the HDMI switching circuit is connected to the fifth end of the connector, the third end of the HDMI switching circuit is connected to the display screen, and the second end of the HDMI switching circuit is used to connect to the discrete graphics card through the connector.

[0042] The above features not only enable automatic switching between integrated and discrete graphics cards, but also allow for switching of corresponding video output types, thereby improving the flexibility of display output switching without the need for manual operation and enhancing the user experience.

[0043] In one embodiment, the computer device further includes: a signal conversion circuit and a power supply circuit;

[0044] The third terminal of the DP switching circuit is connected to the first terminal of the signal conversion circuit;

[0045] The second terminal of the signal conversion circuit is connected to the first terminal of the power supply circuit, and the third terminal of the signal conversion circuit is connected to the display screen.

[0046] The second terminal of the power supply circuit is connected to the display screen, and the third terminal of the power supply circuit is used to receive the power signal. The power supply circuit is used to boost the power signal and adjust the backlight brightness to control the brightness of the display screen.

[0047] As described above, the power supply circuit boosts the incoming power signal and adjusts the backlight brightness to meet the user's brightness requirements, thereby improving the user's viewing experience. Furthermore, the signal conversion circuit converts the video signal into a resolution that meets the user's needs, further enhancing the viewing experience.

[0048] In one embodiment, the computer device further includes a first resistor and a second resistor, and the connector includes a first detection pin and a second detection pin;

[0049] The first detection pin is connected to the first end of the first resistor, and the second end of the first resistor is used to connect to the power supply voltage.

[0050] The second detection pin is connected to the first end of the second resistor, and the second end of the second resistor is used to connect to the power supply voltage.

[0051] When the connector is used for valid insertion of a discrete graphics card, the first detection pin and the second detection pin detect a low-level signal.

[0052] As described above, by connecting a pull-up resistor to the first and second detection pins of the connector, the connector can determine whether the two corresponding pins of the discrete graphics card are effectively inserted by detecting the level signals of the first and second detection pins after the discrete graphics card is inserted. This allows the connector to determine whether all pins of the discrete graphics card are effectively inserted, thus realizing the detection of physical connections in the hardware. This avoids the problem of the discrete graphics card failing to output properly due to some pins not being fully inserted into the connector, thereby ensuring that the display output function can be realized normally when switching to the discrete graphics card for display output, and thus improving the reliability of the discrete graphics card for display output.

[0053] In a third aspect, embodiments of this application provide a storage medium for storing computer-executable instructions, which, when executed by a computer processor, are used to perform the display output method as described in the first aspect.

[0054] The beneficial effects of the storage medium described above can be referenced in relation to the beneficial effects of the display output method. Attached Figure Description

[0055] Figure 1 This is a first structural schematic diagram of a computer device provided in an embodiment of this application;

[0056] Figure 2 This is a schematic diagram of the structure of a connector provided in an embodiment of this application;

[0057] Figure 3 This is a schematic diagram of the second structure of a computer device provided in an embodiment of this application;

[0058] Figure 4 This is a schematic diagram of the third structure of a computer device provided in an embodiment of this application;

[0059] Figure 5 This is a flowchart of a display output method provided in an embodiment of this application;

[0060] Figure 6 This is a schematic diagram of the structure of a display output device provided in an embodiment of this application. Detailed Implementation

[0061] To make the objectives, technical solutions, and advantages of this application clearer, specific embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely for explaining this application and not for limiting it. It should also be noted that, for ease of description, only the parts relevant to this application are shown in the drawings, not all of them. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but may also have additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0062] All-in-One PCs (AIOs) are a common type of display device, widely used in various scenarios due to their unique design and superior performance. In home entertainment, AIOs can serve as a central hub for watching HD movies, browsing photos, and playing games. Their sleek and aesthetically pleasing appearance and excellent display quality enhance the home entertainment experience. In office applications, AIOs save space and improve work efficiency. Their integrated design simplifies cabling and keeps the desktop tidy. Furthermore, AIOs are typically equipped with high-performance processors and ample memory to meet the demands of efficient computing and multimedia applications in office environments. In education, AIOs also have wide applications. For example, in electronic classrooms, AIOs can serve as teaching devices, facilitating interaction between teachers and students. Their touchscreens and diverse operating methods enhance student learning interest and engagement.

[0063] Display devices (such as AIO all-in-one PCs) typically have integrated graphics cards for basic display output. To enhance the versatility of display output, a dedicated graphics card can also be inserted for high-performance and high-speed output. However, in some technologies, when a dedicated graphics card is inserted, it defaults to outputting data via the dedicated card. If the dedicated graphics card malfunctions, it must be manually removed to switch back to the integrated graphics card, resulting in poor flexibility and a negative impact on the user experience.

[0064] Based on this, the present application provides a display output method, computer device, and storage medium, which aim to determine whether a discrete graphics card is effectively inserted when display output is performed. This is achieved by determining, in a preset display mode of discrete display output mode, whether the discrete graphics card is effectively inserted based on the level signals detected by the first and second detection pins of the connector and the graphics card information identified by the first bus interface. If the discrete graphics card is effectively inserted, the display output is switched to the discrete graphics card; if the discrete graphics card is not effectively inserted, the display output is switched to the integrated graphics card. This solves the technical problem of poor display output switching flexibility. When the discrete graphics card is not effectively inserted, the display output can be automatically switched to the integrated graphics card. Compared with the related technologies where the discrete graphics card must be manually removed to switch to the integrated graphics card for display output, this improves the flexibility of display output switching, eliminates the need for manual operation by the user, and thus enhances the user experience.

[0065] Figure 1 This is a first structural schematic diagram of a computer device provided in an embodiment of this application, referring to... Figure 1 The computer device 1 includes a control chip 10, a connector 11, a switching circuit 12, and a display screen 13. The control chip 10 includes an integrated graphics card (not shown in the figure). This computer device can be an all-in-one computer or other display devices that integrate the host and display screen into a single chassis. The control chip 10 is used for the operation and application management of Windows, KOS, and / or UOS operating systems. The control chip 10 contains a corresponding graphics card driver, which is responsible for controlling the graphics card's hardware resources, including video memory management and graphics rendering. This graphics card driver supports switching between display output modes, specifically integrated display output mode and discrete display output mode. When switching display output modes, the graphics card driver adjusts the working state of the graphics card (integrated graphics card or discrete graphics card 20) to ensure a smooth switching process. The control chip 10 is connected to the first end of the connector 11 and the first end of the switching circuit 12. The second end of the connector 11 is used to connect to the discrete graphics card 20. For example, Figure 1In this circuit, the control chip 10 is connected to the connector 11 via the GPIO1 pin, which is used to receive the level signal detected by the first detection pin P1; the control chip 10 is also connected to the connector 11 via the GPIO2 pin, which is used to receive the level signal detected by the second detection pin P2; the control chip 10 is also connected to the connector 11 via the PCIE pin, which is used to receive the graphics card information identified by the first bus interface P3. Here, PCIE stands for PCI Express, a high-speed PCI bus. It should be noted that the first bus interface P3 may include multiple functional pins, including Tx (transmit) pin, Rx (receive) pin, REFCLK (reference clock) pin, PERST# (reset) pin, and WAKE# (wake-up) pin, etc. For example, the first bus interface P3 may be a PCIE 3.0 bus interface. The second end of the switching circuit 12 is connected to the third end of the connector 11, and the third end of the switching circuit 12 is connected to the display screen 13. The second end of the switching circuit 12 is used to connect to the discrete graphics card 20 via the connector 11.

[0066] The connector includes a first detection pin, a second detection pin, and a first bus interface. For example, the first and second detection pins are located at both ends of the connector. The connector has two rows of pins, and the two ends can be the first end of the first row of pins and the second end of the second row of pins. Alternatively, the first detection pin can be located at any position in the first row of pins, and the second detection pin can be located at any position in the second row of pins. The level signals detected by the first and second detection pins determine whether the discrete graphics card is physically fully inserted; that is, the first and second detection pins implement hardware-level valid insertion detection. The first bus interface is located at any position on the connector. The graphics card information identified by the first bus interface determines whether the discrete graphics card is logically inserted; that is, the first bus interface implements software-level valid insertion detection. For example, when the first and second detection pins detect a low-level signal, and the first bus interface identifies the corresponding graphics card information, the discrete graphics card is determined to be validly inserted; when either the first or second detection pin detects a high-level signal, or the first bus interface does not identify graphics card information, the discrete graphics card is determined not to be validly inserted.

[0067] For example, the first bus interface can be a bus interface composed of multiple sets of PCIe interface pins. When the discrete graphics card is inserted into the connector, the multiple sets of PCIe interface pins communicate with the discrete graphics card based on the corresponding PCIe interface signals. The control chip identifies the graphics card information, including the manufacturer ID and device ID, through the multiple sets of PCIe interface pins based on the ACPI (Advanced Configuration and Computer Management Interface) protocol. The control chip loads the corresponding display driver based on the identified graphics card information. After the display driver is loaded, the relevant functions in the display driver can be called to initialize the discrete graphics card. After initialization, display output can be performed through the discrete graphics card. For example, the first bus interface can be 8 sets of PCIe interface pins. When the discrete graphics card is inserted into the connector, the 8 sets of PCIe interface pins communicate with the discrete graphics card based on the 8 sets of PCIe interface signals. The control chip can identify the graphics card information based on the BIOS (Basic Input / Output System) program. When the corresponding graphics card information is identified, it means that the discrete graphics card and the connector are logically connected, that is, the software is effectively inserted; when the graphics card information is not identified, it means that the discrete graphics card and the connector are not logically connected, that is, the software is not effectively inserted.

[0068] Figure 2 This is a schematic diagram of the structure of a connector provided in an embodiment of this application, with reference to... Figure 2 In this embodiment, the example is illustrated by having the first detection pin P1 and the second detection pin P2 located at both ends of connector 11. In connector 11, the first detection pin P1 is located at the first end of the first row of pins, the second detection pin P2 is located at the second end of the second row of pins, and the first bus interface P3 is located at a preset position on the first row of pins. It should be noted that connector 11 also contains other functional pins to implement the display output functions corresponding to the discrete graphics card, such as multiple signal pins and multiple power pins. Figure 2Other functional pins are not listed individually. The first detection pin P1 is connected to the first end of the first resistor R1, and the second end of the first resistor R1 is used to connect to the power supply voltage (e.g., a 3.3V voltage signal). The second detection pin P2 is connected to the first end of the second resistor R2, and the second end of the second resistor R2 is used to connect to the power supply voltage (e.g., a 3.3V voltage signal). Since both the first detection pin P1 and the second detection pin P2 are connected to pull-up resistors (i.e., the first resistor R1 and the second resistor R2), when the discrete graphics card is fully inserted, both the first detection pin P1 and the second detection pin P2 will go low. That is, the level signals detected by the first detection pin P1 and the second detection pin P2 are low-level signals, and these are output to the control chip. In other words, if the GPIO1 and GPIO2 pins of the control chip both receive low-level signals, it means that the discrete graphics card is physically and effectively connected to connector 11.

[0069] As described above, by connecting a pull-up resistor to the first and second detection pins of the connector, the connector can determine whether the two corresponding pins of the discrete graphics card are effectively inserted by detecting the level signals of the first and second detection pins after the discrete graphics card is inserted. This allows the connector to determine whether all pins of the discrete graphics card are effectively inserted, thus realizing the detection of physical connections in the hardware. This avoids the problem of the discrete graphics card failing to output properly due to some pins not being fully inserted into the connector, thereby ensuring that the display output function can be realized normally when switching to the discrete graphics card for display output, and thus improving the reliability of the discrete graphics card for display output.

[0070] The above-described hardware and software comprehensive detection is performed through the first detection pin, the second detection pin, and the first bus interface to comprehensively determine whether the discrete graphics card is effectively inserted. Compared with related technologies that only implement logical connection detection through software, this embodiment adds physical connection detection in hardware to ensure that all pins of the discrete graphics card are connected to the connector, that is, all pins of the discrete graphics card are fully inserted into the connector. This avoids the problem of the discrete graphics card failing to output display due to some pins not being fully inserted. Only after confirming that all pins of the discrete graphics card are fully inserted into the connector will the display output be switched to the discrete graphics card, thereby ensuring the normal function of the discrete graphics card in display output and improving the reliability of the discrete graphics card in display output.

[0071] Figure 3 This is a schematic diagram of the second structure of a computer device provided in an embodiment of this application, with reference to... Figure 3The switching circuit 12 in computer device 1 includes a DP switching circuit 121 and an HDMI switching circuit 122. The first end of the DP switching circuit 121 is connected to the control chip 10 (DP1.2a pin), the second end of the DP switching circuit 121 is connected to the fourth end of the connector 11, and the third end of the DP switching circuit 121 is connected to the display screen 13. The second end of the DP switching circuit 121 is also used to connect to the discrete graphics card 20 via the connector 11. The first end of the HDMI switching circuit 122 is connected to the control chip 10 (HDMI1.4 pin), the second end of the HDMI switching circuit 122 is connected to the fifth end of the connector 11, and the third end of the HDMI switching circuit 122 is connected to the display screen 13. The second end of the HDMI switching circuit 122 is also used to connect to the discrete graphics card 20 via the connector 11. The DP switching circuit 121 is used to switch to displaying DP type video signals using the discrete graphics card 20 when it receives a first-level signal (from the GPIO3 pin of the control chip 10); the DP switching circuit 121 is also used to switch to displaying DP type video signals using the integrated graphics card when it receives a second-level signal (from the GPIO3 pin of the control chip 10). The HDMI switching circuit 122 is used to switch to displaying HDMI type video signals using the discrete graphics card 20 when it receives a first-level signal (from the GPIO3 pin of the control chip 10); the HDMI switching circuit 122 is also used to switch to displaying HDMI type video signals using the integrated graphics card when it receives a second-level signal (from the GPIO3 pin of the control chip 10). As described above, the display output of the video signal is switched to DP type via DP switching circuit 121 and to HDMI type via HDMI switching circuit 122. Based on this, and combined with the detection results of the first and second detection pins and the identification results of the first bus interface, the display output of the integrated graphics card and the discrete graphics card 20 can be switched. In summary, based on the type of the corresponding video signal (i.e., DP type or HDMI type), when the preset display mode is discrete display output mode and the discrete graphics card 20 is effectively inserted, the discrete graphics card 20 is automatically switched to display the corresponding type (i.e., DP type or HDMI type) video signal; and when the preset display mode is discrete display output mode and the discrete graphics card 20 is not effectively inserted, or when the preset display mode is integrated display output mode, the integrated graphics card is automatically switched to display the corresponding type (i.e., DP type or HDMI type) video signal. This not only enables automatic switching between the integrated graphics card and the discrete graphics card 20, but also enables switching of the corresponding video type output, thereby improving the flexibility of display output switching, eliminating the need for manual operation, and thus enhancing the user experience.

[0072] Figure 4This is a schematic diagram of the third structure of a computer device provided in an embodiment of this application, with reference to... Figure 4 The computer device 1 also includes a signal conversion circuit 14, a power supply circuit 15, and an HDMI connector 16. The third terminal of the DP switching circuit 121 is connected to the first terminal of the signal conversion circuit 14; the second terminal of the signal conversion circuit 14 is connected to the first terminal of the power supply circuit 15, and the third terminal of the signal conversion circuit 14 is connected to the display screen 13; the second terminal of the power supply circuit 15 is connected to the display screen 13, and the third terminal of the power supply circuit 15 is used to receive a power signal. The power supply circuit 15 is used to boost the received power signal and adjust the backlight brightness to control the brightness of the display screen 13. The HDMI switching circuit 122 is connected to the display screen 13 via the HDMI connector 16. For example, the signal conversion circuit 14 can be a DP signal to LVDS (Low-Voltage Differential Signaling) signal conversion circuit. The signal conversion circuit 14 is connected to the power supply circuit 15 via a BL_ON interface, a PWM (Pulse Width Modulation) interface, and an ADIM interface, wherein the BL_ON interface is used to control the on / off state of the backlight. When the display screen 13 is turned on, the BL_ON interface receives a high-level signal from the signal conversion circuit 14, thereby activating the backlight and turning it on. Conversely, when the display screen 13 is turned off, the BL_ON interface receives a low-level signal from the signal conversion circuit 14, thereby cutting off the power supply to the backlight and turning it off. The PWM interface is a digital signal transmission protocol interface used to adjust power supply and backlight brightness. In this embodiment, the PWM interface is used to adjust the backlight brightness by changing the ratio of the high-level time to the low-level time of the signal to control the voltage or power of the output signal, thereby achieving precise adjustment of the backlight brightness. This allows for adjustment of backlight brightness according to the needs of different scenarios, improving the user experience. The ADIM interface is used for voltage adjustment of the backlight brightness, controlling the backlight brightness by changing the voltage value.

[0073] As described above, the power supply circuit boosts the incoming power signal and adjusts the backlight brightness to meet the user's brightness requirements, thereby improving the user's viewing experience. Furthermore, the signal conversion circuit converts the video signal into a resolution that meets the user's needs, further enhancing the viewing experience.

[0074] Figure 5A flowchart of a display output method provided in an embodiment of this application is given. The display output method provided in this embodiment can be executed by a display output device, which can be implemented by software and / or hardware. The display output device can be composed of two or more physical entities, or it can be composed of a single physical entity. Generally speaking, the display output device can be a pad device with display function, such as a computer device.

[0075] The following description uses a computer device as the main entity executing the display output method. (Refer to...) Figure 5 This display output method is used in the computer device provided in the aforementioned embodiments, and specific steps are executed through the control chip in the aforementioned computer device. The display output method specifically includes:

[0076] S101. When the preset display mode is the independent display output mode, receive the level signals detected by the first detection pin and the second detection pin, and receive the graphics card information identified by the first bus interface.

[0077] The default display mode can be understood as the display mode currently set by the system. For example, if the display mode saved before shutting down the computer was the dedicated display output mode (i.e., display output using the dedicated graphics card), then the default display mode for this boot will be the dedicated display output mode. Similarly, if the display mode saved before shutting down the computer was the integrated display output mode (i.e., display output using the integrated graphics card), then the default display mode for this boot will be the integrated display output mode.

[0078] After powering on, in the default display mode of discrete display output, it is necessary to detect whether the discrete graphics card is validly inserted. Only when the discrete graphics card is validly inserted and the display output is switched to the discrete graphics card can normal display function be achieved. That is, if the discrete graphics card is not validly inserted, switching to the discrete graphics card for display output will result in no normal display, thus affecting the user experience. Therefore, after powering on, in the default display mode of discrete display output, the system can comprehensively determine whether the discrete graphics card is validly inserted by receiving the level signals detected by the first and second detection pins of the connector, as well as the graphics card information identified by the first bus interface of the connector. The level signals detected by the first and second detection pins determine whether the two corresponding pins of the discrete graphics card are validly inserted into the connector, thereby determining whether all pins of the discrete graphics card are validly inserted into the connector, achieving physical connection detection. Furthermore, the graphics card information identified by the first bus interface can determine whether the discrete graphics card is logically inserted, i.e., the first bus interface implements software insertion detection. If the first bus interface detects graphics card information (e.g., device ID information), it is considered that a discrete graphics card is inserted; if the first bus interface does not detect graphics card information (e.g., device ID information), it is considered that no discrete graphics card is inserted. Comprehensive hardware and software detection is performed through the first detection pin, the second detection pin, and the first bus interface to comprehensively determine whether the discrete graphics card is validly inserted. Compared to related technologies that only implement logical connection detection through software, this embodiment adds physical connection detection in hardware to determine whether all pins of the discrete graphics card are validly connected to the connector, i.e., all pins of the discrete graphics card are validly inserted into the connector. This avoids the problem of the discrete graphics card failing to output display due to some pins not being validly inserted. Subsequently, the display output is switched to the discrete graphics card only after confirming that all pins of the discrete graphics card are validly inserted into the connector, thereby ensuring the normal function of the discrete graphics card in display output and improving the reliability of the discrete graphics card's display output.

[0079] S102. Determine whether the discrete graphics card is validly inserted based on the level signal and graphics card information.

[0080] The system determines whether the discrete graphics card is effectively inserted into the connector based on the level signals corresponding to the first and second detection pins and the graphics card information corresponding to the first bus interface. As described in the previous embodiment, the first and second detection pins are each connected to a pull-up resistor. When the discrete graphics card is inserted into the connector, when the corresponding pin of the discrete graphics card is connected to the first and second detection pins, the first and second detection pins will become low-level. That is, the level signals detected by the first and second detection pins are low-level signals, and these are output to the control chip. In other words, if both GPIO1 and GPIO2 pins of the control chip receive low-level signals, it means that the discrete graphics card is physically connected to the connector. When the corresponding pin of the discrete graphics card is connected to the first bus interface, the control chip can identify the graphics card information of the discrete graphics card through the first bus interface (e.g., 8 sets of PCIe interface pins) based on the BIOS (Basic Input / Output System) program. When the corresponding graphics card information is identified, it means that the discrete graphics card and the connector are logically effectively connected, i.e., effectively inserted in software. When the graphics card information is not identified, it means that the discrete graphics card and the connector are not logically effectively connected, i.e., effectively inserted in software. A truly effective connection is achieved only when the discrete graphics card is physically and logically connected, meaning the discrete graphics card is effectively inserted into the connector.

[0081] If either the first detection pin or the second detection pin detects a high-level signal, it means that there is a pin in the discrete graphics card that is not effectively inserted into the connector. For example, at least the pin that detects the high-level signal (i.e., the first detection pin or the second detection pin) is not effectively inserted into the connector. Therefore, when either the first detection pin or the second detection pin detects a high-level signal or the first bus interface does not recognize the graphics card information, it is determined that the discrete graphics card is not effectively inserted.

[0082] As described above, the level signals detected by the first and second detection pins are used to determine whether the two corresponding pins of the discrete graphics card are inserted into the connector, thereby determining whether all pins of the discrete graphics card are effectively inserted, realizing the detection of physical hardware connections. Additionally, the graphics card information identified by the first bus interface is used to determine whether the discrete graphics card is logically inserted, i.e., the first bus interface implements insertion detection in software. By comprehensively detecting hardware and software through the first and second detection pins and the first bus interface, a comprehensive judgment on whether the discrete graphics card is effectively inserted is made. Compared to related technologies that only implement logical connection detection through software, this embodiment adds physical hardware connection detection to determine that all pins of the discrete graphics card are effectively connected to the connector, i.e., all pins of the discrete graphics card are effectively inserted into the connector. This avoids the problem of the discrete graphics card failing to output display due to some pins not being fully inserted. Subsequently, the display output is switched to the discrete graphics card only after confirming that all pins of the discrete graphics card are effectively inserted into the connector, thereby ensuring the normal function of the discrete graphics card's display output and improving the reliability of the discrete graphics card's display output.

[0083] S103. When it is confirmed that a discrete graphics card has been successfully inserted, a first-level signal is sent to the switching circuit to switch to the discrete graphics card for display output.

[0084] When the preset display mode is independent display output mode and a valid independent graphics card is confirmed to be inserted, a first-level signal is sent to the switching circuit to switch to the independent graphics card for display output. Since the video signal to be displayed can have multiple signal types, such as DP or HDMI, the switching circuit in the computer device includes both DP and HDMI switching circuits. The specific circuit connections are the same as in the aforementioned embodiment and will not be repeated here. The first-level signal is a signal where the first level sub-signal is high and the second level sub-signal is low. For example, let's assume the first level sub-signal is represented by SEL1 and the second level sub-signal by SEL2. In the first-level signal, SEL1 = 1 and SEL2 = 0. When the preset display mode is independent display output mode and a valid independent graphics card is confirmed to be inserted, the signal type of the video signal to be displayed is determined. If the signal type of the video signal to be displayed is HDMI, a first-level signal is sent to the HDMI switching circuit. Specifically, a level signal of SEL1=1 and SEL2=0 is sent to the HDMI switching circuit through the GPIO3 pin of the control chip, causing the HDMI switching circuit to switch to displaying the HDMI video signal using the independent graphics card. At this time, the HDMI switching circuit receives the display function data of the independent graphics card through the connector to realize the display output of the HDMI video signal using the independent graphics card.

[0085] When the preset display mode is independent display output mode and a valid independent graphics card is confirmed to be inserted, the signal type of the video signal to be displayed is determined. If the signal type of the video signal to be displayed is DP type, a first-level signal is sent to the DP switching circuit. That is, a level signal of SEL1=1 and SEL2=0 is sent to the DP switching circuit through the GPIO3 pin of the control chip, causing the DP switching circuit to switch to displaying the video signal of type DP using the independent graphics card. At this time, the DP switching circuit receives the display function data of the independent graphics card through the connector to realize the display output of the video signal of type DP using the independent graphics card.

[0086] It should be noted that when the DP switching circuit receives the first level signal, the corresponding HDMI switching circuit will not perform display output function because it does not receive the level signal. Similarly, when the HDMI switching circuit receives the first level signal, the corresponding DP switching circuit will not perform display output function because it does not receive the level signal.

[0087] As mentioned above, by intelligently switching the output type based on the video type when determining to use a dedicated graphics card for display output, the flexibility of display output switching is further improved, eliminating the need for manual operation and thus enhancing the user experience.

[0088] S104. When it is determined that the discrete graphics card is not properly inserted, a second-level signal is sent to the switching circuit to switch to the integrated graphics card for display output.

[0089] When the preset display mode is the independent display output mode and it is determined that no independent graphics card is effectively inserted, a second-level signal is sent to the switching circuit to switch to the integrated graphics card for display output. Since the video signal to be displayed can have multiple signal types, such as DP or HDMI, the switching circuit in the computer device includes both DP and HDMI switching circuits. The specific circuit connections are the same as in the aforementioned embodiment and will not be repeated here. The second-level signal is a signal where the first-level sub-signal is low and the second-level sub-signal is high. For example, assuming the first-level sub-signal is represented by SEL1 and the second-level sub-signal by SEL2, the second-level signal is SEL1 = 0 and SEL2 = 1. When the preset display mode is independent display output mode and a valid discrete graphics card is confirmed to be inserted, the signal type of the video signal to be displayed is determined. If the signal type of the video signal to be displayed is HDMI, a second-level signal is sent to the HDMI switching circuit. Specifically, a level signal of SEL1=0 and SEL2=1 is sent to the HDMI switching circuit through the GPIO3 pin of the control chip, causing the HDMI switching circuit to switch to displaying the HDMI video signal using the integrated graphics card. At this time, the HDMI switching circuit receives the display function data of the integrated graphics card through the HDMI1.4 pin in the control chip to realize the display output of the HDMI video signal using the integrated graphics card.

[0090] When the preset display mode is independent display output mode and it is confirmed that no independent graphics card is effectively inserted, the signal type of the video signal to be displayed is determined. If the signal type of the video signal to be displayed is DP type, a second level signal is sent to the DP switching circuit. That is, a level signal of SEL1=0 and SEL2=1 is sent to the DP switching circuit through the GPIO3 pin of the control chip, causing the DP switching circuit to switch to displaying the DP type video signal using the integrated graphics card. At this time, the DP switching circuit receives the display function data of the integrated graphics card through the DP1.2a pin of the control chip to realize the display output of the DP type video signal using the integrated graphics card.

[0091] It should be noted that when the DP switching circuit receives the second level signal, the corresponding HDMI switching circuit will not perform display output function because it does not receive the level signal. Similarly, when the HDMI switching circuit receives the second level signal, the corresponding DP switching circuit will not perform display output function because it does not receive the level signal.

[0092] As mentioned above, by intelligently switching the output type based on the video type when the integrated graphics card is selected for display output, the flexibility of display output switching is further improved, eliminating the need for manual operation and thus enhancing the user experience.

[0093] The above-described hardware and software integration detection, achieved through the first detection pin, the second detection pin, and the first bus interface, comprehensively determines whether the discrete graphics card is properly inserted. Compared to related technologies that rely solely on software-based logical connection detection, this embodiment adds physical connection detection to ensure all pins of the discrete graphics card are effectively connected to the connector. This prevents the discrete graphics card from failing to output display data due to partially inserted pins. The system only switches to the discrete graphics card for display output after confirming all pins are properly inserted, ensuring normal display functionality and improving reliability. Conversely, if the discrete graphics card is not properly inserted, the integrated graphics card is used for display output to ensure normal display output. This avoids the problem of the display failing due to an improperly inserted discrete graphics card. This embodiment automatically switches to the integrated graphics card for display output, enhancing the user experience.

[0094] The above-described method, when the preset display mode is the independent display output mode, determines whether a discrete graphics card is validly inserted based on the level signals detected by the first and second detection pins of the connector and the graphics card information identified by the first bus interface. If a valid discrete graphics card is detected, the display output is switched to the discrete graphics card; if a discrete graphics card is not detected, the display output is switched to the integrated graphics card. This solves the technical problem of poor display output switching flexibility. When a discrete graphics card is not detected, the display output can be automatically switched to the integrated graphics card. Compared with related technologies where the discrete graphics card must be manually removed to switch to the integrated graphics card for output display, this method improves the flexibility of display output switching, eliminates the need for manual operation by the user, and thus enhances the user experience.

[0095] In one embodiment, when the preset display mode is integrated display output mode, there is no need to detect whether the discrete graphics card is validly inserted after power-on. A second-level signal is directly sent to the switching circuit to switch to integrated graphics card for display output. For example, assume the second-level signal is SEL1=0 and SEL2=1. When the preset display mode is integrated display output mode, the signal type of the video signal to be displayed is determined. If the signal type of the video signal to be displayed is HDMI, the second-level signal is sent to the HDMI switching circuit. That is, a level signal of SEL1=0 and SEL2=1 is sent to the HDMI switching circuit through the GPIO3 pin of the control chip, causing the HDMI switching circuit to switch to display output of HDMI type video signals using the integrated graphics card. At this time, the HDMI switching circuit receives display function data from the integrated graphics card through the HDMI1.4 pin in the control chip to realize the display output of HDMI type video signals using the integrated graphics card.

[0096] When the preset display mode is integrated display output mode, the signal type of the video signal to be displayed is determined. If the signal type of the video signal to be displayed is DP type, a second-level signal is sent to the DP switching circuit. That is, a level signal of SEL1=0 and SEL2=1 is sent to the DP switching circuit through the GPIO3 pin of the control chip, causing the DP switching circuit to switch to displaying the DP type video signal using the integrated graphics card. At this time, the DP switching circuit receives the display function data of the integrated graphics card through the DP1.2a pin of the control chip to realize the display output of the DP type video signal using the integrated graphics card.

[0097] As described above, during the use of computer equipment, the integrated display output mode can be saved as a preset display mode, so that the integrated graphics card can be used directly for display output the next time the computer is turned on. Compared with the related technology, which prioritizes the display output of the dedicated graphics card as long as it is plugged in, this embodiment can set a preset display mode according to user needs. Subsequent use can directly output the display based on the preset display mode, thereby improving the flexibility of display output and enhancing the user experience.

[0098] In related technologies, when a dedicated graphics card is inserted, the display output is only enabled by default, and the user cannot switch between the dedicated and integrated graphics cards via software. This results in poor flexibility in display output switching and negatively impacts the user experience. Therefore, this embodiment provides a method for switching between a dedicated and integrated graphics card. The user inputs a switching command through the interactive interface on the display screen. Based on the switching command, a first-level signal or a second-level signal is sent to the switching circuit to switch between display output from the dedicated graphics card and display output from the integrated graphics card. The switched display output mode is saved to obtain a preset display mode, which includes either a dedicated display output mode or an integrated display output mode. For example, the corresponding BIOS interface on the display screen shows both dedicated and integrated graphics card options. It should be noted that when the aforementioned embodiment detects that a dedicated graphics card is not validly inserted, the corresponding dedicated graphics card option cannot be selected. In this case, the corresponding selection control can be set to grayscale and disabled. The computer automatically switches to the integrated graphics card for display output. When the aforementioned embodiment detects that a dedicated graphics card is validly inserted, the corresponding BIOS interface on the display screen shows both dedicated and integrated graphics card options. By clicking or touching the discrete graphics card option or the integrated graphics card option, a first switching instruction or a second switching instruction is generated based on the selection operation. For example, when the discrete graphics card option is selected by clicking or touching, a first switching instruction is generated based on the selection operation. A first level signal is sent to the switching circuit according to the first switching instruction to switch to the discrete graphics card for display output, and the discrete display output mode is saved as a preset display mode. When the integrated graphics card option is selected by clicking or touching, a second switching instruction is generated based on the selection operation. A second level signal is sent to the switching circuit according to the second switching instruction to switch to the integrated graphics card for display output, and the integrated display output mode is saved as a preset display mode.

[0099] As described above, once a dedicated graphics card is successfully inserted, the user can switch between the dedicated and integrated graphics cards via software. Compared to existing technologies where a dedicated graphics card is the default for display output, this improves the flexibility of display output switching, enables personalized display output settings, and enhances the user experience.

[0100] This application provides a display output device, referring to... Figure 6The display output device includes a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The display output device may have one or more processors, and the display output device may have one or more memories. The processor, memory, communication module, input device, and output device of the display output device can be connected via a bus or other means.

[0101] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the display output method described in any embodiment of this application. The memory may primarily include a program storage area and a data storage area, wherein the program storage area may store the operating system and at least one application program required for a function; the data storage area may store data created based on the use of the device, etc. Furthermore, the memory may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0102] The communication module 33 is used for data transmission.

[0103] The processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, thereby realizing the above-mentioned display output method.

[0104] Input device 34 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the device. Output device 35 may include display devices such as a display screen.

[0105] The display output device provided above can be used to execute the display output method provided in the above embodiments, and has corresponding functions and beneficial effects.

[0106] This application embodiment also provides a storage medium for storing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to perform a display output method. The display output method includes: when the preset display mode is a standalone display output mode, receiving level signals detected by a first detection pin and a second detection pin, and receiving graphics card information identified by a first bus interface; determining whether a standalone graphics card is validly inserted based on the level signals and the graphics card information; when it is determined that a standalone graphics card is validly inserted, sending a first level signal to a switching circuit to switch to display output from the standalone graphics card; when it is determined that a standalone graphics card is not validly inserted, sending a second level signal to the switching circuit to switch to display output from the integrated graphics card.

[0107] Storage medium – any type of memory device or storage device. The term “storage medium” is intended to include: mounting media, such as CD-ROM, floppy disk, or magnetic tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. Storage medium may also include other types of memory or combinations thereof. Furthermore, storage medium may reside in a first computer system in which the program is executed, or it may reside in a different second computer system connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term “storage medium” can include two or more storage media residing in different locations (e.g., in different computer systems connected via a network). Storage medium may store program instructions (e.g., specifically implemented as a computer program) executable by one or more processors.

[0108] Of course, the computer-executable instructions stored in the storage medium provided in the embodiments of this application are not limited to the display output method described above, but can also perform related operations in the display output method provided in any embodiment of this application.

[0109] The display output device, storage medium, and display output apparatus provided in the above embodiments can execute the display output method provided in any embodiment of this application. For technical details not described in detail in the above embodiments, please refer to the display output method provided in any embodiment of this application.

[0110] The above description is merely a preferred embodiment and the technical principles employed in this application. This application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions that can be made by those skilled in the art will not depart from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of this application, the scope of which is determined by the scope of the claims.

Claims

1. A display output method characterized by comprising: A computer device includes a control chip, a connector, a switching circuit, and a display screen. The control chip includes an integrated graphics card and is connected to a first end of the connector and a first end of the switching circuit. A second end of the connector is used to connect to a discrete graphics card. The connector includes a first detection pin, a second detection pin, and a first bus interface. A second end of the switching circuit is connected to a third end of the connector and is connected to the display screen. The second end of the switching circuit is used to connect to a discrete graphics card via the connector. The method includes: When the preset display mode is the independent display output mode, it receives the level signals detected by the first detection pin and the second detection pin, as well as the graphics card information identified by the first bus interface; Determine whether a discrete graphics card is validly inserted based on the level signal and the graphics card information; When a valid discrete graphics card is inserted, a first-level signal is sent to the switching circuit to switch to the discrete graphics card for display output; If it is determined that the discrete graphics card is not properly inserted, a second-level signal is sent to the switching circuit to switch to the integrated graphics card for display output.

2. The method of claim 1, wherein, Upon confirming the valid insertion of a discrete graphics card, the step of sending a first-level signal to the switching circuit to switch to display output via the discrete graphics card includes: Receive a switching command, and send a first level signal or a second level signal to the switching circuit according to the switching command to switch to the discrete graphics card for display output or to the integrated graphics card for display output; The current display output mode is saved to obtain a preset display mode, which includes an independent display output mode or an integrated display output mode.

3. The method of claim 1, wherein, The step of determining whether a discrete graphics card is validly inserted based on the voltage level signal and the graphics card information includes: When both the first detection pin and the second detection pin detect a low-level signal, and the first bus interface recognizes the corresponding graphics card information, it is determined that a discrete graphics card has been successfully inserted. If the level signal detected by the first detection pin or the second detection pin is a high level signal, or if the first bus interface does not recognize the graphics card information, it is determined that the discrete graphics card is not effectively inserted.

4. The method of claim 1, wherein, The first level signal is a level signal in which the first level sub-signal is a high level signal and the second level sub-signal is a low level signal; the switching circuit includes a DP switching circuit and an HDMI switching circuit. The step of sending a first-level signal to the switching circuit when a valid discrete graphics card is inserted, to switch to display output from the discrete graphics card, includes: Determine the signal type of the video signal to be displayed, including DP and HDMI types; When it is confirmed that a discrete graphics card is inserted, and the signal type is DP, the first level signal is sent to the DP switching circuit to switch to displaying and outputting DP type video signals using the discrete graphics card. When it is confirmed that a discrete graphics card is inserted, and the signal type is HDMI, the first level signal is sent to the HDMI switching circuit to switch to displaying and outputting HDMI type video signals using the discrete graphics card.

5. The method of claim 1, wherein, The second level signal is a level signal in which the first level sub-signal is a low level signal and the second level sub-signal is a high level signal. The switching circuit includes a DP switching circuit and an HDMI switching circuit. The step of sending a second-level signal to the switching circuit when it is determined that no discrete graphics card is effectively inserted, to switch to the integrated graphics card for display output, includes: Determine the signal type of the video signal to be displayed, including DP and HDMI types; When it is determined that no dedicated graphics card is effectively inserted, and the signal type is DP type, the second level signal is sent to the DP switching circuit to switch to display output of DP type video signal using the dedicated graphics card; When it is determined that no discrete graphics card is effectively inserted, and the signal type is HDMI, the second level signal is sent to the HDMI switching circuit to switch to displaying and outputting HDMI type video signals using the discrete graphics card.

6. The method of claim 1, wherein, Before determining whether a discrete graphics card is validly inserted based on the voltage level signal and the graphics card information, the process includes: When the preset display mode is the integrated display output mode, a second level signal is sent to the switching circuit to switch to the integrated graphics card for display output.

7. A computer device, comprising: include: The control chip includes an integrated graphics card and is used to perform the display output method according to any one of claims 1-6. The control chip is connected to the first end of the connector and the first end of the switching circuit, and the second end of the connector is used to connect to the discrete graphics card. The second end of the switching circuit is connected to the third end of the connector, the third end of the switching circuit is connected to the display screen, and the second end of the switching circuit is used to connect to the discrete graphics card through the connector.

8. The computer device of claim 7, wherein, The switching circuit includes: a DP switching circuit and an HDMI switching circuit; The first end of the DP switching circuit is connected to the control chip, the second end of the DP switching circuit is connected to the fourth end of the connector, the third end of the DP switching circuit is connected to the display screen, and the second end of the DP switching circuit is used to connect to the discrete graphics card through the connector. The first end of the HDMI switching circuit is connected to the control chip, the second end of the HDMI switching circuit is connected to the fifth end of the connector, the third end of the HDMI switching circuit is connected to the display screen, and the second end of the HDMI switching circuit is used to connect to the discrete graphics card through the connector.

9. The computer device of claim 8, wherein, The computer equipment also includes: a signal conversion circuit and a power supply circuit; The third terminal of the DP switching circuit is connected to the first terminal of the signal conversion circuit. The second terminal of the signal conversion circuit is connected to the first terminal of the power supply circuit, and the third terminal of the signal conversion circuit is connected to the display screen. The second terminal of the power supply circuit is connected to the display screen, and the third terminal of the power supply circuit is used to receive a power signal. The power supply circuit is used to boost the received power signal and adjust the backlight brightness to control the brightness of the display screen.

10. The computer device of claim 7, wherein, The computer device further includes a first resistor and a second resistor, and the connector includes a first detection pin and a second detection pin; The first detection pin is connected to the first end of the first resistor, and the second end of the first resistor is used to connect to the power supply voltage; The second detection pin is connected to the first end of the second resistor, and the second end of the second resistor is used to connect to the power supply voltage; When the connector is used for valid insertion of a discrete graphics card, the first detection pin and the second detection pin detect a low-level signal.

11. A storage medium storing computer-executable instructions, wherein: The computer-executable instructions, when executed by a processor, are used to perform the method as described in any one of claims 1-6.