Vector graphics drawing method, device and storage medium based on 8k video system

Through the combination of system-level chips and field programmable logic gate arrays, vector image data is generated and fused, which solves the problem of lack of vector image drawing method in 8k video systems, and effectively supports video image analysis and color calibration.

CN113744114BActive Publication Date: 2024-11-12BOE TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010464219.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-27
Publication Date
2024-11-12
Estimated Expiration
2040-05-27

AI Technical Summary

Technical Problem

The lack of effective vector graphics drawing methods in the prior art makes color calibration difficult for 8k video systems.

Method used

The system-level chip is used to obtain vector image background images, and a field programmable logic gate array is used to generate vector image data based on video data. Video data with vector image is generated by fusing background images, vector image data and video data.

Benefits of technology

An effective vector diagram method for drawing 8k video data is provided, and the output video data with vector diagrams can be used for video image analysis and color calibration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113744114B_ABST
    Figure CN113744114B_ABST
Patent Text Reader

Abstract

The present invention discloses a vector graphics drawing method and device based on an 8k video system, and a storage medium, including: obtaining video data of the 8k video system; using a system-level chip to obtain a vector graphics background image; using a field programmable logic gate array to generate vector graphics data according to the video data; fusing the background image, the vector graphics data and the video data into video data with a vector graphics; and outputting the video data with a vector graphics. The vector graphics drawing method and device based on an 8k video system, and a storage medium provided by the present invention can better realize the vector graphics drawing of an 8k video system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a vector graphics drawing method and device based on an 8K video system, and a storage medium. Background Art

[0002] The 8k video system is a video system with 8k resolution. 8k resolution is an experimental digital video standard and belongs to the field of ultra-high-definition display technology. For the 8k video system, there is no vector graphics drawing method in the prior art, which makes the color calibration of the 8k video system difficult to perform without a reference object. Summary of the invention

[0003] In view of this, one of the purposes of an embodiment of the present invention is to propose a vector graphics drawing method and device, and a storage medium based on an 8K video system to solve the above-mentioned problem.

[0004] Based on the above purpose, an embodiment of the present invention provides a vector graphics drawing method based on an 8K video system, including:

[0005] Obtaining video data of the 8k video system;

[0006] Using the system-level chip, obtain the vector graphics background image;

[0007] Generate vector graphics data according to the video data using a field programmable logic gate array;

[0008] Merging the background image, the vector graphics data and the video data into video data with vector graphics;

[0009] Output the video data with the vector graphics.

[0010] Optionally, using a field programmable logic gate array to generate vector graphics data according to the video data, including:

[0011] Counting vector graphics information of each frame of image in the video data;

[0012] Extracting vector graph timing from the video data;

[0013] The vector graph information and the vector graph timing of each frame image are combined into the vector graph data.

[0014] Optionally, counting vector graphics information of each frame of the video data includes:

[0015] The vector graphics information of each frame of the video data is counted in a regional statistical manner.

[0016] Optionally, the vector graphics information of each frame of the video data is counted in a region-by-region manner, including:

[0017] The dual-port RAM is used and the RAM ping-pong operation mechanism is adopted to count the vector graphics information of each frame image in the video data in different regions.

[0018] Optionally, a dual-port RAM is used and a RAM ping-pong operation mechanism is adopted to count vector graphics information of each frame of the video data by region, including:

[0019] Determine the required amount of dual-port RAM based on the number of partitions;

[0020] Dividing the required dual-port RAM into two groups;

[0021] A RAM ping-pong operation mechanism is adopted, and two groups of dual-port RAMs are used to perform regional statistics on the vector graphics information of each frame of the video data.

[0022] Optionally, a RAM ping-pong operation mechanism is adopted to use two sets of dual-port RAMs to perform regional statistics on the vector graphics information of each frame of the video data, including alternately performing the following two steps:

[0023] Using the first set of dual-port RAM to perform regional statistics on vector graphics information of the image of odd-numbered frames; and,

[0024] The second dual-port RAM is used to perform regional statistics on the vector graphics information of the even-numbered frames;

[0025] Wherein, when the write port of the first group of dual-port RAM performs regional statistics on the vector graphics information of the image of the odd-numbered frame, the write port of the second group of dual-port RAM writes 0; when the write port of the second group of dual-port RAM performs regional statistics on the vector graphics information of the image of the even-numbered frame, the write port of the first group of dual-port RAM writes 0;

[0026] When the read port of the first group of dual-port RAM reads the vector diagram information of the image of the odd frame, the read port of the second group of dual-port RAM does not perform any operation; when the read port of the second group of dual-port RAM reads the vector diagram information of the image of the even frame, the read port of the first group of dual-port RAM does not perform any operation.

[0027] The embodiment of the present invention provides a vector graphics drawing device based on an 8K video system, comprising:

[0028] The system-on-chip is configured to: generate a vector graphics background image;

[0029] A field programmable logic gate array is configured to: obtain video data of the 8K video system; generate vector graphics data according to the video data; and fuse the background image, the vector graphics data and the video data into video data with vector graphics;

[0030] The output unit is configured to output the video data with the vector graphics.

[0031] Optionally, the field programmable gate array is configured as:

[0032] Counting vector graphics information of each frame of image in the video data;

[0033] Extracting vector graph timing from the video data;

[0034] The vector graph information and the vector graph timing of each frame image are combined into the vector graph data.

[0035] Optionally, the field programmable gate array is configured as:

[0036] The vector graphics information of each frame of the video data is counted in a regional statistical manner.

[0037] Optionally, the field programmable gate array is configured as:

[0038] The dual-port RAM is used and the RAM ping-pong operation mechanism is adopted to count the vector graphics information of each frame image in the video data in different regions.

[0039] Optionally, the field programmable gate array is configured as:

[0040] Determine the required amount of dual-port RAM based on the number of partitions;

[0041] Divide the required dual-port RAM into two groups;

[0042] A RAM ping-pong operation mechanism is adopted, and two groups of dual-port RAMs are used to perform regional statistics on the vector graphics information of each frame of the video data.

[0043] Optionally, the field programmable gate array is configured as:

[0044] Using the first set of dual-port RAM to perform regional statistics on vector graphics information of the image of odd-numbered frames; and,

[0045] The second dual-port RAM is used to perform regional statistics on the vector graphics information of the even-numbered frames;

[0046] Wherein, when the write port of the first group of dual-port RAM performs regional statistics on the vector graphics information of the image of the odd-numbered frame, the write port of the second group of dual-port RAM writes 0; when the write port of the second group of dual-port RAM performs regional statistics on the vector graphics information of the image of the even-numbered frame, the write port of the first group of dual-port RAM writes 0;

[0047] When the read port of the first group of dual-port RAM reads the vector diagram information of the image of the odd frame, the read port of the second group of dual-port RAM does not perform any operation; when the read port of the second group of dual-port RAM reads the vector diagram information of the image of the even frame, the read port of the first group of dual-port RAM does not perform any operation.

[0048] An embodiment of the present invention provides a non-transitory computer-readable storage medium storing a computer program, wherein the computer program implements the steps of any one of the methods of claims 1-6 when executed by a processor.

[0049] From the above, it can be seen that the vector graphics drawing method, device and storage medium based on the 8K video system provided by the present invention use a system-level chip to draw a background image, and then use a field programmable logic gate array to generate vector graphics data of the video data, and then merge the background image, the vector graphics data and the video data into video data with a vector graphics and output it, thereby providing an effective method for drawing a vector graphics of 8K video data, and the output video data with a vector graphics can be used by relevant personnel to perform operations such as video image analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings of the embodiments will be briefly introduced below. Obviously, the drawings in the following description only relate to some embodiments of the present invention, but are not intended to limit the present invention.

[0051] Figure 1 A schematic diagram of a flow chart of a vector graphics drawing method based on an 8K video system provided by an embodiment of the present invention;

[0052] Figure 2 A schematic diagram of a vector diagram embodiment of the present invention;

[0053] Figure 3 A schematic diagram of a process of generating vector graph data according to the video data in an embodiment of the present invention;

[0054] Figure 4 A schematic diagram of vector diagram statistics in an embodiment of the present invention;

[0055] Figure 5 A schematic diagram of an embodiment of a RAM ping-pong operation mechanism in an embodiment of the present invention;

[0056] Figure 6 A schematic diagram of the structure of a vector graphics drawing device based on an 8K video system provided by an embodiment of the present invention;

[0057] Figure 7 Schematic diagram of the internal module structure of an embodiment of the FPGA in the embodiment of the present invention. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0059] Unless otherwise defined, the technical terms or scientific terms used in this disclosure should be understood by people with ordinary skills in the field to which the present invention belongs. The "first", "second" and similar words used in this disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one", "one" or "the" do not indicate quantity restrictions, but indicate that there is at least one. Similar words such as "include" or "comprise" mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Similar words such as "connect" or "connected" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0060] Figure 1 A schematic flow chart of a method for drawing a vector diagram based on an 8K video system provided by an embodiment of the present invention is shown.

[0061] like Figure 1 As shown, the vector graphics drawing method based on the 8k video system includes:

[0062] Step 102: Obtain video data of the 8K video system.

[0063] In this step, the 8k video system refers to an ultra-high-definition video system with 8K resolution (7680×4320), which has a clarity that is 16 times that of 1080p.

[0064] Optionally, the 8k video system is applied to a professional ultra-high-definition monitor system, thereby providing ultra-high-definition monitoring images to professional monitors.

[0065] For a color image, it can be described by three channels of red, green and blue, or by three channels consisting of one brightness and two chromaticities. The former is the RGB color space, and the latter is the YUV color space. Vector graphics are built based on the YUV color space. In digital systems, the three channels of the YUV color space are usually referred to as Y, Cr, and Cb, where the r subscript and b subscript represent that the calculation of the U channel and the V channel is calculated by subtracting the red and blue RGB signals from the Y brightness signal, which is the average R, G, and B in a broad sense. Reference Figure 2 As shown, the vector diagram ( Figure 2 The gray block in the middle is the horizontal and vertical coordinate diagram of the U signal and the V signal. The U signal is vertical and the Y signal is horizontal. The resulting display is a color wheel with red at or near the top. The more saturated the color, the greater the deviation of the U and V signals, and the closer it will be to the edge of the vector diagram disk on the display. Completely unsaturated colors will be displayed as a point in the center. The vector diagram drawing method based on the 8k video system provided in an embodiment of the present invention is to draw a vector diagram for the video data of the 8k video system.

[0066] Step 104: Using a system-on-chip (SOC), obtain a vector graphics background image.

[0067] In this step, the system-level chip is used to obtain the background image of the vector image.

[0068] Generally, vector graphics statistics are obtained by field programmable gate array (FPGA) calculation, but FPGA is suitable for high-speed calculation and not suitable for drawing graphics, while SOC is suitable for drawing graphics. Therefore, in this step, a system-level chip is used to draw the background image.

[0069] Optionally, refer to Figure 2 As shown, Figure 2 The white wireframe in is the background image obtained by drawing. Figure 2 As shown, the background image mainly provides a reference standard for the vector image. Generally, the background image is the same for each vector image. Optionally, the information of the background image can be pre-programmed into the SOC. After the 8k video system is powered on and initialized, the background image is written into the SOC and can be sent to the double rate synchronous dynamic random access memory (DDR) inside the FPGA for storage. Optionally, during the power-on startup process, through the handshake signal between the SOC and the FPGA, the FPGA distinguishes the background image transmitted by the SOC and stores it in the memory.

[0070] Step 106: Generate vector graphics data according to the video data using a field programmable gate array (FPGA).

[0071] In this step, the FPGA can perform real-time vector graphics information statistics and drawing on the video data.

[0072] Optionally, after power-on initialization, the video data is written into the DDR of the FPGA for subsequent processing.

[0073] In one or more embodiments of the present invention, Figure 3 As shown, a field programmable logic gate array is used to generate vector graphics data according to the video data, including:

[0074] Step 1062: Count the vector graphics information of each frame of the video data.

[0075] In this step, the video data is a video stream, which contains single-frame images arranged in sequence. For each frame of the video data, the vector graphics information thereof is statistically analyzed.

[0076] Optionally, before performing statistics on the vector graphics information, it is also necessary to convert the image data represented by the three RGB channels in the RGB color space into image data represented by the three Y, Cr, and Cb channels in the YUV color space.

[0077] Step 1064: Extract vector diagram timing from the video data.

[0078] In this step, the vector diagram timing can be generated according to the video stream timing. Optionally, the timing can be generated by a timing generation module (VTG) inside the FPGA.

[0079] Step 1066: Combine the vector graphics information and the vector graphics timing of each frame of image into the vector graphics data.

[0080] In this step, based on the vector graphics information of each frame of the image and the vector graphics timing sequence generated based on the video stream, the vector graphics information and the vector graphics timing sequence can be combined into the vector graphics data.

[0081] Optionally, the vector diagram data may be written into the DDR of the FPGA for subsequent processing.

[0082] In one or more embodiments of the present invention, counting vector graph information of each frame of the video data includes:

[0083] The vector graphics information of each frame of the video data is counted in a regional statistical manner.

[0084] refer to Figure 4As shown, by partitioning the original image with a resolution of 7680×4320 (for example, dividing it into 16 regional images of 480×4320), and then performing regional statistical vector map information, on the one hand, the parallel processing capability of FPGA is utilized, and on the other hand, the processing speed can be greatly improved.

[0085] In one or more embodiments of the present invention, the vector graphics information of each frame of the video data is counted in a regional statistical manner, including:

[0086] The dual-port RAM is used and the RAM ping-pong operation mechanism is adopted to count the vector graphics information of each frame image in the video data in different regions.

[0087] Generally, a dual-port RAM has two completely independent sets of data lines, address lines, and read-write control lines on a static random access memory (SRAM), and allows two independent systems to randomly access the memory at the same time, that is, a shared multi-port memory. The biggest feature of dual-port RAM is storage data sharing. A memory is equipped with two independent sets of address, data, and control lines, allowing two independent CPUs or controllers to asynchronously access the storage unit at the same time. Because of data sharing, access arbitration control must exist. The internal arbitration logic control provides the following functions: timing control of access to the same address unit; access rights allocation of storage unit data blocks; signaling exchange logic (such as interrupt signals), etc. Dual-port RAM can be used to improve the throughput of RAM and is suitable for real-time data caching.

[0088] In this step, the RAM ping-pong operation mechanism is used to improve the read and write efficiency. When writing RAM1, the data in RAM2 is read; when writing RAM2, the data in RAM1 is read. The data read rate is 5 times the data write rate, so the data writing end can keep writing data, while the data reading end writes data at 1 / 5 of the time of writing a group of data, and the out_valid signal is used to indicate that the read data is valid.

[0089] In one or more embodiments of the present invention, dual-port RAM is used, and RAM ping-pong operation mechanism is adopted to count vector diagram information of each frame image in the video data by region, including:

[0090] Determine the required amount of dual-port RAM based on the number of partitions;

[0091] Divide the required dual-port RAM into two groups;

[0092] A RAM ping-pong operation mechanism is adopted, and two groups of dual-port RAMs are used to perform regional statistics on the vector graphics information of each frame of the video data.

[0093] In the embodiment using the regional statistics method, a dual-port RAM can be used to count the vector graphics information for each regional image. Therefore, for a frame of image, a corresponding number of RAMs are required for processing according to the number of partitions. In the embodiment using the RAM ping-pong operation mechanism, two groups of RAMs need to be operated simultaneously. When writing the first group of RAM, the data in the second group of RAM is read; when writing the second group of RAM, the data in the first group of RAM is read.

[0094] Reference Figure 4 , taking a frame of image as an example, the statistics and drawing process of its vector map information mainly includes:

[0095] a) Input data: 480*4320*16@148.5MHz;

[0096] b) Statistics: 480*4320*16@148.5MHz, covering all 8K pixels.

[0097] c) Regional statistical vector map information:

[0098] RAM size in the RAM ping-pong operation mechanism: width 1, depth 16 bits; for ping-pong operation, a total of 16*2=32 RAMs are required;

[0099] The width of the RAM is used to store Cb / Cr data, which is set to 1 if there is a value and 0 if there is no value. The depth of the RAM is 16 bits, of which 8 bits represent the 256 positions of the vertical coordinate Cr and 8 bits represent the 256 positions of the horizontal coordinate Cb.

[0100] Write operation: RAM1-16, use the high 8 bits of the pixel position coordinates (pixel is 10 bits, RAM address can only store 8 bits, so select the high 8 bits of the pixel) as the RAM address, addressing set to 1;

[0101] Read operation: RAM17-32, use the pixel position coordinates as the RAM address, and complete the read operation with a delay of one beat;

[0102] d) X and Y items match and draw: actual image size: 1024*1024; the read data of RAM17-32 is used as dot data.

[0103] In one or more embodiments of the present invention, a RAM ping-pong operation mechanism is adopted to use two sets of dual-port RAMs to perform regional statistics on the vector graphics information of each frame of the video data, including alternately performing the following two steps:

[0104] Using the first set of dual-port RAM to perform regional statistics on vector graphics information of the image of odd-numbered frames; and,

[0105] The second dual-port RAM is used to perform regional statistics on the vector graphics information of the even-numbered frames;

[0106] Wherein, when the write port of the first group of dual-port RAM performs regional statistics on the vector graphics information of the image of the odd-numbered frame, the write port of the second group of dual-port RAM writes 0; when the write port of the second group of dual-port RAM performs regional statistics on the vector graphics information of the image of the even-numbered frame, the write port of the first group of dual-port RAM writes 0;

[0107] When the read port of the first group of dual-port RAM reads the vector diagram information of the image of the odd frame, the read port of the second group of dual-port RAM does not perform any operation; when the read port of the second group of dual-port RAM reads the vector diagram information of the image of the even frame, the read port of the first group of dual-port RAM does not perform any operation.

[0108] Figure 5 One embodiment of a RAM ping-pong operation mechanism is shown.

[0109] Take the input image divided into 16 regions as an example (refer to Figure 4 ), a total of 32 dual-port RAMs are required, Frame N (for example, an odd frame) operates the first group of RAMs (RAM1-16); Frame N+1 (for example, an even frame) operates the second group of RAMs (RAM17-32); the specific operation of the RAM ping-pong operation mechanism is as follows:

[0110] When inputting the data of Frame N, the write port of RAM1: uses the high 8 bits of the UV address to form a 16-bit address as the write address of RAM1, organized in the form of [U[11:3], V[11:3]], and writes the first data of Frame N; the read port of RAM1: the read port of RAM1 does not perform any operation.

[0111] When inputting the data of Frame N, the write port of RAM17: does not perform any operation; the read port of RAM17: does not perform any operation.

[0112] When inputting the data of Frame N+1, the write port of RAM1: writes 0 according to the timing of 1024*1024; the read port of RAM1: reads data according to the timing of 1024*1024;

[0113] When inputting the data of Frame N+1, the write port of RAM17: uses the high 8 bits of the UV address to form a 16-bit address, which is used as the write address of RAM1, and is organized in the form of [U[11:3], V[11:3]], and writes the first data of Frame N+1; the read port of RAM17: the read port does not perform any operation.

[0114] In the above embodiment, the ping-pong operation mode of the dual-port RAM is used to perform real-time calculation of statistical data, and two implementation modes of 100% and 75% of the vector graph can be realized. Among them, 100% and 75% are two indicators of the vector graph, which refer to the length of the statistical result relative to the center point. At 75%, all the largest red, yellow, green, cyan, blue, and magenta colors fall on Figure 2 The position of the field is used to calibrate whether the color is correct. 100% is the actual length of the above colors and cannot exceed Figure 2 Therefore, 75% is more of a reference, but typical monitors have both options.

[0115] Step 108: Merge the background image, the vector graphics data and the video data into video data with vector graphics.

[0116] Optionally, the background image is written into the DDR of the FPGA for storage, the vector graphics data is also stored in the DDR of the FPGA after statistics and drawing are completed, and the video data is also written into the DDR of the FPGA after power-on initialization. When it is necessary to merge the three, they are read out from the DDR and superimposed, thereby completing the complete fusion of the vector graphics data, background image, and video data on the DDR output side.

[0117] In this process, the same RDMA (Remote Direct Memory Access) timing can be generated based on the video data to merge the video data, background image, and vector data. RDMA transfers data directly to the computer's storage area through the network, quickly moving data from one system to the remote system memory without any impact on the operating system, so that little computer processing power is not required. It eliminates the overhead of external memory copying and context switching, thereby freeing up memory bandwidth and CPU cycles to improve application system performance.

[0118] Step 110: Output the video data with the vector graphics.

[0119] This step outputs video data with a vector diagram, in which the vector diagram can be used to measure the color deviation of the video image. Usually, professionals use the vector diagram to calibrate the color to ensure that the color adjustment meets the technical standards.

[0120] Optionally, it can be sent to a display via V-by-One to output the video data with the vector diagram. V-by-One is a digital interface standard developed specifically for image transmission. Its signal input and output levels use LVDS (low voltage differential signal), and the signal frequency of the board is about 1GHz. Compared with the CMOS / TTL method, the number of transmission lines can be reduced to about 1 / 10.

[0121] It can be seen from the above embodiments that the vector graphics drawing method based on the 8K video system provided in the embodiments of the present invention uses a system-level chip to draw a background image, and then uses a field programmable logic gate array to generate vector graphics data of the video data, and then merges the background image, the vector graphics data and the video data into video data with a vector graphics and outputs it, thereby providing an effective method for drawing a vector graphics of 8K video data, and the output video data with a vector graphics can be used by relevant personnel to perform operations such as video image analysis.

[0122] Figure 6 A schematic diagram of the structure of a vector graphics drawing device based on an 8K video system provided by an embodiment of the present invention is shown.

[0123] like Figure 6 As shown, the vector graphics drawing device based on the 8K video system includes:

[0124] The system-level chip 201 is configured to: generate a vector graphics background image;

[0125] The field programmable logic gate array 202 is configured to: obtain video data of the 8K video system; generate vector graphics data according to the video data; and merge the background image, the vector graphics data and the video data into video data with vector graphics;

[0126] The output unit 203 is configured to output the video data with the vector graphics.

[0127] It can be seen from the above embodiments that the vector graphics drawing device based on the 8K video system provided in the embodiments of the present invention uses a system-level chip to draw a background image, and then uses a field programmable logic gate array to generate vector graphics data of the video data, and then merges the background image, the vector graphics data and the video data into video data with a vector graphics and outputs it, thereby providing an effective method for drawing a vector graphics of 8K video data, and the output video data with a vector graphics can be used by relevant personnel to perform operations such as video image analysis.

[0128] In one or more embodiments of the present invention, the field programmable logic gate array 202 is configured as follows:

[0129] Counting vector graphics information of each frame of image in the video data;

[0130] Extracting vector graph timing from the video data;

[0131] The vector graph information and the vector graph timing of each frame image are combined into the vector graph data.

[0132] In one or more embodiments of the present invention, the field programmable logic gate array 202 is configured as follows:

[0133] The vector graphics information of each frame of the video data is counted in a regional statistical manner.

[0134] In one or more embodiments of the present invention, the field programmable logic gate array 202 is configured as follows:

[0135] The dual-port RAM is used and the RAM ping-pong operation mechanism is adopted to count the vector graphics information of each frame image in the video data in different regions.

[0136] In one or more embodiments of the present invention, the field programmable logic gate array 202 is configured as follows:

[0137] Determine the required amount of dual-port RAM based on the number of partitions;

[0138] Divide the required dual-port RAM into two groups;

[0139] A RAM ping-pong operation mechanism is adopted, and two groups of dual-port RAMs are used to perform regional statistics on the vector graphics information of each frame of the video data.

[0140] In one or more embodiments of the present invention, the field programmable logic gate array 202 is configured as follows:

[0141] Using the first set of dual-port RAM to perform regional statistics on vector graphics information of the image of odd-numbered frames; and,

[0142] The second dual-port RAM is used to perform regional statistics on the vector graphics information of the even-numbered frames;

[0143] Wherein, when the write port of the first group of dual-port RAM performs regional statistics on the vector graphics information of the image of the odd-numbered frame, the write port of the second group of dual-port RAM writes 0; when the write port of the second group of dual-port RAM performs regional statistics on the vector graphics information of the image of the even-numbered frame, the write port of the first group of dual-port RAM writes 0;

[0144] When the read port of the first group of dual-port RAM reads the vector diagram information of the image of the odd frame, the read port of the second group of dual-port RAM does not perform any operation; when the read port of the second group of dual-port RAM reads the vector diagram information of the image of the even frame, the read port of the first group of dual-port RAM does not perform any operation.

[0145] Figure 7 An embodiment of the internal module structure of FPGA is shown. The FPGA includes:

[0146] SDI receiving module SDI_RX; LVDS receiving module LVDS_RX;

[0147] RAM, used to store UV position information;

[0148] MUX module, data selection path;

[0149] The timing generation module VTG is used to generate the timing of 1920*1080;

[0150] An image fusion module Mixter, used to fuse the background image, the vector graph data and the video data into video data with a vector graph;

[0151] Write DDR controller WDMA, read DDR controller RDMA.

[0152] For the convenience of description, the above devices are described in terms of functions divided into various modules. Of course, when implementing one or more embodiments of this specification, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0153] The apparatus of the above-mentioned embodiment is used to implement the corresponding method in the above-mentioned embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0154] The embodiment of the present application provides a non-transitory computer storage medium, which stores computer executable instructions, and the computer executable instructions can execute the processing method of the list item operation in any of the above method embodiments. The embodiment of the non-transitory computer storage medium has the same or similar technical effect as any of the above method embodiments.

[0155] Finally, it should be noted that a person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. The technical effect of the embodiment of the computer program is the same or similar to that of any of the above-mentioned method embodiments.

[0156] In addition, typically, the devices and equipment described in the present disclosure may be various electronic terminal devices, such as mobile phones, personal digital assistants (PDAs), tablet computers (PADs), smart TVs, etc., or large terminal devices, such as servers, etc. Therefore, the protection scope of the present disclosure should not be limited to a specific type of device or equipment. The client described in the present disclosure may be applied to any of the above electronic terminal devices in the form of electronic hardware, computer software, or a combination of the two.

[0157] In addition, the method according to the present disclosure may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. When the computer program is executed by the CPU, the above functions defined in the method of the present disclosure are performed.

[0158] In addition, the above method steps and system units may also be implemented using a controller and a computer-readable storage medium for storing a computer program that enables the controller to implement the above steps or unit functions.

[0159] In addition, it should be understood that the computer-readable storage medium (e.g., memory) described herein can be a volatile memory or a non-volatile memory, or can include both a volatile memory and a non-volatile memory. As an example and not by way of limitation, a non-volatile memory can include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. A volatile memory can include a random access memory (RAM), which can act as an external cache memory. As an example and not by way of limitation, RAM can be obtained in a variety of forms, such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to include, but are not limited to, these and other suitable types of memory.

[0160] It will also be appreciated by those skilled in the art that the various exemplary logic blocks, modules, circuits and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, a general description has been given of the functions of various schematic components, blocks, modules, circuits and steps. Whether this function is implemented as software or hardware depends on the specific application and the design constraints imposed on the entire system. Those skilled in the art can implement the described functions in various ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the scope of the present disclosure.

[0161] The various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure herein may be implemented or executed using the following components designed to perform the functions described herein: a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general-purpose processor may be a microprocessor, but alternatively, the processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.

[0162] The step of the method or algorithm described in conjunction with the disclosure here can be directly included in hardware, in a software module executed by a processor, or in a combination of the two. The software module can reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or a storage medium of any other form known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium or write information to the storage medium. In an alternative, the storage medium can be integrated with the processor. The processor and the storage medium can reside in an ASIC. The ASIC can reside in a user terminal. In an alternative, the processor and the storage medium can reside in a user terminal as discrete components.

[0163] In one or more exemplary designs, the functions can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions can be stored on or transmitted by computer-readable media as one or more instructions or codes. Computer-readable media include computer storage media and communication media, and the communication media include any media that helps to transmit a computer program from one location to another. The storage medium can be any available medium that can be accessed by a general or special computer. As an example and not limiting, the computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage devices, disk storage devices or other magnetic storage devices, or any other medium that can be used to carry or store the required program code in the form of instructions or data structures and can be accessed by a general or special computer or a general or special processor. In addition, any connection can be appropriately referred to as a computer-readable medium. For example, if a coaxial cable, optical fiber cable, twisted pair, digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwaves are used to send software from a website, server or other remote source, the above-mentioned coaxial cable, optical fiber cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwaves are all included in the definition of the medium. As used herein, disk and disc include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, Blu-ray disc, wherein disks usually reproduce data magnetically, while optical discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0164] The exemplary embodiments disclosed herein are disclosed, but it should be noted that various changes and modifications may be made without departing from the scope of the present disclosure as defined by the claims. The functions, steps, and / or actions of the method claims according to the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although the elements of the present disclosure may be described or claimed in individual form, a plurality may also be envisioned unless expressly limited to the singular.

[0165] It should be understood that, as used herein, the singular forms "a", "an", "the" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations of one or more of the associated listed items.

[0166] The serial numbers of the above-mentioned embodiments of the present disclosure are only for description and do not represent the advantages or disadvantages of the embodiments.

[0167] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0168] A person skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples; in the spirit of the embodiments of the present invention, the technical features in the above embodiments or different embodiments may also be combined, and there are many other variations of different aspects of the embodiments of the present invention as described above, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention shall be included in the protection scope of the embodiments of the present invention.

Claims

1. A vector graphics drawing method based on an 8K video system, comprising: Obtaining video data of the 8k video system; Using the system-level chip, obtain the vector graphics background image; Generate vector graphics data according to the video data using a field programmable logic gate array; Merging the background image, the vector graphics data and the video data into video data with vector graphics; Output the video data with vector graphics; The method of generating vector graphics data according to the video data by using a field programmable logic gate array includes: Using a dual-port RAM and a RAM ping-pong operation mechanism, vector graphics information of each frame of the video data is counted by region; Extracting vector graph timing from the video data; The vector graph information and the vector graph timing of each frame image are combined into the vector graph data.

2. The method according to claim 1, characterized in that Using dual-port RAM and RAM ping-pong operation mechanism, vector graphics information of each frame of the video data is counted by region, including: Determine the required amount of dual-port RAM based on the number of partitions; Divide the required dual-port RAM into two groups; A RAM ping-pong operation mechanism is adopted, and two groups of dual-port RAMs are used to perform regional statistics on the vector graphics information of each frame of the video data.

3. The method according to claim 2, characterized in that A RAM ping-pong operation mechanism is adopted, and two sets of dual-port RAMs are used to perform regional statistics on the vector graphics information of each frame of the video data, including alternately performing the following two steps: The first dual-port RAM is used to perform regional statistics on the vector diagram information of the image of the odd-numbered frames; as well as, The second dual-port RAM is used to perform regional statistics on the vector graphics information of the even-numbered frames; Wherein, when the write port of the first group of dual-port RAM performs regional statistics on the vector graphics information of the image of the odd-numbered frame, the write port of the second group of dual-port RAM writes 0; when the write port of the second group of dual-port RAM performs regional statistics on the vector graphics information of the image of the even-numbered frame, the write port of the first group of dual-port RAM writes 0; When the read port of the first dual-port RAM reads the vector diagram information of the image of the odd-numbered frame, the read port of the second dual-port RAM does not perform any operation; When the read port of the second dual-port RAM reads the vector diagram information of the image of the even-numbered frame, the read port of the first dual-port RAM does not perform any operation.

4. A vector graphics drawing device based on an 8K video system, comprising: The system-on-chip is configured to: generate a vector graphics background image; A field programmable logic gate array is configured to: obtain video data of the 8k video system; Generate vector graphics data according to the video data; and merge the background image, the vector graphics data and the video data into video data with vector graphics; An output unit is configured to: output the video data with the vector diagram; Wherein, the field programmable logic gate array is configured as: Using a dual-port RAM and a RAM ping-pong operation mechanism, vector graphics information of each frame of the video data is counted by region; Extracting vector graph timing from the video data; The vector graph information and the vector graph timing of each frame image are combined into the vector graph data.

5. The device according to claim 4, characterized in that The field programmable gate array is configured as follows: Determine the required amount of dual-port RAM based on the number of partitions; Divide the required dual-port RAM into two groups; A RAM ping-pong operation mechanism is adopted, and two groups of dual-port RAMs are used to perform regional statistics on the vector graphics information of each frame of the video data.

6. The device according to claim 4, characterized in that The field programmable gate array is configured as follows: Using the first set of dual-port RAM to perform regional statistics on vector graphics information of the image of odd-numbered frames; and, The second dual-port RAM is used to perform regional statistics on the vector graphics information of the even-numbered frames; Wherein, when the write port of the first group of dual-port RAM performs regional statistics on the vector graphics information of the image of the odd-numbered frame, the write port of the second group of dual-port RAM writes 0; when the write port of the second group of dual-port RAM performs regional statistics on the vector graphics information of the image of the even-numbered frame, the write port of the first group of dual-port RAM writes 0; When the read port of the first group of dual-port RAM reads the vector diagram information of the image of the odd frame, the read port of the second group of dual-port RAM does not perform any operation; when the read port of the second group of dual-port RAM reads the vector diagram information of the image of the even frame, the read port of the first group of dual-port RAM does not perform any operation.

7. A non-transitory computer-readable storage medium storing a computer program, wherein: The computer program implements the steps of the method according to any one of claims 1 to 3 when executed by a processor.