Video processing apparatus
The video processing device addresses distance and interface constraints by using DPDK on a PC server or virtual machine for seamless 8K video processing, integrating resources and enabling flexible system configuration.
Patent Information
- Application Number
- JP2023058238
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-15
AI Technical Summary
Existing video processing systems face challenges with distance constraints and interface complexity, particularly in supporting 8K video, which requires high-speed processing and lacks mechanisms for linking multiple video processing functions, resource monitoring, and reallocation.
A video processing device utilizing DPDK on a PC server or virtual machine, with exclusive resource allocation and monitoring, enabling seamless video processing by integrating CPU, memory, and network interface card resources, and allowing flexible system configuration through cloud and edge computing.
Enables high-speed processing over 10Gbps for 8K video, links multiple video processing functions, monitors CPU and network resources, and reallocates resources as needed, overcoming distance and interface constraints.
Smart Images

Figure 2024145754000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a video processing device (video processing system) used for live video production. [Background technology]
[0002] In live video production, a system is used to realize a video workflow in which input materials such as video footage from multiple cameras and video footage already recorded on a recorder are processed, edited by switching between them as needed, and sent to viewers. As shown in Figure 14, camera materials from remote locations (such as weather cameras) are sent from a sending transmission device A and received by a receiving transmission device B via a network, and the material is used. At the editing center, a system is created by combining multiple video processing devices that realize various video processing functions (color adjustment C, format conversion D, video switching E, format conversion and compression function F), and video interface cables such as SDI, which can be several meters long or up to 100 meters long, are often used to connect these video processing devices. For this reason, not only do multiple video processing devices need to be gathered in one place, but video processing devices come in a variety of types depending on the video format, and if the electrical input / output interface conditions are different, connection is not possible, so specialized knowledge is required for construction. Furthermore, to support 8K video, which has recently become widespread, a video interface speed of 48 Gbps or 24 Gbps is required, and between video processing devices, systems are required in which multiple video interfaces are bundled together for parallel transmission, or transmission is performed using optical cables, which is expensive and not easy to use.
[0003] In the past, IP networks have come into widespread use, and a workflow known as remote production has become widespread, in which broadcast sites and studios are connected via a network to create programs. There is also a movement to use the computing power of clouds and edges on the network to perform video editing processing only when necessary, without upfront investment (Non-Patent Document 1). [Prior art documents] [Non-patent literature]
[0004] [Non-Patent Document 1] https: / / www.nhk.or.jp / strl / publica / rd / 179 / 2.html
[0005] However, there are currently problems with implementing video processing functions using cloud computing, such as the following: (1) It is difficult to achieve the high-speed processing of over 10 Gbps required for 8K video. (2) There is no mechanism for linking multiple image processing functions. (3) There is no mechanism for monitoring CPU or network resources. (4) There is no mechanism for reallocating resources when resources are reduced. Summary of the Invention [Problem to be solved by the invention]
[0006] The present invention was developed to solve the above-mentioned problems, and its purpose is to provide an image processing device that eliminates distance constraints and interface complexity, uses the computing power of clouds and edges on a network, virtually configures a system only when necessary, and can realize an image processing workflow. [Means for solving the problem]
[0007] In the present invention, in a video processing device that realizes video processing using a PC server or a virtual machine connected to a network, a specific CPU core, memory, and network interface card resource are taken from the OS using a function provided by DPDK (Data Plane Development Kit) as shown in FIG. 7, and the resource is operated in a state where it can be exclusively used by a user program, thereby enabling high-speed operation that avoids the influence of interrupts, etc. Also, the video processing device includes a video processing function allocation unit and a function unit, and the video processing function allocation unit allocates network interface card resources used for input and output of video data, allocates CPU core resources for functions that execute multiple program processes, and allocates address information used for input and output, and the function unit includes multiple CPU cores and an API interface, and each CPU core repeatedly executes the operation of only the assigned function, so that after the function units are started up all at once, uninterrupted video processing based on input packet data can be performed. The API interface controls functions related to video processing from outside.
[0008] In the video processing device, by adding a management entity using resource integration information that can collectively set information on network interface card resource allocation, CPU core resource allocation, and address allocation, it is possible to easily perform configuration according to the application.
[0009] By adding an internal resource monitoring unit to the video processing device, it is also possible to constantly monitor and display the line status of the network interface and the resource status of the CPU and memory of the assigned cores.
[0010] In the video processing device, if a resource shortage is found as a result of monitoring the resource status, the allocation numbers such as the number of CPU cores are changed, the resource integration information is rewritten, and the video processing function allocation unit restarts each of the function units, thereby achieving stable operation.
[0011] In the present invention, a video processing device can be provided that realizes a series of video workflows by linking (systematizing) a plurality of video processing functions in a required number and order. For this purpose, a video processing function configuration management unit that manages configuration information of the video processing functions is added to the video processing device, and when a plurality of programmable video processing function units corresponding to the video processing device are operated using virtual machines or physical servers, a video processing input unit having a function of specifying packet protocol processing of input video and the order of processing by the video processing function units for video packets input from an external network, a plurality of video processing function units, and a video output unit for performing protocol processing to convert into video packets to be output to the external network are connected by a mutually coupled connection network, and the video processing function configuration management unit starts the plurality of video processing function units, the video processing input unit, and the video output processing unit, thereby performing a seamless linking operation of a plurality of video processes based on video input packets from the external network, and outputting the processed video packets.
[0012] In the video processing device of the present invention, the video processing function resource monitoring section monitors the line status and the resource status of the video processing function section in real time, thereby achieving monitoring of normal operation of the system and display of the resource status.
[0013] In the video processing device of the present invention, when a resource shortage is discovered, this is notified to the video processing function configuration management unit, so that the virtual machine or physical server assigned to execute the video processing function unit can be changed to one with higher performance, thereby enabling stable operation. Effect of the Invention
[0014] According to the video processing device of the present invention, in order to solve the problems that were inherent to conventional video processing systems, such as the need to gather multiple video processing devices in one location due to distance constraints on the video input / output interface, and the problem of connection failures occurring due to interface specifications, an IP network is used that has a unified interface and eliminates distance constraints, and cloud and edge computing capabilities are introduced to construct a system that is convenient and can be flexibly assembled when needed.
[0015] It overcomes the practical challenges of wideband video processing such as 8K and also makes the following possible: (1) Achieving high-speed processing of over 10 Gbps, which is necessary for 8K video. (2) A mechanism for linking multiple image processing functions. (3) A mechanism for monitoring CPU and network resources. (4) A mechanism for reallocating resources when resources are reduced. [Brief description of the drawings]
[0016] [Figure 1] 1 is an explanatory diagram of an embodiment of a video processing device of the present invention; [Diagram 2] FIG. 11 is an explanatory diagram of another embodiment of a video processing device of the present invention. [Diagram 3] FIG. 2 is a detailed configuration diagram of a video processing device according to the present invention. [Figure 4] FIG. 2 is a diagram showing resource configuration information of the video processing device of the present invention. [Diagram 5] FIG. 2 is another system diagram of the video processing device of the present invention. [Figure 6] FIG. 2 is another system diagram of the video processing device of the present invention. [Figure 7] An explanatory diagram of video processing using DPDK (Data Plane Development Kit). [Figure 8] FIG. 2 is another system diagram of the video processing device of the present invention. [Figure 9] FIG. 4 is an explanatory diagram of a resource setting example of the video processing input unit (main sequence) in the video processing device of the present invention. [Figure 10]FIG. 2 is an explanatory diagram of a resource setting example of the video processing input unit (sub-system 1) in the video processing device of the present invention. [Figure 11] FIG. 4 is an explanatory diagram of a resource setting example of the video processing input unit (sub-system 2) in the video processing device of the present invention. [Figure 12] FIG. 2 is an explanatory diagram of a resource setting example in the video processing device of the present invention, showing settings of a video processing function and video switching (first stage). [Figure 13] FIG. 2 is an explanatory diagram of a resource setting example in the video processing device of the present invention, showing settings of a video processing function and video switching (second row). [Figure 14] FIG. 1 is a system diagram of a conventional video processing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] The video processing device according to the present invention includes the following units (functions), and by dividing the functions described below among these units, it is possible to realize processing related to real-time video editing.
[0018] (1) Video processing function allocation unit: This unit allocates network interface card resources used for input and output of video data used by a video processing device configured using DPDK, allocates CPU core resources for functions that execute multiple program processes, and allocates address information used for input and output. (2) Function unit: Each CPU core repeatedly executes only the operations of the functions assigned to it. After activating all the function units at once, it then performs uninterrupted video processing based on the input packet data. (3) API interface: A function provided in a function that controls functions related to video processing from outside. (4) Resource integration information: Resource integration information allows for the collective setting of information on network interface card resource allocation, CPU core resource allocation, and address allocation. By adding a management entity, it is possible to easily configure information according to the application. (5) Internal resource monitoring unit: By adding a function to monitor the line status of the network interface and the CPU and memory resources of the assigned cores, it becomes possible to constantly monitor and display the resource status. (6) Resource reallocation function of video processing device: If a resource shortage is found as a result of monitoring the resource status, the allocation number of the relevant CPU cores, etc. is changed, the resource integration information is rewritten, and the video processing function allocation unit restarts each function unit, thereby achieving stable operation. (7) Video processing function configuration management unit: In the configuration of a video processing system in which a required number of video processing functions are linked in the required order to realize a series of video workflows, this unit manages the configuration information of the video processing functions. (8) Image processing function unit: A programmable image processing function unit equivalent to an image processing device operates in multiple units using virtual machines or physical servers. (9) Video processing input unit: A function that performs packet protocol processing of the input video for video packets input from an external network and specifies the order in which the input video is to be processed by the video processing function unit. (10) Video processing output unit: a function for performing protocol processing to convert into video packets for output to an external network. (11) Connection network: A configuration in which a video processing input unit, multiple video processing function units, and a video processing output unit are interconnected. The video processing function configuration management unit activates the multiple video processing function units, the video processing input unit, and the video output processing unit, thereby enabling a seamless connection of multiple video processes based on video input packets from an external network and outputting processed video packets. (12) Video processor function resource monitoring unit: In the video processing system, by monitoring the line status and the resource status of the video processing function unit in real time, it becomes possible to monitor the normal operation of the system and display the resource status. (13) Resource reallocation function of video processing system: In the video processing system, when a resource shortage is detected, the video processing function configuration management unit is notified, and the virtual machine or physical server allocated to execute the video processing function unit is changed to one with higher performance, enabling stable operation.
[0019] An embodiment of a video processing device according to the present invention will be described with reference to the drawings. Fig. 1 shows an embodiment of the video processing device according to the present invention, which is an example of a video switcher having a function of switching between multiple videos. In Fig. 1, reference numerals 1 and 2 denote video input devices, 3 and 4 denote sending and receiving transmission devices that convert video signals into IP packets and transmit them, 5 denotes a video processing device according to the present invention, 6 denotes an operation terminal that performs operations related to this device, 7 denotes a receiving and transmitting device that receives IP packets and converts them into video signals, and 8 denotes a display device.
[0020] The video input devices 1 and 2 are devices such as cameras and recorders in the city, and the connection interface is the SDI (Serial Digital Interface) series (HD-SDI, 3G-SDI, 12G-SDI, U-SDI) of digital signal interfaces used for business use. This embodiment shows an example of handling 8K video among videos of various resolutions.
[0021] There are various types of 8K uncompressed video signals. These include 8K-DG (8K dual green) 24Gbps, full resolution 8K 48Gbps, and full spec 8K 144Gbps. The interface used for each is 8x3G-SDI (SDI for transmitting digital video signals has a speed of 3Gbps (2.97Gbps) and can transmit 1080p HD video over a single coaxial cable) for 8K-DG, which can transmit at a speed of 24Gbps. For full resolution 8K, 16x3G-SDI or 4x12G-SDI are often used. For full spec 8K 144Gbps, optical fiber-based U-SDI is often used.
[0022] Here, an example is given in which 8K-DG 24Gbps is transmitted from video input devices 1 and 2 using eight 3G-SDI lines. The transmission transmission devices 3 and 4 convert the signals input at 8K-DG 24Gbps directly into IP packets and output them to the line. The lines transmit the signals using several widely used 10Gbps Ethernet (10GBASE) lines or 40Gbps Ethernet (40GBASE), and the signals are input to the video processing device 5. The video processing device 5 has a function to switch in real time between the video of the "main system" transmitted from the input device 1 via the transmission transmission device 3 and the "secondary system" transmitted from the input device 2 via the transmission transmission device 4. An instruction is received from the operation terminal 6 as to which video to switch and select and output. The selected video is output in the form of IP packets. This is also transmitted using several 10GBASE lines or 40GBASE Ethernet. The reception transmission device 7 receives the IP packets of the selected video, converts them into video signals, and outputs them to the display device 8.
[0023] FIG. 2 is a configuration diagram of the video processing device 5. The video processing device 5 is composed of a PC server and a virtual machine. The video processing function allocation unit 11 allocates a CPU core and memory for operating the video processing device 5, as well as programs to be operated and input / output interfaces to be used. The input line 12 and the output line 18 are composed of Ethernet such as several 10GBASE lines or 40GBASE lines. 13 is a network interface card (NIC), which inputs a packet signal from the input line 12. 18 is an output line, which outputs a packet signal from the network interface card (NIC) 17. 14, 15, and 16 are function units, which allow the CPU core and memory to be operated exclusively for video processing by the OS of the PC server or the OS of the virtual machine using DPDK. Similarly, the NICs (13, 17) are also operated exclusively for video processing.
[0024] 2, there is one input line 12, but in reality, there may be multiple input lines 12 and multiple corresponding network interface cards. The function units 14, 15, and 16 may also have various configurations.
[0025] The function unit 14 in FIG. 2 inputs packets directly from the NIC 13, performs input protocol processing, and passes the packets to the next function unit 15. The function unit 14 can also perform filter processing to receive only packets of an arbitrary destination IP address or a specific VLAN (virtual network). The function unit 15 mainly performs video processing and passes the processing result to the function unit 16. The function unit 16 performs transmission protocol processing to output packets from the NIC 17. The function unit 16 can also arbitrarily set the destination address, port number, VLAN (virtual network) number, and MAC address of the source frame used for sending. The function units 14, 15, and 16 can be parallelized by increasing the number according to the format and processing load of the input from the input line 12 and output from the output line 18. The application programming interface (API) 19 is used to output operation instructions from outside the device and status to the outside to each of the functions 14, 15, and 16. The API can use REST (RESTful) API used in normal Web services. In this usage example, it is used to instruct the selection of "main system" and "secondary system" video.
[0026] Fig. 3 is a detailed diagram of the video processing device 5 of Fig. 1 of the present invention. In this configuration, it is assumed that 8K-DG video is used for the "main system" and the "secondary system". Also, consider a system in which eight 3G-SDI lines are input from the input video devices 1 and 3, and each 3G-SDI is IP packetized by the transmission transmission device 3 and the transmission transmission device 4 of Fig. 1 and transmitted to the video processing device 5 of Fig. 1. The eight streams used for IP video transmission are as shown in Tables 1 and 2. The destination address is a multicast address that is often used in video transmission. The streams can be uniquely distinguished by the combination of the destination address and the destination port number.
[0027] [Table 1]
[0028] [Table 2]
[0029] Since the video transmission bandwidth of 8K-DG is 24 Gbps, NIC 13-1 (Fig. 3) for inputting the main system is configured with four 40GBASE or 10GBASE. NIC 13-1 inputs packets from the main system (1)-(8) and processes them in the four function units 14-1, 2, 3, and 4, each of which is assigned one CPU core.
[0030] The function unit 14-1 processes the main system (1) and the main system (2). The function unit 14-2 processes the main system (3) and the main system (4), with one core handling two streams. The function units 14-1, 2, 3, and 4 assign 192.168.130.101 as their own address, and in order to receive multicast, they issue a join request to 239.0.130.11, 12, 13, and 14, and pull in packets from the multicast sender on the line, and perform protocol processing to separate streams on a flow-by-flow basis from the destination address and port number, and pass data on a stream-by-stream basis to the function units 15-1, 2, 3, and 4. As protocol processing, filtering by VLAN (virtual network) number, error correction, and decryption of encrypted data can also be performed.
[0031] Similarly, NIC 13-2 (Figure 3) for inputting the sub-system also uses 40GBASE, and one CPU core is assigned to each of function units 14-5, 6, 7, and 8 to share the two streams of the sub-system.
[0032] The function units 14-5, 6, 7, and 8 assign 192.168.130.101 as their own address, and in order to receive multicast, issue a Join request to 239.0.130.15, 16, 17, and 18, draw in packets from the multicast source on the line, perform protocol processing to separate the stream from the destination address and port number, store the payload portion of the secondary system in frame buffers 101-1, 2, 3, and 4, and then pass the data on a stream-by-stream basis to the function units 15-1, 2, 3, and 4.
[0033] In the video switching process of this embodiment, in order to realize high-speed switching, when a main line video is selected, the destination address, destination port number, source address, source port number, and payload used in the main line stream are output as packets as they are, or an arbitrarily set destination address, destination port number, source address, source port number, VLAN (virtual network) number, and the MAC address of the source frame used for transmission can be individually specified and used. When a sub-line video is selected, the payload portion of the sub-line stream is extracted, and then the packet output is performed by replacing only the payload portion using the same destination address, destination port number, source address, and source port number used in the main line stream.
[0034] The function units 15-1, 2, 3, and 4 perform processing by allocating one CPU core for every two streams. An instruction to select either the main system video or the secondary system video is received from the REST API 19 (Fig. 2), and in the case of the main system, the data is passed directly to the function units 16-1, 2, 3, and 4 (Fig. 3) that perform output processing. In the case of the secondary system, processing is performed to extract the payload of a packet from the data stored in the buffers 101-1, 2, 3, and 4 (Fig. 3), and a header consisting of the destination address, destination port number, source address, and source port number handled by the main system stream is added, and the packet is passed to the function units 16-1, 2, 3, and 4 (Fig. 3) that perform packet output processing. In the function units 16-1, 2, 3, and 4, instead of directly using the destination address, destination port number, source address, and source port number of the input main system stream for output, it is also possible to individually specify and use an arbitrarily set destination address, destination port number, source address, source port number, VLAN (virtual network) number, or the MAC address of the source frame used for transmission.
[0035] The function units 16-1, 2, 3, and 4 that perform output processing monitor the output status of the output NIC 17 (Figure 3) and perform output processing. In addition to mainly controlling the output so that the transmission timing is at regular intervals, it can also add error correction codes and encrypt the data. Connected to the end of the NIC 17 is a 40GBASE output line 18 that can transmit a bandwidth of 24Gbps.
[0036] The resource settings for the CPU core allocation, NIC allocation, and network addresses are managed on a text basis, and the video processing allocation unit 11 (Fig. 2) can perform syntax analysis and allocation based on this. An example of the settings is shown in Fig. 4.
[0037] In Figure 4, the interface section specifies the NIC to be used for input processing of DPDK, and sets packet information to be used for multicast join on the corresponding NIC. In addition, the flow section gives a name to each stream flow unit. The flow is specified by the input NIC, destination IP address, and destination port number. In the stream_swaps section, the main flow and the corresponding secondary flow are associated, and the socket to which the CPU core is assigned in DPDK and the DPDK NIC to be used for output are specified. In this example, the output VLAN number is specified to be 1131, the source MAC address of the output packet (frame) is replaced with the MAC address of the NIC to be used, the destination address of the output packet is rewritten to 239.33.33.11-14, and the source address of the output packet is rewritten to 192.168.131.101. The CPU core to be used by DPDK can also be set in detail, so detailed configuration changes can be made simply by rewriting this file.
[0038] With regard to the internal resource monitoring unit 21 in FIG. 2, it is possible to aggregate packet input / output information and packet loss information obtained from the network interface cards 13 and 17, and the processing time in each function unit 14, 15, and 16 based on the CPU clock count function supported by DPDK in the function unit, and display the information via an API.
[0039] In the present invention, when a threshold set for each resource is exceeded and it is determined that there is a resource shortage, the resource information defined in the resource integration information (CPU allocation, NIC allocation, address setting) 20 is rewritten and reallocated in the video processing function allocation unit 11. This can be realized by preparing multiple pieces of allocation information in advance to deal with various lease shortages and switching between them.
[0040] Fig. 5 is an example of a system (image processing system) in which various devices in the image processing device of the present invention are connected. This image processing system 9 is an example in which two image processing functions 112-1 and 112-2 having the above-mentioned image switching function are combined inside to configure an image switcher with a function of switching three input images. In Fig. 5, one sub-system is added, and it includes image input devices 2-1 and 2-2 for the sub-system, sending transmission devices 4-1 and 4-2 for the sub-system, an operation terminal 6 for performing operations related to this system, a receiving transmission device 7, and an image display device 8.
[0041] The video processing system in Fig. 5 also handles 8K-DG format video. Here is an example of transmitting 8K-DG 24Gbps from video input devices 2-1 and 2-2 over eight 3G-SDI lines. The transmission transmission devices 3, 4-1, and 4-2 convert the signal input at 8K-DG 24Gbps into IP packets and output it to the input line. The input line transmits the signal using 40Gbps Ethernet (40GBASE) and inputs it to the video processing system 9. The video device 9 has the function of selecting and switching in real time one of three types of video: the "main system" transmitted from the input device 1 via the transmission transmission device 3, the "sub system 1" transmitted from the video input device 2-1 through the transmission transmission device 4-1, and the "sub system 2" transmitted from the video input device 2-2 through the transmission transmission device 4-2. The operation terminal 6 receives instructions on which video to switch and select for output. The selected video is output in the form of IP packets and transmitted using Ethernet such as 40GBASE. The receiving transmission device 7 receives the IP packets of the selected video, converts them into a video signal, and outputs it to the display device 8.
[0042] FIG. 6 is a configuration diagram of another embodiment of the video processing system 9 of the present invention. The video processing system 9 of FIG. 6 is a distributed system configured with a plurality of PC servers and virtual machines and configured with an interconnected network. It is not a system concentrated in one place, but is configured so that each function can be distributed without geographical dependency. The video processing function configuration management unit 111 of FIG. 6 assigns PC servers and VMs (virtual machines) for operating each functional unit, video processing functions to be operated, addresses, etc. Based on this, each video processing function assigns resources such as CPU cores, memory, and NICs as described in the video processing device. The input line 12 and the output line 18 are configured with Ethernet such as several 10GBASE or 40GBASE. Here, the explanation is based on the assumption that each processing unit is equipped with a NIC. 113 is a video processing input unit that inputs packets from the input line 12, performs input protocol processing, and adds a special header to each input packet to indicate in what order the input packets are to be transferred and processed to the video processing functions 112-1 and 112-2.
[0043] As mentioned above, the implementation of specifying the relay destination on a packet-by-packet basis for transmission is known as the source routing method. Here, we will implement this by using a route method called SRv6, which can be used as is in existing IPv6 networks, within segment routing, where source routing and processing can be specified.
[0044] 6, routing control is performed based on the SRv6 header, and as a result, connections between the video processing input unit 113, video processing functions 112-1 and 112-2, and video processing output unit 114 can be controlled for each packet. Commercially available SRv6-compatible L3 switches and routers can be used here.
[0045] 6 deletes the SRv6 header added by the video processing input unit 113, returns the packet to a normal packet, and sends it out from the output line 18 to the external network.
[0046] The video processing functions 112-1 and 112-2 are internally configured with an input / output NIC and multiple function units, and the CPU core and memory are operated exclusively for video processing by DPDK. What makes them different from the video processing devices described above is that they can interpret the SRv6 protocol and perform appropriate route control.
[0047] 6, video processing input unit 113 and video processing output unit 114 are one system, but in reality, a configuration can be adopted in which there are a plurality of lines and a plurality of corresponding video processing units.
[0048] [Explanation of operation in Figure 5] The operation of Figure 5 will be explained using actual addresses. It is assumed that 8K-DG video is used for each of the "main system," "sub system 1," and "sub system 2" in Figure 5. Additionally, we consider a system in which eight 3G-SDI signals are input from input video devices 1, 2-1, and 2-2, and each of the 3G-SDI signals is directly converted to IP packets and transmitted. The eight streams used for IP video transmission are as shown in Tables 3, 4, and 5. The destination address is an IPv4 multicast address that is often used for video transmission. The streams can be uniquely identified by the combination of destination address and destination port number.
[0049] [Table 3]
[0050] [Table 4]
[0051] [Table 5]
[0052] Since the video transmission bandwidth of 8K-DG is 24 Gbps, the video input processing unit 113-1 (Fig. 5) for inputting the main system is configured to support 40GBASE. This video input processing unit 113-1 issues a Join request to 239.0.130.11, 12, 13, and 14, pulls in packets from the multicast source on the line, performs protocol processing to separate the stream from the destination address and port number, encapsulates with an IPv6 header, and performs SRv6 Encap operation to insert an SRv6 segment list (A->D->E). The IPv6 segment used in the video processing system 9 in Fig. 5 is assigned an SID (segment ID), and the segment list shows how the segments are passed through. A->D->E indicates that each packet is sent through the A segment, the D segment, and the E segment. For this reason, the packets of the main system are first input to the NIC for main system input of the video processing function / video switching 112-1.
[0053] For the sub-system 1, the video processing input unit 113-2 issues a Join request to 239.0.130.21, 22, 23, and 24, pulls in packets from the multicast source on the line, performs protocol processing to separate the stream from the destination address and port number, encapsulates with an IPv6 header, and performs an SRv6 Encap operation to insert an SRv6 segment list (B). As a result, the packets of the sub-system are input to the NIC for the sub-system input of the video processing function / video switch 112-1.
[0054] For the secondary system 2, the video processing input unit 113-3 issues a Join request to 239.0.130.31, 32, 33, and 34, pulls in packets from the multicast source on the line, performs protocol processing to separate the stream from the destination address and port number, encapsulates with an IPv6 header, and performs an SRv6 Encap operation to insert an SRv6 segment list (C). As a result, the packets of the secondary system are input to the NIC for secondary system input of the video processing function / video switch 112-2.
[0055] The video processing input units 113-1, 113-2, and 113-3 can also perform error correction and decryption of encrypted data.
[0056] In the video switching process of this embodiment, in order to realize high-speed switching, when a main line video is selected, the destination address, destination port number, source address, source port number, and payload used in the main line stream are output as packets as they are.When a secondary line video is selected, the payload portion of the secondary line stream is extracted, and the destination address, destination port number, source address, and source port number used in the main line stream are used to replace only the payload portion, and the packet is output.
[0057] Selection of the main system, the sub-system 1, and the sub-system 2 is instructed from the operation terminal 6 shown in FIG.
[0058] In the case of the main system, the video processing function / video switching 112-1 outputs the video packet directly to the next segment destination, the D segment, and the video processing function 112-2 outputs the video packet to the next segment destination, the E segment. The video processing output unit 114 performs SRv6 termination processing (SRv6 End (PSP)) and returns the packet to an IPv4 header before outputting the video.
[0059] In the case of the sub-system 1, the video processing function 112-1 is set to use the sub-system. As a result, the payload of the packet is extracted from the data stored in the internal buffer, and a header consisting of the SRv6 header handled in the stream of the main system, the IPv4 destination address inside the capsule, the IPv4 destination port number, the IPv4 source address, and the IPv4 source port number is added, and the packet is output according to the segment list of the main system. At the same time, the video processing function / video switching 112-2 is set to select the main system, so the video processing function / video switching 112-2 outputs the packet as it is to the E segment according to the segment list. The video processing output unit 114 performs SRv6 termination processing (SRv6 End (PSP)), returns the packet to an IPv4 header, and outputs the video.
[0060] In the case of the secondary system 2, the video processing function / video switching 112-2 performs processing to extract the packet payload from the data stored in the internal buffer, and adds a header consisting of the SRv6 header handled in the main system stream, the IPv4 destination address inside the capsule, the IPv4 destination port number, the IPv4 source address, and the IPv4 source port number, and then performs packet output processing, and the packet is sent to the E segment according to the segment list of the main system. The video processing output unit 114 performs SRv6 termination processing (SRv6 End (PSP)), returns it to the IPv4 header, and performs video output.
[0061] The resource settings for the above processes are managed on a text basis, and based on this, the video processing function configuration management unit 111 can perform syntax analysis and allocation. Setting examples are shown in Figs. 9 to 13. In the examples shown in these figures, Segment A fd77:fb3d:88f5:aa:: Segment B fd77:fb3d:88f5:ab:: Segment C fd77:fb3d:88f5:bb:: Segment D fd77:fb3b:88f5:ba:: Segment E fd77:fb3b:88f5:ff:: An example of the settings is shown below.
[0062] 9 to 13 will be described below with reference to FIG. In the video input unit (main system) 113-1 in FIG. 5, the interfaces specification specifies the NIC to be used for input and output, and also specifies the IPv6 address and the Join information for pulling in IPv4 multicast. In the flow specification, the flow to be handled is defined, and the IPv6 address required when encapsulating with v6encaps is specified. In srv6_h_insert, an SRv6 segment list is inserted, and segments "A", "D", and "E" that the corresponding packet will pass through are set. In the video input unit (subsystem 1) 113-2, the same process is performed, and in srv6_h_insert, only "B" is specified because there is only one segment to pass through. Similarly, in the video input unit (subsystem 2) 113-3, the same process is performed, and in srv6_h_insert, the only segment to pass through, "C", is specified. In the video processing function 112-1 in FIG. 5, the segments "A" and "B" used for input are used to perform video switching processing. For each, srv6_end processes a pointer to the next segment, but for packets that have entered "A", the next "D" is specified. For packets that have entered "B", there is no next, so the packet is terminated. Video processing payload replacement is the same as the mechanism described above, and the packet is output from the specified output NIC using the address information of the main line. In the last example of setting information, the video processing function 112-2 and the video processing output unit 114 are processed by the same system. To perform video switching processing, the segments "D" and "C" used for input are used. For each, srv6_end processes a pointer to the next segment, but for packets that have entered "D", the next "E" is specified. For packets that have entered "C", there is no next, so the packet is terminated. Video processing payload replacement is the same as the mechanism described above, and the output processing is carried out using the address information of the main line, and then, as processing for segment "E", the segment header is removed by SRv6 End (PSP) processing at end_psp. After that, the v6decap process uncapsulates the IPv6 header, and the packet is output as an IPv4 packet from the specified output NIC.In this example, the IPv4 destination and source addresses are rewritten on output.
[0063] [Explanation of the operation of the video processing system in Figure 6] In the video processing system 9 in Fig. 6, the video processing function resource monitoring unit 116 monitors the line status of the video processing input unit 113, the video processing functions 112-1 and 112-2, and the video processing output unit 114, and the resource status of the video processing functions 112-1 and 112-2 in real time, thereby making it possible to monitor the normal operation of the video processing system 9 and display the resource status. To monitor the line status, packet input / output information and packet loss information of the NIC of each unit, and input / output information of the connection network can be used. Resource information such as the CPU of the video processing function units 112-1 and 112-2 can be the processing time of each function unit based on the count function of the CPU clock number supported by the video processing function units 112-1 and 112-2. These can be displayed via an API.
[0064] As described above, when the resources monitored in real time for each resource exceed a set threshold, it is determined that there is a resource shortage, and the resource shortage is notified to the video processing function configuration management unit 111, the video processing function configuration management unit 111 can rewrite the defined resource information and reassign server PCs and virtual machines. The video processing function configuration management unit 111 has a plurality of pieces of allocation information prepared in advance to deal with various lease shortages, and can switch the allocation information according to each lease shortage. [Industrial Applicability]
[0065] The video processing device of the present invention can be used in fields other than those shown in the above embodiments, and the configuration, functions, and systemization of various devices can be changed to the extent that the problems of the invention can be solved. [Explanation of symbols]
[0066] 1, 2 Video input device 2-1 Video input device for secondary system 2-2 Video input device for secondary system 3. Transmission equipment 4-1 Transmission equipment 4-2 Transmission equipment 5. Video Processing Device 6 Operation terminal 7 Receiving transmission equipment 8 Display device 9. Video Processing System 101-1, 2, 3, 4 Frame Buffers 101-1, 2, 3, 4 buffers 11 Image processing function allocation section 12 Input lines 12 External Network Lines 13 Network Interface Cards (NICs) 13-1 NIC 14 Function section 14-1, 2, 3, 4 Function section 14-5, 6, 7, 8 Function section 15 Function section 15-1, 2, 3, 4 Function section 16 Function section 16-1, 2, 3, 4 Function section 17 Network Interface Card (NIC) 18 Output lines 19 Application Programming Interface (API) 21 Internal Resource Monitoring Unit 111 Video Processing Function Configuration Management Unit 112-1 Video processing function 112-2 Image processing function 112-1 Video processing function / Video switching 113 Video processing input section 113-1 Video input processing unit 113-2 Video processing input section 114 Video processing output section 113-1 Video processing input section 113-2 Video processing input section 113-3 Video processing input section 116 Video processing function resource monitoring unit A. Conventional transmission equipment B. Conventional receiving and transmitting equipment C Color adjustment function D Format conversion function E Video switching function F Format conversion and compression function
Claims
1. In a video processing device that realizes video processing using a general-purpose PC server or virtual machine connected to a network, Using the functions provided by DPDK, specific CPU cores, memory, and network interface card resources are taken from the OS and made available for exclusive use by user programs. The video processing function allocation unit allocates network interface card resources used for inputting and outputting video data, allocates CPU core resources for functions that execute multiple program processes, and allocates address information used for inputting and outputting; Each CPU core in the function section repeatedly executes only the operations of the assigned functions, and after starting up all the function sections at once, it is possible to execute uninterrupted video processing based on input packet data, and each function is equipped with an API interface that controls functions related to video processing from outside, enabling real-time video processing.
13. A video processing device comprising:
2. 2. The video processing device according to claim 1, The network interface card resource allocation, CPU core resource allocation, and address allocation information are managed by integrated resource information that can be set collectively.
13. A video processing device comprising:
3. 3. The image processing device according to claim 1, The internal resource monitoring unit monitors the network interface line status and the CPU and memory resources of the assigned cores, making it possible to constantly monitor and display the resource status.
13. A video processing device comprising:
4. 3. The image processing device according to claim 1, If a resource shortage is found as a result of monitoring the resource status, the allocation number of the relevant CPU cores, etc. is changed, the resource integration information is rewritten, and the video processing function allocation unit is able to restart each function unit.
13. A video processing device comprising:
5. 2. The video processing device according to claim 1, In order to link multiple video processing functions and realize a series of video workflows, A video processing function configuration management unit that manages configuration information of the video processing function is added. a video processing input unit having a function of specifying an order in which video packets input from an external network are to be processed by the video processing function unit and packet protocol processing of the input video; A plurality of image processing function units; A video output unit for performing protocol processing to convert the video data into video packets for output to an external network is connected to the connection network. The video processing function configuration management unit activates multiple video processing function units, a video processing input unit, and a video output processing unit, A seamless connection operation of a plurality of video processing operations based on video input packets from an external network is performed, and the processed video packets can be output.
13. A video processing device comprising:
6. 3. The video processing device according to claim 2, In order to link multiple video processing functions and realize a series of video workflows, A video processing function configuration management unit that manages configuration information of the video processing function is added. a video processing input unit having a function of specifying an order in which video packets input from an external network are to be processed by the video processing function unit and packet protocol processing of the input video; A plurality of image processing function units; A video output unit for performing protocol processing to convert the video data into video packets for output to an external network is connected to the connection network. The video processing function configuration management unit activates multiple video processing function units, a video processing input unit, and a video output processing unit, A seamless connection operation of a plurality of video processing operations based on video input packets from an external network is performed, and the processed video packets can be output.
13. A video processing device comprising:
7. 6. The video processing device according to claim 5, The video processing function resource monitoring unit monitors the line status and the video processing function resource status in real time, allowing the normal operation of the system to be monitored and displayed.
13. A video processing device comprising:
8. 7. The video processing device according to claim 6, The video processing function resource monitoring unit monitors the line status and the video processing function resource status in real time, allowing the normal operation of the system to be monitored and displayed.
13. A video processing device comprising:
9. 6. The video processing device according to claim 5, When a resource shortage is found, the video processing function configuration management unit is notified, and the allocation information of the virtual machines and physical servers allocated to the execution of the video processing function unit is reallocated, thereby enabling stable operation.
13. A video processing device comprising:
10. 7. The video processing device according to claim 6, When a resource shortage is found, the video processing function configuration management unit is notified, and the allocation information of the virtual machines and physical servers allocated to the execution of the video processing function unit is reallocated to enable stable operation.
13. A video processing device comprising:
11. 8. The video processing device according to claim 7, When a resource shortage is found, the video processing function configuration management unit is notified, and the allocation information of the virtual machines and physical servers allocated to the execution of the video processing function unit is reallocated, thereby enabling stable operation.
13. A video processing device comprising:
12. 9. The image processing device according to claim 8, When a resource shortage is found, the video processing function configuration management unit is notified, and the allocation information of the virtual machines and physical servers allocated to the execution of the video processing function unit is reallocated to enable stable operation.
13. A video processing device comprising:
Citation Information
Patent Citations
Data packet processing method and device based on DPDK
CN111813547A
Method for Forwarding Packet in SRV6 Service Function Chain and SF Device
US20230078123A1
Resource allocation optimization for cloud-based video processing
US9407944B1
Information processing system, information processing device, information processing method, and program
WO2015025415A1
