CN109684258B - Signal processing device and method - Google Patents

Signal processing device and method Download PDF

Info

Publication number
CN109684258B
CN109684258B CN201811585341.4A CN201811585341A CN109684258B CN 109684258 B CN109684258 B CN 109684258B CN 201811585341 A CN201811585341 A CN 201811585341A CN 109684258 B CN109684258 B CN 109684258B
Authority
CN
China
Prior art keywords
signal
gpio
line
switching unit
display 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.)
Active
Application number
CN201811585341.4A
Other languages
Chinese (zh)
Other versions
CN109684258A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201811585341.4A priority Critical patent/CN109684258B/en
Publication of CN109684258A publication Critical patent/CN109684258A/en
Application granted granted Critical
Publication of CN109684258B publication Critical patent/CN109684258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a signal processing device, comprising: a Central Processing Unit (CPU) configured to send a first General Purpose Input/Output (GPIO) signal to a line switching Unit when it is determined that an external graphics card is inserted into a graphics card slot of the device, where the first GPIO signal indicates that the line switching Unit is controlled to switch from a first signal line to a second signal line; the line switching unit is configured to receive, based on the first GPIO signal, a first display interface (DP, DisplayPort) signal output by the external graphics card through the second signal line; and the Multiplexer (MUX, Multiplexer) is used for determining that the signal type required by the current access equipment is a DP signal, and outputting the first DP signal through a front Universal Serial Bus (USB) interface of the device. Meanwhile, the invention also discloses a signal processing method.

Description

Signal processing device and method
Technical Field
The present disclosure relates to signal processing technologies, and in particular, to a signal processing apparatus and method.
Background
In the prior art, when the user is connected with the game host through Virtual Reality (VR) equipment, the connection can only be carried out through the rear universal serial bus (USB Type C) interface of the game host, because the USB Type C interface on the VR equipment is small, when the rear USB Type C interface of the game host is connected with the game host, the specific position of the rear USB Type C interface of the game host is not easy to see by the user, when the VR equipment is connected, the USB Type C interface of the VR equipment is not easy to align with the USB Type C interface on the game host.
Disclosure of Invention
In view of the above, embodiments of the present invention are directed to a signal processing method and apparatus.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
according to an aspect of an embodiment of the present invention, there is provided a signal processing apparatus, including:
the central processing unit CPU is used for sending a first general purpose input/output GPIO signal to the line switching unit when determining that an external display card is inserted into a display card slot of the device, wherein the first GPIO signal represents and controls the line switching unit to be switched from a first signal line to a second signal line;
the line switching unit is used for receiving a first display interface DP signal output by the external display card through the second signal line based on the first GPIO signal;
and the multiplexer MUX is used for outputting the first DP signal through a front Universal Serial Bus (USB) interface of the device when the signal type required by the current access equipment is determined to be the DP signal.
In the above scheme, the CPU is further configured to send a second GPIO signal to the line switching unit when it is determined that the external graphics card is pulled out of the graphics card slot, where the second GPIO signal indicates that the line switching unit is controlled to switch from the second signal line to the first signal line;
the circuit switching unit is further configured to receive, based on the second GPIO signal, a second DP signal output by the CPU through the first signal circuit;
and the MUX is further used for outputting the second DP signal through the pre-USB interface when the signal type required by the current access device is determined to be the DP signal.
In the above scheme, its characterized in that:
and when the external display card is inserted into the display card slot, the signal pin on the external display card is matched with the idle signal pin on the display card slot.
In the above scheme, the apparatus further comprises:
the universal serial bus power transmission USB PD interface is used for detecting the signal type of the current access equipment and sending a control signal to the MUX based on the detected signal type;
the MUX is specifically configured to output the first DP signal through a pre-USB interface of the apparatus when it is determined, based on the control signal, that the signal type required by the current access device is a DP signal.
In the foregoing solution, the MUX is further configured to output the USB signal or the PD signal through the pre-USB interface when determining, based on the control signal, that the signal type required by the current access device is a USB signal or a PD signal.
According to another aspect of embodiments of the present invention, there is provided a signal processing method, the method including:
when it is determined that an external graphics card is inserted into a graphics card slot of a mainboard, sending a first GPIO signal to a line switching unit on the mainboard, wherein the first GPIO signal represents and controls the line switching unit to be switched from a first signal line to a second signal line;
receiving a first DP signal output by the external display card through the second signal line based on the first GPIO signal;
and when the signal type required by the current access equipment is determined to be a DP signal, outputting the first DP signal through a front USB interface on the mainboard.
In the above scheme, the method further comprises:
when the external display card is determined to be pulled out of the display card slot, sending a second GPIO signal to the line switching unit, wherein the second GPIO signal represents and controls the line switching unit to be switched from the second signal line to the first signal line;
receiving a second DP signal output by a CPU on the mainboard through the first signal circuit based on the second GPIO signal;
and when the signal type required by the current access equipment is determined to be a DP signal, outputting the second DP signal through the preposed USB interface.
In the above scheme, the method further comprises:
and when the signal type required by the current access equipment is determined to be a USB signal or a PD signal, outputting the USB signal or the PD signal through the preposed USB interface.
In the above scheme, the method further comprises:
and when the external display card is inserted into the display card slot, the signal pin on the external display card is matched with the idle signal pin on the display card slot.
According to a third aspect of embodiments of the present invention, there is provided a signal processing apparatus, the apparatus including: the signal processing method comprises a memory, a processor and an executable program stored in the memory and moved by the processor, wherein the steps of the signal processing method are executed when the processor runs the executable program.
The signal processing device and the method provided by the invention have the advantages that when the situation that an external display card is inserted into a display card slot of a mainboard is determined, a first GPIO signal is sent to a circuit switching unit on the mainboard, and the first GPIO signal represents and controls the circuit switching unit to be switched from a first signal circuit to a second signal circuit; receiving a first DP signal output by the external display card through the second signal line based on the first GPIO signal; and when the signal type required by the current access equipment is determined to be a DP signal, outputting the first DP signal through a front USB interface on the mainboard. So, through increasing the circuit switching unit on the mainboard, when inserting external display card on the display card slot, send GPIO signal through CPU to the circuit switching unit, control the circuit switching unit and carry out the circuit and switch to the leading USB interface that realizes the mainboard supports the display function of external display card. Any display equipment (such as VR equipment) that has USB Type C interface is connected in the plug of convenience of customers.
Drawings
FIG. 1 is a first schematic diagram illustrating a signal processing apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a second exemplary embodiment of a signal processing apparatus;
FIG. 3 is a flowchart illustrating a signal processing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a signal processing apparatus according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Fig. 1 is a schematic structural diagram of a signal processing apparatus in an embodiment of the present invention, and as shown in fig. 1, the signal processing apparatus 100 may be a computer, a digital broadcast terminal, an information transceiver, a game console, a tablet device, a personal digital assistant, an information push server, a content server, an identity authentication server, and the like.
In fig. 1, the signal processing apparatus 100 includes at least: a CPU 101, a line switching unit 102, a MUX 103, and a graphics card slot 104.
The CPU 101 is configured to send a first GPIO signal to the line switching unit 102 when it is determined that the external graphics card 105 is inserted into the graphics card slot 104, where the first GPIO signal is used to characterize and control the line switching unit 102 to switch from a first signal line to a second signal line;
the line switching unit 102 is configured to receive, based on the first GPIO signal, a first display interface DP signal output by the external graphics card 105 through the second signal line;
the MUX 103 is configured to output the first DP signal through the USB interface 107 of the signal processing apparatus 100 when determining that the signal type required by the current access device is a DP signal.
Specifically, when a user inserts an external graphics card 105 into the graphics card slot 104, if the signal pin of the external graphics card 105 is successfully matched with the idle signal pin of the graphics card slot 104, the CPU 101 receives a graphics card insertion signal, and thus, it can be determined that the external graphics card 105 is inserted into the graphics card slot 104 according to the received graphics card insertion signal.
Here, the graphics card slot 104 may be specifically a slot PCI-express (peripheral Component Interconnect express) of the high-speed serial computer expansion bus standard. For example, the graphics card slot 104 is PCIE 16X.
When the CPU 101 determines that the external graphics card 105 is inserted into the graphics card slot 104, the CPU 101 sends a first GPIO signal to the line switching unit 102, where the first GPIO signal is used to indicate that the line switching unit 102 is controlled to switch from the first signal line to the second signal line.
Here, the line switching unit 102 may be specifically a high-speed signal switcher.
When the line switching unit 102 receives a first GPIO signal sent by the CPU 101, based on the first GPIO signal, the first signal line currently connected to the CPU 101 is switched to a second signal line, and a first DP signal output by the external graphics card 105 through the graphics card slot 104 is received through the second signal line, and the received first DP signal is sent to the MUX 103.
In the embodiment of the present invention, the signal processing apparatus 100 further includes a Power Delivery (PD) interface 106.
When a user connects any device with a USB interface (hereinafter referred to as an access device) to the pre-USB interface 107 on the signal processing apparatus 100, the pre-USB interface 107 generates a device access signal. The USB PD interface 106 can determine the signal type of the currently accessed device through the device access signal. For example, the signal types include a USB 2.0 signal, a DP signal, a USB 3.0 signal, a PD signal, and the like.
When the USB PD interface 106 detects the signal type of the current access device, it will send a control signal carrying the signal type to the MUX 103 based on the detected signal type.
Here, the control signal is used to control the MUX 103 to output a signal corresponding to the type of signal carried in the control signal.
When the MUX 103 receives the control signal sent by the USB PD interface 106, and determines that the signal currently required by the access device is a DP signal based on the signal type carried in the control signal, the first DP signal is output through the pre-USB interface 107 of the signal processing apparatus 100.
In the embodiment of the present invention, when the user pulls out the external graphics card 105 from the graphics card slot 104, the CPU 101 receives a graphics card pulling-out signal, so that it can be determined that the external graphics card 105 is pulled out from the graphics card slot 104 according to the graphics card pulling-out signal, and then sends a second GPIO signal to the line switching unit 102.
Here, the second GPIO signal is used to characterize and control the line switching unit 102 to switch from the second signal line to the first signal line.
When the line switching unit 102 receives the second GPIO signal, the current second signal line is switched to the first signal line based on the second GPIO signal, and the second DP signal output by the CPU 101 is received through the first signal line.
When the MUX 103 receives the control signal sent by the USB PD interface 106 and determines that the signal type required by the current access device is a DP signal based on the signal type carried in the control signal, the second DP signal is output through the pre-USB interface 107 of the signal processing apparatus 100.
Here, the front USB interface 107 of the signal processing apparatus 100 may specifically be a USB Type C interface.
In this way, the front USB interface 107 of the signal processing apparatus 100 is used to connect any device with a USB interface, which is not only suitable for connecting devices with cables of different lengths, but also convenient for users to plug and unplug.
In the embodiment of the present invention, when the MUX 103 receives the control signal sent by the USB PD interface 106, and determines that the signal type required by the current access device is a USB signal or a PD signal based on the signal type carried in the control signal, the pre-USB interface 107 of the signal processing apparatus 100 may also output the USB signal or the PD signal sent by the CPU 101. So, can not influence when realizing the first DP signal that sends through leading USB Type C interface output external display card and realize other functions through leading USB Type C interface. Make leading USB Type C interface can realize more functions.
Fig. 2 is a schematic structural diagram of a signal processing apparatus according to an embodiment of the present invention, and as shown in fig. 2, the apparatus includes:
the control unit 201 is configured to send a first general purpose input/output GPIO signal to the line switching unit 202 when it is determined that an external graphics card is inserted into a graphics card slot of the device, where the first GPIO signal indicates that the line switching unit is controlled to switch from a first signal line to a second signal line;
the line switching unit 202 is configured to receive, based on the first GPIO signal, a first display interface DP signal output by the external graphics card through the second signal line;
an output unit 203, configured to output the first DP signal through a pre-USB interface of the signal processing apparatus when determining that the signal type required by the current access device is a DP signal.
In this embodiment of the present invention, the control unit 201 is further configured to send a second GPIO signal to the line switching unit 202 when it is determined that the external graphics card is pulled out of the graphics card slot, where the second GPIO signal indicates that the line switching unit is controlled to be switched from the second signal line to the first signal line;
the line switching unit 202 is further configured to receive, based on the second GPIO signal, a second DP signal output by the CPU through the first signal line;
the output unit 203 is further configured to output the second DP signal through the pre-USB interface when it is determined that the signal type required by the current access device is the DP signal.
In the embodiment of the present invention, the control unit is specifically configured to determine that the external graphics card is inserted into the graphics card slot when the signal pin on the external graphics card is matched with the idle signal pin on the graphics card slot.
In the embodiment of the present invention, the apparatus further includes:
a detecting unit 204, configured to detect a signal type of a current access device, and send a control signal to the MUX based on the detected signal type;
the output unit 203 is specifically configured to, when it is determined that the signal type required by the current access device is a DP signal based on the control signal, output the first DP signal through a pre-USB interface of the signal processing apparatus.
In this embodiment of the present invention, the output unit is further configured to output the USB signal or the PD signal through a pre-USB interface of the signal processing apparatus when determining that the signal type required by the current access device is a USB signal or a PD signal based on the control signal.
The signal processing device provided by the embodiment of the invention can realize that the display function of the display card is supported by the front Type C interface on the premise of not influencing the functions of USB/DP/PD and the like of the front Type C of the host, thereby greatly improving the user experience of the host.
It should be noted that: in the signal processing apparatus provided in the foregoing embodiment, when performing signal transmission, only the division of the program modules is exemplified, and in practical applications, the processing may be distributed to different program modules according to needs, that is, the internal structure of the signal processing apparatus may be divided into different program modules to complete all or part of the processing described above. In addition, the signal processing apparatus provided in the above embodiment and the signal processing method embodiment belong to the same concept, and specific implementation processes thereof are described in the method embodiment and are not described herein again.
Fig. 3 is a schematic flow chart of a signal processing method according to an embodiment of the present invention, as shown in fig. 3, the method includes:
step 301, when it is determined that an external graphics card is inserted into a graphics card slot of a motherboard, sending a first GPIO signal to a line switching unit on the motherboard, where the first GPIO signal represents and controls the line switching unit to switch from a first signal line to a second signal line;
in the embodiment of the present invention, the method is mainly applied to a device with a USB Type C interface in front, for example, the device may be a computer, a digital broadcast terminal, an information transceiver device, a game console, a tablet device, a personal digital assistant, an information push server, a content server, an identity authentication server, and the like.
The equipment is provided with a display card slot, when a user inserts an external display card into the display card slot, if a signal pin on the external display card is successfully matched with an idle signal pin on the display card slot, a CPU in the equipment receives a display card inserting signal, and therefore the external display card can be determined to be inserted into the display card slot according to the display card inserting signal received by the CPU.
Here, the graphics card slot may specifically be PCIE 16X.
Step 302, receiving a first DP signal output by the external graphics card through the second signal line based on the first GPIO signal;
here, when the line switching unit receives a first GPIO signal sent by the CPU, the device may control the line switching unit to switch a first signal line currently connected with the CPU to a second signal line based on the first GPIO signal, and receive a first DP signal output by the external graphics card through the graphics card slot through the second signal line.
Step 303, when it is determined that the signal type required by the current access device is a DP signal, outputting the first DP signal through a pre-USB interface on the motherboard.
In the embodiment of the invention, the equipment also comprises a USB PD interface.
When a user connects any device with a USB interface (hereinafter referred to as an access device) to a pre-USB interface on the device, the pre-USB interface generates a device access signal. The USB PD interface can determine the signal type of the current access equipment through the equipment access signal.
For example, the signal types include a USB 2.0 signal, a DP signal, a USB 3.0 signal, a PD signal, and the like.
When the USB PD interface detects the signal type of the current access equipment, a control signal carrying the signal type is sent to the MUX in the equipment based on the detected signal type. The control signal is used for controlling the MUX to output a signal corresponding to the type of the signal carried in the control signal.
When the MUX receives a control signal sent by the USB PD interface, and the signal type carried in the control signal is used for determining that the signal required by the current access equipment is a DP signal, outputting a first DP signal through the front USB interface.
In the embodiment of the invention, when a user pulls out the external display card from the display card slot, the CPU receives a display card pulling-out signal, so that the device can determine that the external display card is pulled out from the display card slot according to the display card pulling-out signal and then sends a second GPIO signal to the line switching unit.
Here, the second GPIO signal is used to characterize that the line switching unit is controlled to be switched from the second signal line to the first signal line.
When the line switching unit receives the second GPIO signal, based on the second GPIO signal, the line switching unit is controlled to switch the current second signal line to the first signal line, and the second DP signal output by the CPU is received through the first signal line.
And when the MUX receives the control signal sent by the USB PD interface and determines that the signal type required by the current access equipment is the DP signal based on the signal type carried in the control signal, outputting a second DP signal through the front USB interface.
Here, the front USB interface may specifically be a USB Type C interface.
Therefore, the front USB interface of the equipment is connected with any equipment with the USB interface, so that the equipment connection device not only can be suitable for the equipment connection of cables with different lengths, but also is convenient for a user to plug and pull.
Fig. 4 is a schematic structural diagram of a signal processing apparatus 400 according to an embodiment of the present invention, as shown in fig. 4, the signal processing apparatus may be a mobile phone, a computer, a digital broadcast terminal, an information transceiver, a game console, a tablet device, a personal digital assistant, an information push server, a content server, an identity authentication server, and the like. The signal processing apparatus 400 shown in fig. 4 includes: at least one processor 401, memory 402, at least one network interface 404, and a user interface 403. The various components in the signal processing device 400 are coupled together by a bus system 405. It is understood that the bus system 405 is used to enable connection communication between these components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 405 in fig. 4.
The user interface 403 may include, among other things, a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, or a touch screen.
It will be appreciated that the memory 402 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 502 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 402 in the embodiment of the present invention is used to store various types of data to support the operation of the signal processing apparatus 400. Examples of such data include: any computer program for operating on the signal processing apparatus 400, such as an operating system 4021 and an application program 4022; the operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application 4022 may include various applications such as a Media Player (Media Player), a Browser (Browser), and the like for implementing various application services. A program for implementing the method according to the embodiment of the present invention may be included in the application 4022.
The method disclosed in the above embodiments of the present invention may be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 401. The Processor 401 described above may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 401 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 402, and the processor 401 reads the information in the memory 402 and performs the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, the signal processing apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the foregoing methods.
Specifically, when the processor 401 runs the computer program, it executes: when it is determined that an external graphics card is inserted into a graphics card slot of a mainboard, sending a first GPIO signal to a line switching unit on the mainboard, wherein the first GPIO signal represents and controls the line switching unit to be switched from a first signal line to a second signal line; receiving a first DP signal output by the external display card through the second signal line based on the first GPIO signal; and when the signal type required by the current access equipment is determined to be a DP signal, outputting the first DP signal through a front USB interface on the mainboard.
When the processor 401 runs the computer program, it further executes: when the external display card is determined to be pulled out of the display card slot, sending a second GPIO signal to the line switching unit, wherein the second GPIO signal represents and controls the line switching unit to be switched from the second signal line to the first signal line; receiving a second DP signal output by a CPU on the mainboard through the first signal circuit based on the second GPIO signal; and when the signal type required by the current access equipment is determined to be a DP signal, outputting the second DP signal through the preposed USB interface.
When the processor 401 runs the computer program, it further executes: and when the signal type required by the current access equipment is determined to be a USB signal or a PD signal, outputting the USB signal or the PD signal through the preposed USB interface.
When the processor 401 runs the computer program, it further executes: and when the external display card is determined to be inserted into the display card slot, the signal pin on the external display card is matched with the idle signal pin on the display card slot.
In an exemplary embodiment, the present invention further provides a computer readable storage medium, such as a memory 402, comprising a computer program, which is executable by a processor 401 of the signal processing apparatus 400 to perform the steps of the aforementioned method. The computer readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flashmemory, magnetic surface memory, optical disk, or CD-ROM; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, performs: when it is determined that an external graphics card is inserted into a graphics card slot of a mainboard, sending a first GPIO signal to a line switching unit on the mainboard, wherein the first GPIO signal represents and controls the line switching unit to be switched from a first signal line to a second signal line;
receiving a first DP signal output by the external display card through the second signal line based on the first GPIO signal;
and when the signal type required by the current access equipment is determined to be a DP signal, outputting the first DP signal through a front USB interface on the mainboard.
The computer program, when executed by the processor, further performs: when the external display card is determined to be pulled out of the display card slot, sending a second GPIO signal to the line switching unit, wherein the second GPIO signal represents and controls the line switching unit to be switched from the second signal line to the first signal line;
receiving a second DP signal output by a CPU on the mainboard through the first signal circuit based on the second GPIO signal;
and when the signal type required by the current access equipment is determined to be a DP signal, outputting the second DP signal through the preposed USB interface.
The computer program, when executed by the processor, further performs: and when the signal type required by the current access equipment is determined to be a USB signal or a PD signal, outputting the USB signal or the PD signal through the preposed USB interface.
The computer program, when executed by the processor, further performs: and when the external display card is determined to be inserted into the display card slot, the signal pin on the external display card is matched with the idle signal pin on the display card slot.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (9)

1. A signal processing apparatus, the apparatus comprising:
the central processing unit CPU is used for sending a first general purpose input/output GPIO signal to the line switching unit when determining that an external display card is inserted into a display card slot of the device, wherein the first GPIO signal represents and controls the line switching unit to be switched from a first signal line to a second signal line;
the line switching unit is used for receiving a first display interface DP signal output by the external display card through the second signal line based on the first GPIO signal;
the universal serial bus power transmission USB PD interface is used for detecting the signal type of the current access equipment and sending a control signal to the multiplexer MUX based on the detected signal type;
and the MUX is used for outputting the first DP signal through a front Universal Serial Bus (USB) interface of the device when the signal type required by the current access equipment is determined to be the DP signal based on the control signal.
2. The device of claim 1, wherein the CPU is further configured to send a second GPIO signal to the line switching unit when it is determined that the external graphics card is pulled out of the graphics card slot, where the second GPIO signal indicates to control the line switching unit to switch from the second signal line to the first signal line;
the circuit switching unit is further configured to receive, based on the second GPIO signal, a second DP signal output by the CPU through the first signal circuit;
and the MUX is further used for outputting the second DP signal through the pre-USB interface when the signal type required by the current access device is determined to be the DP signal.
3. The apparatus of claim 1, wherein:
and when the external display card is inserted into the display card slot, the signal pin on the external display card is matched with the idle signal pin on the display card slot.
4. The apparatus of claim 1, wherein the MUX is further configured to output the USB signal or the PD signal through the pre-USB interface when determining that the type of signal required by the current access device is a USB signal or a PD signal based on the control signal.
5. A method of signal processing, the method comprising:
when it is determined that an external graphics card is inserted into a graphics card slot of a mainboard, sending a first GPIO signal to a line switching unit on the mainboard, wherein the first GPIO signal represents and controls the line switching unit to be switched from a first signal line to a second signal line;
receiving a first DP signal output by the external display card through the second signal line based on the first GPIO signal;
detecting the signal type of the current access equipment;
and when the signal type required by the current access equipment is determined to be a DP signal based on the control signal sent aiming at the signal type, outputting the first DP signal through a front USB interface on the mainboard.
6. The method of claim 5, further comprising:
when the external display card is determined to be pulled out of the display card slot, sending a second GPIO signal to the line switching unit, wherein the second GPIO signal represents and controls the line switching unit to be switched from the second signal line to the first signal line;
receiving a second DP signal output by a CPU on the mainboard through the first signal circuit based on the second GPIO signal;
and when the signal type required by the current access equipment is determined to be a DP signal, outputting the second DP signal through the preposed USB interface.
7. The method of claim 5, further comprising:
and when the signal type required by the current access equipment is determined to be a USB signal or a PD signal, outputting the USB signal or the PD signal through the preposed USB interface.
8. The method of claim 5, further comprising:
and when the external display card is inserted into the display card slot, the signal pin on the external display card is matched with the idle signal pin on the display card slot.
9. A signal processing apparatus, the apparatus comprising: memory, processor and executable program stored in the memory for movement by the processor, characterized in that the steps of the signal processing method according to any of claims 6 to 8 are performed when the processor runs the executable program.
CN201811585341.4A 2018-12-24 2018-12-24 Signal processing device and method Active CN109684258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811585341.4A CN109684258B (en) 2018-12-24 2018-12-24 Signal processing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811585341.4A CN109684258B (en) 2018-12-24 2018-12-24 Signal processing device and method

Publications (2)

Publication Number Publication Date
CN109684258A CN109684258A (en) 2019-04-26
CN109684258B true CN109684258B (en) 2020-08-25

Family

ID=66188295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811585341.4A Active CN109684258B (en) 2018-12-24 2018-12-24 Signal processing device and method

Country Status (1)

Country Link
CN (1) CN109684258B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813364B (en) * 2020-07-20 2023-11-03 深圳宝新创科技股份有限公司 Display card signal transmission circuit and main board
CN114490483A (en) * 2022-01-18 2022-05-13 广州朗国电子科技股份有限公司 Novel USB framework
CN116643711B (en) * 2023-07-27 2024-05-10 荣耀终端有限公司 Signal transmission circuit, mainboard and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201897787U (en) * 2010-10-08 2011-07-13 精英电脑股份有限公司 Switching device for universal serial bus
CN206249286U (en) * 2016-11-25 2017-06-13 深圳市七彩虹禹贡科技发展有限公司 A kind of video card output interface conversion equipment and its video card
CN109739787A (en) * 2018-12-17 2019-05-10 联想(北京)有限公司 A kind of mainboard, video card, electronic equipment and data transmission method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10162779B2 (en) * 2015-05-11 2018-12-25 Dell Products L.P. Increasing data throughput of a universal serial bus (USB) type-C port
CN106059012B (en) * 2016-07-29 2019-08-02 北京小鸟看看科技有限公司 One kind wearing display power supply system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201897787U (en) * 2010-10-08 2011-07-13 精英电脑股份有限公司 Switching device for universal serial bus
CN206249286U (en) * 2016-11-25 2017-06-13 深圳市七彩虹禹贡科技发展有限公司 A kind of video card output interface conversion equipment and its video card
CN109739787A (en) * 2018-12-17 2019-05-10 联想(北京)有限公司 A kind of mainboard, video card, electronic equipment and data transmission method

Also Published As

Publication number Publication date
CN109684258A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN109684258B (en) Signal processing device and method
CN107463627B (en) Picture loading method and terminal
CN108696766B (en) Barrage display method and device and computer readable storage medium
US11138956B2 (en) Method for controlling display of terminal, storage medium, and electronic device
CN109739787B (en) Mainboard, display card, electronic equipment and data transmission method
JP6303198B2 (en) Portable communication device, method and program for recovering operating system on portable communication device
CN110083486B (en) Method, apparatus and recording medium for interacting with external terminal
US20190107929A1 (en) Method and device for loading content of page, and electronic device
CN112631883B (en) PCIe data transmission pressure manufacturing method, system and electronic equipment
WO2015070593A1 (en) Method, device and system for on-line payment information transmission
CN112433689B (en) Data transmission method and device for same screen device, same screen device and medium
EP3592005A1 (en) Method and device for controlling broadcast recipient, and mobile terminal
EP3716659A1 (en) Method for processing ordered broadcast and electronic device
CN116340230A (en) Hard disk expansion device and method
CN108932142B (en) Picture capturing method and terminal
WO2019071380A1 (en) Sleep control method, terminal, and computer readable medium
CN106201930B (en) A kind of device port determining device, terminal and method
CN114968297A (en) OTA (over the air) upgrading method, electronic equipment and chip system
CN108958829B (en) Pre-loaded resource control method, device, storage medium and terminal
CN109542531B (en) File layout adjustment method and device
CN109982136B (en) Volume adjusting method and device
CN111026584A (en) Device, method and equipment for solving key value database file damage
CN107968728B (en) Method and device for determining rate
CN109388244B (en) Gravity center adjusting method and device for terminal equipment and terminal equipment
CN109343712B (en) Tactile feedback method and tactile feedback device of terminal equipment and terminal equipment

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
GR01 Patent grant
GR01 Patent grant