CN107302532A - Raw image data transmission system - Google Patents

Raw image data transmission system Download PDF

Info

Publication number
CN107302532A
CN107302532A CN201710467610.6A CN201710467610A CN107302532A CN 107302532 A CN107302532 A CN 107302532A CN 201710467610 A CN201710467610 A CN 201710467610A CN 107302532 A CN107302532 A CN 107302532A
Authority
CN
China
Prior art keywords
data
mac
memory
image
block
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
CN201710467610.6A
Other languages
Chinese (zh)
Other versions
CN107302532B (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.)
SHIJIAZHUANG UCHUANG TECHNOLOGY CO LTD
Original Assignee
SHIJIAZHUANG UCHUANG 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 SHIJIAZHUANG UCHUANG TECHNOLOGY CO LTD filed Critical SHIJIAZHUANG UCHUANG TECHNOLOGY CO LTD
Priority to CN201710467610.6A priority Critical patent/CN107302532B/en
Publication of CN107302532A publication Critical patent/CN107302532A/en
Application granted granted Critical
Publication of CN107302532B publication Critical patent/CN107302532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/10Adaptations for transmission by electrical cable

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Multimedia (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of RAW image data transmission system, it is related to technical field of data transmission, including at least one image acquisition device;At least one data reception module;At least one buffer;Transmitting terminal MAC controller MAC;Transmitting terminal physical layer equipment PHY;Receiving terminal physical layer equipment PHY;Receiving terminal MAC controller MAC;Memory;Data acquisition module;Video interface module;It is characterized in that:The Medium Access Control (MAC) Protocol Data Unit(MPDU)By the frame of the preamble of 7 bytes, 1 byte start to be situated between fixed symbol, the image address mark of 2 bytes, 1500 bytes data field constitute.The present invention is by using the MAC layer ethernet frame agreement simplified, and its efficiency of transmission reaches 98.55%, and effective bandwidth reaches 1.971Gbps*N(N represents physical layer PHY group number), the bandwidth applications of gigabit Ethernet have been arrived ultimate attainment.

Description

RAW image data transmission system
Technical field
The present invention relates to technical field of data transmission, and in particular to a kind of RAW image data transmission system.
Background technology
With transmission of video, the development of monitoring technology, the data volume of communication is increasing, this reality to data transmission system Shi Xing, stability, reliability and high efficiency propose higher requirement.Traditional Video transmission system message transmission rate compared with It is low, substantial amounts of cache resources are occupied, the real-time of video data transmission is reduced, while adding the cost of product;With The increase of transmission range, system is interfered by outside also to be increased therewith, reduces the stability and reliability of video data transmission.
Gigabit Ethernet has the advantages that big bandwidth, high-speed, therefore it is remote to be very suitable for the video of high speed magnanimity Transmission system.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of RAW image data transmission system, gigabit Ethernet is optimized Physical layer transmission agreement, its efficiency of transmission can reach 98.55%, and effective bandwidth reaches 1.971Gbps, it is adaptable to RAW image Video data point-to-point transmission.
In order to solve the above technical problems, the technical solution adopted by the present invention is:A kind of RAW image data transmission system, bag Include:At least one set of image collecting device, described image harvester includes image acquisition device, comes from image acquisition device for receiving The data reception module of the RAW format picture datas of collection and for receiving and caching the data from data reception module Buffer;Transmitting terminal MAC controller MAC, for the data in buffer to be packaged into Medium Access Control (MAC) Protocol Data Unit (MPDU);Transmitting terminal physical layer equipment PHY, by Medium Access Control (MAC) Protocol Data Unit(MPDU)Transmit to receiving terminal physical layer equipment PHY; Receiving terminal physical layer equipment PHY, for receiving the Medium Access Control (MAC) Protocol Data Unit from transmitting terminal physical layer equipment PHY(MPDU);Connect Receiving end MAC controller MAC, for receiving the Medium Access Control (MAC) Protocol Data Unit from receiving terminal physical layer equipment PHY(MPDU) And extract Medium Access Control (MAC) Protocol Data Unit(MPDU)In data;Memory, receiving terminal MAC controller is come from for receiving MAC data;Data acquisition module, for reading the data in memory;Video interface module, for connecting and passing data It is defeated by image processing apparatus;It is characterized in that:The Medium Access Control (MAC) Protocol Data Unit(MPDU)By the preamble of 7 bytes, 1 The frame of byte starts to be situated between fixed symbol, the image address mark of 2 bytes, the data field composition of 1500 bytes.
Memory is each group of image collecting device distribution memory space, and the image address of 2 bytes is identified for distinguishing Data are stored respectively in memory from which group image collecting device.
The method have the benefit that:1st, using the MAC layer ethernet frame agreement simplified, its efficiency of transmission reaches 98.55%, effective bandwidth reaches 1.971Gbps*N(N represents physical layer PHY group number), the bandwidth applications of gigabit Ethernet are arrived It is ultimate attainment;2nd, data can increase sensor number and line number when sending packing, and can reflect corresponding numbering in receiving terminal Penetrate into memory storage address and store into corresponding memory block, so, there is data line to lose in transmitting procedure, The data that next frame is mutually gone together can be covered in internal memory, so as to not result in the exception of video, substantially increase system Anti-interference;3rd, 1.971Gbps*N can be carried out using existing unmasked Category-5 twisted pair with low cost(N represents physical layer PHY group number)The video data transmission of bandwidth, saves cost, economic benefit has been played to greatest extent.
The present invention is described in detail below in conjunction with the accompanying drawings.
Brief description of the drawings
Fig. 1 is the principle schematic of RAW image data transmission system of the present invention.
In the accompanying drawings:1 is image acquisition device, and 2 be data reception module, and 3 be buffer, and 4 be transmitting terminal media interviews control Device MAC processed, 5 be transmitting terminal physical layer equipment PHY, and 6 be receiving terminal physical layer equipment PHY, and 7 be receiving terminal MAC controller MAC, 8 be memory, and 9 be data acquisition module, and 10 be data acquisition module, and 11 be processor, and 12 be graphics processing unit ISP, 13 be picture recognition module, and 14 be data memory module, and 15 be Video decoding module, and 16 be Memory Controller Hub.
Embodiment
Referring to accompanying drawing, the invention provides a kind of RAW image data transmission system, including:At least one set of image collector Put, described image harvester includes image acquisition device 1, for receiving the RAW format-pattern numbers gathered from image acquisition device 1 According to data reception module 2 and buffer 3 for receiving and caching the data from data reception module 2;Transmitting terminal matchmaker Body access controller MAC4, for the data in buffer 3 to be packaged into Medium Access Control (MAC) Protocol Data Unit(MPDU);Transmitting terminal physics Layer equipment PHY5, by Medium Access Control (MAC) Protocol Data Unit(MPDU)Transmit to receiving terminal physical layer equipment PHY6;Receiving terminal physical layer equipment PHY6, for receiving the Medium Access Control (MAC) Protocol Data Unit from transmitting terminal physical layer equipment PHY5(MPDU);Receiving terminal media interviews control Device MAC7 processed, for receiving the Medium Access Control (MAC) Protocol Data Unit from receiving terminal physical layer equipment PHY6(MPDU)And extract MAC protocol Data cell(MPDU)In data;Memory 8, for receiving the data from receiving terminal MAC controller MAC7;Number According to acquisition module 9, for reading the data in memory 8;Video interface module 10, for connecting and transferring data to image Processing unit;
Key is:Above-mentioned Medium Access Control (MAC) Protocol Data Unit(MPDU)It is situated between by the preamble of 7 bytes, the frame of 1 byte Fixed symbol, the image address of 2 bytes are identified, the data field of 1500 bytes is constituted.
It is in the present invention that the length of data bit field is selected long as far as possible, to improve data transmission efficiency, therefore data The length of bit field chooses 1500 bytes.Also specify frame gap IPG in 802.3 agreements, that is, two ethernet frames it Between interval time, physical layer is now in idle condition, for clock synchronization and carrier sense.IPG minimum length is 96 Individual chip clock, that is, 12 bytes, IPG values are set to 12 bytes by us in order to improve the efficiency of transmission.
Ethernet frame efficiency calculation method is:μ=data bit length/(Ethernet frame length+IPG)
Calculated by above-mentioned formula, the system frame efficiency of transmission most perfect condition can reach:
μ= 1500/(7 + 1 + 2 +1500 + 12)= 98.55%.
Embodiment one:
Image processing apparatus includes processor 11, the graphics processing unit ISP12 being connected with processor 11 in the present embodiment And data memory module 14, above-mentioned graphics processing unit ISP12 is connected with video interface module 10, in addition to and data storage The picture recognition module 13 that module 14 is connected with processor 11.This specific embodiment is mainly used in Car license recognition.
In the present embodiment, data block is divided and in buffer 3 and storage to the view data that image acquisition device 1 is exported Memory address corresponding with above-mentioned each data block is divided in device 8.Each image acquisition device 1 is supporting to set a data to connect Module 2 and a buffer 3 are received, and corresponding each image is marked off first in memory 8 under the control of Memory Controller Hub 16 The storage region of collector 1, then the data block matched with frame image data in above-mentioned buffer 3 is divided to storage region. Above-mentioned each data block at least stores the data of a pixel.
Image acquisition device 1 is exported after a frame data, and transmitting terminal MAC controller MAC4 is to every number in buffer 3 Increase block coordinate according to block, regard the data and coordinate in each data block as a data set, increase check code generation Medium Access Control (MAC) Protocol Data Unit(MPDU)After be transferred to transmitting terminal physical layer equipment PHY5;Receiving terminal MAC controller MAC7 connects Data are simultaneously stored in memory 8 in corresponding data block by receipts, verification data according to block coordinate.
Each data block configuration flag bit in memory 8, in original state, all flag bits are in configuration memory 8 Error flag, if certain data block data check that receiving terminal MAC controller MAC7 is received is correct, internal memory control Data are stored in memory 8 in corresponding data block by device 16 processed, then configure corresponding flag bit for accurate indication.When When the flag bit of all data blocks configures accurate indication in memory 8, Memory Controller Hub 16 is filled under controlling to image procossing The frame image data of output storage in the memory 8 is put, and all flag bits are error flag in configuration memory 8.
Specifically, in the memory 8, if there is data block in current frame image data does not have data filling, and Corresponding data block data still check errors in next frame image data, current frame image is waited until in frame image data below always The verification of corresponding data block data correctly fills the data block data to form defeated to image processing apparatus after full frame images Go out.Further, in the specific implementation, receiving terminal MAC controller MAC7 is to ensuing each two field picture number for this step The data in the corresponding data block in current frame image data are replaced according to the data in the middle correct data block of verification, until Form full frame images.Ensure to be filled with newest correct data using such design, make image as far as possible using newest Data.
Because the present embodiment is mainly for Car license recognition, therefore only need to export a few frame complete images.
Embodiment two:
In the present embodiment, image processing apparatus includes processor 11, the graphics processing unit ISP12 being connected with processor 11 And data memory module 14, described image processing unit ISP12 is connected with video interface module 10, in addition to processor 11 Connected Video decoding module 15.The present embodiment is mainly used in video image output.
In this embodiment, from unlike embodiment one, regularly exporting frame image data to image processing apparatus, and deposit The last data sent of storage:When reaching delivery time, judge whether the flag bit of all data blocks in memory 8 is equal Accurate indication is configured, if it is, the frame image data of storage in the memory 8 is exported to image processing apparatus, and configuration is deposited All flag bits are error flag in reservoir 8;Data are sent out otherwise, it is determined whether being stored with, if so, then according to memory 8 The error identification of middle data block, the data that respective block is read in data have been sent out are replaced, and are then sent, and configuration is deposited All flag bits are error flag in reservoir 8;Data have been sent out if do not stored, have not been sent.
Transmitting terminal MAC controller MAC4 and receiving terminal MAC controller 7 are using support in the above-described embodiments The FPGA processor of parallel data processing, transmitting terminal physical layer PHY5 and receiving terminal physical layer PHY6 have at least one dual-port Gigabit Ethernet physical layer.
Memory 8 can at most store the image of 100 frame 1.3M bytes, it is assumed that the probability that the data module per frame malfunctions It is 10-2, the probability that continuous 100 two field picture malfunctions is 10-200, as a consequence it is hardly possible to occur, once occurring in that, system can be automatic Judge and memory receives video data again.
Using above-mentioned data transfer mode ensure that output image will not due in communication process due to data block There is the anomalies such as black line, branch, tabbing in the reason video such as loss of data, error code, dislocation, to reduce output frame rate as generation Valency ensure that the correctness for the image for being transferred to identification link.Block size in above-mentioned text can be set, and minimum may be configured as list Pixel, has accomplished the pointwise correction function of Pixel-level, it is ensured that the Lossless transport of the system output image.
Finally it should be noted that:The above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof;To the greatest extent The present invention is described in detail with reference to preferred embodiments for pipe, those of ordinary skills in the art should understand that:Still The embodiment of the present invention can be modified or equivalent substitution is carried out to some technical characteristics;Without departing from this hair The spirit of bright technical scheme, it all should cover among claimed technical scheme scope of the invention.

Claims (9)

1. a kind of RAW image data transmission system, including:
At least one set of image collecting device, described image harvester includes image acquisition device(1), adopted from image for receiving Storage(1)The data reception module of the RAW format picture datas of collection(2)And for receiving and caching from data reception Block(2)Data buffer(3);
Transmitting terminal MAC controller MAC(4), for by buffer in image collecting device(3)In data be packaged into MAC Protocol Data Unit(MPDU);
Transmitting terminal physical layer equipment PHY(5), by Medium Access Control (MAC) Protocol Data Unit(MPDU)Transmit to receiving terminal physical layer equipment PHY (6);
Receiving terminal physical layer equipment PHY(6), transmitting terminal physical layer equipment PHY is come from for receiving(5)MAC protocol data sheet Member(MPDU);
Receiving terminal MAC controller MAC(7), receiving terminal physical layer equipment PHY is come from for receiving(6)MAC protocol number According to unit(MPDU)And extract Medium Access Control (MAC) Protocol Data Unit(MPDU)In data;
Memory(8), receiving terminal MAC controller MAC is come from for receiving(7)Data;
Data acquisition module(9), for reading memory(8)In data;
Video interface module(10), for connecting and transferring data to image processing apparatus;
It is characterized in that:The Medium Access Control (MAC) Protocol Data Unit(MPDU)It is situated between by the preamble of 7 bytes, the frame of 1 byte Fixed symbol, the image address of 2 bytes are identified, the data field of 1500 bytes is constituted.
2. RAW image data transmission system according to claim 1, it is characterised in that:To each image acquisition device(1)It is defeated The frame image data gone out divides data block and in buffer(3)And memory(8)Middle division and above-mentioned each data block pair The memory address answered.
3. RAW image data transmission system according to claim 2, it is characterised in that:Each data block is at least stored The data of one pixel.
4. RAW image data transmission system according to claim 2, it is characterised in that:Image acquisition device(1)Export a frame After data, transmitting terminal MAC controller MAC(4)To buffer(3)In each data block increase block coordinate, will be every Data and coordinate in individual data block are used as a data set, increase check code generation Medium Access Control (MAC) Protocol Data Unit(MPDU)Afterwards It is transferred to transmitting terminal physical layer equipment PHY(5);Receiving terminal MAC controller MAC(7)Receive, verification data and according to area Data are stored in memory by block coordinate(8)In in corresponding data block.
5. RAW image data transmission system according to claim 4, it is characterised in that:Memory(8)In each data field Block configures flag bit, the configuration memory in original state(8)In all flag bits be error flag, if receiving terminal media visit Ask controller MAC(7)Certain the data block data check received is correct, then data is stored in into memory(8)In it is corresponding In data block, corresponding flag bit is then configured for accurate indication.
6. RAW image data transmission system according to claim 5, it is characterised in that:Work as memory(8)In all data When the flag bit of block configures accurate indication, memory is stored in image processing apparatus output(8)In frame image data, And configuration memory(8)In all flag bits be error flag.
7. RAW image data transmission system according to claim 5, it is characterised in that:Timing is defeated to image processing apparatus Go out frame image data, and store the last data sent:When reaching delivery time, memory is judged(8)In all numbers Whether accurate indication is configured according to the flag bit of block, if it is, being stored in memory to image processing apparatus output(8)In Frame image data, and configuration memory(8)In all flag bits be error flag;Number has been sent out otherwise, it is determined whether being stored with According to if so, then according to memory(8)The error identification of middle data block, reads the data of respective block in data have been sent out It is replaced, then sends, and configuration memory(8)In all flag bits be error flag;If not storing and having sent out data, Do not send then.
8. RAW image data transmission system according to claim 1, it is characterised in that:The transmitting terminal media interviews control Device MAC processed(4)With receiving terminal MAC controller(7)Using the FPGA processor for supporting parallel data processing, transmitting terminal thing Manage layer PHY(5)With receiving terminal physical layer PHY(6)With at least one two-port gigabit ethernet physical layer.
9. the RAW image data transmission system according to claim any one of 1-8, it is characterised in that:Described image processing Device includes processor(11)With processor(11)Connected graphics processing unit ISP(12)And data memory module(14), Described image processing unit ISP(12)With video interface module(10)It is connected, also includes and data in described image processing unit Memory module(14)And processor(11)Connected picture recognition module(13)And/or and processor(11)Connected video decoding Module(15).
CN201710467610.6A 2017-06-20 2017-06-20 RAW image data transmission system Active CN107302532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710467610.6A CN107302532B (en) 2017-06-20 2017-06-20 RAW image data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710467610.6A CN107302532B (en) 2017-06-20 2017-06-20 RAW image data transmission system

Publications (2)

Publication Number Publication Date
CN107302532A true CN107302532A (en) 2017-10-27
CN107302532B CN107302532B (en) 2020-04-07

Family

ID=60135813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710467610.6A Active CN107302532B (en) 2017-06-20 2017-06-20 RAW image data transmission system

Country Status (1)

Country Link
CN (1) CN107302532B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113488160A (en) * 2021-06-28 2021-10-08 南京诺源医疗器械有限公司 Data transmission system for medical instrument imaging

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050141551A1 (en) * 2003-12-29 2005-06-30 Mcneil Roy Jr. Common LAN architecture and flow control relay
JP2008172292A (en) * 2007-01-05 2008-07-24 Fujitsu Ltd Link trace frame transfer program, link trace frame transfer device and link trace frame transfer method
CN101692667A (en) * 2009-10-16 2010-04-07 西安电子科技大学 Radar real-time signal processing terminal data transmission system based on Gigabit Ethernet
CN202524513U (en) * 2012-03-31 2012-11-07 上海通信技术中心 FPGA-based digital video transmission system
CN102857745A (en) * 2012-09-14 2013-01-02 福建星网视易信息系统有限公司 Device for transmitting high-resolution video and sending multimedia signals through FPGA (Field Programmable Gate Array)-based dual-kilomega internet interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050141551A1 (en) * 2003-12-29 2005-06-30 Mcneil Roy Jr. Common LAN architecture and flow control relay
JP2008172292A (en) * 2007-01-05 2008-07-24 Fujitsu Ltd Link trace frame transfer program, link trace frame transfer device and link trace frame transfer method
CN101692667A (en) * 2009-10-16 2010-04-07 西安电子科技大学 Radar real-time signal processing terminal data transmission system based on Gigabit Ethernet
CN202524513U (en) * 2012-03-31 2012-11-07 上海通信技术中心 FPGA-based digital video transmission system
CN102857745A (en) * 2012-09-14 2013-01-02 福建星网视易信息系统有限公司 Device for transmitting high-resolution video and sending multimedia signals through FPGA (Field Programmable Gate Array)-based dual-kilomega internet interface

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113488160A (en) * 2021-06-28 2021-10-08 南京诺源医疗器械有限公司 Data transmission system for medical instrument imaging

Also Published As

Publication number Publication date
CN107302532B (en) 2020-04-07

Similar Documents

Publication Publication Date Title
US5229994A (en) Bridge for connecting an ieee 802.3 local area network to an asynchronous time-division multiplex telecommunication network
CN104954374B (en) A kind of design method of car networking communication protocol
JP4923849B2 (en) Wireless receiver
CN101860467B (en) Special wired train bus control device
CN103077148B (en) A kind of host communication method of Based PC IE and main frame
CN101262321A (en) Media data processing method, coding device and media platform
CN101500158B (en) Visible interphone and audio/video data transmission method and system
CN105868136A (en) Electronic device for packing multiple command/command frames and command frame processing method
CN101656588A (en) Method and system for transmitting data
US20030012223A1 (en) System and method for processing bandwidth allocation messages
CN101478462B (en) Apparatus and method for storage data reading and writing, solid hard disk
CN111211863B (en) MAC transmitting terminal, MAC receiving terminal and circuit, FPGA chip and data transmission system
CN102916902A (en) Method and device for storing data
CN107302532A (en) Raw image data transmission system
CN111147175B (en) Time-triggered Ethernet data frame capturing and storing device and method
CN1917519B (en) Method and system for parallel transmitting serial data according to high level data link control
CN106302426A (en) A kind of udp protocol stack implementation method of band retransmission mechanism based on FPGA
CN101887403A (en) Data transmission method and device for saving space of memory used for accessing packet in universal serial bus protocol
CN108011795A (en) It is a kind of to realize more boards and the method and system of multiple data channel management in communication equipment
CN102835127B (en) The sending, receiving method of OTN expense and device
JPH0730543A (en) Frame re-transmission method
RU2610697C1 (en) Method and device for retransmitting data via user datagram protocol
CN114614877B (en) Satellite communication data packaging system based on TDM/TDMA system and packaging method thereof
KR100251931B1 (en) Method and apparatus for memory-paging of utopia level-2 interface in atm network
JP5454545B2 (en) Wireless receiver

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