A video transcoding card connection method, device, equipment and medium

By judging data packet acquisition during the video transcoding card connection process, generating error information, and performing cold start processing, the system crash problem caused by CPU errors was solved, improving server stability and business continuity.

CN115237836BActive Publication Date: 2026-08-25INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210854529.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-15
Publication Date
2026-08-25
Estimated Expiration
2042-07-15

AI Technical Summary

Technical Problem

During the video transcoding card connection process, a CPU error caused the system to crash, resulting in the loss of business data and affecting server stability.

Method used

If the data packet of the video transcoding card is not obtained within a preset period, it is determined to be an abnormal video transcoding card, an error message is generated, and a cold start process is performed using the baseboard management controller to re-establish the connection, including determining the I2C bus number and managing the power signal.

Benefits of technology

It effectively avoids system crashes caused by CPU errors, improves the stability of video transcoding cards in the server, and prevents loss of business data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115237836B_ABST
    Figure CN115237836B_ABST
Patent Text Reader

Abstract

The application discloses a video transcoding card connection method and device, equipment and medium, and relates to the technical field of computers, which comprises the following steps: determining whether a data packet sent by a video transcoding card is acquired within a preset period; if the data packet sent by the video transcoding card is not acquired, the video transcoding card is determined as an abnormal video transcoding card, and error information is generated; the I2C bus number of the abnormal video transcoding card is determined based on the error information, and the I2C bus number is sent to a local baseboard management controller, so that the baseboard management controller sends a cold start processing request to the abnormal video transcoding card based on the I2C bus number; after the baseboard management controller acquires power signal information sent by the processed abnormal video transcoding card, the connection between the video transcoding card and the processed abnormal video transcoding card is re-established. Through the above technical scheme, the application avoids the situation that system downtime caused by CPU error causes business data loss, and improves the running stability of the video transcoding card in the server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a video transcoding card connection method, apparatus, device, and medium. Background Technology

[0002] Currently, with the continuous development of high-performance servers, industries such as artificial intelligence, facial recognition, live streaming, and e-commerce live streaming have experienced rapid updates in recent years, greatly satisfying people's visual needs. These rapid technological advancements are closely related to the continuous development of video transcoding cards. Considering versatility and compatibility, video transcoding cards are typically half-height, half-length PCIe (PCIe Standard, High-Speed ​​Serial Computer Expansion Bus) cards. Current high-performance servers commonly employ 4-way or even 6-way and 8-way accelerator card designs. Video transcoding cards interact with the server CPU via a PCIe link, handling massive amounts of data. If multiple video transcoding cards within the server operate simultaneously for extended periods, there is a probability that the transcoding cards will fail to send CPL (ConvErsE Position Logical) data packets back to the CPU within the specified time, causing a PCIe link CPL error. If the CPU continues to access the video transcoding card after a PCIe CPL error, it will cause an error on the CPU side, triggering a system crash. This can result in incalculable reputational and economic losses for the company and its actual business operations.

[0003] As can be seen from the above, how to avoid system crashes caused by CPU errors and resulting in loss of business data during the connection process of video transcoding cards, and how to improve the stability of video transcoding card operation in servers are problems that need to be solved in this field. Summary of the Invention

[0004] In view of this, the purpose of this invention is to provide a video transcoding card connection method, apparatus, device, and medium, which can effectively avoid system crashes caused by CPU errors, resulting in data loss and improving the stability of video transcoding card operation in servers. The specific solution is as follows:

[0005] In a first aspect, this application discloses a method for connecting a video transcoding card, including:

[0006] Determine whether data packets sent by the video transcoding card have been received within a preset period;

[0007] If no data packet is received from the video transcoding card within the preset period, the video transcoding card will be identified as an abnormal video transcoding card and an error message will be generated.

[0008] Based on the error message, the I2C bus number of the abnormal video transcoding card is determined, and the I2C bus number is sent to the local baseboard management controller, so that the baseboard management controller can send a cold start processing request to the abnormal video transcoding card based on the I2C bus number.

[0009] After obtaining the processed power signal information sent by the abnormal video transcoding card through the baseboard management controller, the connection between the controller and the abnormal video transcoding card is re-established.

[0010] Optionally, before determining whether a data packet sent by the video transcoding card has been received within a preset period, the method further includes:

[0011] Connect the server's preset PCIe Slot to the video transcoding card;

[0012] Establish a PCIe link with the system-on-a-chip in the video transcoding card, and establish an I2C link between the local baseboard management controller and the programmable chip in the video transcoding card.

[0013] Optionally, the video transcoding card connection method further includes:

[0014] The PCIE bus number of the abnormal video transcoding card is determined based on the error message.

[0015] Based on the PCIe bus number, the PCIe link between the PCIe and the system-on-a-chip in the video transcoding card is disabled.

[0016] Optionally, the baseboard management controller sends a cold start processing request to the abnormal video transcoding card based on the I2C bus number, including:

[0017] The baseboard management controller uses the I2C link and sends a video transcoding card restart request to the programmable chip in the abnormal video transcoding card based on the I2C bus number, so that the programmable chip can restart the abnormal video transcoding card by controlling the power state of the virtual reality chip in the abnormal video transcoding card.

[0018] Optionally, before obtaining the processed power signal information sent by the abnormal video transcoding card through the baseboard management controller, the method further includes:

[0019] After processing, the virtual reality chip in the abnormal video transcoding card sets its own normal power signal to a high level and generates power signal information. It then sends the power information to the programmable chip, so that the programmable chip can send the power information to the baseboard management controller.

[0020] Optionally, before re-establishing the connection with the processed abnormal video transcoding card, the method further includes:

[0021] Set the normal power signal to low level;

[0022] After the baseboard management controller obtains the processed low-level power signal information sent by the abnormal video transcoding card, it sets the low-level normal power signal to a high level.

[0023] Optionally, after re-establishing the connection with the processed abnormal video transcoding card, the method further includes:

[0024] A new PCIe link is identified with the system-on-a-chip in the video transcoding card so that PCIe data interaction and business script execution can be performed using the new PCIe link.

[0025] Secondly, this application discloses a video transcoding card connection device, comprising:

[0026] The judgment module is used to determine whether data packets sent by the video transcoding card have been received within a preset period;

[0027] The error message generation module is used to determine the video transcoding card as an abnormal video transcoding card and generate error messages if no data packet sent by the video transcoding card is obtained within a preset period.

[0028] The cold start module is used to determine the I2C bus number of the abnormal video transcoding card based on the error information, and send the I2C bus number to the local baseboard management controller, so that the baseboard management controller can send a cold start processing request to the abnormal video transcoding card based on the I2C bus number.

[0029] The video transcoding card connection module is used to re-establish the connection with the processed abnormal video transcoding card after obtaining the power signal information sent by the processed abnormal video transcoding card through the baseboard management controller.

[0030] Thirdly, this application discloses an electronic device, including:

[0031] Memory, used to store computer programs;

[0032] A processor is used to execute the computer program to implement the aforementioned video transcoding card connection method.

[0033] Fourthly, this application discloses a computer storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the steps of the aforementioned disclosed video transcoding card connection method.

[0034] As can be seen, this application provides a video transcoding card connection method, including determining whether data packets sent by the video transcoding card are received within a preset period; if no data packets are received within the preset period, the video transcoding card is identified as an abnormal video transcoding card, and an error message is generated; based on the error message, the I2C bus number of the abnormal video transcoding card is determined, and the I2C bus number is sent to the local baseboard management controller, so that the baseboard management controller sends a cold start processing request to the abnormal video transcoding card based on the I2C bus number; after the baseboard management controller obtains the processed power signal information sent by the abnormal video transcoding card, the connection between the processed abnormal video transcoding card and the abnormal video transcoding card is re-established. This application determines whether data packets sent by the video transcoding card are received within a preset period. If no data packets are received, an error message is generated to perform cold start processing and re-establish the connection with the processed abnormal video transcoding card. This effectively avoids system crashes caused by CPU errors, resulting in loss of business data, and improves the stability of video transcoding card operation in the server. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0036] Figure 1 This is a flowchart of a video transcoding card connection method disclosed in this application;

[0037] Figure 2 This is a flowchart of a video transcoding card connection method disclosed in this application;

[0038] Figure 3 This is a connection diagram of a video transcoding card disclosed in this application;

[0039] Figure 4 This is a flowchart illustrating a video transcoding card connection method disclosed in this application;

[0040] Figure 5 This is a schematic diagram of a video transcoding card connection device disclosed in this application;

[0041] Figure 6 This application provides a structural diagram of an electronic device. Detailed Implementation

[0042] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0043] Currently, with the continuous development of high-performance servers, industries such as artificial intelligence, facial recognition, live streaming, and e-commerce live streaming have rapidly evolved in recent years, greatly satisfying people's visual needs. These rapid technological advancements are closely related to the continuous development of video transcoding cards. Considering versatility and compatibility, video transcoding cards are typically half-height, half-length PCIe (PCIe Component Integrated Int ErconnEct Express, a high-speed serial computer expansion bus standard) cards. Current high-performance servers commonly employ 4-way, 6-way, or even 8-way accelerator card designs. Video transcoding cards interact with the server CPU via the PCIe link, exchanging massive amounts of data. If multiple video transcoding cards within the server operate simultaneously for extended periods, there is a probability that the video transcoding cards will fail to send CPL (Converter Position Logical) data packets back to the CPU within the specified time, causing PCIe link CPL errors. If the CPU continues to access the video transcoding card after a PCIe CPL error, it will cause CPU-side errors, triggering system crashes and resulting in incalculable reputational and economic losses for the company and its business operations. As can be seen from the above, how to avoid system crashes caused by CPU errors and resulting in loss of business data during the connection process of video transcoding cards, and how to improve the stability of video transcoding card operation in servers are problems that need to be solved in this field.

[0044] Currently, existing technologies lack processing logic. After the video transcoding card reports a CTO error, the motherboard CPU continues to read and write to the card via the PCIe link, triggering a CPU-side TOR Timeout error, which in turn causes a CPU IERR error, ultimately leading to system crashes. This results in insufficient robustness of the entire server system, causing serious losses such as data loss after a crash. This application proposes a system and method for stable operation of a video transcoding card within a high-performance server, preventing server system crashes and improving the robustness of high-performance servers. Building upon existing solutions, this invention adds optimization measures after a video transcoding card CPL error. By locating and resetting the problematic video transcoding card, system crashes are avoided without affecting actual business operations.

[0045] See Figure 1As shown in the figure, an embodiment of the present invention discloses a video transcoding card connection method, which may specifically include:

[0046] Step S11: Determine whether data packets sent by the video transcoding card have been received within the preset period.

[0047] In this embodiment, before determining whether a data packet sent by the video transcoding card has been obtained within a preset period, the method further includes: connecting the preset PCIe Slot of the server to the video transcoding card; establishing a PCIe link with the system-on-a-chip in the video transcoding card; and establishing an I2C link between the local baseboard management controller and the programmable chip in the video transcoding card.

[0048] Step S12: If no data packet is received from the video transcoding card within the preset period, the video transcoding card is identified as an abnormal video transcoding card, and an error message is generated.

[0049] Step S13: Determine the I2C bus number of the abnormal video transcoding card based on the error information, and send the I2C bus number to the local baseboard management controller so that the baseboard management controller can send a cold start processing request to the abnormal video transcoding card based on the I2C bus number.

[0050] In this embodiment, after the I2C bus number is sent to the local baseboard management controller, the baseboard management controller uses the I2C link and sends a video transcoding card restart request to the programmable chip in the abnormal video transcoding card based on the I2C bus number, so that the programmable chip can restart the abnormal video transcoding card by controlling the power state of the virtual reality chip in the abnormal video transcoding card.

[0051] Step S14: After obtaining the processed power signal information sent by the abnormal video transcoding card through the baseboard management controller, re-establish the connection with the processed abnormal video transcoding card.

[0052] In this embodiment, before obtaining the processed power signal information sent by the abnormal video transcoding card through the baseboard management controller, the method further includes: the virtual reality chip in the processed abnormal video transcoding card sets its own normal power signal to a high level and generates power signal information, and sends the power information to the programmable chip, so that the programmable chip sends the power information to the baseboard management controller.

[0053] In this embodiment, the baseboard management controller obtains the processed power signal information sent by the abnormal video transcoding card, then sets the normal power signal to a low level. After obtaining the processed low-level power signal information sent by the abnormal video transcoding card, the baseboard management controller sets the low-level normal power signal to a high level, and then determines a new PCIe link with the system-on-a-chip in the video transcoding card, so as to use the new PCIe link for PCIe data interaction and service script execution.

[0054] This application is applied to the CPU in a server. The CPU determines whether it receives data packets sent by the video transcoding card within a preset period. If no data packets are received within the preset period, the video transcoding card is identified as abnormal, and an error message is generated. Based on the error message, the I2C Bus NumbEr of the abnormal video transcoding card is determined. Then, the CPU stops PCIe read / write operations on the video transcoding card in the same slot as the abnormal one to prevent the problem from worsening and causing system crashes. The I2C Bus NumbEr is then sent to the local BMC (BasEboard). The Motherboard Management Controller (BMC) uses the I2C link and, based on the I2C bus number, sends a video transcoding card restart request to the programmable chip in the abnormal video transcoding card. The programmable chip then controls the power state of the virtual reality chip in the abnormal video transcoding card to restart it. After restarting, the virtual reality chip in the abnormal video transcoding card sets its normal power signal to a high level. The programmable chip generates power signal information and transmits this information to the Motherboard Management Controller via the I2C link. The CPU pulls the PERST signal of the abnormal video transcoding card slot low for a period of time. After receiving the processed low-level power signal information from the abnormal video transcoding card through the Motherboard Management Controller, it sets the low-level normal power signal to a high level and determines a new PCIe link with the system-on-a-chip in the video transcoding card. This new PCIe link is then used for PCIe data interaction and business script execution.

[0055] In this embodiment, it is determined whether data packets sent by the video transcoding card are received within a preset period. If no data packets are received within the preset period, the video transcoding card is identified as an abnormal video transcoding card, and an error message is generated. Based on the error message, the I2C bus number of the abnormal video transcoding card is determined, and the I2C bus number is sent to the local baseboard management controller. The baseboard management controller then sends a cold start processing request to the abnormal video transcoding card based on the I2C bus number. After the baseboard management controller obtains the processed power signal information sent by the abnormal video transcoding card, it re-establishes the connection with the processed abnormal video transcoding card. This application determines whether data packets sent by the video transcoding card are received within a preset period. If no data packets are received, an error message is generated to perform cold start processing and re-establish the connection with the processed abnormal video transcoding card. This effectively avoids system crashes caused by CPU errors, resulting in data loss, and improves the stability of the video transcoding card operation in the server.

[0056] See Figure 2 As shown in the figure, an embodiment of the present invention discloses a video transcoding card connection method, which may specifically include:

[0057] Step S21: Determine whether data packets sent by the video transcoding card have been received within the preset period.

[0058] Step S22: If no data packet is received from the video transcoding card within the preset period, the video transcoding card is identified as an abnormal video transcoding card, and an error message is generated.

[0059] Step S23: Determine the PCIE bus number of the abnormal video transcoding card based on the error information, and then disable the PCIE link between the video transcoding card and the system-on-a-chip based on the PCIE bus number.

[0060] Step S24: Determine the I2C bus number of the abnormal video transcoding card based on the error information, and send the I2C bus number to the local baseboard management controller so that the baseboard management controller can send a cold start processing request to the abnormal video transcoding card based on the I2C bus number.

[0061] Step S25: After obtaining the processed power signal information sent by the abnormal video transcoding card through the baseboard management controller, re-establish the connection with the processed abnormal video transcoding card.

[0062] For example, such as Figure 3The diagram shows the connection between each video transcoding card and the server motherboard. Each transcoding card is connected to the PCIe Slot (PCIe standard slot) of the server motherboard via gold fingers, and obtains P12V power from the server motherboard. The video transcoding cards are connected to the server motherboard via the PCIe Slot. For example, PCIe Slot 0 interacts with video transcoding card 0 through the PCIe link. The PCIe Slot connected to a single video transcoding card is fixed in the server.

[0063] For example, such as Figure 4 As shown, the video transcoding card of this application is connected to the server motherboard via a PCIe slot. Since the PCIe slot connected to a single video transcoding card is fixed in the server, and further, the PCIe Bus NumbEr and I2C Bus NumbEr corresponding to a single video transcoding card are also fixed, that is, there is a one-to-one correspondence between the PCIe Bus NumbEr and I2C Bus NumbEr of a single video transcoding card. The video transcoding card contains chips such as SOC (System-on-a-Chip), VR (Virtual Reality Chip), and CPLD (Programmable Logic Controller), with the main chip being the SOC. The P12V provided by the server motherboard's PSU (PC Power Supply Unit) is converted by the VR within the video transcoding card to provide the power required for the normal operation of the SOC. The server motherboard's BMC writes registers to the CPLD within the video transcoding card via the I2C link to control the on / off state of the VR, thereby controlling the power supplies of the SOC. Furthermore, the server motherboard BMC reads the registers of the CPLD inside the video transcoding card via the I2C link to obtain the power status of the video transcoding card. When the PWRGD (Power Normal) signal inside the video transcoding card is high, it indicates that all power supplies required for the normal operation of the video transcoding card SOC are normal. When PWRGD is low, it indicates that the video transcoding card SOC has lost power. The video transcoding card SOC interacts with the server motherboard CPU via the PCIe link to execute business scripts. The server CPU resets the video transcoding card via the PERST signal, thereby completing the re-establishment of the PCIe link. This invention avoids the risk of system crashes when a high-performance server is paired with a video transcoding card, and solves the problem of data loss caused by system crashes due to CPL errors at the video transcoding card when a high-performance server is running services with multiple video transcoding cards.

[0064] This application is applied to the CPU in a server. The CPU determines whether it receives data packets sent by the video transcoding card within a preset period. If no data packets are received within the preset period, the video transcoding card is identified as abnormal, and an error message is generated. Based on the error message, the I2C Bus NumbEr of the abnormal video transcoding card is determined. Then, the CPU stops PCIe read / write operations on the video transcoding card in the same slot as the abnormal one to prevent the problem from worsening and causing system crashes. The I2C Bus NumbEr is then sent to the local BMC (BasEboard). The Motherboard Management Controller (BMC) uses the I2C link and, based on the I2C bus number, sends a video transcoding card restart request to the programmable chip in the abnormal video transcoding card. The programmable chip then controls the power state of the virtual reality chip in the abnormal video transcoding card to restart it. After restarting, the virtual reality chip in the abnormal video transcoding card sets its normal power signal to a high level. The programmable chip generates power signal information and transmits this information to the Motherboard Management Controller via the I2C link. The CPU pulls the PERST signal of the abnormal video transcoding card slot low for a period of time. After receiving the processed low-level power signal information from the abnormal video transcoding card through the Motherboard Management Controller, it sets the low-level normal power signal to a high level and determines a new PCIe link with the system-on-a-chip in the video transcoding card. This new PCIe link is then used for PCIe data interaction and business script execution.

[0065] In this embodiment, it is determined whether a data packet sent by the video transcoding card is obtained within a preset period. If no data packet is obtained within the preset period, the video transcoding card is identified as an abnormal video transcoding card, and an error message is generated. Based on the error message, the PCIe bus number of the abnormal video transcoding card is determined, and then the PCIe link between the abnormal video transcoding card and the system-on-a-chip in the video transcoding card is disabled based on the PCIe bus number. Based on the error message, the I2C bus number of the abnormal video transcoding card is determined, and the I2C bus number is sent to the local baseboard management controller, so that the baseboard management controller sends a cold start processing request to the abnormal video transcoding card based on the I2C bus number. After the baseboard management controller obtains the processed power signal information sent by the abnormal video transcoding card, the connection between the baseboard management controller and the processed abnormal video transcoding card is re-established. This application determines whether data packets sent by the video transcoding card are received within a preset period. If not received, an error message is generated for cold start processing, and the connection with the processed abnormal video transcoding card is re-established. This can effectively avoid system crashes caused by CPU errors, resulting in loss of business data, and improve the stability of the video transcoding card in the server.

[0066] See Figure 5 As shown, this embodiment of the invention discloses a video transcoding card connection device, which may specifically include:

[0067] The judgment module 11 is used to determine whether data packets sent by the video transcoding card have been obtained within a preset period;

[0068] The error message generation module 12 is used to determine the video transcoding card as an abnormal video transcoding card and generate error messages if no data packet sent by the video transcoding card is obtained within a preset period.

[0069] The cold start module 13 is used to determine the I2C bus number of the abnormal video transcoding card based on the error information, and send the I2C bus number to the local baseboard management controller, so that the baseboard management controller can send a cold start processing request to the abnormal video transcoding card based on the I2C bus number.

[0070] The video transcoding card connection module 14 is used to re-establish the connection with the processed abnormal video transcoding card after obtaining the power signal information sent by the processed abnormal video transcoding card through the baseboard management controller.

[0071] In this embodiment, it is determined whether data packets sent by the video transcoding card are received within a preset period. If no data packets are received within the preset period, the video transcoding card is identified as an abnormal video transcoding card, and an error message is generated. Based on the error message, the I2C bus number of the abnormal video transcoding card is determined, and the I2C bus number is sent to the local baseboard management controller. The baseboard management controller then sends a cold start processing request to the abnormal video transcoding card based on the I2C bus number. After the baseboard management controller obtains the processed power signal information sent by the abnormal video transcoding card, it re-establishes the connection with the processed abnormal video transcoding card. This application determines whether data packets sent by the video transcoding card are received within a preset period. If no data packets are received, an error message is generated to perform cold start processing and re-establish the connection with the processed abnormal video transcoding card. This effectively avoids system crashes caused by CPU errors, resulting in data loss, and improves the stability of the video transcoding card operation in the server.

[0072] This application is applied to the CPU in a server. The CPU determines whether it receives data packets sent by the video transcoding card within a preset period. If no data packets are received within the preset period, the video transcoding card is identified as abnormal, and an error message is generated. Based on the error message, the I2C Bus NumbEr of the abnormal video transcoding card is determined. Then, the CPU stops PCIe read / write operations on the video transcoding card in the same slot as the abnormal one to prevent the problem from worsening and causing system crashes. The I2C Bus NumbEr is then sent to the local BMC (BasEboard). The Motherboard Management Controller (BMC) uses the I2C link and, based on the I2C bus number, sends a video transcoding card restart request to the programmable chip in the abnormal video transcoding card. The programmable chip then controls the power state of the virtual reality chip in the abnormal video transcoding card to restart it. After restarting, the virtual reality chip in the abnormal video transcoding card sets its normal power signal to a high level. The programmable chip generates power signal information and transmits this information to the Motherboard Management Controller via the I2C link. The CPU pulls the PERST signal of the abnormal video transcoding card slot low for a period of time. After receiving the processed low-level power signal information from the abnormal video transcoding card through the Motherboard Management Controller, it sets the low-level normal power signal to a high level and determines a new PCIe link with the system-on-a-chip in the video transcoding card. This new PCIe link is then used for PCIe data interaction and business script execution.

[0073] In some specific embodiments, the determination module 11 may specifically include:

[0074] A connection module is used to connect the server's preset PCIe Slot to the video transcoding card;

[0075] The link establishment module is used to establish a PCIe link with the system-on-a-chip in the video transcoding card, and to establish an I2C link between the local baseboard management controller and the programmable chip in the video transcoding card.

[0076] In some specific embodiments, the determination module 11 may specifically include:

[0077] The bus number determination module is used to determine the PCIE bus number of the abnormal video transcoding card based on the error information.

[0078] The link status setting module is used to set the PCIe link between the PCIe bus number and the system-on-a-chip in the video transcoding card to a disabled state.

[0079] In some specific embodiments, the cold start module 13 may specifically include:

[0080] A cold start module is used by the baseboard management controller to send a video transcoding card restart request to the programmable chip in the abnormal video transcoding card using the I2C link and based on the I2C bus number, so that the programmable chip can restart the abnormal video transcoding card by controlling the power state of the virtual reality chip in the abnormal video transcoding card.

[0081] In some specific embodiments, the video transcoding card connection module 14 may specifically include:

[0082] The power signal information generation module is used to set the normal power signal of the virtual reality chip in the abnormal video transcoding card to a high level after processing, and generate power signal information. The power signal information is then sent to the programmable chip, so that the programmable chip can send the power signal information to the baseboard management controller.

[0083] In some specific embodiments, the video transcoding card connection module 14 may specifically include:

[0084] A low-level setting module is used to set the power supply normal signal to a low level;

[0085] The high-level setting module is used to set the low-level power normal signal to a high level after obtaining the processed power low-level signal information sent by the abnormal video transcoding card through the baseboard management controller.

[0086] In some specific embodiments, the video transcoding card connection module 14 may specifically include:

[0087] The PCIe data interaction module is used to determine a new PCIe link with the system-on-a-chip in the video transcoding card, so as to use the new PCIe link for PCIe data interaction and business script execution.

[0088] Figure 6This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the video transcoding card connection method performed by the electronic device disclosed in any of the foregoing embodiments.

[0089] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.

[0090] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored on it include operating system 221, computer program 222 and data 223, etc., and the storage method can be temporary storage or permanent storage.

[0091] The operating system 221 manages and controls the various hardware devices on the electronic device 20 and the computer program 222 to enable the processor 21 to perform calculations and processing on the data 223 in the memory 22. The operating system 221 can be Windows, Unix, Linux, etc. The computer program 222, in addition to including a computer program capable of performing the video transcoding card connection method executed by the electronic device 20 as disclosed in any of the foregoing embodiments, may further include computer programs capable of performing other specific tasks. The data 223 may include data received by the video transcoding card connection device from external devices, as well as data collected by its own input / output interface 25.

[0092] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0093] Furthermore, embodiments of this application also disclose a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, it implements the video transcoding card connection method steps disclosed in any of the foregoing embodiments.

[0094] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0095] The above provides a detailed description of the video transcoding card connection method, apparatus, device, and storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for connecting a video transcoding card, characterized in that, Used in server CPUs, including: Determine whether data packets sent by the video transcoding card have been received within a preset period; If no data packet is received from the video transcoding card within the preset period, the video transcoding card will be identified as an abnormal video transcoding card and an error message will be generated. Based on the error message, the I2C bus number of the abnormal video transcoding card is determined, and the I2C bus number is sent to the local baseboard management controller, so that the baseboard management controller can send a cold start processing request to the abnormal video transcoding card based on the I2C bus number. After obtaining the processed power signal information sent by the abnormal video transcoding card through the baseboard management controller, the connection with the processed abnormal video transcoding card is re-established. Sending the I2C bus number to the local baseboard management controller, so that the baseboard management controller sends a cold start processing request to the abnormal video transcoding card based on the I2C bus number, includes: sending the I2C bus number to the local baseboard management controller, so that the baseboard management controller uses the I2C link and sends a video transcoding card restart request to the programmable chip in the abnormal video transcoding card based on the I2C bus number, so that the programmable chip restarts the abnormal video transcoding card by controlling the power state of the virtual reality chip in the abnormal video transcoding card; Before the baseboard management controller obtains the processed power signal information sent by the abnormal video transcoding card, the process further includes: the virtual reality chip in the processed abnormal video transcoding card sets its own normal power signal to a high level and generates power signal information, and sends the power information information to the programmable chip, so that the programmable chip can send the power information information to the baseboard management controller. The video transcoding card connection method also includes: determining the PCIe bus number of the abnormal video transcoding card based on the error information; and setting the PCIe link between the video transcoding card and the system-on-a-chip in the video transcoding card to a disabled state based on the PCIe bus number. Before re-establishing the connection with the processed abnormal video transcoding card, the method further includes: setting the power normal signal to a low level; and after obtaining the power low level signal information sent by the processed abnormal video transcoding card through the baseboard management controller, setting the low-level power normal signal to a high level. After re-establishing the connection with the processed abnormal video transcoding card, the process further includes: identifying a new PCIe link with the system-on-a-chip in the video transcoding card, so as to utilize the new PCIe link for PCIe data interaction and business script execution.

2. The video transcoding card connection method according to claim 1, characterized in that, Before determining whether a data packet sent by the video transcoding card has been received within a preset period, the method further includes: Connect the server's preset PCIe Slot to the video transcoding card; Establish a PCIe link with the system-on-a-chip in the video transcoding card, and establish an I2C link between the local baseboard management controller and the programmable chip in the video transcoding card.

3. A video transcoding card connection device, characterized in that, include: The judgment module is used to determine whether data packets sent by the video transcoding card have been received within a preset period; The error message generation module is used to determine the video transcoding card as an abnormal video transcoding card and generate error messages if no data packet sent by the video transcoding card is obtained within a preset period. The cold start module is used to determine the I2C bus number of the abnormal video transcoding card based on the error information, and send the I2C bus number to the local baseboard management controller, so that the baseboard management controller can send a cold start processing request to the abnormal video transcoding card based on the I2C bus number. The video transcoding card connection module is used to re-establish the connection with the processed abnormal video transcoding card after obtaining the power signal information sent by the processed abnormal video transcoding card through the baseboard management controller. Sending the I2C bus number to the local baseboard management controller, so that the baseboard management controller sends a cold start processing request to the abnormal video transcoding card based on the I2C bus number, includes: sending the I2C bus number to the local baseboard management controller, so that the baseboard management controller uses the I2C link and sends a video transcoding card restart request to the programmable chip in the abnormal video transcoding card based on the I2C bus number, so that the programmable chip restarts the abnormal video transcoding card by controlling the power state of the virtual reality chip in the abnormal video transcoding card; Before the baseboard management controller obtains the processed power signal information sent by the abnormal video transcoding card, the method further includes: the virtual reality chip in the processed abnormal video transcoding card sets its own normal power signal to a high level and generates power signal information, and sends the power signal information to the programmable chip, so that the programmable chip sends the power signal information to the baseboard management controller. The video transcoding card connection device further includes: determining the PCIE bus number of the abnormal video transcoding card based on the error information; and setting the PCIE link between the video transcoding card and the system-on-a-chip in the video transcoding card to a disabled state based on the PCIE bus number. Before re-establishing the connection with the processed abnormal video transcoding card, the method further includes: setting the power normal signal to a low level; and after obtaining the power low level signal information sent by the processed abnormal video transcoding card through the baseboard management controller, setting the low-level power normal signal to a high level. After re-establishing the connection with the processed abnormal video transcoding card, the process further includes: identifying a new PCIe link with the system-on-a-chip in the video transcoding card, so as to utilize the new PCIe link for PCIe data interaction and business script execution.

4. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the video transcoding card connection method as described in any one of claims 1 to 2.

5. A computer-readable storage medium, characterized in that, Used to store computer programs; wherein, when the computer programs are executed by a processor, they implement the video transcoding card connection method as described in any one of claims 1 to 2.

Citation Information

Patent Citations

  • A service board card abnormity recovery method and system

    CN109918230A