A method, device, system and chip for interleaving acquisition of odd and even field image data

By determining the odd and even field categories and collecting data in the camera serial interface, the problem of memory and bandwidth consumption caused by the interleaving of odd and even field data in the existing technology is solved, the system performance and hardware cost are optimized, and the aliasing phenomenon is avoided.

CN118381990BActive Publication Date: 2024-09-03BEIJING SEMIDRIVE TECHNOLOGY LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410834205.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-03
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

When collecting camera image data, the existing technology requires odd and even field data interleaving through the CPU or additional hardware modules, resulting in increased memory and bandwidth consumption, affecting system performance and increasing hardware costs.

Method used

During the vertical blanking top field of the video signal received through the camera serial interface, the odd and even field categories are determined, and the valid data lines of the odd and even fields are collected into the odd and even lines of the frame buffer respectively, reducing task steps and Resource consumption to avoid the aliasing phenomenon of odd and even field flipping.

Benefits of technology

It achieves reduced memory and bandwidth consumption, ensures system performance and hardware cost control, avoids the sawtooth phenomenon of odd and even field flipping, and improves data collection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118381990B
    Figure CN118381990B
Patent Text Reader

Abstract

A method, device, system and chip for interleaving acquisition of odd and even field image data, the method comprising: a camera serial interface receives a first video signal; wherein the frame of the first video signal includes field data of odd fields and even fields, and the field data includes a vertical blanking top field, a valid data line and a vertical blanking bottom field; during the vertical blanking top field of the received field data, the odd and even field category of the field data is determined; in response to determining that the field data is an odd field, the camera serial interface collects the valid data line of the odd field to the odd lines of a frame buffer; in response to determining that the field data is an even field, the camera serial interface collects the valid data line of the even field to the even lines of the frame buffer. Therefore, by interleaving field data during the process of collecting image data through the camera serial interface, not only can the task steps be reduced, the memory and bandwidth consumption can be reduced, but also the system performance and hardware cost control can be ensured. In addition, the sawtooth phenomenon of odd and even field flipping can be effectively avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image information technology, and in particular to a method, device, system and chip for interleaving acquisition of odd and even field image data. Background Art

[0002] When using traditional video equipment, since the camera image data cannot be transmitted to the receiving device one frame at a time, the "one frame two fields" method is used for transmission. Among them, "one frame two fields" means that a frame of data is divided into an odd field and an even field. The odd field consists of all the odd lines of this frame, and the even field consists of all the even lines of this frame. Although this transmission method is suitable for saving costs in scenarios with low hardware configuration, it is not convenient for data reception. For example, after the receiving device collects data, the two fields need to be combined into one frame before the device can be displayed.

[0003] In the related art, the image data of two fields in one frame is usually collected through CSI (Camera Serial Interface), and stored in the odd field cache and the even field cache respectively. It is necessary to create a task, and use the CPU (Central Processing Unit) or hardware module to interleave and synthesize the two fields of one frame and store them in the synthesis cache. The display device then takes data from the synthesis cache and sends it to the display to ensure that a frame of image is fully displayed. However, this method has certain disadvantages. First of all, it requires additional steps to create tasks, which will consume more memory and bandwidth. In addition, if interleaving is performed through the CPU, more CPU resources will be consumed, affecting system performance; if interleaving is performed through a hardware module, the cost of an additional hardware module will be required.

[0004] Based on this, how to implement an odd-and-even field image data interleaving acquisition method that can reduce memory and bandwidth consumption while ensuring system performance and hardware cost control has become an urgent problem to be solved. Summary of the invention

[0005] In order to solve at least one problem existing in the prior art, the purpose of this application is to provide a method, device, system and chip for interleaving acquisition of odd and even field image data, which can not only reduce task steps, memory and bandwidth consumption, but also ensure system performance and hardware cost control by interleaving field data during the process of acquiring image data through the camera serial interface. In addition, the sawtooth phenomenon of odd and even field flipping can be effectively avoided.

[0006] To achieve the above-mentioned purpose, the present application provides an odd-even field image data interlaced acquisition method, which is applied to a system chip including a camera serial interface, and the method includes:

[0007] The camera serial interface receives a first video signal; wherein the frame of the first video signal includes field data of an odd field and field data of an even field, and the field data includes a vertical blanking top field, a valid data line, and a vertical blanking bottom field;

[0008] During a vertical blanking top field of the received field data, the camera serial interface determines an odd or even field category of the field data;

[0009] In response to determining that the field data is an odd field, the camera serial interface collects valid data rows of the odd field into odd rows of a frame buffer;

[0010] In response to determining that the field data is an even field, the camera serial interface collects the valid data rows of the even field to the even rows of the frame buffer to complete the interlaced collection of the frame.

[0011] Furthermore, before the step of the camera serial interface receiving the first video signal, the method further includes:

[0012] The number of bytes of the image row data is obtained, and the parameter in the image row data byte number register is configured to be twice the number of bytes of the image row data.

[0013] Further, the method comprises:

[0014] In response to receiving the vertical blanking top field, the camera serial interface parses header information of the vertical blanking top field and determines the odd and even field category of the field data based on the header information;

[0015] The camera serial interface stores the odd-even field flag corresponding to the odd-even field category in the odd-even field memory;

[0016] The camera serial interface sends a collection start interrupt instruction to the configuration module of the system chip.

[0017] Furthermore, the method further comprises,

[0018] In response to receiving the acquisition start interrupt instruction, the configuration module reads the odd and even field memory;

[0019] If the odd field flag is read, the configuration module configures the first address of the frame buffer as the first acquisition first address of the valid data row of the odd field;

[0020] The camera serial interface collects valid data rows of the odd field based on the first collection first address.

[0021] Furthermore, the method further comprises,

[0022] If an even field flag is read, the configuration module adds the first address of the frame buffer to the address corresponding to the number of bytes of image row data to configure the second acquisition first address of the valid data row of the even field;

[0023] The camera serial interface collects valid data rows of the even field based on the second collection first address.

[0024] Furthermore, the method further comprises:

[0025] In response to receiving the vertical blanking bottom field, the camera serial interface parses header information of the vertical blanking bottom field and determines an odd or even field category of the field data based on the header information;

[0026] The camera serial interface stores the odd-even field flag corresponding to the odd-even field category in the odd-even field memory;

[0027] The camera serial interface sends a collection end interrupt instruction to the configuration module of the system chip.

[0028] Furthermore, the method further comprises,

[0029] In response to receiving the acquisition end interrupt instruction, the configuration module reads the odd and even field memory;

[0030] If the configuration module reads an even field flag, it is determined that the interlaced acquisition of the frame is completed.

[0031] To achieve the above-mentioned purpose, the present application further provides an odd-even field image data interlaced acquisition device, the odd-even field image data interlaced acquisition device comprising:

[0032] A receiving module, configured to receive a first video signal; wherein a frame of the first video signal includes field data of an odd field and field data of an even field, and the field data includes a vertical blanking top field, a valid data line, and a vertical blanking bottom field;

[0033] A determination module, used for determining the odd and even field category of the field data during the vertical blanking top field period of the field data received;

[0034] The acquisition module, in response to determining that the field data is an odd field, acquires the valid data rows of the odd field to the odd rows of a frame buffer; and in response to determining that the field data is an even field, acquires the valid data rows of the even field to the even rows of the frame buffer to complete the interlaced acquisition of the frame.

[0035] To achieve the above-mentioned purpose, the present application also provides a system chip, which is configured with a camera serial interface and includes the odd-even field image data interleaving acquisition device as described above.

[0036] To achieve the above object, the present application also provides an odd-even field image data interlaced acquisition system, the system comprising:

[0037] Analog camera, used to output composite video baseband signal;

[0038] A conversion chip, used for converting the received composite video baseband signal into a first video signal; wherein a frame of the first video signal includes field data of an odd field and field data of an even field;

[0039] The system chip as described above performs interlaced acquisition of odd and even field image data based on the received first video signal.

[0040] The present application discloses an odd-even field image data interleaving acquisition method, device, system and chip, which receives a first video signal including odd-even field frame data through a camera serial interface; and during the vertical blanking top field of the received field data, determines the odd-even field category of the field data through the camera serial interface; and in response to determining that the field data is an odd field, the camera serial interface acquires the valid data rows of the odd field to the odd rows of a frame buffer; and in response to determining that the field data is an even field, the camera serial interface acquires the valid data rows of the even field to the even rows of the frame buffer to complete the interleaving acquisition of the frame. Therefore, by interleaving the field data during the image data acquisition process of the camera serial interface, not only can the task steps be reduced, the memory and bandwidth consumption can be reduced, but also the system performance and hardware cost control can be ensured. In addition, the sawtooth phenomenon of odd-even field flipping can be effectively avoided.

[0041] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent from the description, or may be understood by practicing the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings are used to provide a further understanding of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings:

[0043] Figure 1 is a flow chart of a method for interlaced acquisition of odd and even field image data according to an embodiment of the present application;

[0044] Figure 2 A schematic diagram of a frame buffer storage process according to an embodiment of the present application;

[0045] Figure 3 is a structural block diagram of an odd-even field image data interleaving acquisition device according to an embodiment of the present application;

[0046] Figure 4 is a structural block diagram of a system chip according to an embodiment of the present application;

[0047] Figure 5 4 is a structural block diagram of an odd-even field image data interlaced acquisition system according to an embodiment of the present application. DETAILED DESCRIPTION

[0048] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.

[0049] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0050] It should be noted that the modifications of "one" and "plurality" mentioned in this application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more". "Plurality" should be understood as two or more.

[0051] Hereinafter, embodiments of the present application will be described in detail with reference to the accompanying drawings.

[0052] Figure 1 FIG. 1 is a flow chart of a method for interlaced acquisition of odd and even field image data according to an embodiment of the present application. Figure 1 , the odd-even field image data interlaced acquisition method of the present application is described in detail.

[0053] In step 101, a camera serial interface receives a first video signal.

[0054] It should be noted that the odd-and-even field image data interlaced acquisition method provided in the present application is applied to a system chip including a camera serial interface.

[0055] The system chip receives a first video signal through the camera serial interface. The frame of the first video signal includes field data of an odd field (top field) and field data of an even field (bottom field). The field data includes a vertical blanking top field, a valid data line and a vertical blanking bottom field.

[0056] In a specific example, the first video signal may be a BT656 video signal. It is understandable that the first video signal may also be other applicable video signals including odd and even field data, and the present application does not impose any specific limitation on this.

[0057] Taking the BT656 video signal as an example, in the BT656 standard, a frame consists of two fields, and a field consists of the following three parts: field = vertical blanking top field (FirstVerticalBlanking) + valid data line (ActiveVideo) + vertical blanking bottom field (SecondVerticalBlanking).

[0058] Specifically, for the top field, its structure is: top field = vertical blanking top field + valid odd data lines + vertical blanking bottom field; for the bottom field, its structure is: bottom field = vertical blanking top field + valid even data lines + vertical blanking bottom field.

[0059] For each line, it consists of four parts: Line = End Code (EAV) + Horizontal Blanking (HorizontalBlanking) + Start Code (SAV) + Active Video. The Start Code and End Code are the marks that mark the beginning and end of a line, and contain information such as odd field and even field categories.

[0060] In the embodiment of the present application, before step 101, the method further includes obtaining the number of bytes of image row data and configuring the parameter in the image row data byte number register to be twice the number of bytes of image row data.

[0061] The image row data byte number, i.e., the image row byte number, is equal to the camera resolution width multiplied by the single pixel byte number. The single pixel byte number is determined by the camera data format. The image row data byte number register, i.e., the CSI stride register, utilizes the CSI stride feature and configures the parameters therein to twice the image row data byte number through the configuration module of the system chip, so that when the camera serial interface receives the first video signal, when one row is transmitted, the offset is automatically widened by two times, and then the second row is transmitted until the transmission of the valid odd data row or the valid even data row corresponding to the field data is completed.

[0062] In step 102, during the vertical blanking top field of received field data, the camera serial interface determines the odd-even field category of the field data.

[0063] Specifically, when a vertical blanking top field is received, the camera serial interface may parse header information of the vertical blanking top field, and determine whether the field data is an odd field or an even field based on the header information.

[0064] In step 103 , in response to determining that the field data is an odd field, the camera serial interface collects the valid data rows of the odd field into the odd rows of a frame buffer.

[0065] In step 104 , in response to determining that the field data is an even field, the camera serial interface collects the valid data rows of the even field to the even rows of the frame buffer to complete the interlaced collection of the frame.

[0066] That is to say, the camera serial interface interleaves the valid row data of the odd and even fields to the corresponding address positions in an idle frame buffer based on the odd and even field categories, and then places the frame buffer in the frame queue where data collection is completed for use by the display device.

[0067] According to the odd-even field image data interleaving acquisition method provided by the present application, a first video signal including odd-even field frame data is received through a camera serial interface; and during the vertical blanking top field of the received field data, the odd-even field category of the field data is determined through the camera serial interface; and in response to determining that the field data is an odd field, the camera serial interface collects the valid data rows of the odd field to the odd rows of a frame buffer; and in response to determining that the field data is an even field, the camera serial interface collects the valid data rows of the even field to the even rows of the frame buffer to complete the interleaving acquisition of the frame. Therefore, by interleaving the field data during the image data acquisition process of the camera serial interface, not only can the task steps be reduced, the memory and bandwidth consumption can be reduced, but also the system performance and hardware cost control can be ensured. In addition, the sawtooth phenomenon of odd-even field flipping can be effectively avoided.

[0068] In the embodiment of the present application, the method comprises the following steps:

[0069] Step 201: In response to receiving a vertical blanking top field, the camera serial interface parses header information of the vertical blanking top field, and determines the odd and even field category of the field data based on the header information.

[0070] Step 202: The camera serial interface stores the odd-even field flag corresponding to the odd-even field category in the odd-even field memory.

[0071] Step 203: The camera serial interface sends a collection start interrupt instruction to the configuration module of the system chip.

[0072] Furthermore, the method may also include the following steps:

[0073] Step 204: In response to receiving the acquisition start interrupt instruction, the configuration module reads the odd and even field memory.

[0074] Step 205: If the odd field flag is read, the configuration module configures the first address of the frame buffer as the first acquisition first address of the valid data row of the odd field.

[0075] Step 206: The camera serial interface collects valid data rows of the odd field based on the first collection start address.

[0076] That is to say, reference Figure 2 As shown in the figure, if it is determined that the received field data is an odd field (i.e., the first field of the original frame data), an idle frame buffer in state 1 is extracted, and based on the first address of the frame buffer, the valid data rows of the odd field are collected. Since the parameter configuration of the CSI stride register is twice the number of bytes of the image row data, when the first valid data row of the odd field is transmitted, the offset will automatically be widened by two times, and then the second valid data row of the odd field is transmitted, until the valid odd data row corresponding to the field data is transmitted, forming a Figure 2 The storage state of the medium frame buffer is 2.

[0077] It should be noted that the first acquisition first address is the first address of the valid data row for acquiring the odd field in the frame buffer, and is used to distinguish the second acquisition first address (the first address of the valid data row for acquiring the corresponding even field) mentioned below.

[0078] Furthermore, the method may also include the following steps:

[0079] Step 207: If the even field flag is read, the configuration module adds the first address of the frame buffer to the address corresponding to the number of bytes of the image row data to configure the second acquisition first address of the valid data row of the even field.

[0080] Step 208: The camera serial interface collects valid data rows of the dual field based on the second collection first address.

[0081] That is to say, reference Figure 2 As shown, if it is determined that the received field data is an even field (i.e., the last field of the original frame data), and the first address of the frame buffer plus the address corresponding to the number of image row data bytes is used as the second acquisition first address, the valid data rows of the even field are acquired based on the second acquisition first address. Since the parameter configuration of the CSI stride register is twice the number of image row data bytes, when the first row of valid data of the even field is transmitted, the offset will automatically be widened by two times, and then the second row of valid data of the even field is transmitted, until the transmission of the valid even data rows corresponding to the field data is completed, forming Figure 2 The storage state of the medium frame buffer is 3.

[0082] In the embodiment of the present application, the method may further include the following steps:

[0083] Step 301: In response to receiving a vertical blanking bottom field, the camera serial interface parses header information of the vertical blanking bottom field, and determines an odd or even field category of field data based on the header information.

[0084] Step 302: The camera serial interface stores the odd-even field flag corresponding to the odd-even field category in the odd-even field memory.

[0085] Step 303: The camera serial interface sends a collection end interrupt instruction to the configuration module of the system chip.

[0086] Furthermore, the method may also include the following steps:

[0087] Step 304: In response to receiving the acquisition end interrupt instruction, the configuration module reads the odd and even field memory.

[0088] Step 305: If the configuration module reads the even field flag, the frame buffer is placed in the frame queue.

[0089] That is, if it is determined that the data field is an even field based on the vertical blanking bottom field, it is determined that the frame data acquisition is completed, and the frame buffer is placed in the frame queue.

[0090] In summary, according to the interlaced acquisition method of odd-even field image data of the embodiment of the present application, a first video signal including odd-even field frame data is received through a camera serial interface; and during the vertical blanking top field of the field data, the odd-even field category of the field data is determined through the camera serial interface; and in response to determining that the field data is an odd field, the camera serial interface collects the valid data rows of the odd field to the odd rows of a frame buffer; and in response to determining that the field data is an even field, the camera serial interface collects the valid data rows of the even field to the even rows of the frame buffer to complete the interlaced acquisition of the frame. Therefore, by interleaving the field data during the process of collecting image data through the camera serial interface, not only can the task steps be reduced, the memory and bandwidth consumption can be reduced, but also the system performance and hardware cost control can be ensured. In addition, by analyzing and determining the odd-even field category of the field data through the camera serial interface, and performing odd-even interleaving during the acquisition process, the sawtooth phenomenon of odd-even field flipping can also be effectively avoided.

[0091] Figure 3 FIG. 1 is a structural block diagram of an apparatus for interleaving acquisition of odd and even field image data according to an embodiment of the present application. Figure 3 As shown, the odd-even field image data interleaving acquisition device 400 includes: a receiving module 401, a determining module 402 and an acquisition module 403.

[0092] The receiving module 401 is used to receive a first video signal through a camera serial interface; wherein the frame of the first video signal includes field data of an odd field and field data of an even field, and the field data includes a vertical blanking top field, a valid data line, and a vertical blanking bottom field;

[0093] A determination module 402, configured to determine an odd or even field category of the field data during a vertical blanking top field period of the field data received through a camera serial interface;

[0094] The acquisition module 403, in response to determining that the field data is an odd field, acquires the valid data rows of the odd field to the odd rows of a frame cache through the camera serial interface; and in response to determining that the field data is an even field, acquires the valid data rows of the even field to the even rows of the frame cache through the camera serial interface to complete the interlaced acquisition of the frame.

[0095] In the embodiment of the present application, the odd-even field image data interlaced acquisition device 400 also includes a configuration module (not shown in the figure), which is used to: obtain the number of image row data bytes and configure the parameters in the image row data byte number register to twice the number of image row data bytes.

[0096] In the embodiment of the present application, the determination module 402 is also used for: in response to receiving the header information of the vertical blanking top field, parsing the vertical blanking top field, and determining the parity field category of the field data based on the header information; storing the parity field flag corresponding to the parity field category in the parity field memory; and sending an acquisition start interrupt instruction to the configuration module of the system chip.

[0097] Furthermore, the configuration module is also used to: read the odd and even field memory in response to receiving the acquisition start interrupt instruction; if the odd field flag is read, configure the first address of the frame buffer as the first acquisition first address of the valid data row of the odd field.

[0098] The acquisition module 403 is further used to acquire valid data rows of the odd field based on the first acquisition start address.

[0099] Furthermore, the configuration module is also used to: if an even field flag is read, configure the first address of the frame buffer plus the address corresponding to the number of image row data bytes as the second acquisition first address of the valid data row of the even field.

[0100] The acquisition module 403 is further used to acquire valid data rows of the dual field based on the second acquisition first address.

[0101] In an embodiment of the present application, the determination module 402 is also used to: in response to receiving the vertical blanking bottom field, parse the header information of the vertical blanking bottom field, and determine the parity field category of the field data based on the header information; store the parity field flag corresponding to the parity field category in the parity field memory; and send an acquisition end interrupt instruction to the configuration module.

[0102] Furthermore, the configuration module is also used for: in response to receiving an acquisition end interrupt instruction, the configuration module reads the odd and even field memory; if an even field flag is read, determining that the interlaced acquisition of the frame data is completed.

[0103] It should be noted that the explanation of the odd-even field image data interlaced acquisition method in the above embodiment is also applicable to the odd-even field image data interlaced acquisition device in the above embodiment, and will not be repeated here.

[0104] Figure 4 FIG. 1 is a block diagram of a system chip according to an embodiment of the present application. Figure 4 As shown, the system chip 500 includes the odd-even field image data interlaced acquisition device 400 as in the above embodiment.

[0105] Figure 5 FIG. 1 is a structural block diagram of an odd-even field image data interlaced acquisition system according to an embodiment of the present application. Figure 5 As shown, the odd-even field image data interlaced acquisition system 1000 includes the system chip 500, the analog camera 600 and the conversion chip 700 in the above embodiment.

[0106] The analog camera 600, namely the Sensor, is used to output a composite video baseband signal (CVBS, Composite Video Baseband Signal).

[0107] The conversion chip 700 is used to convert the received composite video baseband signal into a first video signal. The frame of the first video signal includes field data of an odd field and field data of an even field. The first video signal can be a BT656 video signal, which is a signal of odd and even field data in one frame and two fields.

[0108] The system chip 500 is configured with a camera serial interface 501, and performs interlaced acquisition of odd and even field image data based on the received first video signal.

[0109] It should be understood that, although the steps in the flowcharts of the accompanying drawings of the specification are displayed in sequence according to the indications of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0110] Those skilled in the art can understand that the above are only preferred embodiments of the present application and are not intended to limit the present application. Although the present application is described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions recorded in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for interlaced acquisition of odd and even field image data, characterized in that: Applied to a system chip including a camera serial interface, the method comprises: The camera serial interface receives a first video signal; wherein the frame of the first video signal includes field data of an odd field and field data of an even field, and the field data includes a vertical blanking top field, a valid data line, and a vertical blanking bottom field; During a vertical blanking top field of the received field data, the camera serial interface determines an odd or even field category of the field data; In response to determining that the field data is an odd field, the camera serial interface collects valid data rows of the odd field into odd rows of a frame buffer; In response to determining that the field data is an even field, the camera serial interface collects the valid data rows of the even field to the even rows of the frame buffer to complete the interlaced collection of the frame; The method further comprises, In response to receiving the vertical blanking top field, the camera serial interface parses the header information of the vertical blanking top field, and determines the parity field category of the field data based on the header information; the camera serial interface stores the parity field flag corresponding to the parity field category in the parity field memory; the camera serial interface sends an acquisition start interrupt instruction to the configuration module of the system chip; In response to receiving the vertical blanking bottom field, the camera serial interface parses the header information of the vertical blanking bottom field and determines the parity field category of the field data based on the header information; the camera serial interface stores the parity field flag corresponding to the parity field category in the parity field memory; the camera serial interface sends an acquisition end interrupt instruction to the configuration module of the system chip.

2. The method according to claim 1, characterized in that Before the step of the camera serial interface receiving the first video signal, the method further includes: The number of bytes of the image row data is obtained, and the parameter in the image row data byte number register is configured to be twice the number of bytes of the image row data.

3. The method according to claim 2, characterized in that The method further comprises, In response to receiving the acquisition start interrupt instruction, the configuration module reads the odd and even field memory; If the odd field flag is read, the configuration module configures the first address of the frame buffer as the first acquisition first address of the valid data row of the odd field; The camera serial interface collects valid data rows of the odd field based on the first collection first address.

4. The method according to claim 3, characterized in that The method further comprises, If an even field flag is read, the configuration module adds the first address of the frame buffer to the address corresponding to the number of bytes of image row data to configure the second acquisition first address of the valid data row of the even field; The camera serial interface collects valid data rows of the even field based on the collection first address.

5. The method according to claim 1, characterized in that: The method further comprises, In response to receiving the acquisition end interrupt instruction, the configuration module reads the odd and even field memory; If the configuration module reads an even field flag, it is determined that the interlaced acquisition of the frame is completed.

6. An odd-even field image data interleaving acquisition device, characterized in that: Applicable to a system chip configured with a camera serial interface, the device comprises: A receiving module, configured to receive a first video signal; wherein a frame of the first video signal includes field data of an odd field and field data of an even field, and the field data includes a vertical blanking top field, a valid data line, and a vertical blanking bottom field; A determination module, used for determining the odd and even field category of the field data during the vertical blanking top field period of the field data received; an acquisition module, in response to determining that the field data is an odd field, acquiring valid data rows of the odd field to the odd rows of a frame buffer; and in response to determining that the field data is an even field, acquiring valid data rows of the even field to the even rows of the frame buffer, so as to complete the interlaced acquisition of the frame; The determination module is further used for: in response to receiving the vertical blanking top field, parsing the header information of the vertical blanking top field, and determining the parity field category of the field data based on the header information; storing the parity field flag corresponding to the parity field category in the parity field memory; and sending a collection start interrupt instruction to the configuration module of the system chip; The determination module is also used for: in response to receiving the vertical blanking bottom field, parsing the header information of the vertical blanking bottom field, and determining the parity field category of the field data based on the header information; storing the parity field flag corresponding to the parity field category in the parity field memory; and sending an acquisition end interrupt instruction to the configuration module of the system chip.

7. A system chip, characterized in that: The system chip is configured with a camera serial interface and includes the odd-even field image data interlaced acquisition device as claimed in claim 6.

8. An odd-even field image data interlaced acquisition system, characterized in that: The system comprises, Analog camera, used to output composite video baseband signal; A conversion chip, used for converting the received composite video baseband signal into a first video signal; wherein a frame of the first video signal includes field data of an odd field and field data of an even field; The system chip as claimed in claim 7 performs interlaced acquisition of odd and even field image data based on the received first video signal.