CN112019240A - Data transmission method, system, storage medium and electronic device - Google Patents

Data transmission method, system, storage medium and electronic device Download PDF

Info

Publication number
CN112019240A
CN112019240A CN202011119600.1A CN202011119600A CN112019240A CN 112019240 A CN112019240 A CN 112019240A CN 202011119600 A CN202011119600 A CN 202011119600A CN 112019240 A CN112019240 A CN 112019240A
Authority
CN
China
Prior art keywords
data
symbol index
retransmission
symbol
impulse noise
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.)
Pending
Application number
CN202011119600.1A
Other languages
Chinese (zh)
Inventor
彭吉生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Thinking Semiconductor Technology Co ltd
Original Assignee
Beijing Thinking Semiconductor 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 Beijing Thinking Semiconductor Technology Co ltd filed Critical Beijing Thinking Semiconductor Technology Co ltd
Priority to CN202011119600.1A priority Critical patent/CN112019240A/en
Publication of CN112019240A publication Critical patent/CN112019240A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/542Systems for transmission via power distribution lines the information being in digital form

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The present disclosure relates to a data transmission method, a data transmission system, a storage medium, and an electronic device, and solves technical problems of a decrease in data transmission performance and a low reliability of retransmission data caused by noise pollution of transmitted data during power line communication. The method comprises the following steps: the receiving end receives the data sent by the sending end; performing impulse noise detection on the data, and determining a symbol index of the data polluted by the impulse noise; generating retransmission indication information according to the symbol index; sending retransmission feedback information to the sending end, wherein the retransmission feedback information comprises retransmission indication information which is used for indicating symbol indexes of data needing to be retransmitted by the sending end; and the sending end retransmits the data according to the retransmission indication information.

Description

Data transmission method, system, storage medium and electronic device
Technical Field
The present disclosure relates to the field of power line communication, and in particular, to a data transmission method, system, storage medium, and electronic device.
Background
In a Power Line Communication (PLC) system, high-Power burst noise exists, which may cause data transmission errors, and an automatic retransmission request mechanism is required to retransmit a data packet with a received error.
In the related art, signals polluted by impulse noise in transmission error data are mainly identified through amplitude information of a time domain, and the amplitude is limited to a fixed value or set to be a zero value (namely amplitude limiting and zero setting), so that the influence of the impulse noise on the signals is reduced, and the data transmission efficiency is improved.
Disclosure of Invention
The present disclosure is directed to a data transmission method, a data transmission system, a storage medium, and an electronic device, which are used for solving the technical problem of data transmission errors in a power line communication process.
In order to achieve the above object, in a first aspect, the present disclosure provides a data transmission method, where the method is applied to a power line communication system, where the power line communication system includes a receiving end and a transmitting end connected to the receiving end through a power line, and the method includes:
the receiving end receives the data sent by the sending end;
performing impulse noise detection on the data, and determining a symbol index of the data polluted by the impulse noise;
generating retransmission indication information according to the symbol index;
and sending retransmission feedback information to the sending end, wherein the retransmission feedback information comprises retransmission indication information, and the retransmission indication information is used for indicating symbol indexes of data needing to be retransmitted by the sending end.
Optionally, the performing impulse noise detection on the data and determining a symbol index of the data contaminated by impulse noise includes:
for each symbol index corresponding data, the following operations are performed:
calculating the average value of the absolute value of each data corresponding to the symbol index;
sampling all data corresponding to the symbol index for multiple times to obtain a plurality of sampling amplitudes corresponding to the symbol index;
determining the target number of sampling amplitude values which are larger than the product of the average value and a preset constant in the plurality of sampling amplitude values;
and determining the symbol index as the symbol index of the data polluted by the impulse noise under the condition that the target number is greater than a preset threshold value.
Optionally, before performing the following operation on the data corresponding to each symbol index, the following operation is performed:
allocating a symbol index to each data symbol of received data, wherein the allocated symbol index corresponds to each data symbol one by one; alternatively, the first and second electrodes may be,
dividing received data into a plurality of data symbol groups, and allocating a symbol index to each data symbol group, wherein the allocated symbol indexes correspond to the data symbol groups one by one.
Optionally, the generating retransmission indication information according to the symbol index includes:
setting a bitmap value with a first value for the symbol index of the data needing to be retransmitted, and setting a bitmap value with a second value for the symbol index of the data not needing to be retransmitted to obtain bitmap information serving as retransmission indication information.
Optionally, the generating retransmission indication information according to the symbol index includes:
and under the condition that continuous burst noise exists at the receiving end, generating the retransmission indication information according to the initial symbol index of the data needing to be retransmitted and the end symbol index of the data needing to be retransmitted.
Optionally, the method further includes:
receiving retransmission data sent by the sending end according to the retransmission indication information;
and returning to execute the steps of performing impulse noise detection on the data and determining the symbol index of the data polluted by impulse noise according to the retransmission data until the next received retransmission data does not have the data polluted by the impulse noise or the retransmission times reach a preset time threshold.
Optionally, the method further includes:
and replacing each data symbol polluted by the impulse noise in the data by using the symbol index which is consistent with the symbol index of the data symbol in each retransmission data and is not polluted by the impulse noise or the data symbol with smaller pollution degree to obtain the final data not polluted by the impulse noise.
In a second aspect, the present disclosure provides a data transmission method, where the method is applied to a power line communication system, where the power line communication system includes a sending end and a receiving end connected to the sending end through a power line, and the method includes:
the sending end sends data to the receiving end;
receiving retransmission feedback information sent by the receiving end, wherein the retransmission feedback information comprises retransmission indication information, and the retransmission indication information is generated after the receiving end performs impulse noise detection on received data and is used for indicating a symbol index of data needing to be retransmitted by the sending end;
and sending the data corresponding to the symbol index to the receiving end according to the retransmission indication information.
Optionally, the sending, according to the retransmission indication information, data corresponding to the symbol index to the receiving end includes: sending the data from the start symbol index to the end symbol index to the receiving end according to the retransmission indication information; alternatively, the first and second electrodes may be,
the retransmission indication information includes bitmap information, the bitmap information includes a corresponding relationship between a bitmap value and a symbol index, and the sending of the data corresponding to the symbol index to the receiving end according to the retransmission indication information includes: and determining a target symbol index of the data to be retransmitted according to the value of each bitmap value, and sending the data corresponding to the target symbol index to the receiving end.
Optionally, the sending, according to the retransmission indication information, the data corresponding to the symbol index to the receiving end includes:
and packaging the data corresponding to each symbol index indicated by the retransmission indication information into a retransmission data packet, and sending the retransmission data packet to the receiving end, wherein the retransmission data packet comprises a group of data corresponding to each symbol index or a plurality of groups of data corresponding to each symbol index.
Optionally, the retransmission feedback information is NAK information, and the NAK information includes the retransmission indication information;
the method further comprises the following steps:
and determining that the data transmission is finished under the condition that the sending end receives the ACK information sent by the receiving end.
In a third aspect, the present disclosure provides a power line communication system, where the power line communication system includes a sending end and a receiving end connected to the sending end through a power line;
the receiving end is configured to perform the data transmission method of the first aspect;
the sending end is configured to execute the data transmission method of the second aspect.
In a fourth aspect, the present disclosure provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the data transmission method of the first aspect.
In a fifth aspect, the present disclosure provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the data transmission method of the second aspect.
In a sixth aspect, the present disclosure provides an electronic device applied to a power line communication system, the electronic device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the data transmission method of the first aspect.
In a seventh aspect, the present disclosure provides an electronic device applied to a power line communication system, the electronic device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the data transmission method of the second aspect.
According to the technical scheme, the data are subjected to impulse noise detection, the symbol index of the data polluted by the impulse noise is determined, the retransmission indicating information is generated according to the symbol index to indicate data retransmission, the data retransmission can be utilized to avoid the influence of the impulse noise on the data transmission, the transmission efficiency of the data retransmission is improved, the reliability of repeated data retransmission is improved, and the data transmission error is avoided.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a flow chart illustrating a method of data transmission according to an example embodiment.
Fig. 2 is another flow chart illustrating a method of data transmission according to an example embodiment.
Fig. 3 is a data transmission flow diagram of a power line communication system shown in accordance with an example embodiment.
Fig. 4 is a block diagram illustrating a power line communication system in accordance with an exemplary embodiment.
FIG. 5 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should be noted that in the present disclosure, the terms "S11", "S12" and the like in the description and claims and the drawings are used for distinguishing steps, and are not necessarily to be construed as performing method steps in a specific order or sequence.
In the power line communication system, the inventor finds that in the related art, a signal polluted by impulse noise in transmission error data is mainly identified through amplitude information in a time domain, and the signal amplitude is limited to a fixed value or set to a zero value (namely, amplitude limiting and zero setting). But the influence of the impulse noise on the signal can be reduced only to a certain extent, and the impulse noise cannot be completely eliminated, so that the data transmission performance is reduced; in addition, in the aspect of a data retransmission strategy, in a power line communication environment with impulse noise, the reliability is not high even if retransmission is carried out for multiple times.
In view of the above, the present disclosure provides a data transmission method, a system, a storage medium, and an electronic device, wherein an execution subject of the data transmission method may be a device that performs communication through a power line, and the device may be, for example, a personal computer, a printer, a television, a set-top box, and the like.
The present embodiment takes the receiving end as an example for explanation. Fig. 1 is a flowchart illustrating a data transmission method according to an exemplary embodiment, where the method is applied to a power line communication system including a receiving end and a transmitting end connected to the receiving end through a power line.
Referring to fig. 1, the data transmission method includes the following steps.
In step S11, the receiving end receives the data transmitted by the transmitting end.
In step S12, impulse noise detection is performed on the data, and the sign index of the data contaminated by impulse noise is determined.
In step S13, retransmission instruction information is generated from the symbol index.
In step S14, retransmission feedback information is sent to the sender, where the retransmission feedback information includes the retransmission indication information, and the retransmission indication information is used to indicate a symbol index of data that needs to be retransmitted by the sender.
The sending end carries out data transmission with the receiving end through a power line.
Specifically, the receiving end receives data sent by the sending end, performs impulse noise detection on the data, determines a symbol index of the data polluted by impulse noise when the data is polluted by the impulse noise, generates retransmission indication information containing NAK information according to the symbol index, and sends the retransmission indication information to the sending end, so that the sending end retransmits the data polluted by the impulse noise to the receiving end according to the retransmission indication information.
When the data is not polluted by the impulse noise, the ACK information is generated and sent to the sending end, so that the sending end does not need to retransmit the data to the receiving end, and the data transmission is completed.
The data transmission method provided by this embodiment determines a symbol index of data polluted by impulse noise by performing impulse noise detection on data sent by a sending end, generates retransmission indication information according to the symbol index, sends retransmission feedback information to the sending end, and can feed back the situation that the data is polluted by the impulse noise to the sending end, where the retransmission feedback information indicates the sending end to retransmit the data polluted by the impulse noise, so that the transmission efficiency of data retransmission can be improved, the reliability of data transmission is improved by retransmitting the data polluted by the impulse noise for multiple times, and diversity combining is performed according to the impulse noise detection result of the data retransmitted each time, so that the diversity gain of the transmitted data is improved.
Optionally, the method may further include: allocating a symbol index to each data symbol of received data, wherein the allocated symbol index corresponds to each data symbol one by one; alternatively, the first and second electrodes may be,
dividing received data into a plurality of data symbol groups, and allocating a symbol index to each data symbol group, wherein the allocated symbol indexes correspond to the data symbol groups one by one.
For example, data sent by a sending end to a receiving end includes 12 data symbols, and the receiving end may allocate symbol indexes to the received 12 data symbols, where the allocated symbol indexes correspond to the 12 data symbols one to one;
the data sent by the sending end to the receiving end comprises 12 data symbols, the receiving end can also divide the 12 data symbols into 3 data symbol groups, and allocate a symbol index to each data symbol group, wherein the allocated symbol indexes are respectively in one-to-one correspondence with the 3 data symbol groups.
Optionally, in step S12, performing impulse noise detection on the data, and determining a symbol index of the data contaminated by impulse noise may specifically include:
for each symbol index corresponding data, the following operations are performed:
calculating the average value of the absolute value of each data corresponding to the symbol index;
sampling all data corresponding to the symbol index for multiple times to obtain a plurality of sampling amplitudes corresponding to the symbol index;
determining the target number of sampling amplitude values which are larger than the product of the average value and a preset constant in the plurality of sampling amplitude values;
and determining the symbol index as the symbol index of the data polluted by the impulse noise under the condition that the target number is greater than a preset threshold value.
The preset constant and the preset threshold may be preset according to the actual condition of the impulse noise detection, which is not specifically limited by the present disclosure.
Specifically, impulse noise detection is performed on data, and a symbol index of the data contaminated by the impulse noise is determined, and is expressed by a calculation formula:
Figure 687217DEST_PATH_IMAGE001
wherein the content of the first and second substances,IN_flagindicating whether the symbol data is contaminated by impulse noise, upper-case S1 indicating data of the whole symbol index, lower-case S1 indicating data of each sample point within the symbol, C being any constant, mean () indicating that data in parentheses is subjected to averaging processing, abs () indicating that data in parentheses is subjected to absolute value processing,amp (.)) represents amplitude processing of the data in parentheses, N (.)) represents the number of sampling points of the data satisfying the condition in parentheses, and Th is a threshold. In the event that impulse noise is present,IN_flag=1; otherwise, there is no impulse noise present,N_flag=0。
taking the symbol index 1 as an example for explanation, taking an absolute value of each data corresponding to the symbol index 1 (i.e. data corresponding to between the symbol index 0 and the symbol index 1), and calculating an average value, sampling all data corresponding to the symbol index 1 for 5 times to obtain 5 sampling amplitudes of the data corresponding to the symbol index 1, respectively judging whether the 5 sampling amplitudes are greater than a product of the average value and a constant 6, and when 4 sampling amplitudes are determined to be greater than a product of the average value and the constant 6 among the 5 sampling amplitudes, because 4 is greater than a preset threshold 3, determining that the data corresponding to the symbol index 1 is contaminated by impulse noise.
Optionally, in step S13, generating retransmission indication information according to the symbol index may specifically include:
setting a bitmap value with a first value for the symbol index of the data needing to be retransmitted, and setting a bitmap value with a second value for the symbol index of the data not needing to be retransmitted to obtain bitmap information serving as retransmission indication information.
Specifically, when the impulse noise pollution detection result of the data is that sparse impulse noise exists in the data, the bitmap value is used as retransmission indication information. One datum comprises data corresponding to S symbol indexes, wherein each symbol index has a value of 0, 1, and S-1, and for the data corresponding to each symbol index, if a detection result is polluted by impulse noise, a bitmap corresponding to the symbol index is 1; if the detection result is that the bit map is not polluted by impulse noise, the bit map corresponding to the symbol index is 0.
For example, one datum includes data corresponding to 8 symbol indexes, and index values corresponding to the 8 symbol indexes are 0, 1, 2, 3, 4, 5, 6, and 7, where the data corresponding to the symbol index 2, the symbol index 4, and the symbol index 6 is contaminated by impulse noise, and a condition that the data is contaminated by impulse noise is represented by bitmap information: 00101010. as shown in the table below.
Symbol index 0 1 2 3 4 5 6 7
Bitmap values 0 0 1 0 1 0 1 0
For example, one data corresponds to 32 symbol indexes, and the 32 symbol indexes are divided into 8 groups of 4 symbol indexes. Judging whether the data corresponding to each group of symbol indexes is polluted, if the data corresponding to the symbol indexes in any group is polluted by impulse noise, the bitmap corresponding to the group of symbol indexes is 1; if the data corresponding to the symbol index in the group is not polluted by impulse noise, the bitmap corresponding to the group of symbol indexes is 0.
Optionally, in step S13, the generating retransmission indication information according to the symbol index may further include:
and under the condition that continuous burst noise exists at the receiving end, generating the retransmission indication information according to the initial symbol index of the data needing to be retransmitted and the end symbol index of the data needing to be retransmitted.
Specifically, if the impulse noise pollution detection result for the data indicates that continuous impulse noise exists in the data, a plurality of start symbol indexes and end symbol indexes are required to generate retransmission indication information.
For example, if a data includes 8 symbol indexes and burst noise occurs only once, the start symbol index and the end symbol index may be as shown in the following table, where the data corresponding to the symbol indexes 1, 2, 3, and 4 are contaminated by the burst noise and need to be retransmitted.
Initial symbol index 1
Ending symbol indexing 4
Optionally, the method may further include:
receiving retransmission data sent by the sending end according to the retransmission indication information;
and returning to execute the steps of performing impulse noise detection on the data and determining the symbol index of the data polluted by impulse noise according to the retransmission data until the next received retransmission data does not have the data polluted by the impulse noise or the retransmission times reach a preset time threshold.
Specifically, when there is no data contaminated by impulse noise in the retransmission data received by the receiving end, the data transmission is completed.
Specifically, when the retransmission frequency of the retransmission data received by the receiving end reaches a preset frequency threshold, the data transmission is completed.
The preset number threshold may be preset according to an actual condition of the power line communication, which is not specifically limited by the present disclosure.
Optionally, the method may further include:
and replacing each data symbol polluted by the impulse noise in the data by using the symbol index which is consistent with the symbol index of the data symbol in each retransmission data and is not polluted by the impulse noise or the data symbol with smaller pollution degree to obtain the final data not polluted by the impulse noise.
The pollution degree of the symbol index can be determined according to the average power or amplitude of the impulse noise of the data corresponding to the symbol index, and the pollution degree of the data corresponding to the symbol index with smaller average power or smaller amplitude of the impulse noise is smaller.
Specifically, after receiving the retransmission data, the receiving end performs impulse noise pollution detection on the retransmission data, and combines the retransmission data with previous data according to a detection result, where the combination method includes three types, and data corresponding to any one symbol index in the retransmission data is taken as an example for explanation.
First, data corresponding to the symbol index is not polluted by impulse noise in the first transmission, but is polluted by the impulse noise in the retransmission process, and at this time, the combination is subject to the data corresponding to the symbol index of the first transmission; the data corresponding to the symbol index is contaminated by impulse noise in the first transmission but not contaminated by impulse noise in the retransmission process, and the combining is subject to the data corresponding to the retransmitted symbol index.
For example, s1 and s2 are data corresponding to the same symbol index in the data received in different transmission processes, and may be combined according to the following combining principle:
s = S1, S1 not being contaminated by impulse noise if S2 is contaminated by impulse noise;
s = S2, S2 is not contaminated by impulse noise if S1 is contaminated by impulse noise.
Specifically, at S1, S2 is contaminated by impulse noise, when S = S1; s1 is contaminated with impulse noise and S2 is not contaminated with impulse noise, when S = S2.
Second, when the data corresponding to the symbol index is not contaminated by impulse noise during multiple times (i.e. including the first transmission and multiple retransmissions), the data corresponding to the symbol index is subjected to maximal ratio combining, equal gain combining or selective combining.
For example, s1 and s2 are data corresponding to the same symbol index in the data received in different transmission processes, and if the data is transmitted more than twice (including two times), and neither s1 nor s2 is contaminated by impulse noise, then s1 and s2 are subjected to maximum ratio combining.
Thirdly, the data corresponding to the symbol index is contaminated by impulse noise in the first transmission and also contaminated by impulse noise in the retransmission process, and at this time, the data corresponding to the symbol index with the smaller contamination degree is combined.
For example, S1 and S2 are data corresponding to the same symbol index in the data received in different transmission processes, and if S1 and S2 are both polluted by impulse noise in the transmission process, the pollution degrees of the impulse noise of S1 and S2 are judged according to the average power or amplitude of the impulse noise, and when the pollution degree of the impulse noise of S1 is smaller, S = S1; when the impulse noise pollution level of S2 is small, S = S2.
The present embodiment takes a transmitting end as an example for explanation. Fig. 2 is another flow chart illustrating a method of data transmission according to an example embodiment. The method is applied to a power line communication system, and the power line communication system comprises a sending end and a receiving end connected with the sending end through a power line.
Referring to fig. 2, the data transmission method includes the following steps.
In step S21, the sender sends data to the receiver.
In step S22, retransmission feedback information sent by the receiving end is received, where the retransmission feedback information includes retransmission indication information, and the retransmission indication information is generated after the receiving end performs impulse noise detection on received data and is used to indicate a symbol index of data that needs to be retransmitted by the transmitting end.
In step S23, the data corresponding to the symbol index is sent to the receiving end according to the retransmission indication information.
The sending end carries out data transmission with the receiving end through a power line.
The data transmission method provided by this embodiment retransmits the data contaminated by the impulse noise to the receiving end according to the retransmission feedback information by transmitting the data to the receiving end and receiving the retransmission feedback information transmitted by the receiving end, so as to improve the transmission efficiency of the retransmitted data, and improve the reliability of data transmission by retransmitting the data contaminated by the impulse noise for many times.
Optionally, the retransmission feedback information is NAK information, and the NAK information includes the retransmission indication information;
the method may further comprise:
and determining that the data transmission is finished under the condition that the sending end receives the ACK information sent by the receiving end.
Specifically, when the retransmission feedback information sent by the receiving end includes NAK information, it indicates that data sent by the sending end to the receiving end is polluted by impulse noise, and the sending end needs to retransmit the data to the receiving end; when the receiving end sends the ACK information, the data sent from the sending end to the receiving end is not polluted by the impulse noise, the sending end does not need to retransmit the data to the receiving end, and the data transmission is finished.
Optionally, the sending, according to the retransmission indication information, data corresponding to the symbol index to the receiving end includes: sending the data from the start symbol index to the end symbol index to the receiving end according to the retransmission indication information; alternatively, the first and second electrodes may be,
the retransmission indication information includes bitmap information, the bitmap information includes a corresponding relationship between a bitmap value and a symbol index, and the sending of the data corresponding to the symbol index to the receiving end according to the retransmission indication information includes: and determining a target symbol index of the data to be retransmitted according to the value of each bitmap value, and sending the data corresponding to the target symbol index to the receiving end.
Specifically, when the transmitting end receives the start symbol index and the end symbol index included in the retransmission indication information transmitted by the receiving end, as shown in the following table, the receiving end transmits data corresponding to the symbol indexes 1, 2, 3, and 4 to the transmitting end.
Initial symbol index 1
Ending symbol indexing 4
Specifically, when the transmitting end receives bitmap information included in retransmission instruction information transmitted by the receiving end as shown in the following table, the receiving end transmits data corresponding to symbol indexes 2, 4, and 6 to the transmitting end.
Symbol index 0 1 2 3 4 5 6 7
Bitmap values 0 0 1 0 1 0 1 0
Optionally, in step S23, the sending, according to the retransmission indication information, the data corresponding to the symbol index to the receiving end may include:
and packaging the data corresponding to each symbol index indicated by the retransmission indication information into a retransmission data packet, and sending the retransmission data packet to the receiving end, wherein the retransmission data packet comprises a group of data corresponding to each symbol index or a plurality of groups of data corresponding to each symbol index.
Specifically, the data retransmission method may retransmit only the data corresponding to the symbol index contaminated by the impulse noise, and retransmit only the data corresponding to the symbol index contaminated by the impulse noise may improve transmission efficiency of the retransmitted data.
For example, the data includes 8 symbol indexes, when burst noise occurs only once in data transmission, it can be determined according to the starting symbol index and the ending symbol index of the data that the symbol indexes 1, 2, 3, and 4 are contaminated by the burst noise in the first transmission process of the data, and when data retransmission is performed, only the data corresponding to the symbol index contaminated by the burst noise is retransmitted, that is, the retransmitted data only includes the symbol index: 1. 2, 3, 4.
For example, the data includes 32 symbol indexes, when burst noise occurs only once in data transmission, it can be determined according to a bitmap of the data that the symbol indexes 2, 4, and 6 are contaminated by the burst noise in the first transmission process of the data, and when data retransmission is performed, only data corresponding to the symbol index contaminated by the burst noise is retransmitted, that is, the retransmitted data only includes the symbol index: 2. 4, 6.
Specifically, the data corresponding to the symbol index contaminated by the impulse noise may be retransmitted for multiple times, and the retransmission of the data corresponding to the symbol index contaminated by the impulse noise may improve the diversity gain of the data.
For example, the data includes 8 symbol indexes, when burst noise occurs only once in data transmission, it can be determined that the symbol indexes 1, 2, 3, and 4 are contaminated by impulse noise in the first transmission process of the data according to the start symbol index and the end symbol index of the data, when data retransmission is performed, the data corresponding to the symbol indexes contaminated by impulse noise is retransmitted for multiple times, that is, the retransmitted data includes data corresponding to symbol indexes 1, 2, 3, 4, 1, 2, 3, and 4, each data contaminated by impulse noise is retransmitted twice, and a diversity gain of 3dB can be theoretically obtained.
For example, the data includes 32 symbol indexes, and when the data is transmitted, sparse impulse noise occurs, it can be determined according to a bitmap of the data that the symbol indexes 2, 4, and 6 are contaminated by the impulse noise in the first transmission process of the data, and when the data is retransmitted, the data corresponding to the symbol index contaminated by the impulse noise is retransmitted for multiple times, that is, the retransmitted data includes three symbol indexes: 2. 4, 6, 2, 4, the data corresponding to the symbol index 2, 4 is retransmitted three times, the data corresponding to the symbol index 6 is retransmitted twice, and a certain diversity gain can be obtained.
In this embodiment, taking a data transmission process of a sending end and a receiving end as an example, the embodiment provides a power line communication system, where the power line communication system includes a sending end and a receiving end connected to a power line of the sending end;
the receiving end is used for executing the data transmission method in the second embodiment when the receiving end performs data transmission with the receiving end;
the sending end is configured to execute the data transmission method in the first embodiment when performing data transmission with the receiving end.
In the power line communication system, a sending end and a receiving end are connected through a power line, the sending end sends data to the receiving end, the receiving end carries out pulse noise detection on the data sent by the sending end, when the data is detected to be polluted by the pulse noise, a symbol index of the data polluted by the pulse noise is determined, retransmission indication information is generated according to the symbol index, retransmission feedback information is sent to the sending end, the sending end sends the data polluted by the pulse noise to the sending end according to the retransmission feedback information, the transmission efficiency of the retransmission data is improved, the data polluted by the pulse noise is retransmitted between the sending end and the receiving end for multiple times, the reliability of data transmission is improved, the receiving end carries out diversity combination according to the pulse noise detection result of the data retransmitted at each time, and the diversity gain of the transmission data is improved.
Fig. 3 is a data transmission flow diagram of a power line communication system shown in accordance with an example embodiment. The sending end and the receiving end perform data transmission through a power line, and the sending end and the receiving end can be respectively a CCO (Central Coordinator) and an STA (station), can be simultaneously an STA, and cannot be simultaneously a CCO. In this embodiment, a transmitting end is taken as a CCO and a receiving end is taken as an STA for example.
Referring to fig. 3, the interactive procedure of the CCO and the STA in the power line communication system includes the following steps.
In step S31, the CCO transmits data to the STA.
In step S32, the STA receives the data transmitted by the CCO, performs impulse noise detection on the data, and determines the symbol index of the data contaminated with impulse noise when it is detected that the data is contaminated with impulse noise.
In step S33, the STA generates retransmission instruction information including NAK information from the symbol index, and transmits the retransmission instruction information to the CCO.
In step S34, the CCO receives the retransmission feedback information transmitted by the STA, where the retransmission feedback information includes retransmission indication information.
In step S35, data corresponding to the symbol index is transmitted to the STA according to the retransmission instruction information.
In step S36, the STA receives the retransmission data transmitted by the CCO, performs impulse noise detection on the retransmission data, determines a symbol index of data contaminated by impulse noise in the retransmission data when it is detected that the retransmission data is contaminated by impulse noise, and performs combining processing on the retransmission data.
In step S37, the STA generates retransmission instruction information including NAK information from the symbol index, and transmits the retransmission instruction information to the CCO.
In step S38, the CCO receives the retransmission feedback information transmitted by the STA, where the retransmission feedback information includes retransmission indication information.
In step S39, data corresponding to the symbol index is transmitted to the STA according to the retransmission instruction information.
In step S310, the STA receives the retransmission data sent by the CCO, performs impulse noise detection on the retransmission data, determines a symbol index of data contaminated by impulse noise in the retransmission data when it is detected that the retransmission data is contaminated by impulse noise, and performs combining processing on the retransmission data.
And continuously retransmitting the data by the CCO and the STA until the retransmitted data is not polluted by the pulse noise or the retransmission times of the CCO and the STA reach preset times, and finishing data transmission.
In step S32, when it is detected that the data is not contaminated by impulse noise, the STA sends ACK information to the CCO, so that the CCO completes data transmission without retransmitting the data to the STA.
Optionally, the power line communication system may further include a memory, where the memory is configured to store all data transmitted by the receiving end and the transmitting end through the power line.
Optionally, the power line communication system may further include a diversity apparatus, where the diversity apparatus is configured to replace the data in the memory to implement merging processing of the data when the transmitting end retransmits the data to the receiving end.
Optionally, the power line communication system may further include a decoder, where the decoder is configured to decode the merged data in the memory.
Optionally, the power line communication system may further include a controller that controls timing in the power line communication system.
Referring to fig. 4, data transmitted by a transmitting end is stored in a memory, and a decoder directly reads and decodes the data transmitted by the transmitting end for the first time in the memory;
when the transmitting end retransmits data, the diversity device reads the retransmitted data of the memory to carry out merging processing, then the merged data is stored back to the memory, the decoder reads the merged data in the memory to carry out decoding processing, and the decoded data is transmitted to the receiving end. The whole timing sequence is controlled by the controller.
The specific manner of performing the operation by the transmitting end in the above embodiments has been described in detail in the second embodiment, and will not be elaborated herein, and the specific manner of performing the operation by the receiving end in the above embodiments has been described in detail in the first embodiment, and will not be elaborated herein.
The present embodiment provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the steps of the data transmission method in the first embodiment.
Specifically, the computer-readable storage medium may be a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, etc.
With regard to the computer-readable storage medium in the above-described embodiment, the method steps when the computer program stored thereon is executed have been described in detail in the embodiment of the data transmission method in the first embodiment, and will not be elaborated herein.
The present disclosure provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the steps of the data transmission method in the second embodiment.
Specifically, the computer-readable storage medium may be a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, etc.
With regard to the computer-readable storage medium in the above-described embodiment, the method steps when the computer program stored thereon is executed have been described in detail in the embodiment of the data transmission method in the second embodiment, and will not be described in detail here.
The present embodiment provides an electronic device, where the electronic device is applied to a power line communication system, and the electronic device may be a personal computer, a printer, a television, a set-top box, and the like, and in the present embodiment, taking the personal computer as an example, the electronic device may include:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving data sent by the sending end;
performing impulse noise detection on the data, and determining a symbol index of the data polluted by the impulse noise;
generating retransmission indication information according to the symbol index;
and sending retransmission feedback information to the sending end, wherein the retransmission feedback information comprises retransmission indication information, and the retransmission indication information is used for indicating symbol indexes of data needing to be retransmitted by the sending end.
The electronic device provided by this embodiment determines a symbol index of data polluted by impulse noise by performing impulse noise detection on data sent by a sending end, generates retransmission indication information according to the symbol index, sends retransmission feedback information to the sending end, and can feed back the situation that the data is polluted by the impulse noise to the sending end, where the retransmission feedback information indicates the sending end to retransmit the symbol index including the data polluted by the impulse noise, so as to improve transmission efficiency of retransmitted data, improve reliability of data transmission by retransmitting the data polluted by the impulse noise for multiple times, perform diversity combining according to an impulse noise detection result of the data retransmitted each time, and improve diversity gain of transmitted data.
Fig. 5 illustrates a block diagram of an electronic device 400 in accordance with an exemplary embodiment. Referring to fig. 5, the electronic device 400 may include: a processor 401 and a memory 402. The electronic device 400 may also include one or more of a multimedia component 403, an input/output (I/O) interface 404, and a communications component 405.
The processor 401 is configured to control the overall operation of the electronic device 400, so as to complete all or part of the steps in the data transmission method in the first embodiment. The memory 402 is used to store various types of data to support operations at the electronic device 400, such as instructions for any application or method operating on the electronic device 400 and application-related data, such as data sent by the sender, retransmission-indicating information, and so forth. The Memory 402 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 403 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 402 or transmitted through the communication component 405. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 404 provides an interface between the processor 401 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 405 is used for power line communication between the electronic device 400 and other devices.
In an exemplary embodiment, the electronic Device 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components for executing the data transmission method in the first embodiment.
In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions which, when executed by a processor, implement the steps of the data transmission method in the first embodiment described above. For example, the computer readable storage medium may be the memory 402 comprising program instructions executable by the processor 401 of the electronic device 400 to perform the data transmission in the first embodiment described above.
The present embodiment provides an electronic device, where the electronic device is applied to a power line communication system, and the electronic device may be a personal computer, a printer, a television, a set-top box, and the like, and in the present embodiment, taking the personal computer as an example, the electronic device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
sending data to the receiving end;
receiving retransmission feedback information sent by the receiving end, wherein the retransmission feedback information comprises retransmission indication information, and the retransmission indication information is generated after the receiving end performs impulse noise detection on received data and is used for indicating a symbol index of data needing to be retransmitted by the sending end;
and sending the data corresponding to the symbol index to the receiving end according to the retransmission indication information.
The electronic device provided by this embodiment retransmits the data contaminated by the impulse noise to the receiving end according to the retransmission feedback information by transmitting the data to the receiving end and receiving the retransmission feedback information transmitted by the receiving end, so that the transmission efficiency of the retransmitted data is improved, and the reliability of data transmission is improved by retransmitting the data contaminated by the impulse noise for many times.
Fig. 6 is a block diagram illustrating an electronic device 400 according to an example embodiment. As shown in fig. 6, the electronic device 500 may include: a processor 501 and a memory 502. The electronic device 500 may also include one or more of a multimedia component 503, an input/output (I/O) interface 504, and a communication component 505.
The processor 501 is configured to control the overall operation of the electronic device 500, so as to complete all or part of the steps in the data transmission method in the second embodiment. The memory 502 is used for storing various types of data to support the operation of the electronic device 500, and the data may include, for example, instructions for any application or method operating on the electronic device 500, and application-related data, such as retransmission feedback information, data transmitted to a receiving end, and the like. The Memory 502 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia component 503 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 502 or transmitted through the communication component 505. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 504 provides an interface between the processor 501 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 505 is used for power line communication between the electronic device 500 and other devices.
In an exemplary embodiment, the electronic Device 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components for executing the data transmission method in the second embodiment.
In another exemplary embodiment, there is also provided a computer-readable storage medium including program instructions which, when executed by a processor, implement the steps of the data transmission method in the second embodiment described above. For example, the computer readable storage medium may be the memory 502 comprising program instructions executable by the processor 501 of the electronic device 500 to perform the data transmission method in the second embodiment.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure. It should be noted that the various technical features described in the above embodiments can be combined in any suitable manner without contradiction, and the disclosure does not separately describe various possible combinations.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (16)

1. A data transmission method, wherein the method is applied to a power line communication system, the power line communication system includes a receiving end and a transmitting end connected to the receiving end via a power line, and the method includes:
the receiving end receives the data sent by the sending end;
performing impulse noise detection on the data, and determining a symbol index of the data polluted by the impulse noise;
generating retransmission indication information according to the symbol index;
and sending retransmission feedback information to the sending end, wherein the retransmission feedback information comprises retransmission indication information, and the retransmission indication information is used for indicating symbol indexes of data needing to be retransmitted by the sending end.
2. The method of claim 1, wherein the performing impulse noise detection on the data and determining a symbol index of the data contaminated by impulse noise comprises:
for each symbol index corresponding data, the following operations are performed:
calculating the average value of the absolute value of each data corresponding to the symbol index;
sampling all data corresponding to the symbol index for multiple times to obtain a plurality of sampling amplitudes corresponding to the symbol index;
determining the target number of sampling amplitude values which are larger than the product of the average value and a preset constant in the plurality of sampling amplitude values;
and determining the symbol index as the symbol index of the data polluted by the impulse noise under the condition that the target number is greater than a preset threshold value.
3. The method of claim 2, wherein prior to said indexing the corresponding data for each symbol, performing the following operations comprises:
allocating a symbol index to each data symbol of received data, wherein the allocated symbol index corresponds to each data symbol one by one; alternatively, the first and second electrodes may be,
dividing received data into a plurality of data symbol groups, and allocating a symbol index to each data symbol group, wherein the allocated symbol indexes correspond to the data symbol groups one by one.
4. The method of claim 1, wherein the generating retransmission indication information according to the symbol index comprises:
setting a bitmap value with a first value for the symbol index of the data needing to be retransmitted, and setting a bitmap value with a second value for the symbol index of the data not needing to be retransmitted to obtain bitmap information serving as retransmission indication information.
5. The method of claim 1, wherein the generating retransmission indication information according to the symbol index comprises:
and under the condition that continuous burst noise exists at the receiving end, generating the retransmission indication information according to the initial symbol index of the data needing to be retransmitted and the end symbol index of the data needing to be retransmitted.
6. The method according to any one of claims 1-5, further comprising:
receiving retransmission data sent by the sending end according to the retransmission indication information;
and returning to execute the steps of performing impulse noise detection on the data and determining the symbol index of the data polluted by impulse noise according to the retransmission data until the next received retransmission data does not have the data polluted by the impulse noise or the retransmission times reach a preset time threshold.
7. The method of claim 6, further comprising:
and replacing each data symbol polluted by the impulse noise in the data by using the symbol index which is consistent with the symbol index of the data symbol in each retransmission data and is not polluted by the impulse noise or the data symbol with smaller pollution degree to obtain the final data not polluted by the impulse noise.
8. A data transmission method, wherein the method is applied to a power line communication system, the power line communication system includes a transmitting end and a receiving end connected to the transmitting end via a power line, and the method includes:
the sending end sends data to the receiving end;
receiving retransmission feedback information sent by the receiving end, wherein the retransmission feedback information comprises retransmission indication information, and the retransmission indication information is generated after the receiving end performs impulse noise detection on received data and is used for indicating a symbol index of data needing to be retransmitted by the sending end;
and sending the data corresponding to the symbol index to the receiving end according to the retransmission indication information.
9. The method of claim 8,
the sending of the data corresponding to the symbol index to the receiving end according to the retransmission indication information includes: sending the data from the start symbol index to the end symbol index to the receiving end according to the retransmission indication information; alternatively, the first and second electrodes may be,
the retransmission indication information includes bitmap information, the bitmap information includes a corresponding relationship between a bitmap value and a symbol index, and the sending of the data corresponding to the symbol index to the receiving end according to the retransmission indication information includes: and determining a target symbol index of the data to be retransmitted according to the value of each bitmap value, and sending the data corresponding to the target symbol index to the receiving end.
10. The method of claim 8, wherein the sending the data corresponding to the symbol index to the receiving end according to the retransmission indication information comprises:
and packaging the data corresponding to each symbol index indicated by the retransmission indication information into a retransmission data packet, and sending the retransmission data packet to the receiving end, wherein the retransmission data packet comprises a group of data corresponding to each symbol index or a plurality of groups of data corresponding to each symbol index.
11. The method according to any of claims 8-10, wherein the retransmission feedback information is NAK information, the NAK information including the retransmission indication information;
the method further comprises the following steps:
and determining that the data transmission is finished under the condition that the sending end receives the ACK information sent by the receiving end.
12. The power line communication system is characterized by comprising a sending end and a receiving end connected with the sending end through a power line;
the receiving end is used for executing the data transmission method according to any one of claims 1 to 7;
the transmitting end is configured to perform the data transmission method according to any one of claims 8 to 11.
13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the data transmission method according to any one of claims 1 to 7.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the data transmission method according to any one of claims 8 to 11.
15. An electronic device, wherein the electronic device is applied to a power line communication system, the electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the data transmission method according to any one of claims 1-7.
16. An electronic device, wherein the electronic device is applied to a power line communication system, the electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the data transmission method according to any of claims 8-11.
CN202011119600.1A 2020-10-19 2020-10-19 Data transmission method, system, storage medium and electronic device Pending CN112019240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011119600.1A CN112019240A (en) 2020-10-19 2020-10-19 Data transmission method, system, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011119600.1A CN112019240A (en) 2020-10-19 2020-10-19 Data transmission method, system, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN112019240A true CN112019240A (en) 2020-12-01

Family

ID=73528389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011119600.1A Pending CN112019240A (en) 2020-10-19 2020-10-19 Data transmission method, system, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112019240A (en)

Similar Documents

Publication Publication Date Title
EP3590290B1 (en) Systems and methods for supporting asynchronous uplink harq and multiple simultaneous transmissions
US10631179B2 (en) HARQ frame data structure and method of transmitting and receiving with HARQ in systems using blind detection
EP3379754A1 (en) Method, apparatus and device for retransmitting code blocks
KR100656982B1 (en) Apparatus and method for decoding of portable internet mobile system
US20170353963A1 (en) Method and device for providing different services in mobile communication system
EP3193472A1 (en) Data packet processing method and device
CN101615986A (en) A kind of data transmission method, device and communication system
CN108370293B (en) Relay method, relay, destination device, and communication system thereof
WO2018058295A1 (en) Hybrid automatic repeat request for block codes
US10666399B2 (en) Allocation method and apparatus for code block groups in a transport block
CN113055021A (en) Decoding method, decoding device, network equipment and storage medium
CN109120385B (en) Data transmission method, device and system based on data transmission system
CN112019240A (en) Data transmission method, system, storage medium and electronic device
CN115694731B (en) Control information indication method, communication node and computer readable storage medium
CN102315919B (en) The method and apparatus that a kind of HARQ data merges
CN108259400B (en) Soft bit processing method, device and storage medium
EP3413488A1 (en) Modulation method and device
CN108322293B (en) Log-likelihood ratio determining method for HARQ, HARQ feedback method and device
CN111181695B (en) Method, device and system for requesting hybrid automatic repeat request of polar code
CN112953686B (en) Data retransmission method, device, equipment and storage medium
CN113055133B (en) Hybrid automatic repeat request HARQ response method, device, equipment and medium
EP3231117B1 (en) Enhanced performance hybrid-arq
CN108322292B (en) Log-likelihood ratio correction method for HARQ, HARQ feedback method and device
CN112118016B (en) Decoding control method and device, terminal and storage medium
CN109450602B (en) Data transmission method and device and electronic 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201201