CN110086564A - Error control method, device and system based on data transmission - Google Patents

Error control method, device and system based on data transmission Download PDF

Info

Publication number
CN110086564A
CN110086564A CN201810077956.XA CN201810077956A CN110086564A CN 110086564 A CN110086564 A CN 110086564A CN 201810077956 A CN201810077956 A CN 201810077956A CN 110086564 A CN110086564 A CN 110086564A
Authority
CN
China
Prior art keywords
data
data stream
stream
packet
original
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
CN201810077956.XA
Other languages
Chinese (zh)
Other versions
CN110086564B (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.)
Yuneec Shanghai Electronic Technology Co Ltd
Original Assignee
Yuneec Shanghai 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 Yuneec Shanghai Electronic Technology Co Ltd filed Critical Yuneec Shanghai Electronic Technology Co Ltd
Priority to CN201810077956.XA priority Critical patent/CN110086564B/en
Publication of CN110086564A publication Critical patent/CN110086564A/en
Application granted granted Critical
Publication of CN110086564B publication Critical patent/CN110086564B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0015Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0015Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
    • H04L1/0017Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy where the mode-switching is based on Quality of Service requirement
    • H04L1/0018Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy where the mode-switching is based on Quality of Service requirement based on latency requirement

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The invention discloses a kind of error control methods based on data transmission, device and system.This method comprises: generating reference data stream based on original data stream, includes N number of raw data packets in original data stream, include N number of reference data packet in reference data stream, and raw data packets are identical as corresponding reference data packet;According to initial data flow delay reference data stream;Reference data stream after original data stream and delay is merged into transmitting data stream and sends transmitting data stream.Error control method that the kind provided according to embodiments of the present invention is transmitted based on data, device and system, it is possible to reduce the bit error rate in data transmission procedure, the reliability of improve data transfer.

Description

Error control method, device and system based on data transmission
Technical field
The present invention relates to field of data transmission, more particularly to the error control method based on data transmission, device and system.
Background technique
With the development of data transmission technology, what is transmitted in transmission process is a section data flow, and data flow is by multiple Data packet group is at wherein data packet is by the data cell in transmitting as data.Wherein, data packet is made of packet header and backpack body. Information in data packet is represented as a binary sequence of symhols, these binary sequence of symhols after ovennodulation, with The form of data packet, which is fed in transmission channel, to be transmitted.
However, the data of transmission will receive environmental disturbances or the physics by transmission medium lacks in data transmission procedure Sunken influence makes data-bag lost or error.
Especially during wireless transmission, receive ground since there is wireless transmission process signal to propagate open, transmitting The features such as managing the complexity and diversity of environment, is highly prone to the influence of ambient noise.It is random that ambient noise can be such that data generate Mistake or burst error.In random error, mistake is independent from each other, incoherent.In burst error, mistake is bunchiness Occur, and has correlation between mistake, such as several continuous data-bag losts in transmission process.
Summary of the invention
The embodiment of the present invention provides error control method transmit based on data, device and system, it is possible to reduce data biography The bit error rate during defeated, the reliability of improve data transfer.
One side according to an embodiment of the present invention provides a kind of error control method based on data transmission, comprising:
Reference data stream is generated based on original data stream, includes N number of raw data packets, the ginseng in the original data stream Examining in data flow includes N number of reference data packet, and the raw data packets are identical as the corresponding reference data packet;
According to reference data stream described in the initial data flow delay;
Reference data stream after the original data stream and delay is merged into transmitting data stream and sends the transmission number According to stream.
One side according to an embodiment of the present invention, it is described to be based on before original data stream generation reference data stream, further includes:
It is cbr (constant bit rate) data flow or dynamic code rate data flow, wherein dynamic code rate by the original data stream smoothing buffer The highest code rate of data flow is to preset.
One side according to an embodiment of the present invention, it is described to be based on before original data stream generation reference data stream, further includes:
The raw data packets of the original data stream are subjected to label.
One side according to an embodiment of the present invention, the reference data stream according to the initial data flow delay, packet It includes:
According to the original data stream by the reference data flow delay regular time section;
Or,
According to the original data stream by the data packet of the reference data flow delay fixed quantity.
One side according to an embodiment of the present invention, the raw data packets by the original data stream carry out label, packet It includes:
It is carried out being incremented by label according to the sequence of raw data packets in the original data stream.
One side according to an embodiment of the present invention provides a kind of ECD error control device based on data transmission, comprising:
Generation module includes N number of original in the original data stream for generating reference data stream based on original data stream Data packet, includes N number of reference data packet in the reference data stream, and the raw data packets and the corresponding reference data It wraps identical;
Postponement module is used for the reference data stream according to the initial data flow delay;
Sending module, it is concurrent for the reference data stream after the original data stream and delay to be merged into transmitting data stream Send the transmitting data stream.
One side according to an embodiment of the present invention, before the generation module, further includes:
Smoothing buffer module, for being cbr (constant bit rate) data flow or dynamic code rate number by the original data stream smoothing buffer According to stream, wherein the highest code rate of dynamic code rate data flow is to preset.
One side according to an embodiment of the present invention, before the generation module, further includes:
Labeling module, for the raw data packets of the original data stream to be carried out label.
One side according to an embodiment of the present invention, the Postponement module, comprising:
First delay submodule, for according to the original data stream by the reference data flow delay regular time Section;
Or,
Second delay submodule, for according to the original data stream by the number of the reference data flow delay fixed quantity According to packet.
One side according to an embodiment of the present invention, the labeling module, comprising:
Label submodule carries out being incremented by label according to the sequence of raw data packets in the original data stream.
According to another aspect of an embodiment of the present invention, a kind of error control method based on data transmission is provided, comprising:
Transmitting data stream is received, and isolates raw data packets and reference data packet from the transmitting data stream, wherein It include multiple raw data packets and multiple reference data packets in the transmitting data stream;
It determines initial data packet loss or raw data packets error, and records the information or error of the raw data packets of loss Raw data packets information;
Corresponding reference data is determined according to the information of the information of the raw data packets of loss or the raw data packets of error Packet is not lost or corresponding reference data packet does not malfunction;
The raw data packets of the loss are replaced using corresponding reference data packet or replace the original of the error Data packet.
According to another aspect of an embodiment of the present invention, described to isolate raw data packets and ginseng from the transmitting data stream Examine data packet, comprising:
According to the label of the label of the raw data packets and the reference data packet isolate the raw data packets and The reference data packet.
According to another aspect of an embodiment of the present invention, a kind of ECD error control device based on data transmission is provided, comprising:
Receiving module isolates raw data packets and ginseng for receiving transmitting data stream, and from the transmitting data stream Data packet is examined, wherein including multiple raw data packets and multiple reference data packets in the transmitting data stream;
First determining module for determining initial data packet loss or raw data packets error, and records the original of loss The information of the raw data packets of the information or error of data packet;
Second determining module, the information for the raw data packets according to the information or error of the raw data packets of loss are true Fixed corresponding reference data packet is not lost or corresponding reference data packet does not malfunction;
Replacement module, for replacing raw data packets or the replacement institute of the loss using corresponding reference data packet State the raw data packets of error.
According to another aspect of an embodiment of the present invention, the receiving module, comprising:
Submodule is separated, for isolating institute according to the label of the raw data packets and the label of the reference data packet State raw data packets and the reference data packet.
It is according to an embodiment of the present invention in another aspect, providing a kind of system, comprising: memory, processor, communication interface and Bus;Memory, processor and communication interface are connected by bus and complete mutual communication;Memory is for storing program Code;Processor runs journey corresponding with executable program code by reading the executable program code stored in memory Sequence, for executing a kind of error control method or according to the present invention based on data transmission provided according to an aspect of the present invention On the other hand a kind of error control method based on data transmission provided.
The error control method based on data transmission according to embodiments of the present invention, device and system, according to original number Generating reference data stream after the error of discovery data packet or loss according to stream can be directly replaced using reference data packet, be not required to It wants feedback channel and real-time is high;According to initial data flow delay reference data stream, original data stream is asynchronous with reference data stream Transmission, avoids original data stream data-bag lost identical with reference data stream or error.
Error control method provided in an embodiment of the present invention based on data transmission, device and system, have do not need it is anti- The characteristics of feedback channel, real-time be high, error detection mode and error correcting system are simple and efficient, transmission process high reliablity, and can be effective Control data transmission mistake, avoid the factors such as ambient noise on data transmission caused by influence, and be suitable for different bandwidth Channel carry out data transmission.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, for those of ordinary skill in the art, without creative efforts, also Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 is the flow chart for showing the error control method according to an embodiment of the invention based on data transmission;
Fig. 2 be show another embodiment of the present invention provides based on data transmission error control method flow chart;
Fig. 3 is the structural schematic diagram of the ECD error control device according to an embodiment of the invention based on data transmission;
Fig. 4 is the structural schematic diagram of the ECD error control device according to another embodiment of the present invention based on data transmission;
Fig. 5 is to show the example that the accuracy control system according to an embodiment of the present invention based on data transmission may be implemented The structure chart of property hardware structure.
Specific embodiment
The feature and exemplary embodiment of various aspects of the invention is described more fully below, in order to make mesh of the invention , technical solution and advantage be more clearly understood, with reference to the accompanying drawings and embodiments, the present invention is further retouched in detail It states.It should be understood that specific embodiment described herein is only configured to explain the present invention, it is not configured as limiting the present invention. To those skilled in the art, the present invention can be real in the case where not needing some details in these details It applies.Below the description of embodiment is used for the purpose of better understanding the present invention to provide by showing example of the invention.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including There is also other identical elements in the process, method, article or equipment of the element.
Error control method includes forward error correction mode and automatic repeat request mode.
In forward error correction mode, transmitting terminal transmission can be with the binary element of error correction.Receiving end receives binary code After member, it can be found that mistake and correction mistake.But decoding device is more complicated, needs largely to calculate in decoding process.
In automatic repeat request mode, transmitting terminal sends the symbol it can be found that mistake.Receiving end receives binary system After symbol, judge whether binary element is wrong according to coding rule.If wrong, receiving end is notified by feedback channel Transmitting terminal is retransmitted, until being properly received.This error control method need feedback channel support, and real-time compared with Difference.
In order to better understand the present invention, below in conjunction with attached drawing, idle benefit according to an embodiment of the present invention is described in detail Repay control gain adjusting method therefore, the device and system of device, it should be noted that these embodiments are not to disclose for limiting the present invention Range.
Fig. 1 is the flow chart for showing the error control method according to an embodiment of the invention based on data transmission.Such as Fig. 1 Shown, the step in Fig. 1 can be applied to the transmitting terminal of data transmission.The Error Control based on data transmission in the present embodiment Method 100 the following steps are included:
S110 generates reference data stream based on original data stream, includes N number of raw data packets, reference in original data stream It include N number of reference data packet in data flow, and raw data packets are identical as corresponding reference data packet, wherein N is positive integer.
In S110, original data stream is made of N number of raw data packets.Make an example, it is original in original data stream Data packet be followed successively by from front to back the first raw data packets, the second raw data packets ... and N raw data packets.
The raw data packets of raw data packets or replacement error that reference data stream is used to lose for original data stream replacement, It is made of N number of reference data packet.Make an example, reference data packet is followed successively by the first reference number from front to back in reference data stream According to packet, the second reference data packet ... and N reference data packet.
Raw data packets are identical as corresponding reference data packet in S110, make an example, and the first raw data packets are corresponding First reference data packet, the corresponding second reference data packet ... ... of the second raw data packets, the corresponding N reference of N raw data packets Data packet.
Raw data packets and reference data packet are all made of a binary sequence of symhols.Due to the data packet that begins in S110 It is identical as corresponding reference data packet, binary sequence of symhols and binary system in corresponding reference data packet in raw data packets Sequence of symhols it is identical.
Since raw data packets are identical as corresponding reference data packet, in the present invention will by taking raw data packets as an example into Row is specific to illustrate, and will not be described in great detail to reference data packet.
In some embodiments of the invention, original data stream can be transport stream (Transport Stream, TS stream), TS stream has good fault-tolerant ability.One entire TS stream is the transmission packet (Transport of 188 bytes by multiple length Packet, TS packet) it arranges, middle wrapping head length is 4 bytes, and the backpack body length for load information is 184 bytes.
S120, according to initial data flow delay reference data stream.
In some embodiments, S120 is specifically included:
According to original data stream by reference data flow delay regular time section.
Make an example, if it is t that original data stream, which starts sending time, reference data stream can be started into sending time Start sending time delay 100ms compared to original data stream.I.e. original data stream starts to send, and reference data stream starts after 1s It sends.At this point, N number of reference data Bao Jun is than initial data packet delay 100ms corresponding in original data stream in reference data stream Start to transmit.
Or, according to original data stream by the data packet of reference data flow delay fixed quantity.
Make an example, if raw data packets are followed successively by the first raw data packets, second from front to back in original data stream Raw data packets ... and N raw data packets;Reference data packet is followed successively by the first reference number from front to back in reference data stream According to packet, the second reference data packet ... and N reference data packet.It can set when third raw data packets in original data stream After starting transmission, the first reference data packet starts to send in reference data stream.
By S120, when the reference data stream after original data stream and delay is transmitted in a link simultaneously, if certain is for the moment The reference data stream packet loss after leading to original data stream and delay because of the influence of ambient noise is carved, because of original data stream and reference The data packet that data flow asynchronous transmission, original data stream and reference data stream lose or malfunction can't be identical.
Reference data stream after original data stream and delay is merged into transmitting data stream and sends transmission data by S130 Stream.
In S130, bandwidth refers to that the unit time can be by the data volume of link.Usually indicated with bps, i.e., it is per second pass The digit of defeated binary element.The transmission bandwidth that transmitting data stream needs is the transmission bandwidth and delay that original data stream needs The sum of transmission bandwidth of reference data stream afterwards.
In some embodiments, according to original data stream by after reference data flow delay regular time section, if will ginseng Examine traffic latency 100ms.After original data stream starts transmission, in 100ms, the first raw data packets and the second original are had sent Beginning data packet.After 100ms, the reference data stream after delay also starts to send reference data packet.At this point, number in transmitting data stream According to packet sequence be the first raw data packets, the second raw data packets, the first delayed data packet, third raw data packets ..., N raw data packets, N-1 delayed data packet, N delayed data packet.
In some embodiments, according to original data stream by the data packet of reference data flow delay fixed quantity, if delay Data flow just starts to send after original data stream has sent third data packet.At this time in transmitting data stream data packet it is suitable Sequence is the first raw data packets, the second raw data packets, third raw data packets, the first delayed data packet, the 4th initial data Packet ..., N raw data packets, N-2 delayed data packet, N-1 delayed data packet, N delayed data packet.
In some embodiments, the error control method based on data transmission of the embodiment of the present invention, before S110, also Include:
Original data stream smoothing buffer is cbr (constant bit rate) data flow or dynamic code rate data flow, wherein dynamic code by S140 The highest code rate of rate data flow is to preset.
In S140, cbr (constant bit rate) original data stream refers to the position for the binary element that each second exports in original data stream Number be it is identical, dynamic code rate original data stream refers to that the digit for the binary element that each second in original data stream exports is not It is identical.
In some embodiments, the highest code rate of smoothed out dynamic code rate original data stream is smooth preceding initial data The half of the highest code rate of stream.In subsequent process, after smoothed out dynamic code rate original data stream generates reference data stream, merge Transmitting data stream highest code rate be not more than original data stream highest code rate.
The raw data packets of original data stream are carried out label by S150.
In some embodiments, the raw data packets in original data stream are successively subjected to label, it is different to distinguish Raw data packets.
In some embodiments, the raw data packets of original data stream are subjected to label, comprising:
It is carried out being incremented by label according to the sequence of raw data packets in original data stream.
Make an example, if in original data stream, the sequence of raw data packets is followed successively by the first raw data packets, the second original Beginning data packet ... and N raw data packets.It can use count-up counter, by the first raw data packets marked as 1, second Raw data packets marked as 2 ..., N raw data packets are marked as N.
It should be noted that the sequence according to raw data packets in original data stream carry out be incremented by label the step of it Afterwards, according in the reference data stream of S110 generation, the label of reference data packet is identical as the label of corresponding raw data packets.
Make an example, if by the first raw data packets marked as 1, second raw data packets marked as 2 ..., N it is former Beginning, data packet was marked as N.Correspondingly, the first reference data packet marked as 1, second reference data packet marked as 2 ..., N ginseng Data packet is examined marked as N.
Error control method according to an embodiment of the present invention based on data transmission generates reference number according to original data stream According to stream, reference data stream can lose for replacement after initial data Stream Discovery packet loss or the raw data packets of error;According to original Traffic latency reference data stream, original data stream and reference data stream asynchronous transmission avoid the influence because of ambient noise, Original data stream data-bag lost identical with reference data stream or error;By smoothing buffer original data stream, after making merging The highest code rate of transmitting data stream can voluntarily be controlled by user.The Error Control based on data transmission through the embodiment of the present invention Method can effectively control the mistake of data transmission, avoid the factors such as ambient noise on influence caused by data transmission, provide The reliability of transmission process;And the channel for being suitable for different bandwidth carries out data transmission;Error correcting system is simple and efficient, Neng Goushi It is transmitted for various types data.
Fig. 2 be show another embodiment of the present invention provides based on data transmission error control method flow chart, such as Shown in Fig. 2, the step in Fig. 2 can be applied to the receiving end of data transmission.The mistake based on data transmission in the present embodiment Control method 200 the following steps are included:
S210 receives transmitting data stream, and isolates raw data packets and reference data packet from transmitting data stream, wherein It include multiple raw data packets and multiple reference data packets in transmitting data stream.
It in some embodiments of the invention, can be according to original number in transmitting data stream after receiving transmitting data stream Raw data packets and reference data packet are isolated according to the label of packet and the label of reference data packet.
Make an example, if data packet is successively in the transmitting data stream that receiving end receives are as follows: the 11st raw data packets, First reference data packet, twelve source acupoint beginning data packet, the second reference data packet, the 13rd raw data packets, third reference data Packet.Correspondingly, the label of data packet is successively in transmitting data stream are as follows: 11,1,12,2,13,3.A threshold value 10 can be set, it will Data packet of the label less than 10 is judged as reference data packet;Data packet by label greater than 10 is judged as raw data packets.
Make another example, if the label of data packet is followed successively by 11,12,1,2,4,14,15 in transmitting data stream.According to preceding The difference of label can separate raw data packets and reference data packet afterwards, if given threshold is 10, when front and back, label difference is big In or when being equal to 10, the corresponding data packet of biggish label is determined as raw data packets, the corresponding data packet of lesser label It is determined as reference data packet;When front and back label difference is less than 10, the corresponding data packet of front and back label be all reference data packet or Raw data packets can judge the type of data packet of label rearward according to the type of data packet of forward label.Make a tool The example of body, if the label of data packet is followed successively by 11,12,1,2,4,14,15 in transmitting data stream.Wherein, forward packet label It is 12, packet rearward is greater than 10 marked as the difference of 1, two packet label, and forward packet label is larger, so label 12 is corresponding Data packet be raw data packets, the corresponding data packet of label 1 be reference data packet.Label 1,2,4 adjacent differences are smaller than 10, Therefore 1,2,4 are the data packet of same type, because judging that the corresponding data packet of label 1 is reference data packet, label 2 It is all reference data packet with the corresponding data packet of label 4.
In some embodiments of the invention, raw data packets and reference data are isolated from transmitting data stream in S110 After packet, the raw data packets isolated and reference data packet are cached respectively, in order in subsequent process to raw data packets Replacement.
S220 determines initial data packet loss or raw data packets error, and records the information of the raw data packets of loss Or the information of the raw data packets of error.
In S220, confirm that the method for initial data packet loss can determine original by the label of adjacent raw data packets according to Beginning data-bag lost.Make an example, if the label for the raw data packets isolated in S210 is followed successively by 11,12,13,15.Sentence Disconnected raw data packets label is not incremental sequence, and then determines the initial data packet loss marked as 14.
In S220, the method for confirmation raw data packets error can be to wrap in the binary element in raw data packets Containing error-detecging code.Make an example, error-detecging code can be parity check code, square matrix code or bit interleaved parity code.Make one Specific example, 1 and 0 number must be odd number or even number in the binary element of raw data packets.
In some embodiments of the invention, initial data packet loss or raw data packets error are determined, then records loss Raw data packets label or error raw data packets label.
In some embodiments of the invention, confirm initial data packet loss or raw data packets error, then by original number It is cached according to packet and receiving end is waited to receive the identical reference data packet of raw data packets label.When confirmation receives and original When the identical reference data packet of beginning data packet label, the mistake of raw data packets is further controlled.
S230 determines corresponding reference according to the information of the information of the raw data packets of loss or the raw data packets of error Data packet is not lost or corresponding reference data packet does not malfunction.
In some embodiments of the invention, according to the labels of the raw data packets of the loss recorded in S220 or can go out The label of wrong raw data packets, determines whether the reference data packet of identical number is lost or whether malfunction.
It is determined in S230 in the method and S220 of reference data packet loss or determining reference data packet error and determines original number The method to malfunction according to packet loss or raw data packets is identical, and details are not described herein.
In some embodiments of the invention, it is lost if judging that the label for the reference data packet that receiving end receives all is greater than The label of the raw data packets of the raw data packets or error of mistake, it is determined that reference data packet identical with raw data packets label It loses.
In some embodiments of the invention, if confirmation reference data packet identical with the label of raw data packets lost When loss or reference data packet identical with the label of the raw data packets of error malfunction, no longer raw data packets will be replaced It changes, and the raw data packets cached in buffer is quickly emptied.
The raw data packets of S240, the raw data packets lost using the replacement of corresponding reference data packet or replacement error.
In some embodiments of the invention, when the raw data packets of loss or error are substituted in corresponding reference data packet Afterwards, the raw data packets cached in buffer will be emptied quickly.
The error control method based on data transmission according to embodiments of the present invention, can directly pass through the mark of data packet Number or data packet in include error-detecging code confirmation data packet whether lose or malfunction, error-detecting method is relatively simple;And discovery data It after packet error or loss, can be directly replaced using reference data packet, not need feedback channel and real-time is high.
With reference to the accompanying drawing 3 and attached drawing 4, be discussed in detail respectively with one embodiment of the invention provide based on data transmission Error control method 100 and another embodiment of the present invention provides based on data transmission error control method 200 it is corresponding ECD error control device based on data transmission.
Fig. 3 is the structural schematic diagram of the ECD error control device according to an embodiment of the invention based on data transmission.Such as Fig. 3 Shown, the ECD error control device 300 based on data transmission includes:
Generation module 310 includes N number of original in original data stream for generating reference data stream based on original data stream Data packet includes N number of reference data packet in reference data stream, and raw data packets are identical as corresponding reference data packet.
Postponement module 320, for according to initial data flow delay reference data stream.
Sending module 330, it is concurrent for the reference data stream after original data stream and delay to be merged into transmitting data stream Send transmitting data stream.
In some embodiments of the invention, before generation module 310, further includes:
Smoothing buffer module, for being cbr (constant bit rate) data flow or dynamic code rate data by original data stream smoothing buffer Stream, wherein the highest code rate of dynamic code rate data flow is to preset.
In some embodiments of the invention, before generation module 310, further includes:
Labeling module, for the raw data packets of original data stream to be carried out label.
In some embodiments of the invention, labeling module further include:
Label submodule carries out being incremented by label according to the sequence of raw data packets in original data stream.
In some embodiments of the invention, Postponement module 320, further includes:
First delay submodule, for according to original data stream by reference data flow delay regular time section.
Or the second delay submodule, for according to original data stream by the data packet of reference data flow delay fixed quantity.
The other details of ECD error control device according to an embodiment of the present invention based on data transmission are retouched with more than in conjunction with Fig. 1 The error control method based on data transmission that the embodiment according to the present invention stated provides is similar, and details are not described herein.
Fig. 4 is the structural schematic diagram of the ECD error control device according to another embodiment of the present invention based on data transmission.Such as Shown in Fig. 4, the ECD error control device 400 based on data transmission includes:
Receiving module 410 for receiving transmitting data stream, and isolates raw data packets and reference from transmitting data stream Data packet wherein includes multiple raw data packets and multiple reference data packets in transmitting data stream.
In some embodiments of the invention, receiving module 410 specifically include:
Submodule is separated, for isolating raw data packets according to the label of raw data packets and the label of reference data packet With reference data packet.
First determining module 420 for determining initial data packet loss or raw data packets error, and records the original of loss The information of the raw data packets of the information or error of beginning data packet.
Second determining module 430, for the letter according to the raw data packets of the information or error of the raw data packets of loss Breath determines that corresponding reference data packet is not lost or corresponding reference data packet does not malfunction.
Replacement module 440, what raw data packets or replacement for being lost using the replacement of corresponding reference data packet were malfunctioned Raw data packets.
The other details of ECD error control device according to an embodiment of the present invention based on data transmission are retouched with more than in conjunction with Fig. 2 The error control method based on data transmission that the embodiment another according to the present invention stated provides is similar, and details are not described herein.
The error control method and device according to an embodiment of the present invention transmitted based on data described in conjunction with Fig. 1 to Fig. 4 It can be realized by the accuracy control system that can be transmitted based on data.Fig. 5 is to show to can be realized base according to an embodiment of the present invention In the exemplary hardware architecture of the accuracy control system based on data transmission of the error control method and device of data transmission Structure chart.As shown in figure 5, based on data transmission accuracy control system 500 include input equipment 501, input interface 502, in Central processor 503, memory 504, output interface 505 and output equipment 506.Wherein, input interface 502, central processing unit 503, memory 504 and output interface 505 are connected with each other by bus 510, and input equipment 501 and output equipment 506 are distinguished Connect by input interface 502 and output interface 505 with bus 510, so with the accuracy control system 500 that is transmitted based on data Other assemblies connection.Specifically, input equipment 501 is received from external input information, and will be defeated by input interface 502 Enter information and is transmitted to central processing unit 503;Central processing unit 503 is based on the computer executable instructions stored in memory 504 Input information is handled to generate output information, output information is temporarily or permanently stored in memory 504, so Output information is transmitted to by output equipment 506 by output interface 505 afterwards;Output information is output to by output equipment 506 to be based on The outside of the accuracy control system 500 of data transmission is for users to use.
That is, the accuracy control system shown in fig. 5 based on data transmission also may be implemented as including: to be stored with The memory of computer executable instructions;And processor, the processor may be implemented when executing computer executable instructions The error control method and device transmitted based on data described in conjunction with Fig. 1 to Fig. 4.
In one embodiment, the accuracy control system 500 shown in fig. 5 based on data transmission may be implemented as wrapping Include: memory 505 is configured as storage program;Receiving unit 501 is configured as receiving the port flow letter of each network equipment Breath, the self-trapping warning information of Simple Network Management Protocol and port description information;Processor 503, is configured as in run memory The program of storage, to execute the error control method or another reality of the present invention based on data transmission of one embodiment of the invention offer The error control method based on data transmission of example offer is provided.
It should be clear that the invention is not limited to specific configuration described above and shown in figure and processing. For brevity, it is omitted here the detailed description to known method.In the above-described embodiments, several tools have been described and illustrated The step of body, is as example.But method process of the invention is not limited to described and illustrated specific steps, this field Technical staff can be variously modified, modification and addition after understanding spirit of the invention, or suitable between changing the step Sequence.
Functional block shown in structures described above block diagram can be implemented as hardware, software, firmware or their group It closes.When realizing in hardware, it may, for example, be electronic circuit, specific integrated circuit (ASIC), firmware appropriate, insert Part, function card etc..When being realized with software mode, element of the invention is used to execute program or the generation of required task Code section.Perhaps code segment can store in machine readable media program or the data-signal by carrying in carrier wave is passing Defeated medium or communication links are sent." machine readable media " may include any medium for capableing of storage or transmission information. The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), soft Disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can be via such as internet, inline The computer network of net etc. is downloaded.
It should also be noted that, the exemplary embodiment referred in the present invention, is retouched based on a series of step or device State certain methods or system.But the present invention is not limited to the sequence of above-mentioned steps, that is to say, that can be according in embodiment The sequence referred to executes step, may also be distinct from that the sequence in embodiment or several steps are performed simultaneously.
The above description is merely a specific embodiment, it is apparent to those skilled in the art that, For convenience of description and succinctly, the system, module of foregoing description and the specific work process of unit can refer to preceding method Corresponding process in embodiment, details are not described herein.It should be understood that scope of protection of the present invention is not limited thereto, it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or substitutions, These modifications or substitutions should be covered by the protection scope of the present invention.

Claims (15)

1. a kind of error control method based on data transmission, which is characterized in that the described method includes:
Reference data stream is generated based on original data stream, includes N number of raw data packets, the reference number in the original data stream According to including N number of reference data packet in stream, and the raw data packets are identical as the corresponding reference data packet;
According to reference data stream described in the initial data flow delay;
Reference data stream after the original data stream and delay is merged into transmitting data stream and sends the transmitting data stream.
2. the error control method according to claim 1 based on data transmission, which is characterized in that described to be based on original number Before stream generation reference data stream, further includes:
It is cbr (constant bit rate) data flow or dynamic code rate data flow, wherein dynamic code rate data by the original data stream smoothing buffer The highest code rate of stream is to preset.
3. the error control method according to claim 1 based on data transmission, which is characterized in that described to be based on original number Before stream generation reference data stream, further includes:
The raw data packets of the original data stream are subjected to label.
4. the error control method according to claim 1 based on data transmission, which is characterized in that described according to the original Reference data stream described in beginning traffic latency, comprising:
According to the original data stream by the reference data flow delay regular time section;
Or,
According to the original data stream by the data packet of the reference data flow delay fixed quantity.
5. it is according to claim 3 based on data transmission error control method, which is characterized in that it is described will be described original The raw data packets of data flow carry out label, comprising:
It is carried out being incremented by label according to the sequence of raw data packets in the original data stream.
6. a kind of ECD error control device based on data transmission, which is characterized in that described device includes:
Generation module includes N number of initial data in the original data stream for generating reference data stream based on original data stream Packet, includes N number of reference data packet in the reference data stream, and the raw data packets and the corresponding reference data packet phase Together;
Postponement module is used for the reference data stream according to the initial data flow delay;
Sending module, for the reference data stream after the original data stream and delay to be merged into transmitting data stream and sends institute State transmitting data stream.
7. it is according to claim 6 based on data transmission ECD error control device, which is characterized in that the generation module it Before, further includes:
Smoothing buffer module, for being cbr (constant bit rate) data flow or dynamic code rate data by the original data stream smoothing buffer Stream, wherein the highest code rate of dynamic code rate data flow is to preset.
8. it is according to claim 6 based on data transmission ECD error control device, which is characterized in that the generation module it Before, further includes:
Labeling module, for the raw data packets of the original data stream to be carried out label.
9. the ECD error control device according to claim 6 based on data transmission, which is characterized in that the Postponement module, Include:
First delay submodule, for according to the original data stream by the reference data flow delay regular time section;
Or,
Second delay submodule, for according to the original data stream by the data of the reference data flow delay fixed quantity Packet.
10. the ECD error control device according to claim 8 based on data transmission, which is characterized in that the labeling module, Include:
Label submodule carries out being incremented by label according to the sequence of raw data packets in the original data stream.
11. a kind of error control method based on data transmission, which is characterized in that the described method includes:
Transmitting data stream is received, and isolates raw data packets and reference data packet from the transmitting data stream, wherein described It include multiple raw data packets and multiple reference data packets in transmitting data stream;
It determines initial data packet loss or raw data packets error, and records the information of the raw data packets of loss or the original of error The information of beginning data packet;
Corresponding reference data Bao Wei is determined according to the information of the information of the raw data packets of loss or the raw data packets of error It loses or corresponding reference data packet does not malfunction;
The raw data packets of the loss or the initial data of the replacement error are replaced using corresponding reference data packet Packet.
12. the error control method according to claim 11 based on data transmission, which is characterized in that described from the biography Raw data packets and reference data packet are isolated in transmission of data stream, comprising:
Raw data packets and described are isolated according to the label of the label of the raw data packets and the reference data packet Reference data packet.
13. a kind of ECD error control device based on data transmission, which is characterized in that described device includes:
Receiving module isolates raw data packets and reference number for receiving transmitting data stream, and from the transmitting data stream According to packet, wherein including multiple raw data packets and multiple reference data packets in the transmitting data stream;
First determining module for determining initial data packet loss or raw data packets error, and records the initial data of loss The information of the raw data packets of the information or error of packet;
Second determining module, the information for the raw data packets according to the information or error of the raw data packets of loss determine phase The reference data packet answered is not lost or corresponding reference data packet does not malfunction;
Replacement module, the raw data packets or replacement for replacing the loss using corresponding reference data packet are described out Wrong raw data packets.
14. the ECD error control device according to claim 13 based on data transmission, which is characterized in that the reception mould Block, comprising:
Submodule is separated, for isolating the original according to the label of the raw data packets and the label of the reference data packet Beginning data packet and the reference data packet.
15. a kind of system, which is characterized in that the system comprises:
Memory, processor, communication interface and bus;
The memory, the processor are connected by the bus with the communication interface and complete mutual communication;
The memory is for storing program code;
The processor is run and the executable program by reading the executable program code stored in the memory The corresponding program of code, to require the Error Control based on data transmission described in 1-5 any claim for perform claim Method or with for perform claim require 11 or 12 described in based on data transmission error control method.
CN201810077956.XA 2018-01-26 2018-01-26 Error control method, device and system based on data transmission Active CN110086564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810077956.XA CN110086564B (en) 2018-01-26 2018-01-26 Error control method, device and system based on data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810077956.XA CN110086564B (en) 2018-01-26 2018-01-26 Error control method, device and system based on data transmission

Publications (2)

Publication Number Publication Date
CN110086564A true CN110086564A (en) 2019-08-02
CN110086564B CN110086564B (en) 2021-12-21

Family

ID=67412667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810077956.XA Active CN110086564B (en) 2018-01-26 2018-01-26 Error control method, device and system based on data transmission

Country Status (1)

Country Link
CN (1) CN110086564B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215435A (en) * 2010-04-02 2011-10-12 科腾科技(北京)有限公司 Push VOD (Video-On-Demand) system of digital television and push VOD method thereof
CN104967502A (en) * 2015-02-03 2015-10-07 深圳市腾讯计算机系统有限公司 Data sending method and apparatus, and data receiving method and apparatus
CN105208028A (en) * 2015-09-30 2015-12-30 北京金山安全软件有限公司 Data transmission method and related device and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215435A (en) * 2010-04-02 2011-10-12 科腾科技(北京)有限公司 Push VOD (Video-On-Demand) system of digital television and push VOD method thereof
CN104967502A (en) * 2015-02-03 2015-10-07 深圳市腾讯计算机系统有限公司 Data sending method and apparatus, and data receiving method and apparatus
CN105208028A (en) * 2015-09-30 2015-12-30 北京金山安全软件有限公司 Data transmission method and related device and equipment

Also Published As

Publication number Publication date
CN110086564B (en) 2021-12-21

Similar Documents

Publication Publication Date Title
US5128945A (en) Packet framing using cyclic redundancy checking
US7003710B2 (en) Communications method, communications apparatus and communications system using same communications apparatus
US8312362B1 (en) Determining data transmission error and/or checking or confirming such error determinations
US9654419B2 (en) Fabric channel control apparatus and method
CA2095054C (en) Error recovery in an information communication system
US11546088B2 (en) Check code processing method, electronic device and storage medium
CN102761509B (en) The receiving system of ofdm system and the method for reduction receiving system internal memory
KR20210064409A (en) Flexible ethernet data transmission method and apparatus
EP1258121B1 (en) Adaptive method and arrangement for implementing incremental redundancy in reception
EP1198105A2 (en) High speed transmission line interface
US7050468B2 (en) Multiplexed signal transmitter/receiver, communication system, and multiplexing transmission method
US9479277B2 (en) Mechanism for channel synchronization
JP5069399B2 (en) Method and apparatus for forwarding and recovering incoming data packets
US7215683B2 (en) Method and apparatus for protecting against packet losses in packet-oriented data transmission
US7360142B1 (en) Methods, architectures, circuits, software and systems for CRC determination
JP4260688B2 (en) Data transmission device, data transmission / reception system, data transmission device control method, and data transmission / reception system control method
CN103368703A (en) Data packet retransmission method, data packet receiving method and device
CN101051880B (en) Transmitting, receiving and repeating method and its device for data frame
CN110086564A (en) Error control method, device and system based on data transmission
US20050257117A1 (en) Method and circuit for determining an ending of an ethernet frame
JPWO2004064351A1 (en) Asynchronous transmission method and circuit thereof
CN113454935B (en) Line coding method and device
JPS61283241A (en) Data communication receiver
CN115086192A (en) Data processing method, device and system and monitoring card
CN107925557A (en) Identification code word for the rate adaptation version of data flow

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