CN111585686B - Data transmission method and device, electronic equipment and computer-readable storage medium - Google Patents
Data transmission method and device, electronic equipment and computer-readable storage medium Download PDFInfo
- Publication number
- CN111585686B CN111585686B CN202010386380.2A CN202010386380A CN111585686B CN 111585686 B CN111585686 B CN 111585686B CN 202010386380 A CN202010386380 A CN 202010386380A CN 111585686 B CN111585686 B CN 111585686B
- Authority
- CN
- China
- Prior art keywords
- data
- repeated
- relay protection
- bandwidth
- differential relay
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
- H04J3/1605—Fixed allocated frame structures
- H04J3/1652—Optical Transport Network [OTN]
- H04J3/1658—Optical Transport Network [OTN] carrying packets or ATM cells
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1867—Arrangements specially adapted for the transmitter end
- H04L1/189—Transmission or retransmission of more than one copy of a message
Abstract
The data transmission method, the data transmission device and the data transmission equipment send repeated data units, the data units comprise differential relay protection service data and check codes, after the repeated data units are received, the differential relay protection service data are obtained from the data units with correct check codes, and the repeated times of the data units are determined according to the bandwidth of a transmission channel, so that high bandwidth can be fully utilized, the redundancy of the data units is increased, a receiving party can obtain the correct differential relay protection service data through the check codes, and the service reliability can be improved by utilizing the redundant bandwidth.
Description
Technical Field
The present application relates to the field of electronic information, and in particular, to a data transmission method and apparatus, an electronic device, and a computer-readable storage medium.
Background
As technology evolves, the communication transmission line bandwidth evolves towards 100G or even greater bandwidth. Under the transmission environment of an electric OPGW overhead optical cable with the bandwidth of more than 100G, the optical cable is easily influenced by lightning weather, and instantaneous error codes are generated. Therefore, the communication reliability is to be improved.
In the electric power transmission and transformation network, the differential relay protection service is a core production service. The transmission of the differential relay protection service data has a requirement of high reliability.
Disclosure of Invention
In the research process, the applicant finds that the service bandwidth of the differential relay protection is very small, only 2M bit/s, and the service bearing reliability can be improved by utilizing the redundant bandwidth through improving the bearing bandwidth (such as 12M or 24M).
The application provides a data transmission method and a data transmission device, and aims to improve the service bearing reliability by using redundant bandwidth.
In order to achieve the above object, the present application provides the following technical solutions:
a method of transmitting data, comprising:
transmitting data by using a preset transmission channel; the data comprises repeated data units, and the data units comprise differential relay protection service data and check codes; the check code is used for acquiring the differential relay protection service data by the data receiving end; the number of times the data unit is repeated is determined according to the bandwidth of the transmission channel.
Optionally, the data unit is repeated N times;
the data quantity of the N data units is smaller than and equivalent to the bandwidth of the transmission channel.
Optionally, the sending data includes:
and sending an OTN frame, wherein the OTN frame comprises a payload field, and the value of the payload field is the repeated data unit.
Optionally, the check code includes:
a CRC check code.
A method of transmitting data, comprising:
receiving data, wherein the data comprises repeated data units, and the data units comprise differential relay protection service data and check codes; the number of times of the data unit repetition is determined according to the bandwidth of the transmission channel;
and acquiring the differential relay protection service data from the data unit with the correct check code.
An apparatus for transmitting data, comprising:
a sending module, configured to send data using a preset transmission channel; the data comprises repeated data units, and the data units comprise differential relay protection service data and check codes; the check code is used for acquiring the differential relay protection service data by the data receiving end; the number of times the data unit is repeated is determined according to the bandwidth of the transmission channel.
Optionally, the data unit is repeated N times;
the data quantity of the N data units is smaller than and equal to the bandwidth of the transmission channel;
the sending module is used for sending data and comprises:
the sending module is specifically configured to send an OTN frame, where the OTN frame includes a payload field, and a value of the payload field is the repeated data unit.
An apparatus for transmitting data, comprising:
the receiving module is used for receiving data, wherein the data comprises repeated data units, and the data units comprise differential relay protection service data and check codes; the number of times of the data unit repetition is determined according to the bandwidth of the transmission channel;
and the acquisition module is used for acquiring the differential relay protection service data from the data unit with correct check code.
An electronic device comprising a memory and a processor;
the memory is used for storing programs, and the processor is used for operating the programs so as to realize the data transmission method.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the method of data transmission described above.
According to the technical scheme, the repeated data unit is sent, the data unit comprises differential relay protection service data and a check code, after the repeated data unit is received, the differential relay protection service data are obtained from the data unit with the correct check code, the repeated times of the data unit are determined according to the bandwidth of a transmission channel, therefore, the high bandwidth can be fully utilized, the redundancy of the data unit is increased, a receiving party can obtain the correct differential relay protection service data through the check code, and the service reliability can be improved through the utilization of the redundant bandwidth.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a data transmission method disclosed in an embodiment of the present application;
fig. 2 is a flowchart of another data transmission method disclosed in the embodiment of the present application;
fig. 3 is a diagram illustrating an example of a frame structure of data disclosed in an embodiment of the present application.
Detailed Description
According to the technical scheme, the applicable application scenarios include but are not limited to an OTN architecture, taking the OTN architecture as an example, the OTN architecture comprises a sending end and a receiving end of data, and the requirement of high reliability of data transmission is met through cooperation of the sending end and the receiving end.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a data transmission method disclosed in an embodiment of the present application, including the following steps:
s101: the transmitting end transmits data by using a preset transmission channel.
Wherein, the data comprises repeated data units. Any one data unit comprises differential relay protection service data and a check code.
S102: the receiving end receives the data.
S103: and the receiving end searches the data unit with the correct check code from the plurality of data units.
For a specific implementation manner of determining whether the check code is correct, reference may be made to the prior art, which is not described herein again.
S104: and the receiving end acquires the differential relay protection service data from the data unit with the correct check code.
Because the check code is correct, the data unit is likely to have no noise introduced for external reasons, and therefore, the differential relay protection service data in the data unit is likely to be correct.
As can be seen from the flow shown in fig. 1, based on the requirement of low time delay, the differential relay protection service data can be transmitted by using a large bandwidth, and based on the characteristic that the data volume of the differential relay protection service data is small, the data unit is repeated, so that the receiving end can determine the correct data unit according to the check code, thereby obtaining the correct differential relay protection service data, and the large bandwidth itself has the characteristic of low time delay, so that high reliability can be considered on the basis of low time delay. And, also make full use of bandwidth resources.
The flow shown in fig. 1 will be described in more detail below with an OTN architecture as a specific application scenario. In power transmission, data of power transmission devices (e.g., relays, power lines, etc.) needs to be collected and transmitted to preset devices to monitor or analyze the state of power transmission. The differential relay protection service data is important power transmission device data, and the method of the embodiment is used for transmitting the power transmission device data by using a large bandwidth (for example, 100G).
Fig. 2 is a diagram of another data transmission method disclosed in the embodiment of the present application, including the following steps:
s201: the sending end uses a preset transmission channel to send data of the data unit repeated for N times.
Specifically, the data amount of the N data units is smaller than and equal to the bandwidth of the transmission channel. The term "equivalent" means that the bandwidth is not greater than the bandwidth of the transmission channel, and the difference between the bandwidth and the bandwidth of the transmission channel is not less than a preset threshold. For example, if the bandwidth of the transmission channel is 100 megabits, the data amount of N data units may be 95 megabits or 98 megabits. In practice, the specific value of N may be preset according to the bandwidth and experience of the transmission channel.
In this embodiment, a frame structure of data is as shown in fig. 3, and an Optical Transport Network (OTN) frame is taken as an example, and includes a data header and a payload field. The specific content and format of the data header can be found in the prior art.
The value of the payload field is a repeated data unit. In fig. 3, 3 repeated data units are taken as an example. Each data unit includes a service data block and a check code of the service data block. The service data block is used for bearing differential relay protection service data.
In this embodiment, the CRC check code is used to replace an FEC check code commonly used for differential relay protection service data, and based on the higher coding efficiency of the CRC check code, the low time delay of data transmission is further ensured.
S202: and after receiving the data, the receiving end searches the data unit with the correct check code from the plurality of data units.
S203: and the receiving end acquires the differential relay protection service data from the data unit with the correct check code.
The flow shown in fig. 2 has the following beneficial effects:
1. aiming at the specific service characteristics of the power differential relay protection data, the high reliability is improved, and meanwhile, the low time delay is ensured.
2. By utilizing the redundant bandwidth, high-reliability transmission is realized at extremely low cost, the error code of extreme scenes of the network is eliminated, the network construction cost of the bearer network is reduced, and the evolution of 100G large bandwidth is promoted.
3. The method is suitable for long-distance transmission.
The embodiment of the application also discloses a data transmission device, which comprises: and a sending module.
The sending module is used for sending data by using a preset transmission channel; the data comprises repeated data units, and the data units comprise differential relay protection service data and check codes; the check code is used for acquiring the differential relay protection service data by the data receiving end; the number of times the data unit is repeated is determined according to the bandwidth of the transmission channel.
Further, the data unit is repeated N times. The data quantity of the N data units is smaller than and equivalent to the bandwidth of the transmission channel.
The specific implementation manner of sending data by the sending module is to send an OTN frame, where the OTN frame includes a payload field, and a value of the payload field is the repeated data unit.
The data transmission device of the embodiment makes full use of the redundant bandwidth and repeatedly sends the data units, thereby laying a foundation for receiving and receiving correct service data.
The embodiment of the present application further discloses another data transmission device, including: the device comprises a receiving module and an obtaining module.
The receiving module is used for receiving data, the data comprises repeated data units, and the data units comprise differential relay protection service data and check codes; the number of times the data unit is repeated is determined according to the bandwidth of the transmission channel. The acquisition module is used for acquiring the differential relay protection service data from the data unit with correct check code.
The data transmission device described in this embodiment can obtain correct service data according to the check code, thereby ensuring the reliability of the service data.
The above data transmission devices are respectively used as a sending end and a receiving end, and can meet the requirements of low time delay and high reliability of service data by combining large bandwidth.
The embodiment of the application also discloses an electronic device which comprises a memory and a processor. The memory is used for storing programs, and the processor is used for operating the programs so as to realize the functions of the data transmission device (receiving party and/or sending party) in the embodiment.
The embodiment of the present application further discloses a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the functions of the transmission apparatus (receiver and/or sender) of data described in the above embodiments.
The functions described in the method of the embodiment of the present application, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for transmitting data, comprising:
transmitting data by using a preset transmission channel; the data comprises repeated data units, and the data units comprise differential relay protection service data and check codes; the check code is used for acquiring the differential relay protection service data by the data receiving end; the number of times the data unit is repeated is determined according to the bandwidth of the transmission channel.
2. The method of claim 1, wherein the data unit is repeated N times;
the data quantity of the N data units is smaller than and equivalent to the bandwidth of the transmission channel.
3. The method of claim 1 or 2, wherein the sending data comprises:
and sending an OTN frame, wherein the OTN frame comprises a payload field, and the value of the payload field is the repeated data unit.
4. The method of claim 1, wherein the check code comprises:
and CRC check codes.
5. A method for transmitting data, comprising:
receiving data, wherein the data comprises repeated data units, and the data units comprise differential relay protection service data and check codes; the number of times of repeating the data unit is determined according to the bandwidth of a transmission channel;
and acquiring the differential relay protection service data from the data unit with the correct check code.
6. An apparatus for transmitting data, comprising:
a sending module, configured to send data using a preset transmission channel; the data comprises repeated data units, and the data units comprise differential relay protection service data and check codes; the check code is used for acquiring the differential relay protection service data by the data receiving end; the number of times the data unit is repeated is determined according to the bandwidth of the transmission channel.
7. The apparatus of claim 6, wherein the data unit is repeated N times;
the data quantity of the N data units is smaller than and equivalent to the bandwidth of the transmission channel;
the sending module is used for sending data and comprises:
the sending module is specifically configured to send an OTN frame, where the OTN frame includes a payload field, and a value of the payload field is the repeated data unit.
8. An apparatus for transmitting data, comprising:
the receiving module is used for receiving data, wherein the data comprises repeated data units, and the data units comprise differential relay protection service data and check codes; the number of times of the data unit repetition is determined according to the bandwidth of a transmission channel;
and the acquisition module is used for acquiring the differential relay protection service data from the data unit with correct check code.
9. An electronic device comprising a memory and a processor;
the memory is used for storing programs, and the processor is used for operating the programs so as to realize the data transmission method of any one of claims 1-5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of transmission of data according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010386380.2A CN111585686B (en) | 2020-05-09 | 2020-05-09 | Data transmission method and device, electronic equipment and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010386380.2A CN111585686B (en) | 2020-05-09 | 2020-05-09 | Data transmission method and device, electronic equipment and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111585686A CN111585686A (en) | 2020-08-25 |
CN111585686B true CN111585686B (en) | 2022-09-27 |
Family
ID=72113454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010386380.2A Active CN111585686B (en) | 2020-05-09 | 2020-05-09 | Data transmission method and device, electronic equipment and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111585686B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110198204A (en) * | 2019-05-16 | 2019-09-03 | 中国联合网络通信集团有限公司 | A kind of low time delay repeating method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102340378A (en) * | 2011-10-23 | 2012-02-01 | 许继集团有限公司 | Fiber channel cyclic redundancy check (CRC) method for longitudinal protection |
CN109769305A (en) * | 2017-11-09 | 2019-05-17 | 普天信息技术有限公司 | Method, base station, electronic equipment and the storage medium of dispatch deal |
-
2020
- 2020-05-09 CN CN202010386380.2A patent/CN111585686B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110198204A (en) * | 2019-05-16 | 2019-09-03 | 中国联合网络通信集团有限公司 | A kind of low time delay repeating method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111585686A (en) | 2020-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20190066065A (en) | Encoding and decoding methods and devices | |
CN107666366B (en) | Method, device and system for adjusting coding rate | |
CN110943800A (en) | Method, device and system for sending data packet, storage medium and electronic device | |
CN103716136A (en) | Data transmission method and system | |
US10817460B2 (en) | RDMA data sending and receiving methods, electronic device, and readable storage medium | |
CN103763216A (en) | System and method for adjusting data transmission | |
CN107251529B (en) | Method and apparatus for transmitting and receiving information between servers in content transmission network system | |
CN112636879A (en) | Method and device for code block processing based on hybrid automatic repeat request | |
US10523790B2 (en) | System and method of header compression for online network codes | |
TWI527408B (en) | Method of dynamic coding scheme to compress wireless communication in wireless networks | |
CN111585686B (en) | Data transmission method and device, electronic equipment and computer-readable storage medium | |
CN108809331B (en) | Polarization code channel coding method, equipment and communication system | |
CN110798865B (en) | Data compression method, data compression device, computer equipment and computer-readable storage medium | |
CN111541959A (en) | Bandwidth adjusting method, related device, equipment and computer-readable storage medium | |
CN110417620A (en) | A kind of data-optimized statistical system of parallel type and method | |
CN102802197A (en) | Method and device for transmitting application data | |
CN102497306A (en) | Method for realizing data transmission of distribution network substation and system thereof | |
CN110233697B (en) | Information data block processing method and sending end | |
CN109005011B (en) | Data transmission method and system for underwater acoustic network and readable storage medium | |
JP4655870B2 (en) | Packet transmission / reception system and elapsed time measurement method | |
CN112118074B (en) | Communication method and device | |
Ho et al. | QoS-supporting video streaming system with minimum data service cost over heterogeneous wireless networks | |
Xu et al. | A satellite network data transmission algorithm based on adaptive LT code | |
CN101174929A (en) | Data compression method, device and automatic repeat request feedback system | |
CN114070893B (en) | Data message transmission method and device and core network equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |