CN110784285A - Transparent transmission data structure protection method, device, equipment and storage medium - Google Patents

Transparent transmission data structure protection method, device, equipment and storage medium Download PDF

Info

Publication number
CN110784285A
CN110784285A CN201910971137.4A CN201910971137A CN110784285A CN 110784285 A CN110784285 A CN 110784285A CN 201910971137 A CN201910971137 A CN 201910971137A CN 110784285 A CN110784285 A CN 110784285A
Authority
CN
China
Prior art keywords
transparent transmission
transmission data
fec
data frame
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910971137.4A
Other languages
Chinese (zh)
Other versions
CN110784285B (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.)
Shenzhen Si Kai Microtronics AS
Original Assignee
Shenzhen Si Kai Microtronics AS
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 Shenzhen Si Kai Microtronics AS filed Critical Shenzhen Si Kai Microtronics AS
Priority to CN201910971137.4A priority Critical patent/CN110784285B/en
Publication of CN110784285A publication Critical patent/CN110784285A/en
Application granted granted Critical
Publication of CN110784285B publication Critical patent/CN110784285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • 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/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
    • H04L1/0008Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length by supplementing frame payload, e.g. with padding bits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control

Landscapes

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

Abstract

The invention relates to the technical field of broadcasting, and discloses a method, a device, equipment and a storage medium for protecting a transparent transmission data structure, wherein the method comprises the following steps: receiving transparent transmission data; acquiring a transparent transmission data frame corresponding to the transparent transmission data; acquiring a Forward Error Correction (FEC) code word corresponding to the transparent transmission data frame; checking the FEC code words, and acquiring the transparent transmission data frames with FEC error codes in the transparent transmission data frames according to the checking result; processing the transparent transmission data frame with the FEC error code to obtain an effective transparent transmission data frame; and replacing the transparent transmission data frame with the FEC error code with the effective transparent transmission data frame.

Description

Transparent transmission data structure protection method, device, equipment and storage medium
Technical Field
The present invention relates to the field of broadcast technologies, and in particular, to a method, an apparatus, a device, and a storage medium for protecting a transparent transmission data structure
Background
An important mode of operation of digital broadcasting is data transparent transmission. Pass-through refers to the fact that the communication system does not care about the transmitted content, only takes charge of transmitting the content from the sender to the receiver, and does not change the content. The transparent transmission working mode enables the communication system and the transmission content to be mutually decoupled, the communication system does not need to care about the format of the specific content, and a content sender and a content receiver do not need to care about the specific transmission mode. Through transparent transmission, the digital broadcasting can conveniently support various types of data service broadcasting.
Generally, the digital broadcasting signal is continuously transmitted, which means that a transmission data rate is constant when the digital broadcasting is operated. While the types of digital broadcasting services are various, the data rate of these services is not necessarily exactly equal to the transmission data rate of digital broadcasting. Generally, the total service data rate is smaller than and close to the transmission data rate of digital broadcasting, so that the broadcasting bandwidth can be fully utilized without overflowing. Therefore, the data transmitted by the digital broadcast includes service data and padding data, and the receiving end of the digital broadcast needs to identify and discard the padding data. The prior art has two methods for inserting and identifying filling data: if the service data rate is constant and is less than the transmission data rate of the digital broadcast, the insertion rule of the filling data can be defined in advance, and the receiving end operates according to the defined rule. The method needs to appoint rules for specific services, and does not meet the requirements of transparent transmission on communication and content decoupling; the digital broadcasting encapsulates the service data again, and adds the information of 'filling data' and 'data structure description' in real time to form a new data frame structure. The receiving end analyzes the data frame according to the data structure description, extracts the service data and outputs the service data, and the transparent transmission effect is achieved.
Communication signals formed after data frames are modulated are inevitably affected by various conditions such as fading, interference, noise and the like when the communication signals are transmitted in a line or a space, and even error codes occur in the data frames carried in the signals. For the error code problem, there are two main technical approaches: ARQ (Automatic Repeat-reQuest), the receiver informs the error code situation to the sender through the reverse communication channel, let the sender resend the data segment with error code; FEC (forward error Correction), a sender adds redundancy check information to transmission data through an error Correction coding technique, so that the sent data has an error code recovery capability. And the receiver corrects the error codes possibly existing in the transmitted data through a decoding algorithm. ARQ is a feedback-based mechanism that is not applicable in unidirectional transmission systems such as digital broadcasting. Digital broadcasting can only deal with error problems using FEC techniques. Scattered random bit errors during transmission can be recovered by FEC decoding, and for bursty bit errors, especially bursty long continuous bit errors, FEC and interleaving techniques need to be combined for use. The cost of FEC techniques is the sacrifice of transmission data rate, since redundancy check information is added; the cost of interleaving is to sacrifice transmission delay because a set of codewords is buffered for processing. In the prior art, the transparent transmission data has more redundant data and larger time delay, and due to the complexity of the actual environment, a large number of error codes may occur even in a very close distance, which exceeds the recovery capability of the FEC, so that the error codes still exist in the data after FEC decoding.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for protecting a transparent transmission data structure, and aims to solve the technical problem that the error code recovery capability is poor due to more redundant data and larger time delay in the prior art.
In order to achieve the above object, the present invention provides a method for protecting a transparent transmission data structure, which comprises the following steps:
receiving transparent transmission data;
acquiring a transparent transmission data frame corresponding to the transparent transmission data;
acquiring a Forward Error Correction (FEC) code word corresponding to the transparent transmission data frame;
checking the FEC code words, and acquiring the transparent transmission data frames with FEC error codes in the transparent transmission data frames according to the checking result;
processing the transparent transmission data frame with the FEC error code to obtain an effective transparent transmission data frame;
and replacing the transparent transmission data frame with the FEC error code with the effective transparent transmission data frame to realize the protection of the transparent transmission data structure.
Preferably, the data is processed through a data sending end to obtain transparent transmission data;
and sending the transparent transmission data through a data sending end.
Preferably, the step of obtaining the transparent transmission data frame corresponding to the transparent transmission data specifically includes:
and acquiring data structure information, service data and filling data of the transparent transmission data, wherein the data structure information comprises service data length and FEC (forward error correction) check information.
And integrating the data structure information, the service data and the filling data to obtain a transparent transmission data frame corresponding to the transparent transmission data.
Preferably, the step of verifying the FEC code word and obtaining a transparent transmission data frame with an FEC error code in the transparent transmission data frame according to a verification result specifically includes:
acquiring FEC check information in the transparent transmission data frame;
acquiring an FEC codeword check bit corresponding to the FEC codeword;
and checking the FEC code word according to the FEC check information and the FEC code word check bit, marking the FEC code word which fails in check as an FEC error code, and acquiring a transparent transmission data frame with the FEC error code.
Preferably, the step of processing the transparent transmission data frame with the FEC error code to obtain an effective transparent transmission data frame specifically includes:
acquiring an FEC error code in a transparent transmission data frame with the FEC error code;
obtaining an FEC codeword which is successfully verified within a preset frame number range of the FEC error code;
and correcting the FEC error code according to the FEC code word which is successfully verified so as to obtain an effective transparent transmission data frame.
Preferably, after the step of correcting the FEC error code according to the FEC code word successfully verified to obtain the effective transparent data frame, the method further includes:
acquiring the service data length in the transparent transmission data frame corresponding to the FEC code word which is successfully verified;
calculating the effective service data length according to the service data length;
and taking the effective service data length as the service data length of the effective transparent transmission data frame.
Preferably, the step of replacing the transparent transmission data frame with the FEC error code with the effective transparent transmission data frame to protect the transparent transmission data structure specifically includes:
obtaining the effective service data length of the effective transparent transmission data frame;
and replacing the service data length of the transparent transmission data frame with the FEC error code with the effective service data length to realize the protection of the transparent transmission data structure.
In addition, in order to achieve the above object, the present invention further provides a transparent transmission data structure protection device, which is characterized in that the device includes:
the receiving module is used for receiving the transparent transmission data;
the reading module is used for acquiring a transparent transmission data frame corresponding to the transparent transmission data;
the extraction module is used for acquiring Forward Error Correction (FEC) code words corresponding to the transparent transmission data frames;
the check module is used for checking the FEC code words and acquiring the transparent transmission data frames with FEC error codes in the transparent transmission data frames according to the check result;
the processing module is used for processing the transparent transmission data frame with the FEC error code to obtain an effective transparent transmission data frame;
and the replacing module is used for replacing the transparent transmission data frame with the FEC error code with the effective transparent transmission data frame so as to realize the protection of the transparent transmission data structure.
In addition, to achieve the above object, the present invention further provides a transparent transmission data structure protection device, which is characterized in that the device includes: a memory, a processor, and a pass-through data structure protection program stored on the memory and executable on the processor, the pass-through data structure protection program configured to implement the steps of the pass-through data structure protection method as described above.
In addition, in order to achieve the above object, the present invention further provides a storage medium, wherein the storage medium stores a transparent transmission data structure protection program, and the transparent transmission data structure protection program, when executed by a processor, implements the steps of the transparent transmission data structure protection method as described above.
The invention provides a transparent transmission data structure protection method, which comprises the steps of receiving transparent transmission data, obtaining a transparent transmission data frame corresponding to the transparent transmission data, obtaining a Forward Error Correction (FEC) code word corresponding to the transparent transmission data frame, checking the FEC code word, obtaining a transparent transmission data frame with an FEC error code in the transparent transmission data frame according to a check result, processing the transparent transmission data frame with the FEC error code to obtain an effective transparent transmission data frame, replacing the transparent transmission data frame with the FEC error code to be the effective transparent transmission data frame, and recovering the FEC error code which fails in check to realize the protection of the transparent transmission data structure.
Drawings
Fig. 1 is a schematic structural diagram of a transparent data structure protection device of a hardware operating environment according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a transparent data structure protection method according to a first embodiment of the present invention.
Fig. 3 is a flowchart illustrating a transparent transmission data structure protection method according to a second embodiment of the present invention.
Fig. 4 is a flowchart illustrating a transparent transmission data structure protection method according to a third embodiment of the present invention.
Fig. 5 is a flowchart illustrating a transparent transmission data structure protection method according to a fourth embodiment of the present invention.
Fig. 6 is a flowchart illustrating a transparent transmission data structure protection method according to a fifth embodiment of the present invention.
Fig. 7 is a schematic diagram illustrating a structure of transparent transmission data frames and FEC codewords.
Fig. 8 is a block diagram of a transparent data structure protection device according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a transparent transmission data structure protection device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the electronic device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a passthrough data structure protection program.
In the electronic apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the electronic device of the present invention may be disposed in a transparent transmission data structure protection device, and the electronic device calls a transparent transmission data structure protection program stored in the memory 1005 through the processor 1001 and executes the transparent transmission data structure protection method provided in the embodiment of the present invention.
An embodiment of the present invention provides a method for protecting a transparent transmission data structure, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of a method for protecting a transparent transmission data structure according to the present invention.
In this embodiment, the transparent transmission data structure protection method includes the following steps:
step S10: receiving transparent transmission data;
step S20: acquiring a transparent transmission data frame corresponding to the transparent transmission data;
it is easy to understand that the data receiving end receives the transparent transmission data, the transparent transmission data is applied to signal data transmission including telephone, telegraph, broadcast, television and the like, and the data transmission is carried out in a data frame mode, so the data receiving end needs to acquire a corresponding data frame of the data in the transmission process according to the data information.
Step S30: acquiring a Forward Error Correction (FEC) code word corresponding to the transparent transmission data frame;
it should be noted that the FEC code word includes an FEC code word information bit and an FEC code word check bit, where the forward error correction FEC code word corresponding to the transparent transmission data frame means that the length of the transparent transmission data frame is the same as the length of the FEC code word information bit, and only under the condition that the lengths are the same, it can be guaranteed that each FEC code word transmits one transparent transmission data frame.
Step S40: checking the FEC code words, and acquiring the transparent transmission data frames with FEC error codes in the transparent transmission data frames according to the checking result;
it should be noted that, a plurality of FEC codewords exist in the broadcast data transmission process, the FEC codeword check is performed, that is, the check bits in each FEC codeword are checked with the standard check bits, the standard check bits are generated according to the check information of the preset number of FEC codewords, the preset number may be specifically set according to the situation, and the FEC check information is generated through FEC encoding according to the current service data length and the total service data length in the FEC codeword, it is easy to understand that the generated standard check bits are transmitted in the preset number of FEC codewords and are a constant value, for example, for convenience of understanding, the check information of k FEC codewords of the preset number is obtained from the plurality of FEC codewords, the standard check codes are comprehensively generated according to the check information of the k FEC codewords, and during the check, the standard check bits are compared with the check information of each FEC codeword one by one, the check failure may be determined when the check information of each FEC codeword is the same as the standard codeword, or a preset error value may be set, and the check failure is determined when the error value between the check information of each FEC codeword and the standard codeword satisfies the preset error value, where the FEC codewords that fail the check are the FEC error codes.
Step S50: processing the transparent transmission data frame with the FEC error code to obtain an effective transparent transmission data frame;
step S60: and replacing the transparent transmission data frame with the FEC error code with the effective transparent transmission data frame to realize the protection of the transparent transmission data structure.
In this embodiment, the FEC error code in the FEC codeword is processed, and in order to ensure that the subsequent processing of correct content is not affected, the processing of the FEC error code here refers to processing a transparent transmission data frame corresponding to the FEC error code, and obtaining the transparent transmission data frame according to the precondition that the length of the FEC codeword is the same as the length of the transparent transmission data frame, where the transparent transmission data frame includes the data length of the transmitted data, and the processing of the transparent transmission data frame is to recover the data length of the transmitted data, thereby ensuring the integrity of the data structure.
It is easy to understand that after the transparent transmission data frame is processed, the transparent transmission data frame with the previous problem should be replaced with the processed effective transparent transmission frame, and then the corresponding FEC codeword is obtained according to the effective transparent transmission data frame, at this time, the error code of the FEC codeword can be considered to have been recovered, and the check is performed according to the FEC codeword check bit included in the recovered FEC codeword, thereby realizing the protection of the transparent transmission data structure.
According to the scheme, the transparent transmission data frame corresponding to the transparent transmission data is obtained by receiving the transparent transmission data, the forward error correction FEC codeword corresponding to the transparent transmission data frame is obtained, the FEC codeword is checked, the transparent transmission data frame with the FEC error code in the transparent transmission data frame is obtained according to the checking result, the transparent transmission data frame with the FEC error code is processed to obtain the effective transparent transmission data frame, the transparent transmission data frame with the FEC error code is replaced by the effective transparent transmission data frame, and the protection of the transparent transmission data structure is realized by recovering the FEC error code which fails in checking.
Referring to fig. 3, fig. 3 is a flowchart illustrating a transparent transmission data structure protection method according to a second embodiment of the present invention.
Based on the first embodiment, before the step S10, the method further includes:
step S101: processing the data through a data sending end to obtain transparent transmission data;
step S102: and sending the transparent transmission data through the data sending end.
It should be noted that the transparent transmission data transmission needs to be preprocessed at a transparent transmission data sending end, and the processing method adopted in this embodiment is to perform encapsulation processing on service data in data to be sent, add filler data and data structure description information to the service data in the data to be transmitted in real time, then synthesize the service data, the filler data and the data structure description information, and use the synthesized data as transparent transmission data to be sent to a data receiving end by the data sending end.
In this embodiment, the filling data and the data structure description information are added to the service data in the data in real time, and the service data, the filling data and the data structure description information are synthesized to form the transparent transmission data for transmission, so as to improve the integrity of the transparent transmission data structure transmitted by the data transmitting end.
Referring to fig. 4, fig. 4 is a flowchart illustrating a transparent transmission data structure protection method according to a third embodiment of the present invention.
Based on the first embodiment, the step S20 specifically includes:
step S201: acquiring data structure information, service data and filling data of the transparent transmission data, wherein the data structure information comprises service data length and FEC (forward error correction) check information;
step S202: and integrating the data structure information, the service data and the filling data to obtain a transparent transmission data frame corresponding to the transparent transmission data.
It is easy to understand that the length of the transparent transmission data frame corresponding to the transparent transmission data is determined by the data information included in the transparent transmission data, and as shown in fig. 7, the complete transparent transmission data frame includes the data structure information, the service data, and the padding data.
It should be noted that, the data sending end processes the transparent transmission data and then sends the transparent transmission data to the data receiving end, and the data receiving end analyzes the received transparent transmission data, acquires data structure information, service data and filler data from the transparent transmission data, discards the filler data added in the transparent transmission data, analyzes the data structure information, and acquires the service data length and FEC check information in the data structure information.
In this embodiment, as shown in fig. 7, the service data length obtained by the data receiving end includes a current service data length and a total service data length, for example, to facilitate understanding, it is assumed that, for example, if the current service data length of an xth transparent transmission data frame obtained by the data receiving end from transparent transmission data is m, the total service data length is n, and the current service data length of an xth +1 transparent transmission frame is o, then the total service data length included in the xth +1 transparent transmission frame is m + n, and the sum of the current service data length and the total service data length in each transparent transmission data frame is the total service data length in a next transparent transmission data frame.
Further, the step S40 specifically includes:
step S401: acquiring FEC check information in the transparent transmission data frame;
step S402: acquiring an FEC codeword check bit corresponding to the FEC codeword;
step S403: and checking the FEC code word according to the FEC check information and the FEC code word check bit, marking the FEC code word which fails in check as an FEC error code, and acquiring a transparent transmission data frame with the FEC error code.
It should be noted that, the FEC codeword check is based on the FEC check information contained in the data structure description information of the transparent data frame, due to the complexity of the practical environment, considering that the data structure added by the data transmitting end in real time may be affected by deep fading caused by multipath or burst noise, therefore, the FEC codeword needs to be checked, the checking process in this embodiment is to check the obtained FEC check information and the FEC codeword check bits, if the checking is successful, it indicates that there is no FEC error code in the transparent transmission data frame, and if the checking fails, it indicates that there is an error code in the current transparent transmission data frame, because the existence of error codes can cause the data structure description information in the transparent transmission data frame to be incorrect, the service data and the filling data can not be separated, therefore, the FEC error code found in the verification process needs to be marked, so as to avoid the influence of the FEC error code on the transmission of the transparent transmission data.
In this embodiment, the data structure information, the service data, and the filler data are integrated, the current service data length and the total service data length included in the description of the data structure in the transparent transmission data frame are analyzed and calculated, and the check bits of the FEC check information bits and the FEC code words in the transparent transmission data frame are checked, so that the accuracy and the integrity of the transparent transmission data structure are improved.
Referring to fig. 5, fig. 5 is a flowchart illustrating a transparent transmission data structure protection method according to a fourth embodiment of the present invention.
Based on the first embodiment, the step S50 specifically includes:
step S501: acquiring an FEC error code in a transparent transmission data frame with the FEC error code;
it is easy to understand that the data sending rate refers to the data frame passing through in a unit time, and therefore, it can be understood that, in the process of transparent transmission data transmission in a period of time, the FEC error does not exist in each frame of transparent transmission data frame, and the transparent transmission data frame marked with the FEC error needs to be acquired.
Step S502: obtaining an FEC codeword which is successfully verified within a preset frame number range of the FEC error code;
step S503: and correcting the FEC error code according to the FEC code word which is successfully verified so as to obtain an effective transparent transmission data frame.
It should be noted that the preset frame number range may be understood as the number of transparent transmission data frames successfully checked before and after the transparent transmission data frame currently having the FEC error code, the preset range may be a previous frame and a next frame of the transparent transmission data frame currently having the FEC error code, the frame number range may also be set as 2 frames after the previous 2 frames or 4 frames before, and the like, which is not limited in this embodiment.
In the specific implementation, for example, for convenience of understanding, for example, the transparent transmission data frame with the FEC error code is the mth frame, where a preset frame number range is assumed to be a previous frame and a next frame of the transparent transmission data frame with the FEC error code, therefore, the m-1 th transparent transmission data frame with the FEC error code corresponding to the m +1 th transparent transmission data frame is an FEC codeword which is successfully checked within the preset frame number range and needs to be acquired, the mth transparent transmission data frame with the FEC error code needs to be corrected according to the m-1 th transparent transmission data frame and the m +1 th transparent transmission data frame, and if the corrected transparent transmission data frame without the FEC error code is m ', m' is an effective transparent transmission data frame without the FEC error code.
In this embodiment, the successful FEC code word is obtained within the preset frame number range of the FEC error code, and the FEC error code is corrected according to the successful FEC code word, so as to obtain an effective transparent transmission data frame, and improve the integrity of the transparent transmission data frame.
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating a transparent transmission data structure protection method according to a fifth embodiment of the present invention.
Based on the fourth embodiment, the step S503 specifically includes:
step S5031: acquiring the service data length in the transparent transmission data frame corresponding to the FEC code word which is successfully verified;
step S5032: calculating the effective service data length according to the service data length;
step S5033: and taking the effective service data length as the service data length of the effective transparent transmission data frame.
It should be noted that the correction of the FEC error code is the correction of the transparent transmission data frame corresponding to the FEC error code, and the correction of the transparent transmission data frame is the calculation of the service data length included in the description information of the data structure in the transparent transmission data frame, and the actual protection of the data structure refers to the protection of the service data length in the data frame, and it can be understood that the complete data structure can be ensured without affecting the data length.
Further, the service data length is calculated by the service data length of the transparent transmission data frame in which the front and back verification of the transparent transmission data with FEC error codes is successful, for convenience of understanding, for example, it is assumed that the mth FEC code word is successfully verified, the (m + 1) th FEC code word is failed to be verified, the mth FEC code word is successfully verified, and the total service data lengths of the mth, the (m + 1) th, and the (m + 2) th transparent transmission data frames are X, Y, Z respectively, and the current service data length is a, b, and c, according to the assumed conditions, it can be known that the transparent transmission data frame corresponding to the (m + 1) th FEC code word has error codes, and the mth and the (m + 2) th verification are successful, so that the effective current service data length is Z-a-X and the effective total service data length is a + X can be obtained through calculation.
Further, based on the first embodiment and the fourth embodiment, the step S60 specifically includes:
step S601: obtaining the effective service data length of the effective transparent transmission data frame;
step S602: and replacing the service data length of the transparent transmission data frame with the FEC error code with the effective service data length to realize the protection of the transparent transmission data structure.
It is easy to understand that the service data length of the transparent transmission data frame with the FEC error code is replaced by the effective service data length obtained by calculation, so that the service data length of each frame is ensured to be the correct service data length, and the transparent transmission data structure is protected.
In this embodiment, the effective service data length is calculated by the FEC code word successfully verified, and the service data length corresponding to the FEC error code is replaced by the effective service data length, so that the transparent transmission data structure is protected, and the integrity of the transparent transmission data structure is improved.
The invention further provides a device for protecting the transparent transmission data structure.
Referring to fig. 8, fig. 8 is a block diagram illustrating a transparent data structure protection device according to a first embodiment of the present invention.
As shown in fig. 8, the apparatus for protecting transparent transmission data structure according to the embodiment of the present invention includes:
the receiving module 10 is used for receiving the transparent transmission data;
the reading module 20 is configured to obtain a transparent transmission data frame corresponding to the transparent transmission data;
it is easy to understand that the data receiving end receives the transparent transmission data, the transparent transmission data is applied to signal data transmission including telephone, telegraph, broadcast, television and the like, and the data transmission is carried out in a data frame mode, so the data receiving end needs to acquire a corresponding data frame of the data in the transmission process according to the data information.
An extracting module 30, configured to obtain a forward error correction FEC codeword corresponding to the transparent transmission data frame;
it should be noted that the FEC code word includes an FEC code word information bit and an FEC code word check bit, where the forward error correction FEC code word corresponding to the transparent transmission data frame means that the length of the transparent transmission data frame is the same as the length of the FEC code word information bit, and only under the condition that the lengths are the same, it can be guaranteed that each FEC code word transmits one transparent transmission data frame.
The checking module 40 is configured to check the FEC code word, and obtain a transparent transmission data frame with an FEC error code in the transparent transmission data frame according to a checking result;
it should be noted that, the FEC codeword check is performed, that is, the check bits in the FEC codeword are checked, a reference standard of the check is FEC check information included in the transparent transmission data frame, the FEC codeword check bits and the FEC check information are compared, so that the FEC codewords that fail to be checked are identified, and the FEC codewords that fail to be checked are the FEC error codes.
A processing module 50, configured to process the transparent transmission data frame with the FEC error code to obtain an effective transparent transmission data frame;
and a replacing module 60, configured to replace the transparent transmission data frame with the FEC error code with the effective transparent transmission data frame, so as to implement protection of a transparent transmission data structure.
In this embodiment, the FEC error code in the FEC codeword is processed, and in order to ensure that the subsequent processing of correct content is not affected, the processing of the FEC error code here refers to processing a transparent transmission data frame corresponding to the FEC error code, and obtaining the transparent transmission data frame according to the precondition that the length of the FEC codeword is the same as the length of the transparent transmission data frame, where the transparent transmission data frame includes the data length of the transmitted data, and the processing of the transparent transmission data frame is to recover the data length of the transmitted data, thereby ensuring the integrity of the data structure.
It is easy to understand that after the transparent transmission data frame is processed, the transparent transmission data frame with the previous problem should be replaced with the processed effective transparent transmission frame, and then the corresponding FEC codeword is obtained according to the effective transparent transmission data frame, at this time, the error code of the FEC codeword can be considered to have been recovered, and the check is performed according to the FEC codeword check bit included in the recovered FEC codeword, thereby realizing the protection of the transparent transmission data structure.
According to the scheme, the transparent transmission data frame corresponding to the transparent transmission data is obtained by receiving the transparent transmission data, the forward error correction FEC codeword corresponding to the transparent transmission data frame is obtained, the FEC codeword is checked, the transparent transmission data frame with the FEC error code in the transparent transmission data frame is obtained according to the checking result, the transparent transmission data frame with the FEC error code is processed to obtain the effective transparent transmission data frame, the transparent transmission data frame with the FEC error code is replaced by the effective transparent transmission data frame, and the protection of the transparent transmission data structure is realized by recovering the FEC error code which fails in checking.
In addition, an embodiment of the present invention further provides a storage medium, where a transparent transmission data structure protection program is stored on the storage medium, and when executed by a processor, the transparent transmission data structure protection program implements the steps of the transparent transmission data structure protection method described above.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for transparent data structure protection, the method comprising:
receiving transparent transmission data;
acquiring a transparent transmission data frame corresponding to the transparent transmission data;
acquiring a Forward Error Correction (FEC) code word corresponding to the transparent transmission data frame;
checking the FEC code words, and acquiring the transparent transmission data frames with FEC error codes in the transparent transmission data frames according to the checking result;
processing the transparent transmission data frame with the FEC error code to obtain an effective transparent transmission data frame;
and replacing the transparent transmission data frame with the FEC error code with the effective transparent transmission data frame to realize the protection of the transparent transmission data structure.
2. The method of claim 1, wherein the step of receiving the pass-through data is preceded by the step of:
processing the data through a data sending end to obtain transparent transmission data;
and sending the transparent transmission data through the data sending end.
3. The method according to claim 1, wherein the step of obtaining the transparent transmission data frame corresponding to the transparent transmission data specifically includes:
acquiring data structure information, service data and filling data of the transparent transmission data, wherein the data structure information comprises service data length and FEC (forward error correction) check information;
and integrating the data structure information, the service data and the filling data to obtain a transparent transmission data frame corresponding to the transparent transmission data.
4. The method according to claim 1, wherein the step of checking the FEC code word and obtaining the transparent transmission data frame with the FEC error code in the transparent transmission data frame according to the checking result specifically includes:
acquiring FEC check information in the transparent transmission data frame;
acquiring an FEC codeword check bit corresponding to the FEC codeword;
and checking the FEC code word according to the FEC check information and the FEC code word check bit, marking the FEC code word which fails in check as an FEC error code, and acquiring a transparent transmission data frame with the FEC error code.
5. The method of claim 1, wherein the step of processing the transparent data frame with the FEC error to obtain a valid transparent data frame comprises:
acquiring an FEC error code in a transparent transmission data frame with the FEC error code;
obtaining an FEC codeword which is successfully verified within a preset frame number range of the FEC error code;
and correcting the FEC error code according to the FEC code word which is successfully verified so as to obtain an effective transparent transmission data frame.
6. The method according to claim 5, wherein the step of correcting the FEC bit error according to the FEC codeword that is successfully checked to obtain the effective transparent transmission data frame specifically includes:
acquiring the service data length in the transparent transmission data frame corresponding to the FEC code word which is successfully verified;
calculating the effective service data length according to the service data length;
and taking the effective service data length as the service data length of the effective transparent transmission data frame.
7. The method of claim 6, wherein the step of replacing the transparent transmission data frame with the FEC error code to the effective transparent transmission data frame to protect the transparent transmission data structure comprises:
obtaining the effective service data length of the effective transparent transmission data frame;
and replacing the service data length of the transparent transmission data frame with the FEC error code with the effective service data length to realize the protection of the transparent transmission data structure.
8. A transparent data structure protection device, the device comprising:
the receiving module is used for receiving the transparent transmission data;
the reading module is used for acquiring a transparent transmission data frame corresponding to the transparent transmission data;
the extraction module is used for acquiring Forward Error Correction (FEC) code words corresponding to the transparent transmission data frames;
the check module is used for checking the FEC code words and acquiring the transparent transmission data frames with FEC error codes in the transparent transmission data frames according to the check result;
the processing module is used for processing the transparent transmission data frame with the FEC error code to obtain an effective transparent transmission data frame;
and the replacing module is used for replacing the transparent transmission data frame with the FEC error code with the effective transparent transmission data frame so as to realize the protection of the transparent transmission data structure.
9. A pass-through data structure protection device, the device comprising: a memory, a processor, and a pass-through data structure protection program stored on the memory and executable on the processor, the pass-through data structure protection program configured to implement the steps of the pass-through data structure protection method of any one of claims 1 to 7.
10. A storage medium having stored thereon a pass-through data structure protection program, which when executed by a processor implements the steps of the pass-through data structure protection method of any one of claims 1 to 7.
CN201910971137.4A 2019-10-12 2019-10-12 Transparent transmission data structure protection method, device, equipment and storage medium Active CN110784285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910971137.4A CN110784285B (en) 2019-10-12 2019-10-12 Transparent transmission data structure protection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910971137.4A CN110784285B (en) 2019-10-12 2019-10-12 Transparent transmission data structure protection method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110784285A true CN110784285A (en) 2020-02-11
CN110784285B CN110784285B (en) 2022-02-15

Family

ID=69385285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910971137.4A Active CN110784285B (en) 2019-10-12 2019-10-12 Transparent transmission data structure protection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110784285B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030827A (en) * 2006-03-03 2007-09-05 华为技术有限公司 Method and apparatus for mapping DTM to OTN
CN101568037A (en) * 2008-04-21 2009-10-28 展讯通信(上海)有限公司 Method, terminal and system for DVB-H mobile phone television stream type restoration
CN103004123A (en) * 2012-09-12 2013-03-27 华为技术有限公司 Method of adapting fec codeword to physical resource block, method of synthesizing fec codeword and system thereof
WO2013069983A1 (en) * 2011-11-08 2013-05-16 Samsung Electronics Co., Ltd. Apparatus and method for transmitting and receiving an application layer-forward error correction packet in multimedia communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030827A (en) * 2006-03-03 2007-09-05 华为技术有限公司 Method and apparatus for mapping DTM to OTN
CN101568037A (en) * 2008-04-21 2009-10-28 展讯通信(上海)有限公司 Method, terminal and system for DVB-H mobile phone television stream type restoration
WO2013069983A1 (en) * 2011-11-08 2013-05-16 Samsung Electronics Co., Ltd. Apparatus and method for transmitting and receiving an application layer-forward error correction packet in multimedia communication system
CN103004123A (en) * 2012-09-12 2013-03-27 华为技术有限公司 Method of adapting fec codeword to physical resource block, method of synthesizing fec codeword and system thereof

Also Published As

Publication number Publication date
CN110784285B (en) 2022-02-15

Similar Documents

Publication Publication Date Title
EP0917777B1 (en) Method, apparatus and packet transmission system using error correction of data packets
US10361810B2 (en) Data packet transmission/reception apparatus and method
EP2183867B1 (en) Method of transmitting data
US6606723B2 (en) System, computer-readable medium, and method for validating communicated packets of data and for locating erroneous packets
EP1391042B1 (en) Hierarchical block coding for a packet-based communications system
US5691992A (en) Punctured coding system for providing unequal error protection in a digital communication system
US6381713B1 (en) Method for responding to transmission errors in a digital communication system according to characteristics of flawed information fields
US8397140B2 (en) Error correction coding for recovering multiple packets in a group view of limited bandwidth
WO1997014225A9 (en) A coding system and method providing unequal error protection by puncturing less significant symbols
US20090210773A1 (en) Systems, methods, apparatus and computer program products for highly reliable file delivery using compound and braided fec encoding and decoding
EP2456113A2 (en) Error correction methods and apparatus
JP4938409B2 (en) Digital broadcast content distribution apparatus, digital broadcast content authentication system, digital broadcast content authentication method and program
US20130007567A1 (en) Adaptive encoding and decoding for error protected packet-based frames
CN110784285B (en) Transparent transmission data structure protection method, device, equipment and storage medium
EP2850765B1 (en) Method and apparatus for error recovery using information related to the transmitter
US20130232397A1 (en) Systems and methods for a soft-input decoder of linear network codes
CN114513285B (en) Method, device, equipment and readable storage medium for detecting and correcting transmission data
US8046671B2 (en) Method and apparatus for adapting data to a transport unit of a predefined size prior to transmission
US20100031112A1 (en) Method and device for determining indices assigned to correction symbols
JP5895238B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
CN112564858A (en) CRC error correction method and system for satellite navigation
US7313748B2 (en) FEC decoder and method
CN109150385B (en) Broadcast data transmission method, apparatus, device, and computer-readable storage medium
JP5654428B2 (en) Communication system and communication method

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