Video decoding server based on high-speed bus

文档序号:1802409 发布日期:2021-11-05 浏览:17次 中文

阅读说明:本技术 一种基于高速总线的视频解码服务器 (Video decoding server based on high-speed bus ) 是由 庞勇 王智卓 于 2020-05-04 设计创作,主要内容包括:本发明涉及数字视频传输和处理技术领域,具体公开了一种基于高速总线的视频解码服务器,包括设有高速总线的底板,所述底板安装在机箱内所述高速总线上连接有一主卡和多个从卡,所述主卡为输入业务卡,所述从卡包括了输入业务卡和采集输出业务卡;还包括用于在每一业务卡接入时为其自动分配ID的分配模块;以及一能与所述高速总线通信的接口卡,所述接口卡能从外部输入外部视频数据;所述接口卡上还设有端口服务模块,用于将所述从卡的ID与以主卡的通信地址为基础的通信端口进行一一映射,使得每个ID对应不同的通信端口。整台设备对外部只有单独的通信地址,物理上也可只采用一条线路的连接,实现了多路连接的简化,同时够使设备不受外部接入网络设备的干扰。(The invention relates to the technical field of digital video transmission and processing, and particularly discloses a video decoding server based on a high-speed bus, which comprises a bottom plate provided with the high-speed bus, wherein the bottom plate is arranged in a case, the high-speed bus is connected with a main card and a plurality of slave cards, the main card is an input service card, and the slave cards comprise an input service card and an acquisition output service card; the system also comprises an allocation module used for automatically allocating the ID to each service card when the service card is inserted; and an interface card capable of communicating with the high-speed bus, the interface card being capable of inputting external video data from outside; the interface card is also provided with a port service module used for mapping the ID of the slave card and the communication port based on the communication address of the master card one by one, so that each ID corresponds to different communication ports. The whole device only has a single communication address to the outside, and can only adopt the connection of one line physically, thereby realizing the simplification of multi-path connection and simultaneously ensuring that the device is not interfered by the external access network device.)

1. A high-speed bus-based video decoding server, comprising:

a bottom plate provided with a high-speed bus, the bottom plate is arranged in the case,

the high-speed bus is connected with a main card and a plurality of slave cards, the main card is an input service card, and the slave cards comprise an input service card and an acquisition output service card;

the system is characterized by also comprising an allocation module used for automatically allocating the ID to each service card when the service card is connected;

and an interface card capable of communicating with the high-speed bus, the interface card being capable of inputting external video data from outside;

the interface card is also provided with a port service module which is used for mapping the ID of the slave card and the communication port based on the communication address of the master card one by one so that each ID corresponds to different communication ports;

external video data is input by an interface card according to the communication address of a main card, distributed to different input service cards or acquisition output service cards by a port service module according to ports and processed by a CPU (central processing unit) or FPGA (field programmable gate array) of the input service cards or the acquisition output service cards, and input to a high-speed bus by a golden finger of the input service cards or the acquisition output service cards;

after receiving video data input by a golden finger of an input service card or an acquisition output service card, the high-speed bus transmits the received video data to the next acquisition output service card closest to the physical position;

the acquisition and output service card processes the video data acquired from the high-speed bus, and if the video data needs to be displayed by the card, the video data enters a display system of the card and is displayed through output; if the video data needs to be transmitted to other acquisition and output service cards, the video data is transmitted through the bottom plate with the high-speed bus, and the processing mode of each acquisition and output service card can be switched according to the control of an external main control.

2. A high-speed bus-based video decoding server as claimed in claim 1, wherein the master card and the slave cards are connected to the high-speed bus through gold finger slots, the number of the gold finger slots being sixteen.

3. The high-speed bus-based video decoding server according to claim 2, wherein the distribution module is configured to set four pins of the golden finger slot as address pins, one or more of the address pins are connected to a high level through a resistor on the backplane, and the remaining address pins are connected to a ground, so as to obtain a four-bit binary ID of a service card inserted into the slot.

4. The high-speed bus-based video decoding server of claim 2, wherein the distribution module is two eight-bit shift register chips, each IO port of the register chip corresponds to each golden finger slot and is connected to a designated pin on each golden finger slot, the pin of each golden finger slot is a short-circuit resistor to ground, when a service card is inserted into a golden finger slot, the IO port of the shift register corresponding to the golden finger slot can be pulled down directly, and the shift register can obtain a corresponding binary value according to IO; the ID of the service card can be derived by reading this binary value.

5. The high-speed bus-based video decoding server according to claim 2, wherein the distribution module is a 4x 4 matrix key circuit disposed on the backplane, the insertion of a service card corresponds to the depression of a key, the extraction of a service card corresponds to the lifting of a key, and the ID of the currently inserted service card is obtained by processing binary data of the positions of the cases in the matrix that are depressed and lifted.

6. The high-speed bus-based video decoding server of claim 1, wherein the high-speed bus comprises a BT1120, BTXXXX or PCI-E bus.

7. A high-speed bus-based video decoding server according to claim 1, wherein the interface card has a data exchange processing module disposed thereon.

8. A high speed bus based video decoding server as claimed in claim 1, wherein the chassis on which the backplane is mounted is a 5U chassis.

9. The high-speed bus-based video decoding server according to claim 1, wherein a switching power supply for supplying power is further provided in the chassis.

Technical Field

The invention belongs to the technical field of digital video transmission and processing, and particularly relates to a video decoding server based on a high-speed bus.

Background

In the prior art, the traditional multi-channel digital video switching, splicing and windowing processes mostly adopt a complex switching chip and a special video decoding chip, and only one-to-one or one-to-many are fixed, once the hardware is determined, the hardware needs to be changed and debugged again, and when the video data and format change, the hardware scheme and the software scheme need to be changed again in most cases, if the video data and format change, the current processing methods mainly comprise 2 methods, one method is to sacrifice the image quality, cut the image into 1080P or lower for processing, and the other method is to update the hardware and the corresponding chip for redesign.

For example, chinese patent publication No. CN 102724574a discloses a method for implementing multi-channel video windowing, which includes the following steps:

s101: establishing a texture pool by taking an input channel corresponding to video windowing as a keyword, wherein the texture refers to one or more two-dimensional graphs representing the details of the surface of a subtitle item, and is also called texture mapping;

s102: inquiring a corresponding texture example in a texture pool according to the value of an input channel of a caption item to be played, if the corresponding texture example is found, returning the corresponding texture example, and otherwise, creating a new texture example;

s103: creating an acquisition thread and acquiring a video signal;

s104: extracting the video signal collected in the video pipeline in each frame, and updating the corresponding texture example in the texture pool by using the video signal;

s105: and outputting the subtitle items according to the scanning frequency of the system.

The inventor discloses a brand-new video transmission and processing method in a Chinese patent with publication number CN 106488162B, which realizes a hand-pulled data exchange mode between an input service card and a collection output service card based on a high-speed bus, does not need a complex video data exchange chip, can solve the problems of transmission bandwidth and mode, can solve the problem of transmission quality, and can adapt to 1080P/4K/8K, even later image transmission and processing with larger resolution. Correspondingly, a video decoding server for video transmission and processing by applying the method is also manufactured, and a technical functional module schematic diagram of the video decoding server is basically shown in fig. 1, wherein the technical functional module schematic diagram is taken as an example that one input service card corresponds to fifteen collection output service cards (0-14).

However, when a plurality of service cards are set on the video decoding server, the ID of each service card can be set manually and flexibly, but in the process of production, use and maintenance, great inconvenience is brought, for example, when a plurality of service cards are faced, the problem of setting errors is easy to occur; in addition, when there are a plurality of input service cards (taking the input interface of a service card as an RJ45 as an example), because the existing design is that the network cable is directly connected with the input service card through an RJ45 interface, such a machine needs to be connected with a plurality of network cables for communication, when a large number of devices are encountered, a plurality of switches need to be equipped outside, further, because the devices have a plurality of IP addresses and MAC addresses to the outside, the conflict between the IP addresses and the MAC addresses is easily caused, and in order to solve this problem, it is necessary to design a new video decoding server based on a high-speed bus.

Disclosure of Invention

The invention aims to provide a video decoding server based on a high-speed bus, which solves the technical problem that the production, use and maintenance of equipment are inconvenient because the ID of each service card is set only manually in the prior art by setting unified data access and matching automatic ID distribution.

In order to achieve the above object, the video decoding server based on high speed bus according to the present invention comprises:

a bottom plate provided with a high-speed bus, the bottom plate is arranged in the case,

the high-speed bus is connected with a main card and a plurality of slave cards, the main card is an input service card, and the slave cards comprise an input service card and an acquisition output service card;

the system also comprises an allocation module used for automatically allocating the ID to each service card when the service card is inserted;

and an interface card capable of communicating with the high-speed bus, the interface card being capable of inputting external video data from outside;

the interface card is also provided with a port service module which is used for mapping the ID of the slave card and the communication port based on the communication address of the master card one by one so that each ID corresponds to different communication ports;

external video data is input by an interface card according to the communication address of a main card, distributed to different input service cards or acquisition output service cards by a port service module according to ports and processed by a CPU (central processing unit) or FPGA (field programmable gate array) of the input service cards or the acquisition output service cards, and input to a high-speed bus by a golden finger of the input service cards or the acquisition output service cards;

after receiving video data input by a golden finger of an input service card or an acquisition output service card, the high-speed bus transmits the received video data to the next acquisition output service card closest to the physical position;

the acquisition and output service card processes the video data acquired from the high-speed bus, and if the video data needs to be displayed by the card, the video data enters a display system of the card and is displayed through output; if the video data needs to be transmitted to other acquisition and output service cards, the video data is transmitted through the bottom plate with the high-speed bus, and the processing mode of each acquisition and output service card can be switched according to the control of an external main control.

Preferably, the master card and the slave card are connected to the high-speed bus through gold finger slots, and the number of the gold finger slots is sixteen.

Further, the allocation module is that four pins on the gold finger slot are set as pins of address pins, one or more of the address pins are connected to a high level through a resistor on the bottom plate, and the remaining address pins are grounded, so as to obtain a four-bit binary ID of the service card inserted into the slot.

Furthermore, the distribution module is two eight-bit shift register chips, each IO port of the register chip corresponds to each golden finger slot and is respectively connected with a designated pin on each golden finger slot, the pin of each golden finger slot is short-circuited to the ground, when a service card is inserted into a certain golden finger slot, the IO port of the shift register corresponding to the golden finger slot can be directly pulled down, and the shift register can obtain a corresponding binary value according to IO; the ID of the service card can be derived by reading this binary value.

Furthermore, the distribution module is a 4 × 4 matrix type key circuit arranged on the bottom board, the insertion of a service card is equivalent to the pressing of a key, the extraction is equivalent to the lifting of the key, and the ID of the currently inserted service card is obtained by processing binary data of the positions of the cases in the matrix, which are pressed and lifted.

Preferably, the high speed bus comprises a BT1120, BTXXXX or PCI-E bus.

Preferably, the interface card is provided with a data exchange processing module.

Preferably, the chassis on which the bottom plate is mounted is a 5U chassis.

Preferably, a switching power supply for supplying power is further arranged in the case.

The invention has the following advantages: compared with the prior art, the video decoding server based on the high-speed bus completes data exchange in a hand-pulling mode without a complex video data exchange chip; the link is direct, no complex signal processing is needed, and the signal integrity is maintained; the video signal input and output module is special, each module is an independent module, and each module can be independently upgraded, so that the video signal input and output module has an architecture and is all universal; because of having special video input and video output module, to the signal processing and transmission of video, can carry on the processing of pertinence, the single module has scalable operational capability, can process the video signal perfectly; for capacity expansion, the expansion can be perfectly realized only by connecting certain system household network cables without changing a hardware architecture. The mapping from the internal business card port to the external port is realized by increasing the management of the internal ID and the communication port, the whole device only has a single communication address to the outside, and only one line can be physically connected, so that the simplification of multi-path connection is realized, and meanwhile, the device is not interfered by external access network equipment.

Drawings

Fig. 1 is a functional block diagram of a related art video decoding server as described in the background art.

Fig. 2 is a functional block diagram of a high-speed bus-based video decoding server in embodiment 1 of the present invention.

Fig. 3 is a schematic diagram of a first automatic distribution mode circuit in embodiment 1 of the present invention.

Fig. 4 is a schematic circuit diagram of a second automatic allocation mode in embodiment 1 of the present invention.

Fig. 5 is a schematic circuit diagram of a third automatic allocation mode according to embodiment 1 of the present invention.

Fig. 6 is a schematic structural diagram of a chassis of a high-speed bus-based video decoding server in embodiment 1 of the present invention.

Fig. 7 is a front view of a chassis of a high-speed bus-based video decoding server according to embodiment 1 of the present invention.

Fig. 8 is a schematic view of a rotation detecting mechanism in embodiment 2 of the present invention.

Detailed Description

The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention. Reference numerals in the drawings of the specification include: case 1, bottom plate 2, radiator fan 3, switching power supply 4, main card 51, follow card 52, pivot 53, blade 54.

Example 1

The basic technical functional modules of the high-speed bus-based video decoding server in the present embodiment and the connections thereof are shown in fig. 2. As shown in the figure, the video decoding server includes: the system comprises a bottom plate provided with a high-speed bus, wherein the high-speed bus is connected with a master card and a plurality of slave cards, the master card is an input service card, and the slave cards comprise an input service card and an acquisition output service card; the system also comprises an allocation module used for automatically allocating the ID to each service card when the service card is inserted; and an interface card capable of communicating with the high-speed bus, wherein the interface card can input external video data from the outside through an RJ45 interface;

the interface card is also provided with a port service module used for mapping the ID of the slave card and the communication port based on the communication address of the master card one by one so that each ID corresponds to different communication ports; and the data exchange processing module, thus not only solving the problem of hardware link, but also realizing simple and effective physical connection. In the embodiment, the two modules are integrated in a single chip microcomputer and are realized by programming the single chip microcomputer.

The high-speed bus can adopt one of BT1120, BTXXXXX or PCI-E, in the embodiment, the PCI-E high-speed bus is selected for display, and the master card, the plurality of slave cards and the interface card all adopt serial ports for communication with the high-speed bus; physically, the master card and the plurality of slave cards are connected by inserting their golden fingers into golden finger slots on the backplane, which are connected with the high-speed line. In this embodiment, the total number of the gold finger slots for inserting the service card is sixteen.

External video data is input by an interface card according to the communication address of a main card, distributed to different input service cards or acquisition output service cards by a port service module according to ports and processed by a CPU (central processing unit) or FPGA (field programmable gate array) of the input service cards or the acquisition output service cards, and input to a high-speed bus by a golden finger of the input service cards or the acquisition output service cards;

after receiving video data input by a golden finger of an input service card or a collection output service card, the high-speed bus transmits the received video data to the next collection output service card closest to the physical position;

the acquisition and output service card processes the video data acquired from the high-speed bus, and if the video data needs to be displayed by the card, the video data enters a display system of the card and is displayed through output; if the video data needs to be transmitted to other acquisition and output service cards, the video data is transmitted through the bottom plate with the high-speed bus, and the processing mode of each acquisition and output service card can be switched according to the control of an external main control.

For setting the ID, in actual use, the problems of oxidation, contact, structure and use environment of a golden finger, the ID setting mode in one mode can generate false alarm, and then a manual mode is required to correct if the false alarm is generated. The dispensing module of this embodiment thus employs three automatic dispensing modes-a manual dispensing mode.

In the first automatic allocation mode, the four pins set as address pins on the gold finger slot are used for realizing ID allocation, one or more of the address pins are connected with high level through a resistor on the bottom plate, and the rest address pins are grounded, so that the four-bit binary ID of the service card inserted into the slot is obtained. In this embodiment, the electrical principle of this mode is substantially as shown in fig. 3. In the figure, the PCIE _4X _64Pin gold finger slot is numbered as 14 in this embodiment, the Pin 24 is grounded through a resistor to implement low power frequency, and the pins 26, 28, and 30 are connected to the power supply 3V3_ S14 of 3V through a resistor to implement high power level, so as to implement a binary number 1110 as the ID of the service card inserted into the slot, and after the service card is inserted, the single chip of the service card reads the binary number, so that the ID is assigned to the currently inserted service card.

In a second automatic allocation mode, two eight-bit shift register chips installed on a bottom board as shown in fig. 4 are used for realizing ID allocation, each IO port (3-6 and 10-13 pins of each chip in the figure) of each register chip corresponds to each golden finger slot and is respectively connected with a designated pin on each golden finger slot, the pin of each golden finger slot is a ground short-circuit resistor, when a service card is inserted into a golden finger slot, the corresponding IO port of the shift register can be directly pulled down, and the shift register can obtain a corresponding binary value according to IO; the current ID of the service card can be obtained by the singlechip on the service card by reading the binary numerical value. In the present embodiment, each gold finger slot uses the 32 pins in fig. 2 as the designated pins.

In a third automatic allocation mode, the 4 × 4 matrix key circuit arranged on the bottom board as shown in fig. 5 is used to realize ID allocation, the insertion of a service card is equivalent to the pressing of a key to turn on the path of the circuit, the pulling out is equivalent to the lifting of a key to turn off the path of the circuit, the positions of the keys pressed and lifted in the matrix generate the turning on and off of different branches on the circuit, so that the single chip microcomputer on the service card can know that the key at the current position is pressed through the change of signals, and the position is processed by binary data to obtain the ID of the currently inserted service card and allocate the ID to the currently inserted service card.

After the service card obtains the ID by any two methods, the ID of one method is notified to the interface card, and the other ID number is stored in its Flash. And after the interface card obtains the ID, the interface card sends data to the corresponding ID card slot according to the ID number, and the service card of the corresponding ID card slot compares the received data with the ID number stored in the service card and verifies whether the data is correct or not. If incorrect, the ID can be set correctly by the mode of manual setting.

After all the service cards have IDs, mapping the IDs of all the service cards of the interface card, IP addresses and communication ports based on the MAC addresses, wherein each ID corresponds to a different communication port; data communication is still carried out through the card slot of the bottom plate and the golden finger of the board card. Through the design, only the IP address and the MAC address of the main card are seen from the whole outside, the IP address and the MAC address inside the whole machine and the IP address and the MAC address outside the machine can be easily checked without conflict, and the system is very convenient to set. For the video data stream which is processed externally, after entering the video decoding server through the network, the video data stream is distributed to different business cards through the port service module of the interface card.

As shown in fig. 6, in this embodiment, the chassis 1 on which the bottom plate 2 is mounted is a 5U chassis, the bottom plate 2 is vertically and fixedly disposed at the middle position of the bottom of the chassis 1, a plurality of service cards are vertically inserted on the bottom plate 2 through the matching of the gold fingers and the gold finger slots, the bottom of the chassis 1 is further provided with a heat dissipation fan 3, and the chassis 1 is further provided with a switching power supply 4 for supplying power;

as shown in fig. 7, the side of each service card having the interface faces the outside of the chassis 1, wherein the interface card is located at the rightmost side in the figure, the master card 51 is adjacent to the interface card, and the other cards are slave cards 52.

Example 2

As shown in fig. 8, the present embodiment is different from embodiment 1 in that a rotation detection mechanism is further provided at a position between service cards (two slave cards 52 are taken as an example in the figure) on the bottom surface in the chassis 1, the rotation detection mechanism includes a rotating shaft 53 vertically provided on the bottom surface in the chassis 1, the rotating shaft 53 is supported on the bottom surface through a bearing, a blade 54 capable of being driven to rotate by air flow is further fixed on a self-use end of the rotating shaft 53, the width of the blade 54 is slightly larger than the pitch of the service cards, specifically 2-5 mm larger, and the blade 54 is made of a rubber material; the sensor is electrically connected with a single chip microcomputer on an interface card and used for sending information about whether the blades 54 rotate or not to the interface card, each sensor can be identified by a unique identity on the interface card, and the single chip microcomputer on the interface card is also connected with a driving circuit of the cooling fan 3 of the case 1 and can turn on or off the cooling fan 3 when a service card is inserted into a golden finger slot;

the ID verification method is adopted in the embodiment 1, but the ID verification method always depends on a relatively complex digital signal to realize, if the error code occurs due to interference, the verification result will have deviation, in this embodiment, when the service card is inserted into the gold finger slot, the assignment and verification scheme of example 1 is still implemented, but in this example, the interface card will further verify, the process is that, at this time, the interface card starts the heat dissipation fan 3, the left and right blades 54 without the service card will rotate due to the influence of the air flow, and the blade 54 with the service card inserted on either left or right side because of its width is such that it contacts the service card, and thus disturbed from rotation, the interface cards thus know which blades 54 are rotating, which are not, in the embodiment, the ID of each service card in the three allocation modes corresponds to the insertion position of the service card one to one. Therefore, if one of the impellers on both sides of the slot position corresponding to the ID received by the interface card is still rotating, it indicates that no service card is inserted, and the ID has an error, and an error can be reported.

The above process is repeated every time the service card is inserted, and the ID distribution can be ensured to be correct through successive verification. The blade 54 of the silica gel does not damage the service card, but the position of the blade 54 in the embodiment can be set to a position in contact with a PCB board without components on the service card, so as to ensure that components on the service card are not damaged. The embodiment adopts a physical mode to carry out ID verification more reliably, and is an important supplement of the verification mode.

Although the invention has been described in detail above with reference to a general description and specific examples, it will be apparent to one skilled in the art that modifications or improvements may be made thereto based on the invention. Accordingly, such modifications and improvements are intended to be within the scope of the invention as claimed.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种CSI相机高帧率图像采集方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类