A kind of dual link standby system based on optical fiber 4KHDR ultra high-definition transmission of video
Technical field
The utility model relates to data redundancy backup fields, more particularly to a kind of optical fiber 4KHDR ultra high-definition video that is based on to pass
Defeated dual link standby system.
Background technique
In communication engineering, redundancy is pointed out in system security and reliability etc. the considerations of, artificially to some passes
Key member or function carry out duplicate configuration.When system jam, for example a certain equipment is damaged, the portion of redundant configuration
Part can be used as redundant, intervene and undertake the work of trouble unit in time, thus reduce the fault time of system.Redundancy is used for especially
Emergency processing.Redundancy can reside in different level, such as network redundancy, server redundancy, disk redundancy, data redundancy.
Currently, optical fiber 4KHDR ultra high-definition Video transmission system is the view of HDR (high dynamic range technology) ultra high-definition resolution ratio
Frequency carry out encoding and decoding mode simultaneously transmitted at a distance by fiber medium, realization HDR ultra high-definition signal remotely show, signal
The functions such as switching, picture segmentation and video wall.The backup of its signal redundancy is the means that guarantee system safety and stability runs without interruption,
Thus become more and more important using the redundancy technique of high efficiency, low cost.Comparing traditional signal backup mode is using chain
Road backup, when link backup is exactly that the connection between a point and b point only has a route (A line), when failure a point and b point it
Between can not just communicate, be then just further added by route (B line) between a point and b point, when A line when something goes wrong, can be used
B line keeps the communication between a point and b point.When using link backup technology, it is active link that a wherein link, which need to be arranged, separately
Outer one is then backup link.When active link failure, reserve link is automatically switched to.In this process, it needs in real time
Detect active link state.When active link failure, often needed from detection active link state auto-switching to backup link
Will at least a few tens of milliseconds time, this means that the data transmission of link will appear the interruption of at least a few tens of milliseconds, causes to lead
When standby link switches, video pictures can just restore after blank screen several seconds.At the same time, when active link restores, system is still real
When detect active link state, when detecting active link energy normal use, backup link automatically switches to active link, at this time
Can still there is a problem of above-mentioned same.Based on this, a kind of sound, transmission of video redundancy backup system are provided, can guarantee data
The problem of not interrupting transmission display, being current urgent need to resolve.
Utility model content
For overcome the deficiencies in the prior art, one of the purpose of this utility model is to provide a kind of based on optical fiber 4KHDR
The dual link standby system of ultra high-definition transmission of video can guarantee that video data does not interrupt transmission display.
One of the purpose of this utility model adopts the following technical scheme that realization:
A kind of dual link standby system based on optical fiber 4KHDR ultra high-definition transmission of video, including video server, link are standby
Part transmitter and link backup receiver, the data that the link backup transmitter is used to upload the video server carry out
It is handled after coded data packet by redundancy backup and is sent to the link backup receiver, the chain from two optical fiber interfaces respectively
Backup receiver in road is for obtaining view, the consistent data packet of audio data, the data packet from two different links simultaneously respectively
For a kind of identified with link redundancy the label and for identification data packet of the serial number of data packet arrival time;Either band
There are the label and the data packet of the serial number of data packet arrival time for identification of another link redundancy mark;Either without chain
The label of road Redundant representations and the data packet of serial number;The link backup receiver is distinguished real-time detection and is received from both links
Data packet whether have label, first using the data packet of not label as effective data packets upload process;For having label
Data packet, extract its serial number, serial number corresponding with the data packet having been received is compared, and judges current data packet
Whether received mistake, if so, the data packet is abandoned, if it is not, being then used as effective data packets upload process;The link backup
Transmitter includes the first FPGA unit, and first FPGA unit is connected with HDMI2.0 interface, 1G network interface, 3.5mm simulation
Audio interface, USB2.0 interface, infrared output interface, infrared input interface, RS232 interface, first FPGA unit are used for
The type signal that do not have to received is subjected to coded data packet;The link backup transmitter includes the second FPGA unit, described
Second FPGA unit is used to receive the data packet of the first FPGA unit output, carries out link redundancy backup processing to data packet
After be sent to the link backup receiver.
The two of the purpose of this utility model are to provide a kind of dual link based on optical fiber 4KHDR ultra high-definition transmission of video standby
Part system can guarantee that video data does not interrupt transmission display.
The two of the purpose of this utility model adopt the following technical scheme that realization:
A kind of dual link standby system based on optical fiber 4KHDR ultra high-definition transmission of video, including the first video server,
Two video servers, the first link backup transmitter, the second link backup transmitter, the first active and standby engine, the second active and standby engine,
First link backup receiver and the second link backup receiver, first video server, the second video server are sent
Data it is consistent, the data progress coded number that the first link backup transmitter is used to upload first video server
The described first active and standby engine and described second active and standby is sent to from two optical fiber interfaces respectively according to handling after packet by redundancy backup
Engine, data of the second link backup transmitter for simultaneously uploading second video server carry out coded data
It is handled after packet by redundancy backup and is sent to the described first active and standby engine from two optical fiber interfaces respectively and described second active and standby draws
It holds up;The first link backup receiver is obtained from the described first active and standby engine, the second active and standby engine from described respectively
The data packet of first video server, second video server, the view for the data packet that two different links obtain, audio number
According to consistent, the data packet is the label identified with a kind of link redundancy and the serial number of data packet arrival time for identification
Data packet;Label either with another link redundancy mark and for identification serial number of data packet arrival time
Data packet;The data packet of label and serial number either without link redundancy mark;The second link backup receiver difference
It obtains and is taken from first video server, second video from the described first active and standby engine, the second active and standby engine
The data packet of business device, the view for the data packet that two different links obtain, audio data are consistent, the data packet band of one of link
There is the label of link redundancy mark and the serial number of data packet arrival time, the data packet band of another link are useful for identification
In the serial number of identification data packet arrival time.
Further, the first link backup receiver and the second link backup receiver are separately connected different displays
Device.
Compared with prior art, the utility model has the beneficial effects that:
A kind of dual link standby system based on optical fiber 4KHDR ultra high-definition transmission of video of the utility model, utilizes double-strand
Road sends video, packets of audio data, using the data packet of not label as effective data packets upload process, for having label
Data packet judges whether the received data packet for corresponding to the serial number excessively by serial number, if it is not, then uploading the data packet
Processing, as soon as in this way, when link failure, the data packet on another chain of stations road can no-delay ground pass and be decoded display,
Data-transmission interruptions are avoided, guarantee that video data does not interrupt transmission display.
Detailed description of the invention
Fig. 1 is a kind of dual link standby system link backup based on optical fiber 4KHDR ultra high-definition transmission of video of utility model
The method flow diagram of receiver;
Fig. 2 is that a kind of each module of dual link standby system based on optical fiber 4KHDR ultra high-definition transmission of video of utility model connects
Map interlinking;
Fig. 3 is link backup transmitter architecture schematic diagram;
Fig. 4 is another each module connection figure of dual link standby system based on optical fiber 4KHDR ultra high-definition transmission of video.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the utility model, it should be noted that
Under the premise of not colliding, it can be formed in any combination between various embodiments described below or between each technical characteristic new
Embodiment.
Embodiment one:
Dual link standby system as shown in Figure 2, including video server, link backup transmitter and link backup receive
Device, the data which is used to upload the video server pass through at redundancy backup after carrying out coded data packet
Reason is sent to the link backup receiver from two optical fiber interfaces respectively, and the link backup receiver is for realizing as shown in Figure 1
Double-link backup method.
The present embodiment proposes dual link protection mechanism, and no active link and backup link are distinguished, without identifying link state.
Successively judge that link moves towards by the data packet of both links, the back mechanism that no active/standby server, main/slave link are distinguished, link
Trend depends entirely on the data speed packet of both links.When ensuring any link failure, it is automatic that zero propagation moment is seamless
Switch an other link, video pictures are normally shown, are switched without blank screen, without splashette, user's unaware guarantees that data are not interrupted
Transmission display.Video server sends video data, audio data etc. by link backup transmitter, link backup transmitter
As shown in figure 3, the link backup transmitter includes the first FPGA unit and the second FPGA unit, which is connected with
HDMI2.0 interface, 1G network interface, 3.5mm analog audio interface, USB2.0 interface, infrared output interface, infrared input connect
Mouth, RS232 interface, what which was used to receive does not have to type signal progress coded data packet.First FPGA
Unit is by the HDMI2.0 vision signal received, analog audio signal, 1G network signal, USB2.0 signal, RS232 signal, red
After outer input/output signal etc. does not have to type signal progress coded data packet, data packet is transferred to the second FPGA unit, this second
FPGA unit is used to receive the data packet of first FPGA unit output, sends after carrying out link redundancy backup processing to data packet
To the link backup receiver.Second FPGA unit adds the label identified with link redundancy and identification to the data packet to be sent
Whether the serial number of data packet arrival time receives and judges packet sequence convenient for following link backup receiver and receive.
In addition, CRC need to be recalculated for subsequent inspection data error of transmission.After completing above-mentioned link redundancy backup processing, link is standby
Part transmitter sends data packet by two optical fiber interfaces respectively, it should be noted that two optical fiber interfaces send the number of data
It is consistent according to packet.
Link backup receiver receives the data packet of different links from two ports respectively, carries out (the cyclic redundancy school CRC
Test Cyclic Redundancy Check) it examines, CRC check is a kind of according to the production of the data such as network packet or computer document
A kind of hash function of raw brief fixed digit check code is mainly used to detect or verify data transmission or may go out after saving
Existing mistake.It is to make error detection using the principle of division and remainder.In data transmission procedure, no matter Transmission system
Design it is how perfect again, mistake always exists, and this mistake may result in one or more frame transmitted on the link
It is destroyed and (bit error occurs, 0) 0, which becomes 1 or 1, becomes, so that reciever receives the data of mistake.To improve as far as possible
Reciever receives the accuracy of data, needs to carry out error detection to data before recipient receives data, and if only if inspection
It is received when the result of survey is correct and really accepts data just now.There are many modes of detection, seldom repeats here.CRC check will
The data of error abandon, and correctly enter and handle in next step.Due to the data packet that link backup transmitter is sent, for one kind
The label of link redundancy mark and for identification data packet of the serial number of data packet arrival time;Either without link redundancy mark
The label of knowledge and the data packet of serial number.Since receiving end can receive the data of both links transmission simultaneously, also can receive
The data of single-link transmitting terminal, therefore, the data packet that two ports of link backup receiver receive, it may be possible to one kind
The data packet of the label of link redundancy mark and for identification data packet and label and serial number without link redundancy mark, can also
It can be the data packets that both links are the label that no link redundancy identifies and serial number.It is also likely to be that both links have
The label of link redundancy mark and for identification data packet.The link backup receiver number that first detection both links receive respectively
It directly gives a layer service using the data packet of not label as effective data packets according to whether packet has label and is decoded
Processing.For there is the data packet of label, its serial number is extracted first, with being recorded in the suitable of the local data packet received
Serial number compares, and judges whether the data packet being currently received is received and crosses, abandons if received mistake, do not connect
It received and is decoded processing with regard to submitting to upper layer as effective data packets, and serial number is recorded in local.Pass through two in this way
The comparison of link real time data, when the corresponding link failure of the data packet of not no label, link backup receiver is received at this time
The data packet of redundancy backup link extracts the serial number for having the data packet of label, is compared by record to record is locally stored and is not had
There is the data packet of corresponding serial number, then processing is decoded using the data packet as effective data packets upload at this time, with this
Realize the redundancy backup of video, audio data.It should be noted that due to consideration that link backup receiver local storage space
Limited, the present embodiment is managed for being recorded in the serial number of local data accepted packet according to the principle of first in first out,
When local recording space is full, the corresponding data packet of new serial number just squeezes the corresponding data packet of serial number come earliest
Out.
A kind of dual link standby system based on optical fiber 4KHDR ultra high-definition transmission of video of the invention, is sent out using dual link
Video, packets of audio data are sent, using the data packet of not label as effective data packets upload process, for having the data of label
Packet, judges whether the received data packet for corresponding to the serial number excessively by serial number, if it is not, then will be at the data packet upload
Reason, as soon as in this way, when link failure, the data packet on another chain of stations road can no-delay ground pass and be decoded display, keep away
Exempt from data-transmission interruptions, guarantees that video data does not interrupt transmission display.
Embodiment two:
Embodiment two discloses another dual link standby system based on optical fiber 4KHDR ultra high-definition transmission of video, such as Fig. 4
It is shown comprising the first video server, the second video server, the first link backup transmitter, the second link backup are sent
Device, the first active and standby engine, the second active and standby engine, the first link backup receiver and the second link backup receiver, first view
The data that frequency server, the second video server are sent are consistent, which is used to take first video
Business device upload data carry out coded data packet after by redundancy backup processing respectively from two optical fiber interfaces be sent to this first
Active and standby engine and the second active and standby engine, number of the second link backup transmitter for simultaneously uploading second video server
According to carrying out being sent to the first active and standby engine and the from two optical fiber interfaces respectively by redundancy backup processing after coded data packet
Two active and standby engines;The first link backup receiver obtains data packet from the first active and standby engine, the second active and standby engine respectively, real
Double-link backup method now as shown in Figure 1, the second link backup receiver is respectively from the first active and standby engine, second active and standby
Engine obtains data packet, realizes double-link backup method as shown in Figure 1.
Different from the dual link standby system of embodiment one, the dual link standby system of the present embodiment is in the superfluous of embodiment one
Increase mostly a kind of redundancy backup mode of video data in remaining back mechanism, it is ensured that link backup receiver is in a Video service
When the data link failure of device, data packet can be obtained by another video server data link.In Fig. 4, the first video
Server, the second video server send consistent data to corresponding link backup transmitter respectively, and the first link is standby
Part transmitter receives the data of the first video server, and different types of data is carried out after coded data packet to the data to be sent
Packet is plus the label and the serial number of identification data packet arrival time identified with link redundancy.Then data packet is passed through into two light
Fine interface divides both links to send data packet, wherein an active and standby engine of link connection first, another link connection second is main
Standby engine;Similarly the second link backup transmitter receives the data of the second video server, and different types of data is encoded
The label and the serial number of identification data packet arrival time identified with link redundancy is added after data packet to the data packet to be sent.
Then divide both links to send data packet by two optical fiber interfaces data packet, draw wherein a link connection first is active and standby
It holds up, another active and standby engine of link connection second.After first active and standby engine, the second active and standby engine are by exchange control processing, the
One link backup receiver respectively from both links receive from the first video server, the second video server video,
Audio data, due to the data packet that link backup transmitter is sent, for the label identified with a kind of link redundancy and for knowing
The data packet of the serial number of other data packet arrival time;The data packet of label and serial number either without link redundancy mark.
Since receiving end can receive the data of both links transmission simultaneously, it also can receive the data of single-link transmitting terminal, therefore, chain
The data packet that two ports of road backup receiver receive, it may be possible to a kind of link redundancy mark label and for knowing
The data packet of other data packet and label and serial number without link redundancy mark, it is also possible to which both links are no link redundancies
The label of mark and the data packet of serial number.Be also likely to be both links be with link redundancy mark label and for knowing
Other data packet.Whether the first link backup receiver data packet that first detection both links receive respectively has label, will not have
There is the data packet of label as effective data packets, directly gives a layer service and be decoded processing.For there is the data of label
Packet, extracts its serial number first, and the serial number with being recorded in the local data packet received compares, and judgement is current
Whether the data packet received is received to be crossed, and is abandoned if received mistake, is not received just as effective data packets
It submits to upper layer and is decoded processing, and serial number is recorded in local.It is compared in this way by both links real time data, when
When not having the corresponding link failure of the data packet of label, link backup receiver extracts the sequence for having the data packet of label at this time
Number, it is compared by record to the data packet recorded without corresponding serial number is locally stored, at this time then using the data packet as effectively
Data packet upload is decoded processing, and the redundancy backup of video, audio data can be realized with this.Similarly the second link backup connects
Device is received also to receive from both links from the first video server, the video of the second video server, audio data respectively,
Data processing principle is identical as the first link backup receiver, seldom repeats here.It should be noted that the first active and standby engine,
Second active and standby engine is handled by exchange control, in this way, the data packet that two backup receivers are received by two ports, it can
Can include following three kinds of situations:
1, wherein label and for identification data packet arrival time of the data packet of a link with link redundancy mark
Serial number, the data packet of another link without Redundant representations label and serial number;
2, wherein label and for identification data packet arrival time of the data packet of a link with link redundancy mark
Serial number, another link has the label and the sequence of data packet arrival time for identification of another link redundancy mark
Number;
3, the label and data packet arrival time for identification that wherein link has another link redundancy mark
Serial number, the data packet of another link without Redundant representations label and serial number.
4, the data packet of both links is without the label of Redundant representations and serial number.
The first link backup receiver and the second link backup receiver are separately connected different displays, pass through decoding
It can be in showing video on display after processing.Video, packets of audio data are sent using dual link, above-mentioned 3 kinds of situations are connect
The data packet received is led to using the data packet of not label as effective data packets upload process for having the data packet of label
It crosses serial number and judges whether the received data packet for corresponding to the serial number excessively, if it is not, then by the data packet upload process, this
Sample, as soon as when link failure, the data packet on another chain of stations road can no-delay ground pass and be decoded display, avoid data
Transmission guarantees that video data does not interrupt transmission display.
Above embodiment is only preferred embodiments of the present invention, cannot be protected with this to limit the utility model
Range, the variation of any unsubstantiality that those skilled in the art is done on the basis of the utility model and replacement belong to
In the utility model range claimed.