CN114866848A - IP video main and standby data filtering system and filtering method - Google Patents

IP video main and standby data filtering system and filtering method Download PDF

Info

Publication number
CN114866848A
CN114866848A CN202210357446.4A CN202210357446A CN114866848A CN 114866848 A CN114866848 A CN 114866848A CN 202210357446 A CN202210357446 A CN 202210357446A CN 114866848 A CN114866848 A CN 114866848A
Authority
CN
China
Prior art keywords
data
information
module
video
datagram
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
CN202210357446.4A
Other languages
Chinese (zh)
Other versions
CN114866848B (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.)
Beijing Radio And Television Station
Sumavision Technologies Co Ltd
Original Assignee
Beijing Radio And Television Station
Sumavision Technologies 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 Beijing Radio And Television Station, Sumavision Technologies Co Ltd filed Critical Beijing Radio And Television Station
Priority to CN202210357446.4A priority Critical patent/CN114866848B/en
Publication of CN114866848A publication Critical patent/CN114866848A/en
Application granted granted Critical
Publication of CN114866848B publication Critical patent/CN114866848B/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/454Content or additional data filtering, e.g. blocking advertisements
    • 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 or manipulating encoded video stream scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a system and a method for filtering IP video main and standby data, which comprises a merging module, a detection module, a shunting module, an analysis module, a control module and a filtering module, wherein the merging module receives first data transmitted by a main path and second data transmitted by a standby path and merges the first data and the second data to obtain third data; the detection module is connected with the merging module, receives the third data and deletes the error datagram in the third data to obtain fourth data; the distribution module is connected with the detection module, receives the fourth data and distributes the fourth data to obtain first video data; the analysis module is connected with the distribution module and used for receiving the first video data and analyzing the first video data to obtain identification information; the control module is connected with the analysis module, receives the identification information, confirms the repeated identification information and generates control information; the filtering module is connected with the analysis module and the control module, receives the first video data and the control information, and deletes the repeated video datagram to obtain the second video data.

Description

IP video main and standby data filtering system and filtering method
Technical Field
The present invention generally relates to the technical field of IP-based video transmission and processing, and more particularly, to a system and a method for filtering active/standby IP-based video data.
Background
With the development of multimedia and super-high-definition network production and broadcasting, IP video transmission has become a major trend, and the IP video transmission technology has the advantages of high stability, high bandwidth, low delay, no video loss and the like, but when data after IP video is transmitted through a high-speed network, the data may be affected by network fluctuation and blocking, and error codes may be generated during transmission, resulting in loss or errors of data contents.
In order to ensure that data can be stably transmitted to a receiving terminal and reduce the influence caused by high-speed network transmission, the prior art simultaneously transmits two paths of the same data in a way that a main path and a standby path are mutually used as backups, after the receiving terminal receives the two paths of data, the error detection is firstly carried out on each path of data, then the decoding is carried out, and finally the two paths of data are combined into one path of complete and error-free data.
The invention aims to provide a system and a method for filtering IP video main and standby data, which are used for filtering redundant data of main and standby IP datagrams before a receiving terminal actually processes a video IP data packet so as to solve the problem that the receiving terminal occupies too large resources when processing video data.
Disclosure of Invention
In order to solve the above problems, the present invention provides an IP video active/standby data filtering system, which includes a merging module 1, a detection module 2, a splitting module 3, an analysis module 4, a control module 5, and a filtering module 6, where the merging module 1 is connected to a main path and a standby path, respectively, and is configured to receive first data transmitted by the main path and second data transmitted by the standby path, merge them to obtain third data, and the third data is formed by splicing all datagrams in the first data and the second data; the detection module 2 is connected with the merging module 1, and is configured to receive the third data, perform error detection on each datagram thereof, and delete a datagram with an error in the third data to obtain fourth data.
The distribution module 3 is connected with the detection module 2 and is used for receiving and distributing fourth data to obtain first video data consisting of video datagrams, audio data consisting of audio datagrams and auxiliary information data consisting of auxiliary information datagrams, and transmitting the audio data and the auxiliary information data to a receiving terminal; the parsing module 4 is connected to the distribution module 3, and configured to receive the first video data and parse the first video data to obtain identification information of each video datagram in the first video data.
The control module 5 is connected with the analysis module 4 and used for receiving the identification information, confirming the repeated identification information and generating control information; the filtering module 6 is connected to the parsing module 4 and the control module 5, respectively, and is configured to receive the first video data and the control information, delete repeated video datagrams in the first video data according to the control information, obtain second video data, and transmit the second video data to the receiving terminal.
According to an embodiment of the present invention, the detection module 2 includes a primary detection module 21 and a secondary detection module 22, where the primary detection module 21 determines whether each datagram is complete according to a frame check sequence FCS of a frame tail of each datagram in the third data, and if not, selects to discard the datagram; the secondary detection module 22 judges whether each datagram received has an error code according to the checksum of the IP/UDP layer of each datagram, and if so, discards the datagram.
According to an embodiment of the present invention, the system further includes a parameter module 8, where the parameter module 8 is connected to the offloading module 3, and is configured to store feature information of different types of data; the shunting module 3 acquires feature information of different types of data, and shunts fourth data according to the acquired feature information to obtain first video data, audio data and auxiliary information data; the characteristic information includes an IP address, a UDP port number, and load type information.
According to an embodiment of the present invention, the system further comprises a storage module 7, wherein the storage module 7 is connected to the control module 5 and is used for storing the identification information received by the control module 5; the control module 5 compares each piece of received identification information with the identification information stored in the storage module 7, if the identification information exists, the identification information is not stored, and control information containing redundant information is generated; if the identification information does not exist, the identification information is stored in the storage module 7, and control information which does not contain redundant information is generated; when the filtering module 6 receives the control information containing the redundant information, deleting the video datagram corresponding to the control information to obtain second video data; when the filtering module 6 receives the control information that does not include the redundant information, the video datagram corresponding to the control information is not processed, and the second video data is obtained.
According to an embodiment of the present invention, the mobile terminal further includes a storage module 7, where the identification information includes a time stamp and a serial number; the control module 5 receives the identification information and generates comparison information according to the identification information, wherein the comparison information comprises address information generated according to the low n bits of the serial number and data information generated according to the time tag and the high m bits of the serial number; the storage module 7 is connected with the control module 5 and used for storing data information; the address information is associated with a storage location in the storage module 7.
After the control module 5 generates the comparison information according to the received identification information, comparing the data information in the comparison information with the data information stored in the storage module 7 at the storage position corresponding to the address information in the comparison information, if the data information exists, not storing the data information, and simultaneously generating the control information containing redundant information; if the data information does not exist, storing the data information into the storage position, and generating control information which does not contain redundant information; the control module 5 regularly clears the comparison data exceeding the specified time; the specified time refers to the maximum time difference between the first data transmitted by the main path and the second data transmitted by the standby path.
A method for filtering IP video main and standby data comprises the following steps: a first step S1, receiving first data transmitted by a main path and second data transmitted by a standby path, and merging the first data and the second data to obtain third data, where the third data is formed by splicing all datagrams in the first data and the second data; a second step S2, receiving the third data and performing error detection on each datagram, and deleting the datagram with error in the third data to obtain fourth data.
A third step S3 of receiving and distributing the fourth data to obtain first video data composed of video datagrams, audio data composed of audio datagrams, and auxiliary information data composed of auxiliary information datagrams, and transmitting the audio data and the auxiliary information data to the receiving terminal; a fourth step S4, receiving and analyzing the first video data to obtain identification information of each video datagram in the first video data; a fifth step S5 of receiving the identification information, confirming the repeated identification information, and generating control information; a sixth step S6, receiving the first video data and the control information, deleting the repeated video datagrams in the first video data according to the control information to obtain second video data, and transmitting the second video data to the receiving terminal.
According to an embodiment of the present invention, in the second step S2, the third data is received and error detection is performed on the third data, where the first detection includes first-level detection and second-level detection, the first-level detection determines whether each datagram is complete according to a frame check sequence FCS of a frame end of each datagram in the third data, and if there is an error, discarding is selected; and the secondary detection judges whether the error code exists in each received datagram according to the checksum of the IP/UDP layer of each datagram, and selects to discard if the error exists.
According to one embodiment of the invention, the method further comprises storing characteristic information of different types of data; acquiring feature information of different types of data, and shunting fourth data according to the acquired feature information to obtain first video data, audio data and auxiliary information data; the characteristic information includes an IP address, a UDP port number, and load type information.
According to one embodiment of the present invention, identification information is stored; comparing each received identification information with the stored identification information, if the identification information exists, not storing the identification information, and simultaneously generating control information containing redundant information; if the control information does not exist, the identification information is stored, and control information which does not contain redundant information is generated at the same time; when control information containing redundant information is received, deleting the video datagram corresponding to the control information to obtain second video data; and when the control information which does not contain the redundant information is received, the video datagram corresponding to the control information is not processed, and the second video data is obtained.
According to one embodiment of the present invention, the identification information includes a time stamp and a serial number; receiving identification information, and generating comparison information according to the identification information, wherein the comparison information comprises address information generated according to the low n bits of the serial number and data information generated according to the time tag and the high m bits of the serial number; storing the data information; after generating comparison information according to the received identification information, comparing data information in the comparison information with data information stored in a storage position corresponding to address information in the comparison information, if the data information exists, not storing the data information, and simultaneously generating control information containing redundant information; if the data information does not exist, storing the data information into the storage position, and generating control information which does not contain redundant information; clearing the comparison data exceeding the specified time at regular time; the specified time refers to the maximum time difference between the first data transmitted by the main path and the second data transmitted by the standby path.
The invention can carry out redundancy filtering on the received data transmitted by the main path and the standby path before the receiving terminal processes the video data, and provides the receiving terminal with a path of complete video data, thereby greatly reducing the data processing amount of the receiving terminal; when the redundant data is filtered, the time information and the serial number of each datagram are extracted, and the comparison information is generated according to the time information and the serial number for comparison, so that redundant data packets are identified and then deleted, video content does not need to be compared, and the data processing amount can be greatly reduced; according to the invention, the address information is set in the comparison information, and the address information is associated with the storage position in the storage module, so that the comparison information can be directly compared with the comparison data of the corresponding position, the workload of data comparison can be reduced, and the comparison efficiency is improved.
Drawings
Fig. 1 is a schematic diagram of a connection structure of an IP-based video active/standby data filtering system.
Fig. 2 is a schematic structural diagram of a detection module.
Fig. 3 is a schematic flow chart illustrating steps of a method for filtering primary and standby IP video data.
Detailed Description
In the following detailed description of the preferred embodiments of the invention, reference is made to the components and techniques in order that the advantages and features of the invention may be readily understood, and readily appreciated, when appropriately set forth. The following description is an embodiment of the claimed invention, and other embodiments related to the claims not specifically described also fall within the scope of the claims. Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the IP-based video active/standby data filtering system includes a merging module 1, a detection module 2, a parameter module 8, a splitting module 3, an analysis module 4, a control module 5, a storage module 7, and a filtering module 6. The modules are connected as a whole as shown in fig. 1.
In this embodiment, the merging module 1 is respectively connected to two completely independent high-speed networks, one of the two completely independent high-speed networks is used as a main path, the other is used as a standby path, the same data transmitted by the first data transmitted by the main path and the second data transmitted by the standby path at the data transmitting end are both datagrams after IP video, that is, datagrams obtained by encapsulating an 8K video based on the SMPTE ST 2110 protocol.
The merging module 1 receives first data transmitted by a main path and second data transmitted by a standby path, merges the first data and the second data to obtain third data, the third data is formed by splicing all datagrams in the first data and the second data, and the datagrams in the third data are arranged according to the time sequence of the datagrams in the received first data and the datagrams in the second data.
For example, data transmitted from the main path is referred to as a data, data transmitted from the standby path is referred to as B data, and the a data includes datagram a 1 、A 2 The B data includes datagram B 1 、B 2 The data A and the data B enter a merging module 1, the merging module 1 merges all the data reports contained in the data A and the data B into data C according to the receiving time sequence of the data reports in the first data and the data reports in the second data, and the data C comprises the data report A 1 、B 1 、A 2 、B 2 And the C data is the third data. Meanwhile, the received data packets are arranged according to the principle that the first data is before and the second data is after.
The detection module 2 is connected with the merging module 1 and is used for receiving the third data, detecting the third data, deleting error datagrams in the third data to obtain fourth data, deleting error datagrams transmitted through a high-speed network through the detection of the detection module 2, and reducing the processing capacity of subsequent modules.
As shown in fig. 2, the detection module 2 includes a first-stage detection module 21 and a second-stage detection module 22, and performs error detection on the third data transmitted from the merging module 1 by using a two-stage error detection mechanism, where the first-stage detection module 21 determines whether each datagram is complete according to a frame check sequence FCS of a frame tail of each datagram in the third data, and if not, selects to discard the datagram, otherwise, retains the datagram; the secondary detection module 22 judges whether each datagram is received with an error code according to the checksum of the IP/UDP layer of each datagram, and if so, discards the datagram, otherwise, retains the datagram.
For example, the third data includes datagram A 1 、B 1 、A 2 、B 2 After the detection module 2 receives the third data, the first-stage detection module 21 performs first-stage detection on the third data to detect a 2 If the datagram is not complete, delete A 2 Datagram, then secondary detection is carried out to detect B 1 If the datagram contains error code, deleting B 1 Datagram, get containing datagram A 1 、B 2 The fourth data of (1).
Because the received data after being transmitted by the high-speed network is easy to be incomplete or have error codes, the detection module 2 adopts a two-stage error detection mechanism to detect the third data, if any one of the two-stage error detection mechanism detects that an error exists in the third data, the datagram containing the error in the third data is selected to be discarded, and the reliable detection of the third data is realized through the two-stage detection.
The parameter module 8 is connected to the distribution module 3, and is configured to store feature information of different types of data, such as feature information including video datagrams, audio datagrams, and auxiliary information datagrams, where the feature information of different types of data in the parameter module 8 is preset and stored by the system in advance, and provide the feature information of different types of data to the distribution module 3.
The characteristic information includes an IP address, a UDP port number, and load type information.
The distribution module 3 is respectively connected with the detection module 2 and the parameter module 8, obtains the characteristic information of different types of data from the parameter module 8, distributes the fourth data according to the obtained characteristic information to obtain the first video data consisting of video datagrams, the audio data consisting of audio datagrams and the auxiliary information data consisting of auxiliary information datagrams, and transmits the audio data and the auxiliary information data to the receiving terminal.
The splitting refers to a process of classifying video datagrams, audio datagrams, and auxiliary information datagrams in the fourth data after identifying the video datagrams, the audio datagrams, and the auxiliary information datagrams to obtain the first video data, the audio data, and the auxiliary information data.
The parsing module 4 receives the first video data transmitted by the splitting module 3, parses the identification information corresponding to each datagram in the first video data according to an RTP protocol to obtain the identification information corresponding to each datagram in the first video data, transmits the first video data to the filtering module 6, and transmits the identification information to the control module 5.
The RTP protocol is a real-time transport protocol, and is used for providing an end-to-end real-time transport service for a plurality of multimedia data requiring real-time transport, such as voice, images, and the like, in an IP network.
The identification information comprises time labels and serial numbers, wherein the time labels of all the datagrams are the same and the serial numbers are different for the same frame of the video picture; the time stamps of the datagrams are not the same for different frames of a video picture; the time label and sequence number of the same datagram transmitted by the main path and the standby path respectively are completely the same, so the time label and sequence number are the unique identification of each video datagram.
The storage module 7 is connected with the control module 5 and is used for storing the identification information received by the control module 5; the control module 5 compares each piece of received identification information with identification information stored in the storage module 7, and if the same identification information exists, the identification information is not stored, and control information containing redundant information is generated; if not, the identification information is stored in the storage module 7, and control information not containing redundant information is generated.
In one embodiment of the present invention, the identification information includes a time stamp and a serial number; after receiving the identification information, the control module 5 generates comparison information according to the identification information, wherein the comparison information includes address information generated according to the low n bits of the serial number and data information generated according to the time tag and the high m bits of the serial number, and the address information is associated with the storage position of the storage module 7 for storing the data information; after the control module 5 generates the comparison information according to the received identification information, comparing the data information in the comparison information with the data information stored in the storage module 7 at the storage position corresponding to the address information in the comparison information, if the data information exists, not storing the data information, and simultaneously generating the control information containing redundant information; if not, the data information is stored in the storage position, and control information without redundant information is generated.
The address information is set in the comparison information, the address information is associated with the storage position of the data information stored in the storage module 7, when the data information in the comparison information is compared, the address information can be directly compared with the data information of the corresponding position in the storage module 7 according to the address information, repeated comparison is avoided, the comparison efficiency can be improved, and the workload is reduced.
The filtering module 6 is connected to the parsing module 4 and the control module 5, respectively, and is configured to receive the first video data transmitted by the parsing module 4 and the control information transmitted by the control module 5, and when the filtering module 6 receives the control information including redundant information, delete the video datagram corresponding to the control information to obtain second video data, otherwise, receive the control information not including the redundant information, and not delete the video datagram corresponding to the control information to obtain the second video data.
In addition, the control module 5 regularly clears the comparison data which is in the storage module 7 and exceeds the specified time range, so as to avoid the cross with the comparison information outside the specified time range and the error judgment.
For example, the control module 5 generates the comparison information d using the time stamp and the serial number i Each of the comparison information d i Including the time of arrivalData information s generated by cross-tag and serial number i And address information z generated from the sequence number i The control module 5 first compares the comparison information d i Address information z in i Finding the address information z in the memory module 7 i Data information s stored in corresponding position i
If the position has no data information s i If the video datagram does not appear in the specified time range, the control module 5 determines that the corresponding video datagram does not belong to the redundant video datagram, generates control information without a redundant backup identifier, and sends the data information s i Address information z stored in memory module 7 i A corresponding position; if there is contrast data s at the position i If the video datagram is already present within the predetermined time range, the control module 5 determines that the corresponding video datagram belongs to the redundant datagram and generates control information containing the redundant backup identifier.
The same datagram may be received with a time difference due to the transmission speed of the main network and the backup network, and in the present embodiment, the predetermined time Δ is set T For the maximum time difference of main path and standby path video IP datagram transmission, the time label interval of each frame video picture is T gap
The control module 5 analyzes the data information generated by the time label transmitted by the module 4, and the bit width w of the data information is log 2 ((Δ T +T gap )/T gap ) The result of (2) is to take an integer upwards, formula log 2 ((Δ T +T gap )/T gap ) In Δ T Is added with a T gap In order to set a frame idle time for clearing the memory module 7 of excess delta T Data information in a time range.
The storage module 7 is internally provided with a plurality of storage units, each storage unit is used for storing identification information of a video datagram corresponding to one frame of video picture, and the number of the storage units is greater than the number of video frames with a phase difference when the main path and the standby path transmit data.
E.g. time of main and standby transmissionThe inter-difference is 0.1 second, the difference between the main path and the standby path in 0.1 second is 6 frames of video image data, one frame of video image comprises 100 data reports, 7 storage units are arranged in the storage module 7, each storage unit comprises 100 cells, each cell corresponds to one address information, the address corresponding to each cell is set to correspond to the cell serial number, namely the address corresponding to the nth cell is set to be z n
Initially, all the memory cells in the memory module 7 are empty, and when the control module 5 receives the first identification information of the video datagram of the first frame of video, the comparison information d is generated 1 Comparison information d 1 In which data information s is contained 1 And address information z 1 In the first memory location of the memory module 7, the address information z is looked up 1 Data information s stored in the corresponding first cell 1 If there is no data information s in the first cell 1 Data information s is converted 1 And storing the control information into the first unit cell and generating the control information without redundant data.
When the control module 5 receives the second identification information, the comparison information d is generated 2 Comparison information d 2 In which address information z is contained 2 The address information z is looked up in the first memory location of the memory module 7 2 Data information s is stored in the corresponding second unit cell 2 Then the data information s is not stored 2 And generating control information containing redundant information, sequentially processing the received time information and the sequence number, when the control module 5 receives the first identification information of the video datagram of the second frame of video, starting comparison from the second storage unit of the storage module 7, sequentially going backwards, and continuing comparison from the first storage unit until the data information in the storage module 7 is cleared at a specified time.
In the IP transmission of the 8K video, the data volume of the video data is very large, most of transmission bandwidth is occupied during transmission, and resources occupied during processing of terminal equipment are large; the data volume of the audio data and the auxiliary information data is small, only a small part of bandwidth is occupied during transmission, and resources occupied during processing of the terminal equipment are very small. According to the invention, before the receiving terminal processes the video data, the redundancy filtering is carried out on the video data in the received data transmitted by the main path and the standby path, so that one path of complete video data is provided for the receiving terminal, and the processing amount of the receiving terminal on the 8K video data can be greatly reduced.
The control module 5 is based on the requirement of the maximum time difference between the main path transmission and the standby path transmission in practical application and the data bus bit width d of the storage module 7 w And address bus bit width a w The time labels and the serial numbers transmitted by the analysis module 4 are flexibly converted into data information and address information with optimal bit width, so as to meet the pursuit of the practical maximum utilization of resources.
The redundant data report is deleted through the processing of the filtering module 6, and the purpose of filtering the redundant data report is realized. Therefore, the receiving terminal only needs to process the second video data, the audio data and the auxiliary information data and then play the second video data, the audio data and the auxiliary information data.
Fig. 3 is a flow chart illustrating steps of the method for filtering the main/standby IP video data.
As shown in fig. 3, the method for filtering the active/standby IP video data includes the following steps: a first step S1, receiving first data transmitted by the main path and second data transmitted by the standby path, and merging the first data and the second data to obtain third data, where the third data is formed by splicing all datagrams in the first data and the second data; a second step S2, receiving the third data and performing error detection on each datagram, and deleting the datagram with error in the third data to obtain fourth data.
A third step S3 of receiving and distributing the fourth data to obtain first video data composed of video datagrams, audio data composed of audio datagrams, and auxiliary information data composed of auxiliary information datagrams, and transmitting the audio data and the auxiliary information data to the receiving terminal; a fourth step S4, receiving the first video data and parsing the first video data to obtain the identification information of each video datagram in the first video data.
A fifth step S5 of receiving the identification information, confirming the repeated identification information, and generating control information; a sixth step S6, receiving the first video data and the control information, deleting the repeated video datagrams in the first video data according to the control information to obtain second video data, and transmitting the second video data to the receiving terminal.
As a modified example, in the second step S2, the error detection performed on the third data includes primary detection and secondary detection, where the primary detection determines whether each datagram is complete according to the frame check sequence FCS of the frame tail of each datagram in the third data, and if there is an error, the datagram is discarded; and the second-level detection judges whether the error code exists in each received datagram according to the checksum of the IP/UDP layer of each datagram, and selects to discard if the error exists.
In this embodiment, the method further includes storing feature information of different types of data; acquiring feature information of different types of data, and shunting fourth data according to the acquired feature information to obtain first video data, audio data and auxiliary information data; the characteristic information comprises IP addresses, UDP port numbers and load type information of different types of data.
In the embodiment, the comparison data exceeding the specified time is cleared regularly; the specified time refers to the maximum time difference between the first data transmitted by the main path and the second data transmitted by the standby path.
In this embodiment, identification information is stored; comparing each received identification information with the stored identification information, if the identification information exists, not storing the identification information, and simultaneously generating control information containing redundant information; if the control information does not exist, the identification information is stored, and control information which does not contain redundant information is generated at the same time; when control information containing redundant information is received, deleting the video datagram corresponding to the control information to obtain second video data; and when the control information which does not contain the redundant information is received, the video datagram corresponding to the control information is not processed, and the second video data is obtained.
In one embodiment of the present invention, the identification information includes a time stamp and a serial number; receiving identification information, and generating comparison information according to the identification information, wherein the comparison information comprises address information generated according to the low n bits of the serial number and data information generated according to the time tag and the high m bits of the serial number; the data information is stored.
After generating comparison information according to the received identification information, comparing data information in the comparison information with data information stored in a storage position corresponding to address information in the comparison information, if the data information exists, not storing the data information, and simultaneously generating control information containing redundant information; if the data information does not exist, storing the data information into the storage position, and generating control information which does not contain redundant information; clearing the comparison data exceeding the specified time at regular time; the specified time refers to the maximum time difference between the first data transmitted by the main path and the second data transmitted by the standby path.
The invention can carry out redundancy filtering on the received data transmitted by the main path and the standby path before the receiving terminal processes the video data, and provides the receiving terminal with a path of complete video data, thereby greatly reducing the data processing amount of the receiving terminal; when the redundant data is filtered, the time information and the serial number of each datagram are extracted, and the time information and the serial number are generated into comparison information to be compared, so that redundant data packets are identified and then deleted, video content does not need to be compared, and data processing amount can be greatly reduced; according to the invention, the address information is set in the comparison information, and the address information is associated with the storage position of the storage data information in the storage module, so that the comparison information can be directly compared with the comparison data at the corresponding position, the workload of data comparison can be reduced, and the comparison efficiency is improved.
It should be noted that the present embodiment is only illustrated by the transmitted data in SMPTE ST 2110 format, and that video data satisfying other formats including time stamps and sequence numbers that can be transmitted by IP is also applicable to the present invention, and the above-described embodiments illustrate rather than limit the present invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim.

Claims (10)

1. An IP video active/standby data filtering system is characterized by comprising a merging module (1), a detection module (2), a shunting module (3), an analysis module (4), a control module (5) and a filtering module (6),
the merging module (1) is respectively connected with the main path and the standby path, and is used for receiving first data transmitted by the main path and second data transmitted by the standby path, merging the first data and the second data to obtain third data, wherein the third data is formed by splicing all datagrams in the first data and the second data;
the detection module (2) is connected with the merging module (1) and is used for receiving the third data, carrying out error detection on each datagram of the third data, and deleting the datagram with errors in the third data to obtain fourth data;
the distribution module (3) is connected with the detection module (2) and is used for receiving and distributing fourth data to obtain first video data consisting of video datagrams, audio data consisting of audio datagrams and auxiliary information data consisting of auxiliary information datagrams, and transmitting the audio data and the auxiliary information data to a receiving terminal;
the analysis module (4) is connected with the distribution module (3) and is used for receiving the first video data and analyzing the first video data to obtain the identification information of each video datagram in the first video data;
the control module (5) is connected with the analysis module (4) and used for receiving the identification information, confirming the repeated identification information and generating control information;
the filtering module (6) is respectively connected with the analyzing module (4) and the control module (5) and is used for receiving the first video data and the control information, deleting repeated video datagrams in the first video data according to the control information to obtain second video data, and transmitting the second video data to the receiving terminal.
2. The IP video active/standby data filtering system according to claim 1, wherein the detection module (2) comprises a primary detection module (21) and a secondary detection module (22),
the first-stage detection module (21) judges whether each datagram is complete according to a frame check sequence FCS of the frame tail of each datagram in the third data, and if the datagram is incomplete, discarding is selected;
and the secondary detection module (22) judges whether each received datagram has an error code according to the checksum of the IP/UDP layer of each datagram, and selects to discard if the error code exists.
3. The active-standby video data filtering system according to claim 1, further comprising a parameter module (8),
the parameter module (8) is connected with the shunting module (3) and is used for storing characteristic information of different types of data;
the distribution module (3) acquires the characteristic information of different types of data, and distributes the fourth data according to the acquired characteristic information to obtain first video data, audio data and auxiliary information data;
the characteristic information includes an IP address, a UDP port number, and load type information.
4. IP-based video active-standby data filtering system according to any of claims 1 to 3, characterized by further comprising a storage module (7),
the storage module (7) is connected with the control module (5) and is used for storing the identification information received by the control module (5);
the control module (5) compares each piece of received identification information with identification information stored in the storage module (7), if the identification information exists, the identification information is not stored, and control information containing redundant information is generated; if the comparison information does not exist, the comparison information is stored in a storage module (7), and control information which does not contain redundant information is generated at the same time;
when the filtering module (6) receives the control information containing the redundant information, deleting the video datagram corresponding to the control information to obtain second video data;
and when the filtering module (6) receives the control information which does not contain the redundant information, the video datagram corresponding to the control information is not processed, and the second video data is obtained.
5. IP-based video active-standby data filtering system according to any of claims 1 to 3, characterized by further comprising a storage module (7),
the identification information comprises a time label and a serial number;
the control module (5) receives the identification information and generates comparison information according to the identification information, wherein the comparison information comprises address information generated according to the low n bits of the serial number and data information generated according to the time tag and the high m bits of the serial number;
the storage module (7) is connected with the control module (5) and is used for storing data information;
the address information is associated with a storage location in a storage module (7);
after the control module (5) generates comparison information according to the received identification information, comparing the data information in the comparison information with the data information stored in the storage module (7) at the storage position corresponding to the address information in the comparison information, if the data information exists, not storing the data information, and simultaneously generating control information containing redundant information; if the data information does not exist, storing the data information into the storage position, and generating control information which does not contain redundant information;
the control module (5) regularly clears the comparison data exceeding the specified time;
the specified time is the maximum time difference between the first data transmitted by the main path and the second data transmitted by the standby path.
6. A method for filtering IP video main and standby data is characterized by comprising the following steps:
a first step (S1) of receiving first data transmitted by a main path and second data transmitted by a standby path, and merging the first data and the second data to obtain third data, wherein the third data is formed by splicing all datagrams in the first data and the second data;
a second step (S2) of receiving the third data and performing error detection on each datagram thereof, and deleting a datagram having an error in the third data to obtain fourth data;
a third step (S3) of receiving and distributing the fourth data to obtain first video data consisting of video datagrams, audio data consisting of audio datagrams, and auxiliary information data consisting of auxiliary information datagrams, and transmitting the audio data and the auxiliary information data to the receiving terminal;
a fourth step (S4) of receiving the first video data and analyzing the first video data to obtain identification information of each video datagram in the first video data;
a fifth step (S5) of receiving the identification information, confirming the repeated identification information, and generating control information;
and a sixth step (S6) of receiving the first video data and the control information, deleting repeated video datagrams in the first video data according to the control information to obtain second video data, and transmitting the second video data to the receiving terminal.
7. The IP video active/standby data filtering method according to claim 6, wherein in the second step (S2), the third data is received and error detection is performed, including primary detection and secondary detection,
the first-stage detection judges whether each datagram is complete or not according to a frame check sequence FCS of the frame tail of each datagram in the third data, and if errors exist, discarding is selected;
and the secondary detection judges whether the error code exists in each received datagram according to the checksum of the IP/UDP layer of each datagram, and selects to discard if the error exists.
8. The IP video active/standby data filtering method according to claim 6, further comprising,
storing characteristic information of different types of data;
acquiring feature information of different types of data, and shunting fourth data according to the acquired feature information to obtain first video data, audio data and auxiliary information data;
the characteristic information includes an IP address, a UDP port number, and load type information.
9. The IP video active/standby data filtering method according to any one of claims 6 to 8,
storing the identification information;
comparing each received identification information with the stored identification information, if the identification information exists, not storing the identification information, and simultaneously generating control information containing redundant information; if the control information does not exist, the identification information is stored, and control information which does not contain redundant information is generated at the same time;
when control information containing redundant information is received, deleting the video datagram corresponding to the control information to obtain second video data;
and when the control information which does not contain the redundant information is received, the video datagram corresponding to the control information is not processed, and the second video data is obtained.
10. The IP video active/standby data filtering method according to any one of claims 6 to 8,
the identification information comprises a time label and a serial number;
receiving identification information, and generating comparison information according to the identification information, wherein the comparison information comprises address information generated according to the low n bits of the serial number and data information generated according to the time tag and the high m bits of the serial number;
storing the data information;
after generating comparison information according to the received identification information, comparing data information in the comparison information with data information stored in a storage position corresponding to address information in the comparison information, if the data information exists, not storing the data information, and simultaneously generating control information containing redundant information; if the data information does not exist, storing the data information into the storage position, and generating control information which does not contain redundant information;
clearing the comparison data exceeding the specified time at regular time;
the specified time refers to the maximum time difference between the first data transmitted by the main path and the second data transmitted by the standby path.
CN202210357446.4A 2022-04-02 2022-04-02 IP video main and standby data filtering system and filtering method Active CN114866848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210357446.4A CN114866848B (en) 2022-04-02 2022-04-02 IP video main and standby data filtering system and filtering method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210357446.4A CN114866848B (en) 2022-04-02 2022-04-02 IP video main and standby data filtering system and filtering method

Publications (2)

Publication Number Publication Date
CN114866848A true CN114866848A (en) 2022-08-05
CN114866848B CN114866848B (en) 2023-01-06

Family

ID=82629954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210357446.4A Active CN114866848B (en) 2022-04-02 2022-04-02 IP video main and standby data filtering system and filtering method

Country Status (1)

Country Link
CN (1) CN114866848B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008047080A1 (en) * 2006-10-16 2008-04-24 British Telecommunications Public Limited Company Video transmission method and system
CN101729887A (en) * 2008-10-16 2010-06-09 国家广播电影电视总局广播科学研究院 Data transmission method and data transmission device of digital broadcasting system
CN105791128A (en) * 2016-01-28 2016-07-20 东南大学 IP message receiving processing method and device
CN109412756A (en) * 2018-11-09 2019-03-01 广州美凯信息技术股份有限公司 A kind of double-link backup method, system and storage medium based on optical fiber 4KHDR ultra high-definition transmission of video
CN109672929A (en) * 2018-12-14 2019-04-23 中国联合网络通信集团有限公司 A kind of detection method and equipment of video traffic message
CN209088973U (en) * 2018-11-09 2019-07-09 广州美凯信息技术股份有限公司 A kind of dual link standby system based on optical fiber 4KHDR ultra high-definition transmission of video
CN110113662A (en) * 2019-04-18 2019-08-09 浙江工业大学 A kind of video monitor client system adapting to multiple network situation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008047080A1 (en) * 2006-10-16 2008-04-24 British Telecommunications Public Limited Company Video transmission method and system
CN101729887A (en) * 2008-10-16 2010-06-09 国家广播电影电视总局广播科学研究院 Data transmission method and data transmission device of digital broadcasting system
CN105791128A (en) * 2016-01-28 2016-07-20 东南大学 IP message receiving processing method and device
CN109412756A (en) * 2018-11-09 2019-03-01 广州美凯信息技术股份有限公司 A kind of double-link backup method, system and storage medium based on optical fiber 4KHDR ultra high-definition transmission of video
CN209088973U (en) * 2018-11-09 2019-07-09 广州美凯信息技术股份有限公司 A kind of dual link standby system based on optical fiber 4KHDR ultra high-definition transmission of video
CN109672929A (en) * 2018-12-14 2019-04-23 中国联合网络通信集团有限公司 A kind of detection method and equipment of video traffic message
CN110113662A (en) * 2019-04-18 2019-08-09 浙江工业大学 A kind of video monitor client system adapting to multiple network situation

Also Published As

Publication number Publication date
CN114866848B (en) 2023-01-06

Similar Documents

Publication Publication Date Title
CA2442439C (en) Packet transmission system and packet reception system
US9246630B2 (en) Method, device, and system for forward error correction
US9294590B2 (en) Frame conversion apparatus for converting controller area network frame into ethernet frame and frame conversion method thereof
US20100050058A1 (en) Method and device for transmitting and receiving data packets
KR20210038959A (en) Service transmission method, equipment and computer storage medium
CN110086850B (en) File processing method and video network disk system
CN110381030B (en) Method and device for processing synchronization request
CN111787349B (en) Data caching method, device, equipment and medium
CN108965220B (en) Method and system for synchronizing conference control right
US20060198373A1 (en) Communication system
CN109842821A (en) A kind of method and apparatus of video data transmission
CN109802992B (en) Method and device for reading and writing resource change log
CN109151061B (en) Data storage method and device
CN110120885B (en) Method and device for processing equipment state information
CN109302384B (en) Data processing method and system
CN111193966A (en) Audio data transmission method and device, computer equipment and storage medium
CN114866848B (en) IP video main and standby data filtering system and filtering method
CN109802990B (en) Resource log reading and writing method and device for reducing data redundancy
CN109587524B (en) Method and device for synchronizing video networking resources to Internet terminal
CN109861929B (en) Data caching processing method and device
CN109167965B (en) Data processing method and device
CN111787368A (en) Server testing method and device
CN109889775B (en) Data timeout processing method and device
CN111478880A (en) Data processing method and device
EP2395727A1 (en) Data transport container, source device, destination device and method for transferring different types of data

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