CN112383720A - Image data processing equipment and image data processing method - Google Patents

Image data processing equipment and image data processing method Download PDF

Info

Publication number
CN112383720A
CN112383720A CN202011254606.XA CN202011254606A CN112383720A CN 112383720 A CN112383720 A CN 112383720A CN 202011254606 A CN202011254606 A CN 202011254606A CN 112383720 A CN112383720 A CN 112383720A
Authority
CN
China
Prior art keywords
image data
analog
digital
private
data packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011254606.XA
Other languages
Chinese (zh)
Other versions
CN112383720B (en
Inventor
林龑灏
王军
马强
张海龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202011254606.XA priority Critical patent/CN112383720B/en
Publication of CN112383720A publication Critical patent/CN112383720A/en
Application granted granted Critical
Publication of CN112383720B publication Critical patent/CN112383720B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application provides an image data processing device and an image data processing method, wherein the image data processing device comprises: the device comprises an analog-to-digital conversion module and a main chip. The analog-digital conversion module performs analog-digital conversion on analog image data after receiving the analog image data acquired by the image acquisition equipment and private data corresponding to the analog image data to obtain digital image data, adds the private data to the digital image data to obtain an image data packet, and sends the image data packet to the main chip through the serial interface; the main chip analyzes the received image data packet to obtain digital image data and/or private data. The analog-to-digital conversion module adds the private data corresponding to the received analog image data into the digital image data obtained by analog-to-digital conversion, and the analog-to-digital conversion module is connected with the main chip by a serial interface, so that the data transmission capability of the interface is enhanced, and the mixed transmission of the image data and the private data is realized.

Description

Image data processing equipment and image data processing method
Technical Field
The present application relates to the field of video surveillance technology, and in particular, to an image data processing apparatus and an image data processing method.
Background
In the current monitoring system, an analog signal (i.e., analog image data) is acquired by an image acquisition device at a front end, and a Digital signal is recognized and processed by a server, a processor, a display screen and the like at a rear end, so an image data processing device, such as a DVR (Digital Video Recorder) and other devices having analog-to-Digital conversion and data storage functions, is generally added, the image data processing device includes an analog-to-Digital conversion module and a main chip, the analog-to-Digital conversion module and the main chip are connected by a parallel interface such as BT656, the analog-to-Digital conversion module converts the analog image data into Digital image data after receiving the analog image data acquired by the image acquisition device, and then sends the Digital image data to the main chip by the parallel interface, and the main chip performs subsequent processing on the Digital image data.
Because the data volume of data transmission between the analog-to-digital conversion module and the main chip is limited by the interface capability, the analog-to-digital conversion module can only transmit digital image data to the main chip, and the image acquisition equipment can generate private data corresponding to the image data along with the continuous expansion of the functions of the image acquisition equipment, so that how to realize the mixed transmission of the image data and the private data becomes a technical problem to be solved urgently in the field of video monitoring.
Disclosure of Invention
An object of the embodiments of the present application is to provide an image data processing apparatus and an image data processing method, so as to realize hybrid transmission of image data and private data. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an image data processing apparatus, including: the analog-to-digital conversion module and the main chip; the analog-to-digital conversion module is connected with the main chip through a serial interface;
the analog-to-digital conversion module is used for receiving analog image data acquired by the image acquisition equipment and private data corresponding to the analog image data; performing analog-to-digital conversion on the analog image data to obtain digital image data; adding private data corresponding to the received analog image data into the digital image data to obtain an image data packet; sending the image data packet to a main chip through a serial interface;
and the main chip is used for analyzing the received image data packet to obtain digital image data and/or private data.
Optionally, the serial interface is a mobile industry processor interface.
Optionally, the analog-to-digital conversion module is specifically configured to, when adding the received private data corresponding to the analog image data to the digital image data to obtain the image data packet:
adding private data corresponding to the received analog image data at the head and/or tail of the digital image data to obtain an image data packet;
the main chip is specifically configured to, when being configured to analyze the received image data packet to obtain digital image data and/or private data:
identifying the data of the head and the tail in the image data packet to obtain private data; and/or identifying data except the head and the tail in the image data packet to obtain digital image data.
Optionally, the analog-to-digital conversion module is further configured to:
adding a first identification code of the private data at a position corresponding to the private data in the image data packet; and/or adding a second identification code of the digital image data at a position corresponding to the digital image data in the image data packet;
the main chip is specifically configured to, when being configured to analyze the received image data packet to obtain digital image data and/or private data:
identifying private data from the image data packet based on the first identification code; and/or identifying digital image data from the image data packet based on the second identification code.
Optionally, there are multiple pieces of private data corresponding to the analog image data;
the analog-to-digital conversion module is specifically configured to, when adding the received private data corresponding to the analog image data to the digital image data to obtain the image data packet:
adding each piece of private data and the first identification code of each piece of private data to each line of the head and/or each line of the tail of the digital image data respectively to obtain an image data packet; adding a second identification code of the digital image data at a position corresponding to the digital image data in the image data packet;
the main chip is specifically configured to, when being configured to analyze the received image data packet to obtain digital image data and/or private data:
identifying each piece of private data from the head and the tail in the image data packet based on each first identification code; and/or identifying digital image data from the image data packet based on the second identification code.
Optionally, the main chip is further configured to:
and processing the digital image data according to the private data.
In a second aspect, an embodiment of the present application provides an image data processing method, which is applied to an image data processing device, where the image data processing device includes an analog-to-digital conversion module and a main chip; the analog-to-digital conversion module is connected with the main chip through a serial interface; the method comprises the following steps:
the analog-digital conversion module receives analog image data acquired by image acquisition equipment and private data corresponding to the analog image data;
the analog-to-digital conversion module performs analog-to-digital conversion on the analog image data to obtain digital image data;
the analog-to-digital conversion module adds the received private data corresponding to the analog image data in the digital image data to obtain an image data packet;
the analog-to-digital conversion module sends the image data packet to the main chip through the serial interface;
the main chip analyzes the received image data packet to obtain digital image data and/or private data.
Optionally, the step of adding, by the analog-to-digital conversion module, the received private data corresponding to the analog image data to the digital image data to obtain the image data packet includes:
the analog-to-digital conversion module adds the received private data corresponding to the analog image data to the head and/or tail of the digital image data to obtain an image data packet;
the main chip analyzes the received image data packet to obtain digital image data and/or private data, and the method comprises the following steps:
the main chip identifies the data of the head and the tail in the image data packet to obtain private data; and/or identifying data except the head and the tail in the image data packet to obtain digital image data.
Optionally, after the step of adding, by the analog-to-digital conversion module, the received private data corresponding to the analog image data to the digital image data to obtain the image data packet, the method further includes:
the analog-to-digital conversion module adds a first identification code of the private data at a position corresponding to the private data in the image data packet; and/or adding a second identification code of the digital image data at a position corresponding to the digital image data in the image data packet;
the main chip analyzes the received image data packet to obtain digital image data and/or private data, and the method comprises the following steps:
the main chip identifies private data from the image data packet based on the first identification code; and/or identifying digital image data from the image data packet based on the second identification code.
Optionally, there are multiple pieces of private data corresponding to the analog image data;
the step that the analog-to-digital conversion module adds the received private data corresponding to the analog image data in the digital image data to obtain an image data packet comprises the following steps:
the analog-to-digital conversion module adds each private data and the first identification code of each private data to each line of the head and/or each line of the tail of the digital image data respectively to obtain an image data packet; adding a second identification code of the digital image data at a position corresponding to the digital image data in the image data packet;
the main chip analyzes the received image data packet to obtain digital image data and/or private data, and the method comprises the following steps:
the main chip identifies each piece of private data from the head and the tail of the image data packet based on each first identification code; and/or identifying digital image data from the image data packet based on the second identification code.
Optionally, after the step of analyzing the received image data packet by the main chip to obtain the digital image data and/or the private data, the method further includes:
and the main chip processes the digital image data according to the private data.
An embodiment of the present application provides an image data processing apparatus and an image data processing method, where the image data processing apparatus includes: the device comprises an analog-to-digital conversion module and a main chip. The analog-to-digital conversion module is connected with the main chip through a serial interface. The analog-digital conversion module performs analog-digital conversion on analog image data after receiving the analog image data acquired by the image acquisition equipment and private data corresponding to the analog image data to obtain digital image data, adds the private data to the digital image data to obtain an image data packet, and sends the image data packet to the main chip through the serial interface; the main chip analyzes the received image data packet to obtain digital image data and/or private data. The analog-to-digital conversion module performs analog-to-digital conversion on the received analog image data to obtain digital image data, and then adds the private data corresponding to the received analog image data into the digital image data, and the analog-to-digital conversion module is connected with the main chip by using a serial interface, so that the data transmission capability of the interface is enhanced, the normal transmission of an image data packet with larger data volume can be ensured, and the mixed transmission of the image data and the private data is realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic diagram of a monitoring system according to the prior art;
fig. 2 is a schematic structural diagram of an image data processing apparatus according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a monitoring system according to an embodiment of the present application;
FIG. 4 is a diagram illustrating an exemplary structure of an image data packet according to an embodiment of the present disclosure;
fig. 5 is a flowchart illustrating an image data processing method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1, in the current monitoring System, after Analog image data is acquired by a common Analog camera, the Analog image data is transmitted to a DVR through Analog signal transmission lines such as a coaxial video cable and a twisted pair, the DVR includes an Analog-to-Digital Converter (a/D Converter) and a System on Chip (SoC), the a/D Converter is responsible for receiving the Analog image data, performing Analog-to-Digital conversion on the Analog image data, and transmitting Digital image data obtained after the conversion to the SoC through a BT656 interface (a parallel interface), that is, the SoC can only acquire the image data through the BT656 interface. With the continuous expansion of the functions of the image acquisition devices, the image acquisition devices can generate private data corresponding to the image data. The embodiment of the application provides an image data processing device and an image data processing method aiming at how to realize hybrid transmission of image data and private data.
As shown in fig. 2, the image data processing apparatus according to the embodiment of the present application includes an analog-to-digital conversion module 201 and a main chip 202, where the analog-to-digital conversion module 201 and the main chip 202 are connected through a serial interface 203.
The analog-to-digital conversion module 201 is configured to receive analog image data acquired by an image acquisition device and private data corresponding to the analog image data; performing analog-to-digital conversion on the analog image data to obtain digital image data; adding private data corresponding to the received analog image data into the digital image data to obtain an image data packet; sending the image data packet to the main chip 202 through the serial interface 203;
the main chip 202 is configured to parse the received image data packet to obtain digital image data and/or private data.
By applying the embodiment of the application, the analog-to-digital conversion module performs analog-to-digital conversion on the received analog image data to obtain the digital image data, the private data corresponding to the received analog image data is added into the digital image data, and the analog-to-digital conversion module is connected with the main chip by using the serial interface, so that the data transmission capability of the interface is enhanced, the normal transmission of an image data packet with larger data volume can be ensured, and the mixed transmission of the image data and the private data is realized.
The image acquisition equipment has an image acquisition function, and also has functions of intelligent early warning, intelligent detection, alarm analysis and the like, so that after the image acquisition equipment acquires the analog image data, the image acquisition equipment can perform intelligent early warning, intelligent detection, alarm analysis and other processing on the analog image data to generate private data corresponding to the analog image data, and the private data can comprise early warning information, a target detection result, alarm information and the like. The image capturing device may transmit both the captured analog image data and the generated private data to the image data processing device. The analog image data may be a frame of image data in the video data acquired by the image acquisition device, and the analog image data and the private data have a one-to-one correspondence relationship.
The image data mentioned in the embodiment of the present application refers to the main content of analog signal transmission, and the original image acquired by the image acquisition device is converted into analog signals of chrominance signals and luminance signals, and the analog signals are received by the image data processing device and then converted into digital signals in YUV format, RGB format, and other formats.
The image data processing apparatus is an electronic apparatus having functions of analog-to-digital conversion, data storage, and the like, and may be, for example, a DVR. The image data processing equipment comprises an analog-to-digital conversion module (A/D converter) and a main chip (SoC), wherein the analog-to-digital conversion module is responsible for receiving analog image data and private data corresponding to the analog image data, performing analog-to-digital conversion on the analog image data, adding the received private data into the digital image data obtained after conversion to obtain an image data packet, and sending the image data packet to the main chip through a serial interface. Because the analog-to-digital conversion module and the main chip are connected through the serial interface, when the received private data is added to the digital image data, the private data needs to be added to the digital image data according to the interface standard specified by the serial interface.
In one implementation of the embodiments of the present application, the serial interface 203 may be a mobile industry processor interface.
The serial Interface used between the analog-to-digital conversion module and the main chip may be MIPI (Mobile Industry Processor Interface), where MIPI is an open standard initiated by an MIPI alliance and specified for a Mobile application Processor, and MIPI is a serial Interface for data transmission in units of data packets. Under general conditions, the interface capability of the MIPI is strong, and a data packet with a large data volume can be transmitted, so that the analog-to-digital conversion module and the main chip are connected through the MIPI, and normal transmission of the data packet with the large data volume can be ensured.
In an implementation manner of the embodiment of the present application, when the analog-to-digital conversion module 201 is configured to add private data corresponding to received analog image data to digital image data to obtain an image data packet, the analog-to-digital conversion module may be specifically configured to: and/or adding private data corresponding to the received analog image data at the head and/or tail of the digital image data to obtain an image data packet.
Correspondingly, the main chip 202, when being used for parsing the received image data packet to obtain digital image data and/or private data, may be specifically used for: identifying the data of the head and the tail in the image data packet to obtain private data; and/or identifying data except the head and the tail in the image data packet to obtain digital image data.
In serial interface standards such as MIPI, it is agreed that the manner of adding private data to digital image data may be: private data is added at the head and/or tail of the digital image data. That is to say, after performing analog-to-digital conversion on analog image data, the analog-to-digital conversion module may add the received private data to the head and/or the tail of the converted digital image data, and when specifically adding, may add all the private data to the head of the digital image data, may add all the private data to the tail of the digital image data, and may add a part of the private data to the head of the digital image data and a part of the private data to the tail of the digital image data.
Therefore, the analog-to-digital conversion module can transmit the obtained image data packet to the main chip through the serial interface, and after the main chip receives the image data packet, the main chip can identify the data of the head and the tail in the image data packet to obtain private data and/or identify the data except the head and the tail in the image data packet to obtain digital image data.
In an implementation manner of the embodiment of the present application, the analog-to-digital conversion module 201 may be further configured to: adding a first identification code of the private data at a position corresponding to the private data in the image data packet; and/or adding a second identification code of the digital image data at a position corresponding to the digital image data in the image data packet.
Correspondingly, the main chip 202, when being used for analyzing the received image data packet to obtain the digital image data and the corresponding private data thereof, may be specifically used for: identifying private data from the image data packet based on the first identification code; and/or identifying digital image data from the image data packet based on the second identification code.
The position corresponding to the private data refers to a position where a preset first mapping relationship is satisfied with a position where a field carrying the private data is located, where the first mapping relationship may be different according to different actual requirements, for example, if the field carrying the private data is a continuous field, the position corresponding to the private data may refer to a position of a preset number of bits (bit) before or after the continuous field, or for example, if the field carrying the private data is a field composed of multiple discontinuous subfields, the position corresponding to the private data may refer to a position before or after all discontinuous subfields, or may refer to a position between any two discontinuous subfields, and for example, assuming that the field carrying the private data is a field composed of two discontinuous subfields, for convenience of description, the two discontinuous subfields are respectively denoted as subfield 1 and subfield 2, and assuming that sub-field 1 precedes sub-field 2, the corresponding location of the private data may refer to a location that is a first preset number of bits after sub-field 1 and a second preset number of bits before sub-field 2. When the main chip 202 parses the received image data packet, a field carrying the private data may be determined according to the position of the first identification code obtained by parsing and the first mapping relationship, and the private data is obtained by parsing the field.
Similarly, the position corresponding to the digital image data may refer to a position where a preset second mapping relationship is satisfied between positions where the fields carrying the digital image data are located, where the second mapping relationship may be different according to different actual requirements, and the second mapping relationship may be the same as or different from the first mapping relationship.
The user can customize the identification codes of different types of data, namely the identification code of the private data is the first identification code, and the identification code of the digital image data is the second identification code, the analog-to-digital conversion module can also add the first identification code of the private data at the position corresponding to the private data in the image data packet, add the second identification code of the digital image data at the position corresponding to the digital image data in the image data packet, and specifically can add the first identification code at the start of the private data and add the second identification code at the start of the digital image data.
Thus, after receiving the image data packet, the main chip can identify the private data from the image data packet based on the first identification code and/or identify the digital image data from the image data packet based on the second identification code.
Certainly, the analog-to-digital conversion module can add an identification code in the digital image data, and can also add information such as the data length of the private data and the data length of the digital image data, so that the private data and the digital image data can be analyzed more accurately and quickly when the main chip performs data analysis.
In an implementation manner of the embodiment of the present application, there are a plurality of pieces of private data corresponding to the analog image data. Correspondingly, when the analog-to-digital conversion module 201 is configured to add the received private data corresponding to the analog image data to the digital image data to obtain the image data packet, the analog-to-digital conversion module may be specifically configured to: adding each piece of private data and the first identification code of each piece of private data to each line of the head and/or each line of the tail of the digital image data respectively to obtain an image data packet; and adding a second identification code of the digital image data at a position corresponding to the digital image data in the image data packet.
Correspondingly, the main chip 202, when being used for analyzing the received image data packet to obtain the digital image data and the corresponding private data thereof, may be specifically used for: identifying each piece of private data from the head and the tail in the image data packet based on each first identification code; and/or identifying digital image data from the image data packet based on the second identification code.
The image acquisition device can have multiple expansion functions, so that multiple types of private data can be generated, a user can also customize identification codes of different types of private data, namely one piece of private data has one first identification code, when the analog-to-digital conversion module generates an image data packet, each piece of private data and the first identification code of each piece of private data can be added to each line at the head and/or each line at the tail of the digital image data respectively, and a second identification code of the digital image data is added to a position corresponding to the digital image data in the image data packet.
Thus, after receiving the image data packet, the main chip can identify each piece of private data from the head and the tail of the image data packet based on each first identification code, and/or identify digital image data from the image data packet based on the second identification code.
In an implementation manner of the embodiment of the present application, the main chip 202 may further be configured to: and processing the digital image data according to the private data.
Since the private data may include the early warning information, the target detection result, the alarm information, and the like, after the digital image data and the corresponding private data are obtained by the analysis of the main chip, the digital image data may be correspondingly processed by using the private data, for example, the private data may be displayed simultaneously when the digital image data is displayed; alternatively, an alarm or the like may be given while the digital image data is displayed.
The main chip may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component; it may also be a SoC.
Based on the above embodiments, the image data processing apparatus provided in the embodiments of the present application is applied to the monitoring system as shown in fig. 3, and the monitoring system includes an analog camera and an image data processing apparatus.
The analog camera is an intelligent analog camera and can generate private data, after the analog camera collects analog image data and correspondingly generates the private data corresponding to the analog image data, the analog camera transmits the analog image data and the private data to an image data processing device (DVR shown in the figure) through analog signal transmission lines such as a coaxial video cable and a twisted pair, the image data processing device comprises an A/D converter and an SoC, the A/D converter is used for receiving the analog image data and the private data, performing analog-to-digital conversion on the analog image data, and adding the private data into the digital image data obtained after the conversion to obtain an image data packet, the structure of the image data packet is shown in figure 4, the private data is added at the head (namely a frame head) and/or the tail (namely a tail frame) of the digital image data, and the digital image data and the frame head, the frame, the, The data outside the frame end is blanking data. After the image data packet is obtained, the A/D converter sends the image data packet to the SoC through the MIPI, the SoC identifies the data of the head and the tail in the image data packet to obtain private data, and the data except the head and the tail in the image data packet is identified to obtain digital image data.
Taking the MIPI CSI2 standard (interface standard specified by the camera working group under the MIPI alliance) as an example, the image data packet is introduced, and in the byte-packing layer protocol, the structures of the synchronization signal short packet and the data long packet are defined. The short packet of the synchronization signal is used to transmit synchronization information, which includes three parts, namely Data ID (Data ID), WC (Word Count) and ECC (Error Correcting Code). The synchronization information includes a line sync and a field sync. Data ID field, containing VC (Virtual Channel) and DT (Data Type) definitions. The definition of DT is shown in Table 1, where 0x 30-0 x37 is used for user-defined data types, and the private data types in the embodiment of the present application take the values here.
TABLE 1 DT definition
Figure BDA0002772700910000111
The data long packet is used for transmitting effective pixel data of an image and is divided into three parts: a header, valid data, and a trailer. Wherein, the packet header comprises a Data ID, a Data length and an ECC; the trailer contains a checksum.
The packet header consists of 8-bit Data ID, 16-bit WC and 8-bit ECC; the Data ID is composed of a 2-bit VC number and a 6-bit DT. VC can be used for multi-path composite data packaging, at most 4MUX is supported, DT is used for mixed data transmission of YUV data and image data, and private data transmission. ECC allows the first 24 bits (Data ID and WC) in the header to be found with two bits in error and one bit in error corrected during transmission. The WC is the number N of bytes of image data in the long packet, and the WC in the short packet is defaulted to 0 or is self-defined. The maximum value is 0XFFFF (65535).
In fig. 4, the header and the FE trailer are short packets, and the valid pixels and private data are transmitted using long packets. The header of each row is 32 bits, and contains information such as VC and DT of the current row. Generally, one row of data is packed in one long packet. Examples are: for 1080P25 video, there are 1080 lines of data in one frame of image, 1920 pixel point data in each line, and packing is performed in units of line data. The frame image packet structure may be: frame header short packet + N private data long packets +1080 image data long packets + N private data long packets + frame trailer short packet. The value range of N is 0 to a plurality of N, and generally one frame of image has 1-2 private data long packets.
An embodiment of the present application further provides an image data processing method, which is applied to the image data processing apparatus shown in fig. 2, and as shown in fig. 5, the method may include the following steps:
s501, the analog-to-digital conversion module receives analog image data acquired by the image acquisition equipment and private data corresponding to the analog image data.
S502, the analog-to-digital conversion module performs analog-to-digital conversion on the analog image data to obtain digital image data.
S503, the analog-to-digital conversion module adds the received private data corresponding to the analog image data in the digital image data to obtain an image data packet.
And S504, the analog-to-digital conversion module sends the image data packet to the main chip through the serial interface.
And S505, the main chip analyzes the received image data packet to obtain digital image data and/or private data.
By applying the embodiment of the application, the analog-to-digital conversion module performs analog-to-digital conversion on the received analog image data to obtain the digital image data, the private data corresponding to the received analog image data is added into the digital image data, and the analog-to-digital conversion module is connected with the main chip by using the serial interface, so that the data transmission capability of the interface is enhanced, the normal transmission of an image data packet with larger data volume can be ensured, and the mixed transmission of the image data and the private data is realized.
In an implementation manner of the embodiment of the present application, S503 may specifically be: the analog-to-digital conversion module adds the received private data corresponding to the analog image data to the head and/or tail of the digital image data to obtain an image data packet;
s505 may specifically be: the main chip identifies the data of the head and the tail in the image data packet to obtain private data; and/or identifying data except the head and the tail in the image data packet to obtain digital image data.
In an implementation manner of the embodiment of the present application, the method further includes the following steps: the analog-to-digital conversion module adds a first identification code of the private data at a position corresponding to the private data in the image data packet; adding a second identification code of the digital image data at a position corresponding to the digital image data in the image data packet;
s505 may specifically be: the main chip identifies private data from the image data packet based on the first identification code; and/or identifying digital image data from the image data packet based on the second identification code.
In an implementation manner of the embodiment of the application, a plurality of pieces of private data corresponding to analog image data are provided;
s503 may specifically be: the analog-to-digital conversion module adds each private data and the first identification code of each private data to each line of the head and/or each line of the tail of the digital image data respectively to obtain an image data packet; adding a second identification code of the digital image data at a position corresponding to the digital image data in the image data packet;
s505 may specifically be: the main chip identifies each piece of private data from the head and the tail of the image data packet based on each first identification code; and/or identifying digital image data from the image data packet based on the second identification code.
In an implementation manner of the embodiment of the present application, the method may further include the following steps: and the main chip processes the digital image data according to the private data.
As for the embodiment of the image data processing method, since the content related to the embodiment is basically similar to that of the embodiment of the image data processing device, the description is relatively simple, and the relevant points can be referred to the partial description of the embodiment of the method.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber, DSL (Digital Subscriber Line)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a DVD (Digital Versatile Disk)), or a semiconductor medium (e.g., a SSD (Solid State Disk)), etc.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the method embodiment, since it is substantially similar to the apparatus embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (11)

1. An image data processing apparatus characterized by comprising: the analog-to-digital conversion module and the main chip; the analog-to-digital conversion module is connected with the main chip through a serial interface;
the analog-to-digital conversion module is used for receiving analog image data acquired by image acquisition equipment and private data corresponding to the analog image data; performing analog-to-digital conversion on the analog image data to obtain digital image data; adding the private data into the digital image data to obtain an image data packet; sending the image data packet to the main chip through the serial interface;
the main chip is used for analyzing the received image data packet to obtain the digital image data and/or the private data.
2. The image data recording device according to claim 1, wherein the analog-to-digital conversion module, when configured to add the private data to the digital image data to obtain an image data packet, is specifically configured to:
adding the private data to the head and/or the tail of the digital image data to obtain an image data packet;
the main chip is specifically configured to, when the main chip is configured to parse the received image data packet to obtain the digital image data and the private data:
identifying the data of the head and the tail in the image data packet to obtain the private data; and/or identifying data except for the head and the tail in the image data packet to obtain the digital image data.
3. The image data processing device of claim 1, wherein the analog-to-digital conversion module is further configured to:
adding a first identification code of the private data at a position corresponding to the private data in the image data packet; and/or adding a second identification code of the digital image data at a position corresponding to the digital image data in the image data packet;
the main chip is specifically configured to, when the main chip is configured to parse the received image data packet to obtain the digital image data and/or the private data:
identifying the private data from the image data packet based on the first identification code; and/or identifying the digital image data from the image data packet based on the second identification code.
4. The apparatus according to claim 1, wherein the analog image data corresponds to a plurality of pieces of private data;
the analog-to-digital conversion module is specifically configured to, when the analog-to-digital conversion module is used to add the private data to the digital image data to obtain an image data packet:
adding each piece of private data and a first identification code of each piece of private data to each line of the head and/or each line of the tail of the digital image data respectively to obtain an image data packet; adding a second identification code of the digital image data at a position corresponding to the digital image data in the image data packet;
the main chip is specifically configured to, when the main chip is configured to parse the received image data packet to obtain the digital image data and/or the private data:
identifying, based on the first identification codes, pieces of private data from a header and a trailer in the image data packet; and/or identifying the digital image data from the image data packet based on the second identification code.
5. The image data recording device according to any of claims 1 to 4, wherein the serial interface is a mobile industry processor interface.
6. The image data processing device of any of claims 1-4, wherein the master chip is further configured to:
and processing the digital image data according to the private data.
7. The image data processing method is applied to image data processing equipment, and the image data processing equipment comprises an analog-to-digital conversion module and a main chip; the analog-to-digital conversion module is connected with the main chip through a serial interface; the method comprises the following steps:
the analog-to-digital conversion module receives analog image data acquired by image acquisition equipment and private data corresponding to the analog image data;
the analog-to-digital conversion module performs analog-to-digital conversion on the analog image data to obtain digital image data;
the analog-to-digital conversion module adds the private data in the digital image data to obtain an image data packet;
the analog-to-digital conversion module sends the image data packet to the main chip through the serial interface;
and the main chip analyzes the received image data packet to obtain the digital image data and/or the private data.
8. The method according to claim 7, wherein the step of adding the private data to the digital image data by the analog-to-digital conversion module to obtain an image data packet comprises:
the analog-to-digital conversion module adds the private data to the head and/or tail of the digital image data to obtain an image data packet;
the step of analyzing the received image data packet by the main chip to obtain the digital image data and the private data comprises the following steps:
the main chip identifies the data of the head and the tail in the image data packet to obtain the private data; and/or identifying data except for the head and the tail in the image data packet to obtain the digital image data.
9. The method of claim 7, wherein after the step of the analog-to-digital conversion module adding the private data to the digital image data resulting in an image data packet, the method further comprises:
the analog-to-digital conversion module adds a first identification code of the private data at a position corresponding to the private data in the image data packet; and/or adding a second identification code of the digital image data at a position corresponding to the digital image data in the image data packet;
the step of analyzing the received image data packet by the main chip to obtain the digital image data and/or the private data comprises the following steps:
the main chip identifies the private data from the image data packet based on the first identification code; and/or identifying the digital image data from the image data packet based on the second identification code.
10. The method according to claim 7, wherein the analog image data corresponds to a plurality of pieces of private data;
the step of adding the private data to the digital image data by the analog-to-digital conversion module to obtain an image data packet includes:
the analog-to-digital conversion module adds each private data and the first identification code of each private data to each line at the head and/or each line at the tail of the digital image data respectively to obtain an image data packet; adding a second identification code of the digital image data at a position corresponding to the digital image data in the image data packet;
the step of analyzing the received image data packet by the main chip to obtain the digital image data and/or the private data comprises the following steps:
the main chip identifies each piece of private data from the head and the tail of the image data packet based on each first identification code; and/or identifying the digital image data from the image data packet based on the second identification code.
11. The method according to any one of claims 7-10, wherein after the step of the master chip parsing the received image data packet to obtain the digital image data and the private data, the method further comprises:
and the main chip processes the digital image data according to the private data.
CN202011254606.XA 2020-11-11 2020-11-11 Image data processing device and image data processing method Active CN112383720B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011254606.XA CN112383720B (en) 2020-11-11 2020-11-11 Image data processing device and image data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011254606.XA CN112383720B (en) 2020-11-11 2020-11-11 Image data processing device and image data processing method

Publications (2)

Publication Number Publication Date
CN112383720A true CN112383720A (en) 2021-02-19
CN112383720B CN112383720B (en) 2023-03-07

Family

ID=74582614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011254606.XA Active CN112383720B (en) 2020-11-11 2020-11-11 Image data processing device and image data processing method

Country Status (1)

Country Link
CN (1) CN112383720B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070282907A1 (en) * 2006-06-05 2007-12-06 Palm, Inc. Techniques to associate media information with related information
US20090073425A1 (en) * 2007-09-18 2009-03-19 Snap-On Incorporated Integrated circuit image sensor for wheel alignment systems
US20090276713A1 (en) * 2008-05-01 2009-11-05 Eddy Michael P Network accessible content management methods, systems and apparatuses
CN104284035A (en) * 2013-07-01 2015-01-14 深圳市共进电子股份有限公司 Calling control method and device
CN106791536A (en) * 2016-11-30 2017-05-31 青岛海信移动通信技术股份有限公司 The recording player method and terminal of multimedia file
CN107040746A (en) * 2017-03-31 2017-08-11 北京奇艺世纪科技有限公司 Multi-video chat method and device based on Voice command
CN207458341U (en) * 2017-11-22 2018-06-05 江苏创新睿智科技有限公司 A kind of portable tachymeter
CN108378450A (en) * 2018-03-08 2018-08-10 公安部天津消防研究所 A kind of perception of blast accident and risk profile early warning Intelligent fire-fighting helmet implementation method
CN109698895A (en) * 2017-10-20 2019-04-30 杭州海康威视数字技术股份有限公司 A kind of analog video camera, monitoring system and data transmission method for uplink
CN110366005A (en) * 2019-07-23 2019-10-22 浙江大华技术股份有限公司 Sending method and device, the display methods and device of analog composite video signal
CN111526292A (en) * 2020-04-30 2020-08-11 浙江大华技术股份有限公司 Audio and video mixing monitoring method, equipment and storage device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070282907A1 (en) * 2006-06-05 2007-12-06 Palm, Inc. Techniques to associate media information with related information
US20090073425A1 (en) * 2007-09-18 2009-03-19 Snap-On Incorporated Integrated circuit image sensor for wheel alignment systems
US20090276713A1 (en) * 2008-05-01 2009-11-05 Eddy Michael P Network accessible content management methods, systems and apparatuses
CN104284035A (en) * 2013-07-01 2015-01-14 深圳市共进电子股份有限公司 Calling control method and device
CN106791536A (en) * 2016-11-30 2017-05-31 青岛海信移动通信技术股份有限公司 The recording player method and terminal of multimedia file
CN107040746A (en) * 2017-03-31 2017-08-11 北京奇艺世纪科技有限公司 Multi-video chat method and device based on Voice command
CN109698895A (en) * 2017-10-20 2019-04-30 杭州海康威视数字技术股份有限公司 A kind of analog video camera, monitoring system and data transmission method for uplink
CN207458341U (en) * 2017-11-22 2018-06-05 江苏创新睿智科技有限公司 A kind of portable tachymeter
CN108378450A (en) * 2018-03-08 2018-08-10 公安部天津消防研究所 A kind of perception of blast accident and risk profile early warning Intelligent fire-fighting helmet implementation method
CN110366005A (en) * 2019-07-23 2019-10-22 浙江大华技术股份有限公司 Sending method and device, the display methods and device of analog composite video signal
CN111526292A (en) * 2020-04-30 2020-08-11 浙江大华技术股份有限公司 Audio and video mixing monitoring method, equipment and storage device

Also Published As

Publication number Publication date
CN112383720B (en) 2023-03-07

Similar Documents

Publication Publication Date Title
JP5295135B2 (en) Method and system for transmitting uncompressed video over a wireless communication channel
US8243823B2 (en) Method and system for wireless communication of uncompressed video information
US20060284980A1 (en) Testing a vertical blanking interval signal
US8780903B2 (en) Apparatus and method for supporting variable length of transport packet in an audio and video communication system
US20070168579A1 (en) DMA transfer and hardware acceleration of PPP frame processing
CN109889913B (en) Method for analyzing data packet loss in network environment
CN112383720B (en) Image data processing device and image data processing method
US6985174B1 (en) Dynamic radio frequency interference detection and correction
US20140098003A1 (en) Method and apparatus of data transfer dynamic adjustment in response to usage scenarios, and associated computer program product
US20040083488A1 (en) Receiving apparatus, data communication system, and method for data communication
EP1802121A2 (en) Information provisioning device and method
CN110213297B (en) Data analysis method and device and computer readable storage medium
US11057587B2 (en) Compositing video signals and stripping composite video signal
EP3125543B1 (en) Intelligent information transmission method and system
CN108574814B (en) Data processing method and device
CN110601971A (en) Data transmission method and device, electronic equipment and storage medium
US6625223B1 (en) Method and apparatus for encoding, transmitting and decoding digital data
EP3629577A1 (en) Data transmission method, camera and electronic device
CN115103228A (en) Video streaming transmission method, device, electronic equipment, storage medium and product
US20110285869A1 (en) Serial data sending and receiving apparatus and digital camera
US6188438B1 (en) Method of and apparatus for identifying a signal transmitting source
KR20080031555A (en) Method and apparatus for transmitting/receiving data
JP2001352363A (en) Protocol analyzer, its protocol translation method and storage medium
WO2020250727A1 (en) Transmission device, transmission method, reception device, reception method, and transmission/reception device
JP2002259216A (en) Method for detecting electronic file alteration, method for describing electronic file for the same and communication equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant