CN113556619A - Link transmission device and method and link receiving method - Google Patents

Link transmission device and method and link receiving method Download PDF

Info

Publication number
CN113556619A
CN113556619A CN202110801153.6A CN202110801153A CN113556619A CN 113556619 A CN113556619 A CN 113556619A CN 202110801153 A CN202110801153 A CN 202110801153A CN 113556619 A CN113556619 A CN 113556619A
Authority
CN
China
Prior art keywords
data
video
length
audio
frame
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
CN202110801153.6A
Other languages
Chinese (zh)
Other versions
CN113556619B (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.)
Ava Electronic Technology Co Ltd
Original Assignee
Ava Electronic 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 Ava Electronic Technology Co Ltd filed Critical Ava Electronic Technology Co Ltd
Priority to CN202110801153.6A priority Critical patent/CN113556619B/en
Publication of CN113556619A publication Critical patent/CN113556619A/en
Application granted granted Critical
Publication of CN113556619B publication Critical patent/CN113556619B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/233Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

The invention discloses a link transmission device and method, and a link receiving method, wherein the device comprises: the data acquisition unit is used for acquiring original data; the data frame processing unit is used for extracting the data in the data acquisition unit in a fixed time slice, packaging the data into a data frame, converting the data frame into an Ethernet media interface mode and transmitting the data frame to the Ethernet PHY unit; wherein a data interval in the data frame is divided into at least two data regions; the ethernet PHY unit is a port physical layer, and is responsible for encoding received information and transmitting the encoded information to a physical medium for transmission. The invention solves the problem that the transmission time slice of the data frame of the physical layer is uncontrollable, and reduces the transmission time delay of the video signal.

Description

Link transmission device and method and link receiving method
Technical Field
The present invention relates to the field of network technology communication, and more particularly, to a device and a method for link transmission and a method for link reception.
Background
Due to the fact that the lengths of data frame transmission are different and the main control chip is affected by scheduling arbitration, the data frame transmission time slice of the traditional network physical layer is uncontrollable, and due to the uncontrollable time slice, frame buffering is often needed to output standard time sequence video signals when uncompressed videos are transmitted. This not only increases the delay in obtaining the video signal for the receiving device, but also increases the cost of the memory device due to the need for frame level buffering.
Disclosure of Invention
The invention provides a method for bidirectionally transmitting uncompressed full-high-definition video, audio and user auxiliary data based on a gigabit Ethernet and for transparently transmitting a gigabit Ethernet transmission link. The invention adopts FPGA or special ASIC to process gigabit Ethernet to control the data frame time slice precisely. The technical scheme adopted by the invention is as follows.
In a first aspect, the present invention provides a link transmission device, including:
the data acquisition unit is used for acquiring original data;
the data frame processing unit is used for extracting the data in the data acquisition unit in a fixed time slice, packaging the data into a data frame, converting the data frame into an Ethernet media interface mode and transmitting the data frame to the Ethernet PHY unit;
wherein a data interval in the data frame is divided into at least two data regions;
the ethernet PHY unit is a port physical layer, and is responsible for encoding received information and transmitting the encoded information to a physical medium for transmission.
In one embodiment, the length of the data frame is fixed.
In one embodiment, the length of at least one data region in the data interval is fixed.
In one embodiment, the fixed length data frames and the fixed dwell interval are transmitted within the time slice.
In one embodiment, the raw data comprises: uncompressed video data, wherein one region in the data frame is a video region; the duration of the time slice is derived based on a standard timing of the uncompressed video data.
In an embodiment, the duration of one video frame in the uncompressed video data is taken as a period, n time slices are defined to be included in one period, one complete video frame in the uncompressed video data can be completely transmitted after n time slices, and the remaining duration after n time slices is reserved as an idle gap in one period.
In one embodiment, the video area is divided into a video flag, a video transmission data length, a video line number and video transmission data.
In one embodiment, the raw data further comprises: audio data, user assistance class data, and hundred mega Ethernet data; the data interval in the data frame is divided into a video area, an audio area, a user auxiliary data area and a hundred-mega Ethernet data area.
In one embodiment, the video region, the audio region, the user assistance class data region and the hundred mega ethernet data region are fixed in length.
In one embodiment, the audio region is divided into an audio left channel mark, an audio left channel data length, an audio right channel mark, an audio right channel data length, audio left channel data, and audio right channel data; the user auxiliary data area divides a user auxiliary data mark, a user auxiliary data length and user auxiliary data; the hundred mega Ethernet data area is divided into hundred mega network marks, hundred mega network data length and hundred mega network transparent transmission data.
In a second aspect, the present invention provides a method for link transmission, including the steps of:
collecting original data;
extracting the original data in a fixed time slice and packaging the original data into a data frame;
wherein a data interval in the data frame is divided into at least two data regions;
and converting the data frame into an Ethernet media interface mode and transmitting the data frame to an Ethernet PHY unit, wherein the Ethernet PHY unit is a port physical layer and is responsible for encoding the received information and transmitting the encoded information to a physical medium for transmission.
In one embodiment, the length of the data frame is fixed.
In one embodiment, the length of at least one data region in the data interval is fixed.
In one embodiment, the fixed length data frames and the fixed dwell interval are transmitted within the time slice.
In one embodiment, the raw data comprises: uncompressed video data, wherein one region in the data frame is a video region; the duration of the time slice is derived based on a standard timing of the uncompressed video data.
In one embodiment, the duration of one video frame in the uncompressed video data is taken as a period, n time slices are defined to be included in one period, and one complete video frame in the uncompressed video data can be completely sent out after n time slices.
In one embodiment, the remaining duration after n time slices is reserved as a free gap in one period.
In one embodiment, the video area is divided into a video flag, a video transmission data length, a video line number and video transmission data.
In one embodiment, the raw data further comprises: audio data, user assistance class data, and hundred mega Ethernet data; the data interval in the data frame is divided into a video area, an audio area, a user auxiliary data area and a hundred-mega Ethernet data area.
In one embodiment, the video region, the audio region, the user assistance class data region and the hundred mega ethernet data region are fixed in length.
In one embodiment, the audio region is divided into an audio left channel mark, an audio left channel data length, an audio right channel mark, an audio right channel data length, audio left channel data, and audio right channel data; the user auxiliary data area divides a user auxiliary data mark, a user auxiliary data length and user auxiliary data; the hundred mega Ethernet data area is divided into hundred mega network marks, hundred mega network data length and hundred mega network transparent transmission data.
In a third aspect, the present invention provides a method for link reception, including the steps of: decoding the encoded information obtained by physical media transmission in an Ethernet PHY unit, and returning the decoded data to a data link layer in an Ethernet media interface mode;
wherein the decoded data in the data link layer is an encapsulated data frame
Decapsulating the encapsulated data frame, and respectively extracting and caching different types of data according to the flag information in the data frame;
and reading the data according to the corresponding time sequence of the various types of data.
The invention solves the problem of video signal transmission delay caused by uncontrollable transmission time slice of the data frame of the network physical layer by accurately controlling the data frame time slice. Thanks to the reduction of transmission delay, the use of the receiving end buffer can be reduced. And the video image is transmitted and received in a non-compression mode in the physical layer, so that the compression process is reduced, the non-compression video data is transmitted, meanwhile, the audio data, the user auxiliary data and the hundred-mega Ethernet data are compounded, and the transmission efficiency is improved.
Drawings
Fig. 1 is a schematic view of the overall structure of the present invention.
Fig. 2 is a 1080P timing diagram.
Fig. 3 is a timing diagram of an ethernet physical frame in a unit period.
Fig. 4 is a flow chart of a transmission method of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
A link transmission device, comprising: the data acquisition unit is used for acquiring original data; the data frame processing unit is used for extracting the data in the data acquisition unit in a fixed time slice, packaging the data into a data frame, converting the data frame into an Ethernet media interface mode and transmitting the data frame to the Ethernet PHY unit; wherein a data interval in the data frame is divided into at least two data regions; the ethernet PHY unit is a port physical layer, and is responsible for encoding received information and transmitting the encoded information to a physical medium for transmission. It has to be noted here that the ethernet media interface comprises GMII, RGMII, SGMII, etc.
In one embodiment, the raw data comprises: uncompressed video data, one of the regions in the data frame being a video region.
In one embodiment, as shown in FIG. 1, the raw data includes: uncompressed video data, audio data, user assistance-like data, hundred mega ethernet data. For each type of data, corresponding regions, i.e., a video region, an audio region, a user assistance-type data region, and a hundred mega ethernet data region, are divided in the data frame, as shown in fig. 3.
After receiving uncompressed video data, audio data, user auxiliary data and hundred-mega Ethernet data, the link transmission equipment respectively carries out asynchronous sampling conversion and pre-caching processing on the data through an asynchronous domain conversion buffer unit; the asynchronous sample conversion and pre-caching operation is asynchronous domain conversion and pre-caching processing which is adopted because the sampling clock of each input source is inconsistent with the sending sampling clock.
The data frame processing unit performs data frame encapsulation processing in a fixed time slice by extracting non-compressed video data, audio data, user auxiliary data and hundred-mega Ethernet data in the asynchronous domain conversion buffer unit; the data frame processing unit is used for packaging a data frame with a fixed length in a fixed time slice, and dividing a data interval in the data frame into a video area, an audio area, a user auxiliary data area and a hundred-mega Ethernet data area.
It has to be noted here that the length of the data frame may or may not be fixed. In addition, for each data area, the length of each data area may be fixed, or the length of a part of the data areas may be fixed, or the length of all the data areas may not be fixed. In the first embodiment, a technical scheme that the length of the data frame is fixed and the length of each data area is fixed is adopted.
It should be noted that, in the first embodiment, the data areas are divided for different types of data according to the data type classification. However, in actual operation, there may be the same kind of data with different sources in the original data, such as collecting two paths of data of audio one and audio two, and at this time, corresponding data regions may be respectively divided according to the sources of the data, that is, one data region is divided for the audio one, and another data region is divided for the audio two. Of course, a third situation may occur, in which data of the same type from the same data source is divided into several parts for transmission, and corresponding data areas may also be divided for each part of data.
It should be noted that the data acquisition unit in the first embodiment is an asynchronous domain conversion buffer unit, and performs asynchronous sample conversion and pre-buffering on the raw data respectively. Other data collection methods may be used by those skilled in the art to collect the raw data.
As shown in table 1, the format of the data frame encapsulated by the data frame processing unit is composed of a preamble field, a destination address, a source address, a length type, data, a checksum, and transmits a physical frame of a fixed length within a fixed time slice and an inter-frame gap of a fixed pause duration. The encapsulated data frame is in a standard physical data frame in JUMBO frame format (JUMBO FRAMES). The leader domain consists of 7 8-bit 10101010 and 8-bit 10101011, represents the start of a frame, the target address is the address information of the target end, the source address is the address information of the sending end, the length type fills in the physical frame type in the giant frame, the data is composed of a video area, an audio area, a user auxiliary data area and a hundred mega Ethernet data area, the total length is 7134 bytes, and the leader domain is used for checking and verifying the data correctness of the data frame.
TABLE 1
Preamble field Target address Source address Length type Data of Test sum Interframe space
8B 6B 6B 2B 7134B 4B 247B
In order to reduce the frame-level delay, the encapsulation of the data frames in the data frame processing unit needs to be matched with the standard timing of the full high-definition video 1080P30, for the format of the full high-definition video 1080P30 YCbCr420, the sampling frequency is 74.25MHz, as shown in fig. 2, in the valid data area, the valid data amount in each two rows is 1920 × 16+1920 × 8 ═ 46080 × 5760B, and the running time required in each two rows is 2200 × 2/74.25, for the gigabit ethernet with the sampling frequency of 125MHz, the number of bytes that can be transmitted in the time period is 2200 × 2 × 125/74.25 × 7407B, and the time period is a fixed time slice with the time duration of 59.256 μ s. In full high definition video 1080P30, 30 frames of video pictures are transmitted one second. In 1/30s, for gigabit ethernet, it can transmit 560 continuous physical data frames with time slice duration of 59.256 μ s, and the rest idle gaps are used for correction, in practical use, when we control the start time of the first labeled one physical frame of 1/30s units to be the video frame effective area frame header video data of full high-definition video, we can control the idle gaps used for correction to fall in the field blanking area of the video frame, and can reduce the buffer amount of the video data of the asynchronous conversion buffer unit at the receiving end, avoid the idle gaps used for correction to be in the line effective area of the data frame, and increase the waiting time of the output standard time sequence.
In one embodiment, the duration of a fixed time slice is defined as 59.256 μ s, where 57.28 μ s for data frames and 1.976 μ s for inter-frame gaps.
In the transmission link of the gigabit Ethernet, a fixed area is divided for transparent transmission of the gigabit Ethernet, in a sending end, for the to-be-sent gigabit Ethernet, a data part of a physical frame of the gigabit Ethernet is not split, but the whole physical frame is taken as effective data and sent to an asynchronous domain conversion buffer unit through a framing mark, and a data frame processing unit directly reads the effective data according to the data in the buffer area when performing frame encapsulation.
The allocation of video regions is shown in table 2. In each packaged fixed data frame, in the video area, whether the video data in the asynchronous domain conversion buffer unit has buffer data or not is marked with a video flag, if so, the number of the buffer data is counted, if the counted number exceeds the set capacity of the video area, the video transmission data length fills the maximum capacity of the video area, if the counted number does not exceed the set capacity of the video area, the video transmission data length fills the number of the buffer data, sequentially reading the video data from the asynchronous domain conversion buffer unit according to the filled video transmission data length and filling the video data in the video transmission data area, since the total length of the set video transmission data area is fixed, when the area is not filled, the remaining empty portion can be filled with a fixed irrelevant number, filling and writing in a video line number area according to the line number of a source video frame in which the first video data read from the asynchronous domain conversion buffer unit is positioned; if the video data in the asynchronous domain conversion buffer unit has no buffer data, the video mark is set to zero, the video transmission data length is filled to zero, the video line number is filled to zero, and the video transmission data area is filled with fixed irrelevant numbers.
TABLE 2
Video sign Video transmission data length Video line number Video transmission data
1B 2B 2B 5760B
The allocation of audio regions is shown in table 3. In each encapsulated fixed data frame, in the audio frequency region, whether the audio frequency data in the asynchronous domain conversion buffer unit has buffer data or not is marked as one by the audio frequency left channel, if so, the number of the audio frequency left channel buffer data is counted, if the counted number exceeds the capacity of the set audio frequency left channel region, the length of the audio frequency left channel data fills the maximum capacity of the audio frequency left channel region, if the counted number does not exceed the capacity of the set audio frequency left channel region, the length of the audio frequency left channel data fills the number of the buffer data, sequentially reading the audio left channel data from the asynchronous domain conversion buffer unit according to the length of the filled audio left channel data and filling the audio left channel data in an audio left channel data area, since the total length of the set audio left channel data region is fixed, when the region is not filled, the remaining empty part can be filled with a fixed number of irrelevant data; if the audio left channel data in the asynchronous domain conversion buffer unit has no buffer data, setting the audio left channel mark to zero, filling the length of the audio left channel data to zero, and fully filling a fixed irrelevant number in an audio left channel data area; similarly, the corresponding audio right channel part data is filled in the same way as the audio left channel.
TABLE 3
Figure BDA0003164814710000071
The allocation of the user auxiliary class data area is shown in table 4. In each encapsulated fixed data frame, in the user auxiliary data area, converting the user auxiliary data in the asynchronous domain buffer unit to determine whether the buffer data exists, if so, marking the user auxiliary data as one, counting the number of the buffer data, if the counted number exceeds the capacity of the set user auxiliary data area, filling the maximum capacity of the user auxiliary data area with the user auxiliary data length, if the counted number does not exceed the capacity of the set user auxiliary data area, filling the number of the buffer data with the user auxiliary data length, sequentially reading the user auxiliary data from the asynchronous domain conversion buffer unit according to the length of the filled user auxiliary data and filling the user auxiliary data in the user auxiliary data area, because the total length of the set user auxiliary data area is fixed, when the area is not filled, the left empty part can be filled with a fixed irrelevant number; if the user auxiliary data in the asynchronous domain conversion buffer unit has no cache data, the user auxiliary data mark is set to zero, the length of the user auxiliary data is filled in zero, and the user auxiliary data area is filled in a fixed irrelevant number.
TABLE 4
User assistance data indicator User assistance data length User assistance data
1B 1B 80B
The allocation of the trillion network passthrough area is shown in table 5. In each packaged fixed data frame, in a hundred million network transparent transmission area, whether hundred million network data in an asynchronous domain conversion buffer unit has buffer data or not is judged, if yes, a hundred million network mark is set as one, the number of the buffer data is counted, if the counted number exceeds the capacity of a set hundred million network area, the maximum capacity of the hundred million network transparent transmission area is filled in according to the length of the hundred million network data, if the counted number does not exceed the capacity of the set hundred million network transparent transmission area, the number of the buffer data is filled in according to the length of the hundred million network data, the hundred million network data are sequentially read from the asynchronous domain conversion buffer unit and are filled in the hundred million network transparent transmission data area, and because the total length of the set hundred million network transparent transmission data area is fixed, when the area is not filled, a fixed irrelevant number can be filled in a left part; if the hundred million network data in the asynchronous domain conversion buffer unit has no cache data, the hundred million network mark is set to zero, the hundred million network data length is filled with zero, and the hundred million network transparent transmission data area is fully filled with fixed irrelevant numbers.
TABLE 5
Hundred million net mark Hundred million network data length Hundred million net transparent transmission data
1B 1B 1200B
The full high-definition video format with the resolution 1080P30 is YCbCr 4:2:0, and the transmission data volume is 1920 × 1080 × 30 × 16 × 0.75 ═ 746496000 bit/s; the volume of audio transmission data with a 96K sampling rate of 32 bits wide is 96000 × 32 × 2 ═ 6144000 bit/s; the bandwidth required by the hundred-mega Ethernet is 100000000 bit/s; the user auxiliary data is mainly used for two-party communication, and the reserved data volume is 10000000 bit/s. The data volume of the video area can be transmitted in each second, wherein the data volume of the video area is 5760 × 560 × 8 × 30 ═ 774144000bit/s, the data volume of the full high-definition video is 746496000bit/s, and the data volume of the video area can be transmitted to be larger than that of the required video; in each second, the data volume which can be transmitted by the audio region is 80 × 560 × 8 × 30 — 10752000bit/s, the required audio data volume per second is 6144000bit/s, and the data volume which can be transmitted by the audio region is larger than that of the required audio; the amount of data that can be transmitted in the user assistance data region is 80 × 560 × 8 × 30 — 10752000bit/s per second, the amount of data of the user assistance data required per second is 10000000bit/s, and the amount of data that can be transmitted in the user assistance data region is greater than the amount of data of the user assistance data required per second. In summary, the technical scheme of the invention can meet the requirements.
The link transmission equipment can also be used as a receiving end to receive the data frame of the gigabit Ethernet. In the receiving end, the data frame processing unit carries out decapsulation processing on the encapsulated data frame, and extracts a video area, an audio area, a user auxiliary data area and a hundred million network transparent transmission area from the data frame.
In the video area, judging whether video data exists or not according to the video mark information, when the bit is one, indicating that the video data exists, and when the bit is zero, indicating that the video data does not exist; when the video mark information is one, according to the length information of the video transmission data, reading the video transmission data with the corresponding length into a video data cache module of an asynchronous domain conversion buffer unit, and extracting video line number information according to the video line number identification; and performing a small amount of cache through the asynchronous domain conversion buffer unit, identifying video frame header data according to the video line number information, reading video data from the asynchronous domain conversion buffer unit according to the standard time sequence of the full-high-definition video, and transmitting the video data to the target equipment. In some specific target devices, such as a display device, only the source of the video source clock at the transmitting end and the source of the PHY125 megaclock at the transmitting end need to be guaranteed to be homologous, and the source of the clock for reading video data from the asynchronous domain conversion buffer unit and the source of the PHY125 megaclock at the receiving end can be guaranteed to be homologous, so that the video source signal at the transmitting end and the video signal at the receiving end can be output and displayed according to a standard time sequence.
In the audio region, judging whether audio data exist in the physical data frame according to the marks of the audio left and right sound channels, if the corresponding bit is one, reading the audio data into an asynchronous domain conversion buffer unit according to the length of the audio left and right sound channels, and reading the audio data from the asynchronous domain conversion buffer unit for processing according to the subsequent processing requirement;
in the user auxiliary data area, judging whether user auxiliary data exist in the physical data frame or not according to the user auxiliary data mark, if the corresponding bit is one, reading the user auxiliary data into the asynchronous domain conversion buffer unit according to the length of the user auxiliary data, and reading the user auxiliary data from the asynchronous domain conversion buffer unit for processing according to the subsequent processing requirement;
in the hundred million network transparent transmission area, judging whether hundred million network transparent transmission data exists in a physical data frame according to a hundred million network mark, if the corresponding bit is one, reading the hundred million network transparent transmission data to an asynchronous domain conversion buffer unit according to the hundred million network data length, splitting the hundred million network physical data frame according to an identifier for sealing the hundred million Ethernet physical frame by a sending end, and finally providing the complete hundred million network physical data frame for back-end processing.
The invention can accurately control the data frame time slice, transmits and receives the video image in a non-compression mode in the physical layer, reduces the compression process, compounds the audio data, the user auxiliary data and the hundred-mega Ethernet data while transmitting the non-compression video data, and improves the transmission efficiency.
Example two
Corresponding to the first embodiment, the invention also provides a link transmission method and a link receiving method, and the specific scheme is as follows.
As shown in fig. 4, a method for link transmission includes the steps of:
collecting original data;
extracting the original data in a fixed time slice and packaging the original data into a data frame;
wherein a data interval in the data frame is divided into at least two data regions;
and converting the data frame into an Ethernet media interface mode and transmitting the data frame to an Ethernet PHY unit, wherein the Ethernet PHY unit is a port physical layer and is responsible for encoding the received information and transmitting the encoded information to a physical medium for transmission. The Ethernet media interface comprises modes of GMII, RGMII, SGMII and the like.
In one embodiment, the length of the data frame is fixed.
In one embodiment, the length of at least one data region in the data interval is fixed.
In one embodiment, the fixed length data frames and the fixed dwell interval are transmitted within the time slice.
In one embodiment, the raw data comprises: uncompressed video data, wherein one region in the data frame is a video region; the duration of the time slice is derived based on a standard timing of the uncompressed video data.
In one embodiment, the duration of one video frame in the uncompressed video data is taken as a period, n time slices are defined to be included in one period, and one complete video frame in the uncompressed video data can be completely sent out after n time slices.
In one embodiment, the remaining duration after n time slices is reserved as a free gap in one period.
In one embodiment, the video area is divided into a video flag, a video transmission data length, a video line number and video transmission data.
In one embodiment, the raw data further comprises: audio data, user assistance class data, and hundred mega Ethernet data; the data interval in the data frame is divided into a video area, an audio area, a user auxiliary data area and a hundred-mega Ethernet data area.
In one embodiment, the video region, the audio region, the user assistance class data region and the hundred mega ethernet data region are fixed in length.
In one embodiment, the audio region is divided into an audio left channel mark, an audio left channel data length, an audio right channel mark, an audio right channel data length, audio left channel data, and audio right channel data; the user auxiliary data area divides a user auxiliary data mark, a user auxiliary data length and user auxiliary data; the hundred mega Ethernet data area is divided into hundred mega network marks, hundred mega network data length and hundred mega network transparent transmission data.
A method of link reception, comprising the steps of:
decoding the encoded information obtained by physical media transmission in an Ethernet PHY unit, and returning the decoded data to a data link layer in an Ethernet media interface mode;
wherein the decoded data in the data link layer is an encapsulated data frame
Decapsulating the encapsulated data frame, and respectively extracting and caching different types of data according to the flag information in the data frame;
and reading the data according to the corresponding time sequence of the various types of data.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.

Claims (21)

1. A link transmission device, comprising:
the data acquisition unit is used for acquiring original data;
the data frame processing unit is used for extracting the data in the data acquisition unit in a fixed time slice, packaging the data into a data frame, converting the data frame into an Ethernet media interface mode and transmitting the data frame to the Ethernet PHY unit;
wherein a data interval in the data frame is divided into at least two data regions;
the ethernet PHY unit is a port physical layer, and is responsible for encoding received information and transmitting the encoded information to a physical medium for transmission.
2. The link transmission apparatus according to claim 1, wherein the length of the data frame is fixed.
3. The link transmission apparatus according to claim 1, wherein a length of at least one data region in the data section is fixed.
4. The link transmission apparatus according to claim 2, wherein the fixed length data frames and the fixed pause duration interframe spaces are transmitted within the time slice.
5. The link transmission device according to any of claims 1-4, wherein the raw data comprises: uncompressed video data, wherein one region in the data frame is a video region;
the duration of the time slice is derived based on a standard timing of the uncompressed video data.
6. Link transmission device according to claim 5,
and defining a period containing n time slices by taking the time length of one video frame in the non-compressed video data as a period, wherein a complete video frame in the non-compressed video data can be completely sent out after n time slices, and in the period, the remaining time length after n time slices is reserved as an idle gap.
7. The link transmission apparatus according to claim 6, wherein the video area is divided into a video flag, a video transmission data length, a video line number, and video transmission data.
8. The link transmission device according to claim 7, wherein the original data further comprises: audio data, user assistance class data, and hundred mega Ethernet data;
the data interval in the data frame is divided into a video area, an audio area, a user auxiliary data area and a hundred-mega Ethernet data area.
9. The link transmission apparatus according to claim 8, wherein the video region, the audio region, the user-assistance-type data region, and the hundred mega ethernet data region are fixed in length.
10. Link transmission device according to claim 9,
the audio region is divided into an audio left channel mark, an audio left channel data length, an audio right channel mark, an audio right channel data length, audio left channel data and audio right channel data;
the user auxiliary data area divides a user auxiliary data mark, a user auxiliary data length and user auxiliary data;
the hundred mega Ethernet data area is divided into hundred mega network marks, hundred mega network data length and hundred mega network transparent transmission data.
11. A method of link transmission, comprising the steps of:
collecting original data;
extracting the original data in a fixed time slice and packaging the original data into a data frame;
wherein a data interval in the data frame is divided into at least two data regions;
and converting the data frame into an Ethernet media interface mode and transmitting the data frame to an Ethernet PHY unit, wherein the Ethernet PHY unit is a port physical layer and is responsible for encoding the received information and transmitting the encoded information to a physical medium for transmission.
12. The link transmission apparatus according to claim 11, wherein the length of the data frame is fixed.
13. The link transmission apparatus according to claim 11, wherein a length of at least one data region in the data section is fixed.
14. The link transmission apparatus according to claim 12, wherein the fixed length data frames and the fixed pause duration interframe spaces are transmitted within the time slice.
15. The link transmission apparatus according to any one of claims 11 to 14, wherein the raw data comprises: uncompressed video data, wherein one region in the data frame is a video region;
the duration of the time slice is derived based on a standard timing of the uncompressed video data.
16. The link transmission apparatus according to claim 15,
and defining a period containing n time slices by taking the time length of one video frame in the non-compressed video data as a period, wherein a complete video frame in the non-compressed video data can be completely sent out after n time slices, and in the period, the remaining time length after n time slices is reserved as an idle gap.
17. The link transmission apparatus according to claim 16, wherein the video area is divided into a video flag, a video transmission data length, a video line number, and video transmission data.
18. The link transmission device according to claim 17, wherein the original data further comprises: audio data, user assistance class data, and hundred mega Ethernet data;
the data interval in the data frame is divided into a video area, an audio area, a user auxiliary data area and a hundred-mega Ethernet data area.
19. The link transmission apparatus according to claim 18, wherein the video region, the audio region, the user-assistance-type data region, and the hundred mega ethernet data region are fixed in length.
20. The link transmission apparatus according to claim 19,
the audio region is divided into an audio left channel mark, an audio left channel data length, an audio right channel mark, an audio right channel data length, audio left channel data and audio right channel data;
the user auxiliary data area divides a user auxiliary data mark, a user auxiliary data length and user auxiliary data;
the hundred mega Ethernet data area is divided into hundred mega network marks, hundred mega network data length and hundred mega network transparent transmission data.
21. A method of link reception, comprising the steps of:
decoding the encoded information obtained by physical media transmission in an Ethernet PHY unit, and returning the decoded data to a data link layer in an Ethernet media interface mode;
wherein the decoded data in the data link layer is an encapsulated data frame
Decapsulating the encapsulated data frame, and respectively extracting and caching different types of data according to the flag information in the data frame;
and reading the data according to the corresponding time sequence of the various types of data.
CN202110801153.6A 2021-07-15 2021-07-15 Device and method for link transmission and method for link reception Active CN113556619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110801153.6A CN113556619B (en) 2021-07-15 2021-07-15 Device and method for link transmission and method for link reception

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110801153.6A CN113556619B (en) 2021-07-15 2021-07-15 Device and method for link transmission and method for link reception

Publications (2)

Publication Number Publication Date
CN113556619A true CN113556619A (en) 2021-10-26
CN113556619B CN113556619B (en) 2024-04-19

Family

ID=78103265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110801153.6A Active CN113556619B (en) 2021-07-15 2021-07-15 Device and method for link transmission and method for link reception

Country Status (1)

Country Link
CN (1) CN113556619B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035137A (en) * 2006-03-06 2007-09-12 中兴通讯股份有限公司 Method for dynamically establishing the point-to-point protocol channel in the different-mode link layer access
CN101039148A (en) * 2007-02-07 2007-09-19 华为技术有限公司 Optical module and method and network equipment for supporting GE optical connector and FE optical connector
CN101072141A (en) * 2006-05-09 2007-11-14 杭州华三通信康技术有限公司 Ethernet accessing converting device, multiplexing gateway device and accessing converting method
CN101437035A (en) * 2008-12-18 2009-05-20 杭州华三通信技术有限公司 Data communication method and Ethernet equipment
WO2009086774A1 (en) * 2007-12-11 2009-07-16 Huawei Technologies Co., Ltd. A method, an apparatus and a system for transmitting data
CN101666597A (en) * 2009-09-18 2010-03-10 重庆大学 Detecting device of control time sequence of non-contact initiating explosive device and method thereof
CN101707544A (en) * 2009-11-20 2010-05-12 中国人民解放军第二炮兵装备研究院第四研究所 E1 channel multidirectional network bridge transmission device and method
CN102025694A (en) * 2009-09-11 2011-04-20 中兴通讯股份有限公司 DSP (Digital Signal Processor) array based device and method for sending Ethernet data
CN102170381A (en) * 2011-03-22 2011-08-31 成都飞视通科技有限公司 Unpacked data two-way transmission system and method based on gigabit Ethernet physical layer interface
CN103179435A (en) * 2013-02-27 2013-06-26 北京视博数字电视科技有限公司 Multi-channel video data multiplexing method and device
CN103475900A (en) * 2012-06-06 2013-12-25 中国移动通信集团公司 Method and device for packaging mobile phone television service video frame and front-end system
CN104135421A (en) * 2014-08-14 2014-11-05 陕西省地方电力(集团)有限公司 Method and device of transmitting communication information in communication system of power distribution network
CN104378444A (en) * 2014-11-27 2015-02-25 电子科技大学 Method for transmitting data on logging data link through transmission protocol
CN108111899A (en) * 2017-12-29 2018-06-01 中兴通讯股份有限公司 Video transmission method, client, server
CN108449567A (en) * 2018-03-23 2018-08-24 广州市奥威亚电子科技有限公司 A kind of method and device being used for transmission digital video
CN109948446A (en) * 2019-02-20 2019-06-28 北京奇艺世纪科技有限公司 A kind of video clip processing method, device and computer readable storage medium
CN111654551A (en) * 2020-06-17 2020-09-11 广东瀚阳轨道信息科技有限公司 Transmission control method and system for stress dispersion locking data of railway jointless track
CN112153066A (en) * 2020-09-28 2020-12-29 贵州航天天马机电科技有限公司 Wireless broadband ad hoc network communication information processing system

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035137A (en) * 2006-03-06 2007-09-12 中兴通讯股份有限公司 Method for dynamically establishing the point-to-point protocol channel in the different-mode link layer access
CN101072141A (en) * 2006-05-09 2007-11-14 杭州华三通信康技术有限公司 Ethernet accessing converting device, multiplexing gateway device and accessing converting method
CN101039148A (en) * 2007-02-07 2007-09-19 华为技术有限公司 Optical module and method and network equipment for supporting GE optical connector and FE optical connector
WO2009086774A1 (en) * 2007-12-11 2009-07-16 Huawei Technologies Co., Ltd. A method, an apparatus and a system for transmitting data
CN101437035A (en) * 2008-12-18 2009-05-20 杭州华三通信技术有限公司 Data communication method and Ethernet equipment
CN102025694A (en) * 2009-09-11 2011-04-20 中兴通讯股份有限公司 DSP (Digital Signal Processor) array based device and method for sending Ethernet data
CN101666597A (en) * 2009-09-18 2010-03-10 重庆大学 Detecting device of control time sequence of non-contact initiating explosive device and method thereof
CN101707544A (en) * 2009-11-20 2010-05-12 中国人民解放军第二炮兵装备研究院第四研究所 E1 channel multidirectional network bridge transmission device and method
CN102170381A (en) * 2011-03-22 2011-08-31 成都飞视通科技有限公司 Unpacked data two-way transmission system and method based on gigabit Ethernet physical layer interface
CN103475900A (en) * 2012-06-06 2013-12-25 中国移动通信集团公司 Method and device for packaging mobile phone television service video frame and front-end system
CN103179435A (en) * 2013-02-27 2013-06-26 北京视博数字电视科技有限公司 Multi-channel video data multiplexing method and device
CN104135421A (en) * 2014-08-14 2014-11-05 陕西省地方电力(集团)有限公司 Method and device of transmitting communication information in communication system of power distribution network
CN104378444A (en) * 2014-11-27 2015-02-25 电子科技大学 Method for transmitting data on logging data link through transmission protocol
CN108111899A (en) * 2017-12-29 2018-06-01 中兴通讯股份有限公司 Video transmission method, client, server
CN108449567A (en) * 2018-03-23 2018-08-24 广州市奥威亚电子科技有限公司 A kind of method and device being used for transmission digital video
CN109948446A (en) * 2019-02-20 2019-06-28 北京奇艺世纪科技有限公司 A kind of video clip processing method, device and computer readable storage medium
CN111654551A (en) * 2020-06-17 2020-09-11 广东瀚阳轨道信息科技有限公司 Transmission control method and system for stress dispersion locking data of railway jointless track
CN112153066A (en) * 2020-09-28 2020-12-29 贵州航天天马机电科技有限公司 Wireless broadband ad hoc network communication information processing system

Also Published As

Publication number Publication date
CN113556619B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
US10848796B2 (en) Transmitting method, receiving method, transmitting device, and receiving device
EP2086238B1 (en) Method of transmission of digital images and reception of transport packets
US11064229B2 (en) Transmitting device, receiving device, transmitting method and receiving method
CN108924600A (en) Sending and receiving methods, device and the electronic equipment of live data
US8345681B2 (en) Method and system for wireless communication of audio in wireless networks
US10327000B2 (en) Transmitting method for transmitting a plurality of packets including header information including divided data information and a value of an invalidated fragment counter
JP4476819B2 (en) Broadcast / communication fusion system and Ethernet (registered trademark, same applies hereinafter) data transmission / reception method in broadcast / communication fusion system
CN102802039A (en) Multi-channel video hybrid decoding output method and device
US20130208812A1 (en) High-speed interface for ancillary data for serial digital interface applications
JP5535498B2 (en) Transmitting apparatus and transmission method
US8718131B2 (en) Method and apparatus for generating and processing packet in MPEG-2 transport stream
CN105491401A (en) Method and apparatus for converting RTSP/RTP audio and video flows into TS flows and outputting TS flows through ASI
CN105828014B (en) A kind of audio/video transmission method and device
JP2002535934A (en) Method and apparatus for delivering reference signal information at specified time intervals
KR102103903B1 (en) Transmitting apparatus and receiving apparatus and data processing method thereof
CN113556619A (en) Link transmission device and method and link receiving method
CN1211368A (en) Transmission system with flexible frame structure
JP4391412B2 (en) Dynamic multiplexing method of digital stream
KR101603674B1 (en) Method and Apparatus for Urgent Data Transmission
CN100369489C (en) Embedded wireless coder of dynamic access code tactics
CN112291030A (en) Data receiving method, data sending method and device
JPH10173622A (en) Low-speed data multiplex device and data transmission device
KR102046903B1 (en) Apparatus and Method for MMT Payload Header Structure
CN102811351A (en) Multi-service data transmission method and device
CN101594531A (en) The simplified transmission method of signal flow between conveyer and the electronic 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