WO2021196931A1 - Communication method, apparatus and system for power line communication system - Google Patents

Communication method, apparatus and system for power line communication system Download PDF

Info

Publication number
WO2021196931A1
WO2021196931A1 PCT/CN2021/077848 CN2021077848W WO2021196931A1 WO 2021196931 A1 WO2021196931 A1 WO 2021196931A1 CN 2021077848 W CN2021077848 W CN 2021077848W WO 2021196931 A1 WO2021196931 A1 WO 2021196931A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
data
header
type
data frame
Prior art date
Application number
PCT/CN2021/077848
Other languages
French (fr)
Chinese (zh)
Inventor
谢志鹏
曾焱
蔡文超
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021196931A1 publication Critical patent/WO2021196931A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/544Setting up communications; Call and signalling arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
    • H04L1/0008Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length by supplementing frame payload, e.g. with padding bits

Definitions

  • This application relates to the field of communication, and in particular to a communication method, device and system for a power line communication system.
  • a power line communication (PLC) system can adopt a half-duplex communication method, and the half-duplex communication method requires two different transmission time slots for signal transmission in two different transmission directions. For example, in the first time slot, the first end sends a signal to the second end, and the second end receives the signal; in the second time slot, the second end sends a signal to the first end, and the first end receives the signal. Therefore, the communication capacity of the half-duplex communication mode is relatively low.
  • the PLC system can also use a full-duplex communication system.
  • the full-duplex communication system refers to the two-way simultaneous communication between the first end and the second end, that is, in the same time slot, the first end sends a signal to the second end, and the second end also sends a signal to the first end, so Theoretically, the communication capacity of a full-duplex communication system is higher than that of a half-duplex communication system.
  • PLC systems are widely used in home networks or power line monitoring and other fields. With the development of business in these fields, the demand for communication capacity is increasing. Therefore, the current PLC communication capacity is still insufficient, and its communication capacity needs to be improved.
  • This application provides a communication method, device, and system for a power line communication system to improve communication capacity.
  • the technical solution is as follows:
  • the embodiments of the present application provide a new type of data frame used for transmission in a PLC system.
  • the frame header of the new type data frame does not include the response frame header, which can reduce the length of the frame header of the new type data frame.
  • the frame header length of the new data frame is smaller than the frame header length of the traditional data frame.
  • the embodiment of the present application defines the frame type of the new data frame as the first frame type, and the frame type of the traditional data frame as the second frame type, and the first frame type and the second frame type are different.
  • an embodiment of the present application provides a communication method for a PLC system.
  • a first device receives a first data frame sent by a second device, and the first data frame includes M data units, M is an integer greater than zero.
  • the first device determines whether there is an error in the M data units, and if it is determined that none of the M data units has an error, it sends a second data frame to the second device.
  • the frame type of the second data frame is The first frame type, the frame header of the second data frame does not include the response frame header.
  • the second data frame is used to indicate that none of the M data units has an error.
  • the first device responds to the second device through the second data frame.
  • the frame header of the second data frame does not include the response frame header, the length of the payload part of the second data frame is increased, thereby increasing the communication capacity.
  • the length of the second data frame can be reduced to reduce the time required to transmit the second data frame, so that in the same data transmission time period, the number of transmission data frames can be increased to increase the communication capacity.
  • the first device sends a third data frame to the second device when it is determined that there are errors in N data units in the M data units, where N is greater than 0 and less than or equal to M
  • the frame type of the third data frame is the second frame type
  • the second frame type is different from the first frame type
  • the frame header of the third data frame includes the response frame header
  • the response frame header includes the first indication information and At least one of the second indication information
  • the first indication information is used to indicate that the N data units have errors
  • the second indication information is used to indicate that MN data units have no errors
  • the MN data units are the M data units Data units other than the N data units in the data unit.
  • the frame header of the second data frame includes a first preamble and a first management information frame header
  • the frame header of the third data frame also includes a second preamble and a second management information frame header.
  • the header of the second data frame does not include the response header, so that the length of the header of the second data frame or the time length of the entire second data frame can be reduced.
  • the second preamble and the second management information frame header are located before the response frame header.
  • the second data frame includes frame type indication information, and the frame type indication information is used to indicate that the frame type of the second data frame is the first frame type. This is convenient for the second device to determine the frame type of the second data frame when receiving the second data frame.
  • the frame type indication information is carried in the first management information frame header of the second data frame, so that the frame type indication information is transmitted to the second device through the first management information frame header, So that the second device can determine the frame type of the second data frame.
  • the second data frame includes additional channel estimation (ACE), and the ACE is located after the frame header of the second data frame.
  • ACE channel estimation
  • the first preamble, the first management information frame header, and the ACE correspond to different orthogonal frequency division multiplexing (OFDM) symbols.
  • the second preamble, the second management information frame header and the response frame header respectively correspond to different OFDM symbols.
  • the first device receives the first data frame in the first data transmission time slot, the first device transmits the second data frame or the third data frame in the second data transmission time slot, and the second data The transmission time slot is located after the first data transmission time slot.
  • an embodiment of the present application provides a communication method for a PLC system.
  • a first data frame sent by a second device to a first device the first data frame includes M data units, M is an integer greater than zero.
  • the first device determines whether the M data units have error data units, and when it is determined that none of the M data units have errors, it sends the first frame type of the second device to the second device.
  • Two data frames, the second data frame is used to indicate that none of the M data units received by the first device has an error, and the second data frame does not include the response frame header.
  • the second device receives the second data frame sent by the first device, determines the frame type of the second data frame, and when determining that the frame type of the second data frame is the first frame type, determines that none of the M data units has an error. In this way, the M data units are responded to by the second data frame, and since the second data frame does not include the response frame header, the length of the payload part of the second data frame is increased, thereby increasing the communication capacity.
  • the length of the second data frame can be reduced to reduce the time required to transmit the second data frame, so that in the same data transmission time period, the number of transmission data frames can be increased to increase the communication capacity.
  • the first device sends a second data frame of the second frame type to the first device when it is determined that there are errors in N data units among the M data units, and the second data
  • the frame header of the frame includes a response frame header.
  • the first frame type is different from the second frame type.
  • the response frame header includes at least one of first indication information and second indication information.
  • the first indication information is used to instruct the first device Among the received M data units, there are N data units that have errors.
  • the second indication information is used to indicate that MN data units have no errors.
  • N is an integer greater than 0 and less than or equal to M.
  • the MN data units are the Data units other than the N data units among the M data units.
  • the second device receives the second data frame, and when determining that the frame type of the second data frame is the second frame type, based on the response header of the second data frame, it determines the N data units and/or failures that have errors.
  • the frame header of the second data frame when the frame type of the second data frame is the first frame type, the frame header of the second data frame includes the first preamble and the first management information frame header; When the frame type is the second frame type, the frame header of the second data frame further includes a second preamble and a second management information frame header, and the second preamble and the second management information frame header are located before the response frame header.
  • the frame type of the second data frame is the first frame type
  • since the header of the second data frame does not include the response header, the length of the header of the second data frame can be reduced, and the payload of the second data frame can be increased. The length of the part or reduce the time length of the second data frame.
  • the second data frame includes frame type indication information
  • the frame type indication information is used to indicate the frame type of the second data frame, so that the second device can determine the second data frame according to the frame type indication information.
  • the frame type of the data frame improves the accuracy of determining the frame type.
  • the second device parses the second data frame, and if the second data frame does not include the response frame header, it determines that the frame type of the second data frame is the first frame type; if the second data frame If the response frame header is included, the frame type of the second data frame is determined to be the second frame type, and thus the frame type of the second data frame is determined.
  • the second data frame includes an ACE, and the ACE is located after the frame header of the second data frame.
  • the first preamble and the first management information frame header in the second data frame correspond to different OFDM symbols;
  • the frame type of the second data frame is the second frame type, the second preamble, the second management information frame header, and the response frame header in the second data frame respectively correspond to different OFDM symbols.
  • the second device parses the next OFDM symbol adjacent to the header of the first management information frame in the second data frame, and if the next OFDM symbol is the ACE, it determines the second data frame Does not include the response frame header. In this way, a way of analyzing whether the second data frame includes the response frame header is realized.
  • this application provides a communication device for a PLC system, which is used to execute the first aspect or the method in any one of the possible implementation manners of the first aspect.
  • the device includes a unit for executing the method of the first aspect or any one of the possible implementation manners of the first aspect.
  • the present application provides a communication device for a PLC system, which is used to execute the second aspect or the method in any one of the possible implementation manners of the second aspect.
  • the device includes a unit for executing the second aspect or any one of the possible implementation manners of the second aspect.
  • the present application provides a communication device for a PLC system, the device includes: a processor, a memory, and a transceiver. Wherein, the processor, the memory and the transceiver may be connected through a bus system.
  • the memory is configured to store one or more programs
  • the processor is configured to execute one or more programs in the memory, so that the communication device completes the first aspect or the method in any possible implementation manner of the first aspect .
  • the present application provides a communication device for a PLC system, the device including: a processor, a memory, and a transceiver.
  • the processor, the memory and the transceiver may be connected through a bus system.
  • the memory is configured to store one or more programs
  • the processor is configured to execute one or more programs in the memory, so that the communication device completes the second aspect or the method in any possible implementation manner of the second aspect .
  • the present application provides a computer-readable storage medium with program code stored in the computer-readable storage medium, which when run on a computer, causes the computer to execute the first, second, and first aspects above Any possible implementation manner of or a method in any possible implementation manner of the second aspect.
  • the present application provides a computer program product containing program code, which when running on a computer, enables the computer to execute the first aspect, the second aspect, any possible implementation manner of the first aspect, or the second aspect Any of the possible implementations of the method.
  • the present application provides a communication system for a PLC system.
  • the communication system includes the device described in the third aspect and the device described in the fourth aspect, or the communication system includes the device described in the fifth aspect.
  • FIG. 1 is a schematic diagram of a network architecture provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of the structure of a data frame provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of the structure of a signal frame provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an aggregation frame provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a PLC system provided by an embodiment of the present application.
  • FIG. 6 is a flowchart of a communication method for a PLC system provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of responding to a data frame provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a constellation diagram provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a second data frame provided by an embodiment of the present application.
  • FIG. 10 is another schematic diagram of responding to a data frame provided by an embodiment of the present application.
  • FIG. 11 is another schematic diagram of responding to a data frame provided by an embodiment of the present application.
  • FIG. 12 is a flowchart of another communication method for a PLC system provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a third data frame provided by an embodiment of the present application.
  • FIG. 14 is another schematic diagram of responding to a data frame provided by an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a communication device used in a PLC system provided by an embodiment of the present application.
  • 16 is a schematic structural diagram of another communication device used in a PLC system provided by an embodiment of the present application.
  • FIG. 17 is a schematic structural diagram of another communication device used in a PLC system provided by an embodiment of the present application.
  • FIG. 18 is a schematic structural diagram of another communication device used in a PLC system provided by an embodiment of the present application.
  • an embodiment of the present application provides a PLC system, including a first device and a second device.
  • the first device and the second device communicate in a full-duplex communication mode.
  • the first device and the second device When using full-duplex communication, the first device and the second device perform two-way simultaneous communication. In the same data transmission time slot, the first device sends data frames to the second device, and the second device also sends data frames to the first device. Data Frame. For example, as shown in Figure 1, the first device sends data frame 1 to the second device and simultaneously receives data frame 2 sent by the second device in a data transmission time gap. Similarly, the second device sends data frame 1 to the first device in the data transmission time gap. The device sends data frame 2 and simultaneously receives data frame 1 sent by the first device.
  • the data frame includes a frame header, additional channel estimation (ACE), and a payload part.
  • the ACE is located between the frame header and the payload part.
  • the payload part includes at least one data unit (M data units as shown in FIG. 2, where M is an integer greater than 0).
  • the ACE includes information for channel estimation.
  • the channel is between the first device and the second device.
  • ACE also has a pilot function.
  • the data unit is a link protocol data unit (logical link control protocol data unit, LPDU), etc.
  • link protocol data unit logical link control protocol data unit, LPDU
  • the first device and the second device both send and receive data frames in data transmission time slots, and two adjacent data transmission time slots are separated by an inter-frame protection gap.
  • the data frame sent by the first device to the second device in the first data transmission time slot is a signal frame
  • the data frame sent by the second device to the first device is also For the signal frame.
  • the data frame sent by the first device to the second device in the data transmission time slot may be an aggregated frame
  • the second device also sends to the first device
  • the data frame may also be an aggregated frame.
  • a signal frame includes a frame header, an ACE, and a payload part.
  • the ACE is located between the frame header and the payload part.
  • the frame header of the signal frame includes a preamble and a management information frame header, and the management information frame header is located between the preamble and the ACE.
  • the preamble in the signal frame is used to implement at least one function of data synchronization, automatic gain control (AGC) adjustment, and frequency offset correction.
  • the management information frame header of the signal frame includes the management information of the signal frame, and the management information includes information such as a source address, a destination address, and a frame header check sequence.
  • the ACE includes information used for channel estimation, and the payload part includes at least one data unit.
  • the aggregate frame transmitted in the data transmission slot includes a frame header, an ACE and a payload part.
  • the ACE is located between the frame header and the payload part.
  • the frame header of the signal frame includes a preamble, a management information frame header, and a response frame header.
  • the management information frame header is located between the preamble and the response frame header, and the response frame header is located before the ACE.
  • the preamble in the aggregation frame is used to implement at least one function of data synchronization, AGC adjustment, and frequency offset correction.
  • the management information frame header of the aggregate frame includes the management information of the aggregate frame, and the management information includes information such as a source address, a destination address, and a frame header check sequence.
  • the response frame header of the aggregation frame carries at least one of the first indication information and the second indication information, the ACE includes information used for channel estimation, and the payload part includes at least one data unit.
  • the first device receives the data frame sent by the second device in the first data transmission time slot.
  • the data frame includes M data units.
  • the first device sends the aggregate frame to the second device in the second data transmission time slot.
  • the data transmission time slot is located after the first data transmission time slot, and the response frame header included in the frame header of the aggregation frame carries at least one of the first indication information and the second indication information, and the first indication information is used to indicate the M
  • the data unit in which an error occurs in the data units, and the second indication information is used to indicate the data unit in the M data units that does not have an error.
  • the data frame received by the first device in the first data transmission time slot is sent by the second device in the first data transmission time slot
  • the first data transmission time slot is a data transmission time slot located after the first data transmission time slot
  • the data frame received by the first device in the first data transmission time slot is the data frame received by the second device in the first data transmission time slot The aggregated frame sent in the first data transmission slot.
  • the length of the header of the aggregate frame described above is relatively long, which may reduce the length of the payload part, thereby reducing the communication capacity of the full-duplex communication system.
  • the present application provides a new type of aggregated frame. In the case that none of the M data units included in the first data frame received by the first device in the first data transmission slot has an error, the first device The new type of aggregation frame can be sent in the second data transmission time slot, and the new type of aggregation frame is used to indicate that no error has occurred in the M data units.
  • the novel aggregate frame includes a frame header, an ACE, and a payload part, and the ACE is located between the frame header and the payload part.
  • the frame header includes a preamble and a management information frame header, the management information frame header is located between the preamble and the ACE, and the ACE is located after the management information frame header.
  • the preamble in the new aggregation frame is used to implement at least one function such as data synchronization, AGC adjustment, and frequency offset correction.
  • the management information frame header includes management information of the new aggregate frame.
  • the management information includes frame type indication information, and the frame type indication information is used to indicate the frame type of the new aggregate frame.
  • the ACE includes information used for channel estimation, and the payload part includes at least one data unit (X data units as shown in FIG. 4, where X is an integer greater than 0).
  • the frame header of the new aggregate frame does not include the response frame header, which can increase the length of the payload part, so that the net of the new aggregate frame can be increased.
  • the number of data units included in the payload part is greater than or equal to the number of data units included in the payload part of the traditional aggregate frame, thereby achieving the improvement of the communication capacity of the full-duplex communication system.
  • reduce the length of the new aggregate frame to reduce the time required to transmit the new aggregate frame, so that in the same data transmission time period, the number of new aggregate frames to be transmitted can be increased to increase the communication capacity.
  • the length of time occupied by the response frame header is 51.2 microseconds (us).
  • the new aggregate frame reduces the response frame header, which can reduce the length of time occupied by the new aggregate frame by 51.2us.
  • the communication method can transmit new aggregated frames in both directions at the same time, so that each pair of new aggregated frames for two-way communication can reduce the time accumulated by 0.14 milliseconds (ms).
  • the frame type of the new aggregate frame is referred to as the first frame type
  • the frame type of the traditional aggregate frame that is, the aggregate frame including the response frame header
  • the second frame type the frame type of the traditional aggregate frame (that is, the aggregate frame including the response frame header) shown in FIG. 2
  • the second frame type the frame type of the traditional aggregate frame (that is, the aggregate frame including the response frame header) shown in FIG. 2
  • the first device after receiving the first data frame sent by the second device, the first device sends the frame type of the first frame to the second device if it is determined that none of the M data units in the first data frame has an error.
  • Type of the second data frame the second data frame is used to indicate that none of the M data units have errors, and the second data frame is a new type of aggregation frame; it is determined that there are N data units that have errors in the M data units
  • a third data frame of the second frame type is sent to the second device, and the frame header of the third data frame includes a response frame header, and the response frame header includes at least one of the first indication information and the second indication information.
  • One indication information is used to indicate that N data units have errors
  • the second indication information is used to indicate that the remaining MN data units have no errors
  • N is an integer less than 0 and less than or equal to M
  • the third data frame is a traditional Aggregate frame.
  • the PLC system includes a domain master (DM) and multiple nodes (end ponit, EP), and the DM may be connected to the multiple EPs through PLC power lines.
  • the first device and the second device can be the DM and any EP respectively, and the DM and any EP use full-duplex communication to communicate.
  • the specific implementation will be carried out in the subsequent embodiments shown in Figure 6 and Figure 12 illustrate.
  • the DM allocates a data transmission time period that includes at least one data transmission time slot, and then the DM and the EP communicate in a full-duplex communication mode during the data transmission time period.
  • the first device and the second device are any two EPs in the PLC communication system, and the two EPs use full-duplex communication for communication.
  • the specific implementation will be implemented as shown in Figure 6 and Figure 12 later. Examples are explained in detail.
  • the data transmission time period includes at least one data transmission time. Then, during the data transmission time period, the two EPs communicate using the full-duplex communication mode.
  • an embodiment of the present application provides a communication method for a PLC system.
  • the method is applied to the network architecture shown in FIG. 1 or FIG. 5.
  • the first device and the second device adopt full-duplex communication.
  • the first device can receive the data frame sent by the second device and can also send the data frame to the second device in the same data transmission time slot.
  • the first device receives the data frame sent by the second device in the first data transmission time slot, and sends the data frame to the second device in the second data transmission time slot as an example.
  • the second data transmission time slot Located after the first data transmission slot.
  • the method includes:
  • Step 101 A first device receives a first data frame sent by a second device, where the first data frame includes M data units, and M is an integer greater than zero.
  • the first device and the second device communicate in full-duplex communication mode.
  • the first device and the second device Before adopting the full-duplex communication mode, the first device and the second device first apply for a data transmission time period, and the data transmission time period includes at least For a data transmission time slot, there is an inter-frame protection gap between two adjacent data transmission time slots.
  • the first device and the second device are respectively the DM and EP of the PLC system.
  • the DM allocates a data transmission time period, and then uses full duplex in the data transmission time slot included in the data transmission time period. Communicate with EP in industrial communication mode.
  • the first device and the second device are respectively two EPs of the PLC system. Before the two EPs or one of the two EPs communicate, they request the DM to allocate a data transmission time period, and then the two EPs The EP uses a full-duplex communication mode to communicate within the data transmission time slot included in the data transmission time period.
  • the first device receives the first data frame sent by the second device in the first data transmission time slot.
  • the first data frame includes a frame header, an ACE, and a payload part, and the payload part includes the M data units.
  • the first data transmission time slot may be the first data transmission time slot in the data transmission time period, so that the first data frame is a signal frame sent by the second device in the first data transmission time slot.
  • the first data transmission time slot may be a data transmission time slot located after the first data transmission time slot, so that the first data frame is an aggregate frame sent by the second device in the first data transmission time slot.
  • a data frame may be a new aggregate frame of the first frame type, or may be a traditional aggregate frame of the second frame type.
  • the second device After the second device sends the first data frame, the second device sets the state of the M data units in the first data frame to the waiting state.
  • the first data frame is an aggregate frame (may be a new type aggregate frame of the first frame type, or may be a traditional aggregate frame of the second frame type)
  • the second device sends the first data frame after Set the status of the M data units (data units 21, 22, ..., 2M in FIG. 8) to be acknowledged, and for the data units sent before the first data transmission time slot (data units in FIG.
  • Step 102 The first device determines whether there are data units with errors in the M data units. If it is determined that none of the M data units have errors, then step 103 is executed. If it is determined that there are N data units in the M data units If an error occurs in the unit, step 105 is executed, where N is an integer greater than 0 and less than or equal to M.
  • the first device obtains the M data units from the first data frame. For any data unit of the M data units, the first device decodes the data unit, and decodes the data in the data unit and the bit error rate of the data unit, where the bit error rate exceeds the bit error rate threshold , It is determined that an error has occurred in the data unit, and when the error rate does not exceed the error rate threshold, it is determined that no error has occurred in the data unit.
  • the second device When the second device sends the data unit, it maps the data in the data unit to each constellation point included in the constellation diagram. For example, referring to FIG. 8, the second device maps the data in the data unit to the four constellation points A, B, C, and D included in the constellation diagram shown in FIG. 8.
  • the position of the constellation point in the constellation diagram changes. For example, referring to FIG. 8, in the process of transmitting the data unit, the position of the constellation point A may shift and move to the position of the constellation point A1, causing an error in the data unit.
  • the first device and the second device may agree on each constellation point in the constellation diagram in advance, so that both the first device and the second device save the position of each constellation point in the constellation diagram, or the first device and the second device use
  • the communication protocol defines each constellation point in the constellation diagram, so that both the first device and the second device save the position of each constellation point in the constellation diagram. Since the position of each constellation point in the constellation diagram is stored in the first device, when the constellation diagram of the data unit is decoded, it is detected that the position of the constellation point A1 is wrong, and an error occurs in the constellation point A1.
  • the first device detects each constellation point where errors occur in the constellation diagram of the data unit, and calculates the bit error rate of the data unit based on the number of constellation points where the error occurs and the total number of constellation points included in the constellation diagram.
  • Step 103 The first device sends a second data frame to the second device, where the second data frame is used to indicate that none of the M data units has an error.
  • the first device determines that none of the M data units has an error, it generates a second data frame.
  • the second data frame is a new type of aggregation frame of the first frame type and sends it to the second device in the second data transmission time slot.
  • the second data frame is a new type of aggregation frame of the first frame type and sends it to the second device in the second data transmission time slot.
  • the second data frame includes a frame header, a first ACE and a first payload part.
  • the frame header includes a first preamble and a first management information frame header.
  • the first preamble is located before the first management information frame header.
  • a management information frame header is located before the first ACE, the first ACE is located before the first payload part, and the first payload part includes X data units.
  • the first preamble, the first management information frame header, and the first ACE respectively correspond to different (orthogonal frequency division multiplexing, OFDM) symbols, that is, different OFDM symbols are used to transmit the first preamble, the first management information frame header, and the first ACE.
  • OFDM orthogonal frequency division multiplexing
  • the first payload part is also for at least one OFDM symbol, that is, the at least one OFDM symbol is used to transmit the first payload part.
  • the first management information frame header includes frame type indication information, and the frame type indication information is used to indicate that the frame type of the second data frame is the first frame type.
  • a reserved field in the first management information frame header is used to carry the frame type indication information.
  • At least one bit in the reserved field is used to carry the frame type indication information. For example, setting the value of a bit in the reserved field to 1 indicates that the frame type indicated by the frame type indication information is the first frame type, or setting the value of a bit in the reserved field to 0 indicates that the frame type The frame type indicated by the indication information is the first frame type.
  • the first device and the second device can agree on a bit used to carry the frame type indication information in the reserved field in the second data frame before communicating.
  • the communication protocol used by the first device and the second device specifies the bits used to carry the frame type indication information in the reserved field in the second data frame.
  • the first device when the first device generates the second data frame, it uses the agreed bits in the reserved field to carry the frame type indication information, or uses the bits in the reserved field specified by the communication protocol to carry the frame type indication information.
  • the first device After the first device sends the second data frame, it sets the state of the X data units in the second data frame to the waiting state.
  • Step 104 The second device receives the second data frame, obtains the frame type of the second data frame, and determines that the frame type of the second data frame is the first frame type, thereby further determining the M data units received by the first device No error occurred, the end returns.
  • the frame type of the second data frame can be determined in the following two ways:
  • the second device obtains the frame type indication information from the frame header of the second data frame, and determines that the frame type of the second data frame is the first frame type according to the frame type indication information.
  • the frame header of the second data frame includes a first management information frame header, and the first management information frame header includes frame type indication information, and the frame type indication information is used to indicate that the frame type of the second data frame is the first frame type. Therefore, the second device recognizes the first management information frame header from the frame header of the second data frame, reads the frame type indication information from the first management information frame header, and determines the second data frame according to the frame type indication information
  • the frame type is the first frame type.
  • the frame type indication information is carried in a reserved field of the first management information frame header.
  • the second device may read the frame type indication information from the reserved field of the information frame header of the first management frame.
  • the first device and the second device agree in advance to reserve at least one bit for carrying the frame type indication information in the reserved field, so that the second device reads the frame type indication information from the agreed at least one bit.
  • the communication protocol used by the second device and the first device specifies at least one bit used to carry the frame type indication information in the reserved field, so that the second device determines the frame type in the second data frame based on the communication protocol. At least one bit, read the frame type indication information from the at least one bit.
  • the second device detects the second data frame, and if it detects that the second data frame does not include the response frame header, it determines that the frame type of the second data frame is the first frame type.
  • the second data frame includes the first ACE, the frame header of the second data frame includes the first frame management information frame header, and the first ACE is located after the frame header of the second data frame; in this way, the second device detects the operation of the second data frame, Can be:
  • the second device detects the next field adjacent to the management information frame header of the first frame in the second data frame, and detects that the next field is the first ACE, and then detects that the second data frame does not include the response frame header.
  • the second device when the second device determines that the frame type of the second data frame is the first frame type after executing the above-mentioned first method, it may further determine whether the frame type of the second data frame is the second method
  • the first frame type is used to improve the accuracy of determining the frame type of the second data frame.
  • the frame type information carried in the header of the first frame management information of the second data frame may be wrong, so the second device The frame type of the second data frame determined through the first method may be inaccurate. Therefore, the second device can further determine the frame type of the second data frame through the second method. If the second data frame is determined through two methods The frame types of are all the first frame type, so that the frame type of the second data frame is finally determined to be the first frame type.
  • the second device in the second data transmission time slot, the second device also sends a fourth data frame to the first device, and the payload part of the fourth data frame includes W data units (as shown in Figure 10).
  • W data units as shown in Figure 10
  • Units 31, 32, ..., 3W set the state of the W data units to the waiting state, and the W data units are located behind the M data units.
  • the second device determines that none of the M data units received by the first device has an error, it sets the state of the M data units to acknowledged, moves the sliding window, and sets the starting position of the sliding window After moving to the M data units and before the W data units, W can be equal to, greater than, or less than M.
  • the second data frame includes X data units
  • the second device also determines whether there are data units with errors in the X data units, and sends the data frame to the first device in the third data transmission time slot according to the determined result,
  • steps 102 and 103 and the operation performed by the first device in the subsequent step 105, which is not described in detail here.
  • the first device determines that there are N data units in the M data units, the first device starts to perform the following operation of step 105 after performing the operation of step 102.
  • Step 105 The first device sends a third data frame to the second device.
  • the frame header of the third data frame includes a response frame header.
  • the response frame header includes at least one of the first indication information and the second indication information.
  • the information is used to indicate that an error has occurred in the N data units
  • the second indication information is used to indicate that no error has occurred in the MN data units
  • the MN data units are data units other than the N data units among the M data units .
  • the first device generates a third data frame when it is determined that there are errors in the N data units of the M data units.
  • the third data frame is a traditional aggregate frame of the second frame type, and transmits to the first data frame in the second data transmission time slot.
  • the second device sends the third data frame.
  • the third data frame includes a frame header, a second ACE, and a second payload part.
  • the frame header includes a second preamble, a second management information frame header, and a response frame header.
  • the second preamble is located in the second management information frame.
  • the second management information frame header is located before the response frame header
  • the response frame header is located before the second ACE
  • the second ACE is located before the second payload part
  • the second payload part includes Y data units.
  • the second preamble, the second management information frame header, the response frame header, and the second ACE respectively correspond to different OFDM symbols, that is, different OFDM symbols are used to transmit the second preamble, the second management information frame header, and the response frame header.
  • the second ACE The second payload part is also for at least two OFDM symbols, that is, the at least one OFDM symbol is used to transmit the second payload part.
  • the response frame header includes a bitmap
  • the bitmap includes M bits
  • the first to Mth bits correspond to the first to Mth data units, and for data units that have no errors, the data unit corresponds to
  • the value of the bit of is the first value
  • the second value is the value 0; alternatively, the first value is the value 1, and the second value is the value 0.
  • the bitmap there are M-N bits whose values are the first value, and there are N bits whose values are the second value.
  • the first indication information includes the bit corresponding to the data unit in the bitmap with an error
  • the second indication information includes the bit corresponding to the data unit with no error in the bitmap.
  • the first indication information includes the sequence numbers of the N data units
  • the second indication information includes the sequence numbers of the M-N data units.
  • the frame header length of the second data frame is smaller than the frame header length of the third data frame. This may cause the length of the first payload part of the second data frame to be greater than or equal to the length of the second payload part of the third data frame, so the number of data units X in the second data frame may be greater than or equal to the third data frame The number of data units in Y.
  • the length of the first payload part of the second data frame is equal to the length of the second payload part of the third data frame, which results in the time length of the second data frame being shorter than the time length of the third data frame.
  • Step 106 The second device receives the third data frame, determines the N data units with errors and/or the M-N data units without errors based on the response frame header of the third data frame, and ends the return.
  • the second device recognizes the response frame header from the third data frame.
  • the response frame header includes the first indication information
  • extract the first indication information from the response frame header and based on the first indication information, determine the N data units where errors have occurred, and further obtain the MN where no error has occurred. Data units.
  • the second indication information is extracted from the response frame header, and based on the second indication information, M-N data units where no error has occurred are determined.
  • M-N data units where no error has occurred are determined.
  • N data units in which the error occurred can also be determined.
  • the response frame header includes the first indication information and the second indication information
  • extract the first indication information and the second indication information from the response frame header determine the N data units with errors based on the first indication information, and Based on the first indication information, determine MN data units where no error has occurred.
  • the response frame header includes a bitmap
  • the second device obtains from the bitmap N bits with a value of the second value and MN bits with a value of the first value, and determines the N bits The corresponding N data units have errors, and it is determined that the MN data units corresponding to the MN data units have no errors.
  • the first indication information includes the sequence numbers of the N data units where the error occurs
  • the second device determines the N data units where the error occurs according to the sequence numbers of the N data units.
  • the second indication information includes the sequence number of the M-N data unit that has no error, and the second device determines the M-N data unit that has no error according to the sequence number of the M-N data unit.
  • the second device determines Z data units from the MN data units, where Z is an integer greater than or equal to 0 and less than or equal to MN, and the Z data units are also the first Z of the M data units Data unit, set the state of the Z data units to the acknowledged state. For the remaining M-Z data units, they will be re-sent to the first device in the data transmission time slot after the second data transmission time slot.
  • the second device in the second data transmission time slot, the second device also sends a fourth data frame to the first device.
  • the payload part of the fourth data frame includes W data units (as shown in Figure 10).
  • Units 31, 32, ..., 3M) set the state of the W data units to the waiting state, and the W data units are located behind the M data units.
  • the second device determines the N data units with errors and MN data units with no errors, it is assumed that the MN data units with no errors are the first data unit and the second data unit among the M data units.
  • the data unit, the 4th data unit and the 6th data unit so that the second device determines 2 data units from the four data units where no error has occurred, and the 2 data units are the first two of the M data units Data unit, namely the first data unit and the second data unit.
  • the second device sets the status of the two data units as acknowledged, moves the sliding window, and moves the starting position of the sliding window to the second data unit of the M data units (ie, FIG. 14 Between the data unit 22 shown) and the third data unit (not shown in FIG. 14).
  • the third data frame includes Y data units
  • the second device also determines whether there are data units with errors in the Y data units, and sends the data frame to the first device in the third data transmission time slot according to the determined result
  • the fourth data frame sent by the first device to the second device may be a new type of aggregation frame of the first frame type, or may be a traditional aggregation frame of the second frame type, and it is sent
  • the operations performed by the first device in the foregoing steps 102, 103, and 105 which are not described in detail in the embodiment of the present application.
  • the first device when the first device receives the first data frame, it determines whether there is an error-occurring data unit among the M data units in the first data frame. If it is determined that none of the M data units has occurred If an error occurs, a second data frame of the first frame type is sent to the second device, and the second data frame is used to indicate that no error has occurred in the M data units. In this way, the second device receives the second data frame, and when it detects that the frame type of the second data frame is the first frame type, it is determined that the M data units received by the first device have no errors.
  • the length of the frame header of the second data frame can be reduced, so that the length of the payload part of the second data frame can be increased, thereby increasing the communication capacity.
  • the length of the second data frame can be reduced to reduce the time required to transmit the second data frame, so that in the same data transmission time period, the number of transmission data frames can be increased to increase the communication capacity.
  • an embodiment of the present application provides a communication device 200 for a PLC system.
  • the device 200 may be deployed in the first device shown in any of the foregoing embodiments, and includes: a receiving unit 201 and a processing unit 202 And sending unit 203;
  • the receiving unit 201 is configured to receive a first data frame sent by a second device, the first data frame includes M data units, and M is an integer greater than 0;
  • the sending unit 203 is configured to send a second data frame to the second device when the processing unit 202 determines that none of the M data units has an error, the frame type of the second data frame is the first frame type, and the second data frame The frame header of the frame does not include the response frame header, and the second data frame is used to indicate that none of the M data units has an error.
  • the sending unit 203 is further configured to:
  • the processing unit 202 determines that there are errors in N data units among the M data units, it sends a third data frame to the second device, where N is an integer greater than 0 and less than or equal to M, and the frame of the third data frame
  • the type is the second frame type, the second frame type is different from the first frame type, the frame header of the third data frame includes a response frame header, and the response frame header includes at least one of the first indication information and the second indication information,
  • the first indication information is used to indicate that an error has occurred in the N data units, and the second indication information is used to indicate that no error has occurred in the MN data units, and the MN data units are among the M data units excluding the N data units Data unit.
  • the detailed implementation process for the processing unit 202 to determine whether there is an error in the data unit among the M data units refer to the relevant content in step 102 of the embodiment shown in FIG. 6, which will not be described in detail here.
  • the frame header of the second data frame includes a first preamble and a first management information frame header
  • the frame header of the third data frame further includes a second preamble and a second management information frame header.
  • the second preamble and the second management information frame header are located before the response frame header.
  • the second data frame includes frame type indication information, and the frame type indication information is used to indicate that the frame type of the second data frame is the first frame type.
  • the frame type indication information is carried in the first management information frame header of the second data frame.
  • the second data frame includes an ACE, and the ACE is located after the frame header of the second data frame.
  • the first preamble, the first management information frame header, and the ACE respectively correspond to different OFDM symbols;
  • the second preamble, the second management information frame header, and the response frame header respectively correspond to different OFDM symbols.
  • the receiving unit 201 is configured to receive the first data frame in the first data transmission time slot
  • the sending unit 203 is configured to send a second data frame or a third data frame in a second data transmission time slot, and the second data transmission time slot is located after the first data transmission time slot.
  • the receiving unit receives the first data frame sent by the second device, the first data frame includes M data units, and M is an integer greater than zero.
  • the sending unit determines that none of the M data units has an error, it sends a second data frame to the second device.
  • the frame type of the second data frame is the first frame type, and the frame header of the second data frame does not include a response.
  • the frame header, the second data frame is used to indicate that none of the M data units has an error.
  • the second data frame is used to indicate that none of the M data units has an error
  • the processing unit determines that none of the M data units has an error
  • the second data frame responds to the M data to the second device Unit, because the frame header of the second data frame does not include the response frame header, the length of the payload part of the second data frame is increased, thereby increasing the communication capacity.
  • the length of the second data frame can be reduced to reduce the time required to transmit the second data frame, so that in the same data transmission time period, the number of transmission data frames can be increased to increase the communication capacity.
  • an embodiment of the present application provides a communication device 300 for a PLC system.
  • the device 300 may be deployed in the second device shown in any of the foregoing embodiments, and includes: a sending unit 301 and a processing unit 302 And the receiving unit 303;
  • the sending unit 301 is configured to send a first data frame to a first device, where the first data frame includes M data units, and M is an integer greater than 0;
  • the receiving unit 303 is configured to receive a second data frame sent by the first device, where when the frame type of the second data frame is the first frame type, the second data frame is used to indicate the M data units received by the first device No error occurred, and the second data frame does not include the response frame header;
  • the processing unit 302 is configured to determine the frame type of the second data frame, and when the frame type of the second data frame is the first frame type, determine that none of the M data units has an error.
  • the first data frame is generated by the processing unit 302.
  • the frame header of the second data frame includes a response frame header, and the first frame type is different from the second frame type, and the response frame header includes a first indication At least one of information and second indication information, the first indication information is used to indicate that there are errors in N data units in the M data units received by the first device, and the second indication information is used to indicate that MN data units have failed.
  • N is an integer greater than 0 and less than or equal to M
  • the MN data units are data units other than the N data units among the M data units;
  • the processing unit 302 is also used for:
  • the frame type of the second data frame is the second frame type
  • the N data units with errors and/or the M-N data units without errors are determined.
  • the processing unit 302 determines the detailed implementation process of the N data units with errors and/or the MN data units with no errors, please refer to the relevant content in step 106 of the embodiment shown in FIG. 12, here No more detailed description.
  • the frame header of the second data frame includes the first preamble and the first management information frame header
  • the frame header of the second data frame further includes a second preamble and a second management information frame header, and the second preamble and the second management information frame header are located in the response frame header Before.
  • the second data frame includes frame type indication information, and the frame type indication information is used to indicate the frame type of the second data frame,
  • the processing unit 302 is configured to determine the frame type of the second data frame according to the frame type indication information.
  • the processing unit 302 determines the detailed implementation process of the frame type of the second data frame according to the frame type indication information. Refer to the relevant content in step 104 of the embodiment shown in FIG. 6, which will not be described in detail here.
  • processing unit 302 is configured to:
  • Analyze the second data frame if the second data frame does not include the response frame header, determine the frame type of the second data frame as the first frame type; if the second data frame includes the response frame header, determine the second data frame The frame type is the second frame type.
  • the second data frame includes an ACE, and the ACE is located after the frame header of the second data frame.
  • the first preamble and the first management information frame header in the second data frame respectively correspond to different OFDM symbols;
  • the frame type of the second data frame is the second frame type
  • the second preamble, the second management information frame header, and the response frame header in the second data frame respectively correspond to different OFDM symbols.
  • processing unit 302 is configured to:
  • step 104 of the embodiment shown in FIG. 6, which will not be described in detail here.
  • the first data frame sent by the sending unit to the first device includes M data units, and M is an integer greater than zero.
  • the receiving unit receives the second data frame sent by the first device, where when the frame type of the second data frame is the first frame type, the second data frame is used to indicate that none of the M data units received by the first device has an error , The second data frame does not include the response frame header.
  • the processing unit determines the frame type of the second data frame, and when the frame type of the second data frame is the first frame type, it is determined that none of the M data units has an error.
  • the M data units are responded to by the second data frame, and since the second data frame does not include the response frame header, the length of the payload part of the second data frame is increased, thereby increasing the communication capacity.
  • the length of the second data frame can be reduced to reduce the time required to transmit the second data frame, so that in the same data transmission time period, the number of transmission data frames can be increased to increase the communication capacity.
  • an embodiment of the present application provides a schematic diagram of a communication device 400 used in a PLC system.
  • the apparatus 400 may be the first device in any of the foregoing embodiments.
  • the device 400 includes at least one processor 401, a bus system 402, a memory 403, and at least one transceiver 404.
  • the device 400 is a device with a hardware structure, and can be used to implement the functional modules in the device 200 described in FIG. 15.
  • the processing unit 202 in the device 200 shown in FIG. 15 can be implemented by calling the code in the memory 403 by the at least one processor 401.
  • the sending unit 203 may be implemented by the transceiver 404.
  • the aforementioned processor 401 may be a general-purpose central processing unit (central processing unit, CPU), network processor (network processor, NP), microprocessor, or application-specific integrated circuit (ASIC). , Or one or more integrated circuits used to control the execution of the program of this application.
  • CPU central processing unit
  • NP network processor
  • ASIC application-specific integrated circuit
  • the above-mentioned bus system 402 may include a path for transferring information between the above-mentioned components.
  • the aforementioned transceiver 404 is used to communicate with other devices or a communication network.
  • the aforementioned memory 403 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions.
  • the type of dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), or other optical disk storage, optical discs Storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by Any other medium accessed by the computer, but not limited to this.
  • the memory can exist independently and is connected to the processor through a bus.
  • the memory can also be integrated with the processor.
  • the memory 403 is used to store application program code for executing the solution of the present application, and the processor 401 controls the execution.
  • the processor 401 is configured to execute the application program code stored in the memory 403, so as to realize the functions in the method of the present patent.
  • the processor 401 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 17.
  • the apparatus 400 may include multiple processors, such as the processor 401 and the processor 407 in FIG. 17. Each of these processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor.
  • the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
  • an embodiment of the present application provides a schematic diagram of a communication device 500 used in a PLC system.
  • the apparatus 500 may be the first device in any of the foregoing embodiments.
  • the device 500 includes at least one processor 501, a bus system 502, a memory 503, and at least one transceiver 504.
  • the device 500 is a device with a hardware structure, and can be used to implement the functional modules in the device 300 described in FIG. 16.
  • the processing unit 302 in the device 300 shown in FIG. 16 can be implemented by calling the code in the memory 503 by the at least one processor 501.
  • the sending unit 301 may be implemented by the transceiver 504.
  • processor 501 may be a general-purpose central processing unit (central processing unit, CPU), network processor (network processor, NP), microprocessor, application-specific integrated circuit (ASIC) , Or one or more integrated circuits used to control the execution of the program of this application.
  • CPU central processing unit
  • NP network processor
  • ASIC application-specific integrated circuit
  • the above-mentioned bus system 502 may include a path for transferring information between the above-mentioned components.
  • the aforementioned transceiver 504 is used to communicate with other devices or a communication network.
  • the above-mentioned memory 503 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions.
  • the type of dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), or other optical disk storage, optical discs Storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by Any other medium accessed by the computer, but not limited to this.
  • the memory can exist independently and is connected to the processor through a bus.
  • the memory can also be integrated with the processor.
  • the memory 503 is used to store application program codes for executing the solutions of the present application, and the processor 501 controls the execution.
  • the processor 501 is configured to execute the application program code stored in the memory 503, so as to realize the functions in the method of the present patent.
  • the processor 501 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 18.
  • the apparatus 500 may include multiple processors, such as the processor 501 and the processor 507 in FIG. 18.
  • processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor.
  • the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
  • the embodiment of the present application provides a communication system for a PLC system, which includes the device 200 provided in the embodiment shown in FIG. 15 and the device 300 provided in the embodiment shown in FIG. 16, or includes the implementation shown in FIG.
  • the apparatus 400 provided in the example and the apparatus 500 provided in the embodiment shown in FIG. 18 are provided.
  • the apparatus 200 provided in the embodiment shown in FIG. 15 or the apparatus 400 provided in the embodiment shown in FIG. 17 is the first device, and the apparatus 300 provided in the embodiment shown in FIG. 16 may be implemented as shown in FIG. 18.
  • the device 500 provided in the example is the second device.
  • the program can be stored in a computer-readable storage medium.
  • the storage medium mentioned can be a read-only memory, a magnetic disk or an optical disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Quality & Reliability (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

Disclosed are a communication method, apparatus and system for a power line communication system, which belong to the field of communications. The method comprises: a first device receiving a first data frame sent by a second device, wherein the first data frame comprises M data units, and M is an integer greater than 0; and when it is determined that no error occurs in all the M data units, the first device sending a second data frame to the second device, wherein a frame type of the second data frame is a first frame type; a frame head of the second data frame does not comprise a response frame head; and the second data frame is used for indicating that no error occurs in all the M data units. According to the present application, the communication capacity can be increased.

Description

用于电力线通信系统的通信方法、装置及系统Communication method, device and system for power line communication system
本申请要求于2020年4月1日提交中国国家知识产权局、申请号为202010251768.1、发明名称为“用于电力线通信系统的通信方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office of China, the application number is 202010251768.1, and the invention title is "communication methods, devices and systems for power line communication systems" on April 1, 2020, and its entire contents Incorporated in this application by reference.
技术领域Technical field
本申请涉及通信领域,特别涉及一种用于电力线通信系统的通信方法、装置及系统。This application relates to the field of communication, and in particular to a communication method, device and system for a power line communication system.
背景技术Background technique
电力线通信(power line communication,PLC)系统可以采用半双工通信方式,半双工通信方式在两个不同的传输方向上信号的传输需要使用两个不同的传输时隙。例如,在第一个时隙第一端向第二端发送信号,第二端接收该信号;在第二个时隙第二端向第一端发送信号,第一端接收该信号。所以半双工通信方式的通信容量较低。A power line communication (PLC) system can adopt a half-duplex communication method, and the half-duplex communication method requires two different transmission time slots for signal transmission in two different transmission directions. For example, in the first time slot, the first end sends a signal to the second end, and the second end receives the signal; in the second time slot, the second end sends a signal to the first end, and the first end receives the signal. Therefore, the communication capacity of the half-duplex communication mode is relatively low.
为了提高通信容量,PLC系统还可以采用全双工通信系统。全双工通信系统是指第一端和第二端进行双向同时通信,即在同一个时隙时,第一端向第二端发送信号,同时第二端也向第一端发送信号,所以理论上全双工通信系统的通信容量高于半双工通信系统的通信容量。In order to increase the communication capacity, the PLC system can also use a full-duplex communication system. The full-duplex communication system refers to the two-way simultaneous communication between the first end and the second end, that is, in the same time slot, the first end sends a signal to the second end, and the second end also sends a signal to the first end, so Theoretically, the communication capacity of a full-duplex communication system is higher than that of a half-duplex communication system.
但是PLC系统广泛应用于家庭网络或电力线监控等领域,随着这些领域的业务发展,对通信容量的需求越来越大,所以目前的PLC通信容量还是不足,其通信容量有待提高。However, PLC systems are widely used in home networks or power line monitoring and other fields. With the development of business in these fields, the demand for communication capacity is increasing. Therefore, the current PLC communication capacity is still insufficient, and its communication capacity needs to be improved.
发明内容Summary of the invention
本申请提供了一种用于电力线通信系统的通信方法、装置及系统,以提高通信容量。所述技术方案如下:This application provides a communication method, device, and system for a power line communication system to improve communication capacity. The technical solution is as follows:
为了提高通信容量,本申请实施例提供了用于PLC系统中传输的新型数据帧,新型数据帧的帧头不包括应答帧头,可以减小新型数据帧的帧头长度。相比包括应答帧头的传统数据帧,新型数据帧的帧头长度小于传统数据帧的帧头长度。这样在新型数据帧的长度等于传统数据帧的长度的情况下,新型数据帧的净荷部分的长度更长,从而增加了PLC系统的通信容量;或者,相比传输数据帧,新型数据帧的长度更短,这样在相同的数据传输时间段内,传输新型数据帧的数目多于传输传统数据帧的数目,从而也增加了PLC系统的通信容量。其中,本申请实施例定义新型数据帧的帧类型为第一帧类型,传统数据帧的帧类型为第二帧类型,第一帧类型和第二帧类型不同。In order to increase the communication capacity, the embodiments of the present application provide a new type of data frame used for transmission in a PLC system. The frame header of the new type data frame does not include the response frame header, which can reduce the length of the frame header of the new type data frame. Compared with the traditional data frame including the response frame header, the frame header length of the new data frame is smaller than the frame header length of the traditional data frame. In this way, when the length of the new data frame is equal to the length of the traditional data frame, the length of the payload part of the new data frame is longer, thereby increasing the communication capacity of the PLC system; or, compared to the transmission data frame, the new data frame The length is shorter, so in the same data transmission time period, the number of new data frames transmitted is more than the number of traditional data frames, which also increases the communication capacity of the PLC system. Among them, the embodiment of the present application defines the frame type of the new data frame as the first frame type, and the frame type of the traditional data frame as the second frame type, and the first frame type and the second frame type are different.
第一方面,本申请实施例提供了一种用于PLC系统的通信方法,在所述方法中:第一设备接收第二设备发送的第一数据帧,第一数据帧包括M个数据单元,M为大于0的整数。第 一设备确定该M个数据单元是否有发生错误的数据单元,在确定该M个数据单元均未发生错误的情况下,向第二设备发送第二数据帧,第二数据帧的帧类型为第一帧类型,第二数据帧的帧头不包括应答帧头。其中,第二数据帧用于指示该M个数据单元均未发生错误的情况。由于第二数据帧用于指示该M个数据单元均未发生错误,这样在确定该M个数据单元均未发生错误的情况下,第一设备通过第二数据帧向第二设备应答该M个数据单元,又由于第二数据帧的帧头不包括应答帧头,这样增加第二数据帧的净荷部分的长度,从而提高了通信容量。或者,减小第二数据帧的长度,以减小传输第二数据帧所需要的时间,从而在同样的数据传输时间段内,可以增加传输数据帧的数目,以提高通信容量。In the first aspect, an embodiment of the present application provides a communication method for a PLC system. In the method: a first device receives a first data frame sent by a second device, and the first data frame includes M data units, M is an integer greater than zero. The first device determines whether there is an error in the M data units, and if it is determined that none of the M data units has an error, it sends a second data frame to the second device. The frame type of the second data frame is The first frame type, the frame header of the second data frame does not include the response frame header. Wherein, the second data frame is used to indicate that none of the M data units has an error. Since the second data frame is used to indicate that none of the M data units has an error, if it is determined that none of the M data units has an error, the first device responds to the second device through the second data frame. For the data unit, since the frame header of the second data frame does not include the response frame header, the length of the payload part of the second data frame is increased, thereby increasing the communication capacity. Alternatively, the length of the second data frame can be reduced to reduce the time required to transmit the second data frame, so that in the same data transmission time period, the number of transmission data frames can be increased to increase the communication capacity.
在一种可能的实现方式中,第一设备在确定该M个数据单元中存在N个数据单元发生错误的情况下,向第二设备发送第三数据帧,N为大于0且小于或等于M的整数,第三数据帧的帧类型为第二帧类型,第二帧类型与第一帧类型不同,第三数据帧的帧头包括该应答帧头,该应答帧头包括第一指示信息和第二指示信息中的至少一种,第一指示信息用于指示该N个数据单元发生错误,该第二指示信息用于指示M-N个数据单元未发生错误,该M-N个数据单元是该M个数据单元中除该N个数据单元以外的数据单元。如此,在该M个数据单元中存在N个数据单元发生错误的情况下,第一设备通过第三数据帧对该M个数据单元进行应答,保证了在此情况下能够成功对该M个数据单元进行应答。In a possible implementation manner, the first device sends a third data frame to the second device when it is determined that there are errors in N data units in the M data units, where N is greater than 0 and less than or equal to M The frame type of the third data frame is the second frame type, the second frame type is different from the first frame type, the frame header of the third data frame includes the response frame header, and the response frame header includes the first indication information and At least one of the second indication information, the first indication information is used to indicate that the N data units have errors, the second indication information is used to indicate that MN data units have no errors, and the MN data units are the M data units Data units other than the N data units in the data unit. In this way, when an error occurs in N data units in the M data units, the first device responds to the M data units through the third data frame, ensuring that the M data units can be successfully processed in this case. The unit responds.
在另一种可能的实现方式中,第二数据帧的帧头包括第一前导和第一管理信息帧头,第三数据帧的帧头还包括第二前导和第二管理信息帧头,如此相比第三数据帧的帧头,第二数据帧的帧头不包括应答帧头,从而可以减小第二数据帧的帧头长度或减小整个第二数据帧的时间长度。In another possible implementation manner, the frame header of the second data frame includes a first preamble and a first management information frame header, and the frame header of the third data frame also includes a second preamble and a second management information frame header. Compared with the header of the third data frame, the header of the second data frame does not include the response header, so that the length of the header of the second data frame or the time length of the entire second data frame can be reduced.
在另一种可能的实现方式中,在第三数据帧的帧头中,第二前导和第二管理信息帧头位于该应答帧头之前。In another possible implementation manner, in the frame header of the third data frame, the second preamble and the second management information frame header are located before the response frame header.
在另一种可能的实现方式中,第二数据帧包括帧类型指示信息,该帧类型指示信息用于指示第二数据帧的帧类型为第一帧类型。这样便于第二设备在接收到第二数据帧时能够确定出第二数据帧的帧类型。In another possible implementation manner, the second data frame includes frame type indication information, and the frame type indication information is used to indicate that the frame type of the second data frame is the first frame type. This is convenient for the second device to determine the frame type of the second data frame when receiving the second data frame.
在另一种可能的实现方式中,该帧类型指示信息携带在第二数据帧的第一管理信息帧头中,从而通过第一管理信息帧头将该帧类型指示信息传输到第二设备,以便于第二设备能够确定出第二数据帧的帧类型。In another possible implementation manner, the frame type indication information is carried in the first management information frame header of the second data frame, so that the frame type indication information is transmitted to the second device through the first management information frame header, So that the second device can determine the frame type of the second data frame.
在另一种可能的实现方式中,第二数据帧包括额外信道探测(additional channel estimation,ACE),该ACE位于第二数据帧的帧头之后。In another possible implementation manner, the second data frame includes additional channel estimation (ACE), and the ACE is located after the frame header of the second data frame.
在另一种可能的实现方式中,第二数据帧的帧头中,第一前导、第一管理信息帧头和ACE 分别对应不同的正交频分复用(orthogonal frequency division multiplexing,OFDM)符号;第三数据帧的帧头中,第二前导、第二管理信息帧头和该应答帧头分别对应不同的OFDM符号。In another possible implementation, in the frame header of the second data frame, the first preamble, the first management information frame header, and the ACE correspond to different orthogonal frequency division multiplexing (OFDM) symbols. ; In the frame header of the third data frame, the second preamble, the second management information frame header and the response frame header respectively correspond to different OFDM symbols.
在另一种可能的实现方式中,第一设备在第一数据传输时隙接收第一数据帧,第一设备在第二数据传输时隙发送第二数据帧或第三数据帧,第二数据传输时隙位于第一数据传输时隙之后。In another possible implementation manner, the first device receives the first data frame in the first data transmission time slot, the first device transmits the second data frame or the third data frame in the second data transmission time slot, and the second data The transmission time slot is located after the first data transmission time slot.
第二方面,本申请实施例提供了一种用于PLC系统的通信方法,在所述方法中:第二设备向第一设备发送的第一数据帧,第一数据帧包括M个数据单元,M为大于0的整数。第一设备在接收第一数据帧后确定该M个数据单元是否有发生错误的数据单元,在确定该M个数据单元均未发生错误的情况下,向第二设备发送第一帧类型的第二数据帧,第二数据帧用于指示第一设备接收的该M个数据单元均未发生错误,第二数据帧不包括应答帧头。第二设备接收第一设备发送的第二数据帧,确定第二数据帧的帧类型,在确定第二数据帧的帧类型为第一帧类型时,确定该M个数据单元均未发生错误。如此通过第二数据帧对该M个数据单元进行应答,又由于第二数据帧不包括应答帧头,这样增加第二数据帧的净荷部分的长度,从而提高了通信容量。或者,减小第二数据帧的长度,以减小传输第二数据帧所需要的时间,从而在同样的数据传输时间段内,可以增加传输数据帧的数目,以提高通信容量。In a second aspect, an embodiment of the present application provides a communication method for a PLC system. In the method: a first data frame sent by a second device to a first device, the first data frame includes M data units, M is an integer greater than zero. After receiving the first data frame, the first device determines whether the M data units have error data units, and when it is determined that none of the M data units have errors, it sends the first frame type of the second device to the second device. Two data frames, the second data frame is used to indicate that none of the M data units received by the first device has an error, and the second data frame does not include the response frame header. The second device receives the second data frame sent by the first device, determines the frame type of the second data frame, and when determining that the frame type of the second data frame is the first frame type, determines that none of the M data units has an error. In this way, the M data units are responded to by the second data frame, and since the second data frame does not include the response frame header, the length of the payload part of the second data frame is increased, thereby increasing the communication capacity. Alternatively, the length of the second data frame can be reduced to reduce the time required to transmit the second data frame, so that in the same data transmission time period, the number of transmission data frames can be increased to increase the communication capacity.
在一种可能的实现方式中,第一设备在接确定该M个数据单元中存在N个数据单元发生错误的情况下,向第一设备发送第二帧类型的第二数据帧,第二数据帧的帧头包括应答帧头,第一帧类型和第二帧类型不同,该应答帧头包括第一指示信息和第二指示信息中的至少一种,第一指示信息用于指示第一设备接收的该M个数据单元中存在N个数据单元发生错误,第二指示信息用于指示M-N个数据单元未发生错误,N为大于0且小于或等于M的整数,该M-N个数据单元是该M个数据单元中除该N个数据单元以外的数据单元。这样第二设备接收该第二数据帧,在确定第二数据帧的帧类型为第二帧类型时,基于第二数据帧的应答帧头,确定发生错误的该N个数据单元和/或未发生错误的该M-N个数据单元。In a possible implementation manner, the first device sends a second data frame of the second frame type to the first device when it is determined that there are errors in N data units among the M data units, and the second data The frame header of the frame includes a response frame header. The first frame type is different from the second frame type. The response frame header includes at least one of first indication information and second indication information. The first indication information is used to instruct the first device Among the received M data units, there are N data units that have errors. The second indication information is used to indicate that MN data units have no errors. N is an integer greater than 0 and less than or equal to M. The MN data units are the Data units other than the N data units among the M data units. In this way, the second device receives the second data frame, and when determining that the frame type of the second data frame is the second frame type, based on the response header of the second data frame, it determines the N data units and/or failures that have errors. The MN data units where the error occurred.
在另一种可能的实现方式中,在第二数据帧的帧类型为第一帧类型时,第二数据帧的帧头包括第一前导和第一管理信息帧头;在第二数据帧的帧类型为第二帧类型时,第二数据帧的帧头还包括第二前导和第二管理信息帧头,第二前导和第二管理信息帧头位于该应答帧头之前。在第二数据帧的帧类型为第一帧类型时,由于第二数据帧的帧头不包括应答帧头,从而可以减小第二数据帧的帧头长度,增加第二数据帧的净荷部分的长度或者减小第二数据帧的时间长度。In another possible implementation manner, when the frame type of the second data frame is the first frame type, the frame header of the second data frame includes the first preamble and the first management information frame header; When the frame type is the second frame type, the frame header of the second data frame further includes a second preamble and a second management information frame header, and the second preamble and the second management information frame header are located before the response frame header. When the frame type of the second data frame is the first frame type, since the header of the second data frame does not include the response header, the length of the header of the second data frame can be reduced, and the payload of the second data frame can be increased. The length of the part or reduce the time length of the second data frame.
在另一种可能的实现方式中,第二数据帧包括帧类型指示信息,该帧类型指示信息用于指示第二数据帧的帧类型,如此便于第二设备根据该帧类型指示信息确定第二数据帧的帧类型,提高确定帧类型的准确性。In another possible implementation manner, the second data frame includes frame type indication information, and the frame type indication information is used to indicate the frame type of the second data frame, so that the second device can determine the second data frame according to the frame type indication information. The frame type of the data frame improves the accuracy of determining the frame type.
在另一种可能的实现方式中,第二设备解析第二数据帧,如果第二数据帧不包括应答帧头,则确定第二数据帧的帧类型为第一帧类型;如果第二数据帧包括应答帧头,则确定第二数据帧的帧类型为第二帧类型,如此实现确定第二数据帧的帧类型。In another possible implementation manner, the second device parses the second data frame, and if the second data frame does not include the response frame header, it determines that the frame type of the second data frame is the first frame type; if the second data frame If the response frame header is included, the frame type of the second data frame is determined to be the second frame type, and thus the frame type of the second data frame is determined.
在另一种可能的实现方式中,第二数据帧包括ACE,该ACE位于所述第二数据帧的帧头之后。In another possible implementation manner, the second data frame includes an ACE, and the ACE is located after the frame header of the second data frame.
在另一种可能的实现方式中,在第二数据帧的帧类型为第一帧类型时,在第二数据帧中第一前导和第一管理信息帧头分别对应不同的OFDM符号;在第二数据帧的帧类型为第二帧类型时,在第二数据帧中第二前导、第二管理信息帧头和应答帧头分别对应不同的OFDM符号。In another possible implementation manner, when the frame type of the second data frame is the first frame type, the first preamble and the first management information frame header in the second data frame correspond to different OFDM symbols; When the frame type of the second data frame is the second frame type, the second preamble, the second management information frame header, and the response frame header in the second data frame respectively correspond to different OFDM symbols.
在另一种可能的实现方式中,第二设备在第二数据帧中解析与第一管理信息帧头相邻的下一个OFDM符号,如果下一个OFDM符号为该ACE,则确定第二数据帧不包括应答帧头。如此实现解析第二数据帧中是否包括应答帧头的方式。In another possible implementation manner, the second device parses the next OFDM symbol adjacent to the header of the first management information frame in the second data frame, and if the next OFDM symbol is the ACE, it determines the second data frame Does not include the response frame header. In this way, a way of analyzing whether the second data frame includes the response frame header is realized.
第三方面,本申请提供了一种用于PLC系统的通信装置,用于执行第一方面或第一方面的任意一种可能实现方式中的方法。具体地,所述装置包括用于执行第一方面或第一方面的任意一种可能实现方式的方法的单元。In the third aspect, this application provides a communication device for a PLC system, which is used to execute the first aspect or the method in any one of the possible implementation manners of the first aspect. Specifically, the device includes a unit for executing the method of the first aspect or any one of the possible implementation manners of the first aspect.
第四方面,本申请提供了一种用于PLC系统的通信装置,用于执行第二方面或第二方面的任意一种可能实现方式中的方法。具体地,所述装置包括用于执行第二方面或第二方面的任意一种可能实现方式的方法的单元。In a fourth aspect, the present application provides a communication device for a PLC system, which is used to execute the second aspect or the method in any one of the possible implementation manners of the second aspect. Specifically, the device includes a unit for executing the second aspect or any one of the possible implementation manners of the second aspect.
第五方面,本申请提供了一种用于PLC系统的通信装置,所述装置包括:处理器、存储器和收发器。其中,所述处理器、所述存储器和所述收发器之间可以通过总线系统相连。所述存储器用于存储一个或多个程序,所述处理器用于执行所述存储器中的一个或多个程序,使得所述通信装置完成第一方面或第一方面的任意可能实现方式中的方法。In a fifth aspect, the present application provides a communication device for a PLC system, the device includes: a processor, a memory, and a transceiver. Wherein, the processor, the memory and the transceiver may be connected through a bus system. The memory is configured to store one or more programs, and the processor is configured to execute one or more programs in the memory, so that the communication device completes the first aspect or the method in any possible implementation manner of the first aspect .
第六方面,本申请提供了一种用于PLC系统的通信装置,所述装置包括:处理器、存储器和收发器。其中,所述处理器、所述存储器和所述收发器之间可以通过总线系统相连。所述存储器用于存储一个或多个程序,所述处理器用于执行所述存储器中的一个或多个程序,使得所述通信装置完成第二方面或第二方面的任意可能实现方式中的方法。In a sixth aspect, the present application provides a communication device for a PLC system, the device including: a processor, a memory, and a transceiver. Wherein, the processor, the memory and the transceiver may be connected through a bus system. The memory is configured to store one or more programs, and the processor is configured to execute one or more programs in the memory, so that the communication device completes the second aspect or the method in any possible implementation manner of the second aspect .
第七方面,本申请提供了一种计算机可读存储介质,计算机可读存储介质中存储有程序代码,当其在计算机上运行时,使得计算机执行上述第一方面、第二方面、第一方面的任意可能实现方式或第二方面的任意可能实现方式中的方法。In a seventh aspect, the present application provides a computer-readable storage medium with program code stored in the computer-readable storage medium, which when run on a computer, causes the computer to execute the first, second, and first aspects above Any possible implementation manner of or a method in any possible implementation manner of the second aspect.
第八方面,本申请提供了一种包含程序代码的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面、第二方面、第一方面的任意可能实现方式或第二方面的任意可能实现方式中的方法。In an eighth aspect, the present application provides a computer program product containing program code, which when running on a computer, enables the computer to execute the first aspect, the second aspect, any possible implementation manner of the first aspect, or the second aspect Any of the possible implementations of the method.
第九方面,本申请提供了一种用于PLC系统的通信系统,所述通信系统包括第三方面所述的装置和第四方面所述的装置,或者,所述通信系统包括第五方面所述的装置和第六方面所述的装置。In a ninth aspect, the present application provides a communication system for a PLC system. The communication system includes the device described in the third aspect and the device described in the fourth aspect, or the communication system includes the device described in the fifth aspect. The device described in the sixth aspect and the device described in the sixth aspect.
附图说明Description of the drawings
图1是本申请实施例提供的一种网络架构的示意图;FIG. 1 is a schematic diagram of a network architecture provided by an embodiment of the present application;
图2是本申请实施例提供的一种数据帧的结构示意图;FIG. 2 is a schematic diagram of the structure of a data frame provided by an embodiment of the present application;
图3是本申请实施例提供的一种信号帧的结构示意图;FIG. 3 is a schematic diagram of the structure of a signal frame provided by an embodiment of the present application;
图4是本申请实施例提供的一种聚合帧的结构示意图;FIG. 4 is a schematic structural diagram of an aggregation frame provided by an embodiment of the present application;
图5是本申请实施例提供的一种PLC系统的结构示意图;FIG. 5 is a schematic structural diagram of a PLC system provided by an embodiment of the present application;
图6是本申请实施例提供的一种用于PLC系统的通信方法流程图;FIG. 6 is a flowchart of a communication method for a PLC system provided by an embodiment of the present application;
图7是本申请实施例提供的一种对数据帧进行应答的示意图;FIG. 7 is a schematic diagram of responding to a data frame provided by an embodiment of the present application;
图8是本申请实施例提供的一种星座图的示意图;FIG. 8 is a schematic diagram of a constellation diagram provided by an embodiment of the present application;
图9是本申请实施例提供的一种第二数据帧的结构示意图;FIG. 9 is a schematic structural diagram of a second data frame provided by an embodiment of the present application;
图10是本申请实施例提供的另一种对数据帧进行应答的示意图;FIG. 10 is another schematic diagram of responding to a data frame provided by an embodiment of the present application;
图11是本申请实施例提供的另一种对数据帧进行应答的示意图;FIG. 11 is another schematic diagram of responding to a data frame provided by an embodiment of the present application;
图12是本申请实施例提供的另一种用于PLC系统的通信方法流程图;FIG. 12 is a flowchart of another communication method for a PLC system provided by an embodiment of the present application;
图13是本申请实施例提供的一种第三数据帧的结构示意图;FIG. 13 is a schematic structural diagram of a third data frame provided by an embodiment of the present application;
图14是本申请实施例提供的另一种对数据帧进行应答的示意图;FIG. 14 is another schematic diagram of responding to a data frame provided by an embodiment of the present application;
图15是本申请实施例提供的一种用于PLC系统的通信装置结构示意图;15 is a schematic structural diagram of a communication device used in a PLC system provided by an embodiment of the present application;
图16是本申请实施例提供的另一种用于PLC系统的通信装置结构示意图;16 is a schematic structural diagram of another communication device used in a PLC system provided by an embodiment of the present application;
图17是本申请实施例提供的另一种用于PLC系统的通信装置结构示意图;FIG. 17 is a schematic structural diagram of another communication device used in a PLC system provided by an embodiment of the present application;
图18是本申请实施例提供的另一种用于PLC系统的通信装置结构示意图。FIG. 18 is a schematic structural diagram of another communication device used in a PLC system provided by an embodiment of the present application.
具体实施方式Detailed ways
参见图1,本申请实施例提供了一种PLC系统,包括第一设备和第二设备。第一设备和第二设备采用全双工通信方式进行通信。Referring to Fig. 1, an embodiment of the present application provides a PLC system, including a first device and a second device. The first device and the second device communicate in a full-duplex communication mode.
在采用全双工通信方式时,第一设备第二设备进行双向同时通信,在同一个数据传输时隙内,第一设备向第二设备发送数据帧,同时第二设备也向第一设备发送数据帧。例如如图1所示,第一设备在一个数据传输时间隙内向第二设备发送数据帧1并同时接收第二设备发送的数据帧2,同样第二设备在该一个数据传输时间隙内向第一设备发送数据帧2并同时接收第一设备发送的数据帧1。When using full-duplex communication, the first device and the second device perform two-way simultaneous communication. In the same data transmission time slot, the first device sends data frames to the second device, and the second device also sends data frames to the first device. Data Frame. For example, as shown in Figure 1, the first device sends data frame 1 to the second device and simultaneously receives data frame 2 sent by the second device in a data transmission time gap. Similarly, the second device sends data frame 1 to the first device in the data transmission time gap. The device sends data frame 2 and simultaneously receives data frame 1 sent by the first device.
参见图2,该数据帧包括帧头、额外信道估计(additional channel estimation,ACE)和净 荷部分,ACE位于帧头和净荷部分之间。净荷部分包括至少一个数据单元(如图2所示的M个数据单元,M为大于0的整数),ACE包括用于进行信道估计的信息,该信道是第一设备和第二设备之间的用于传输该数据帧的信道。可选的,ACE还具有导频的功能。Referring to Figure 2, the data frame includes a frame header, additional channel estimation (ACE), and a payload part. The ACE is located between the frame header and the payload part. The payload part includes at least one data unit (M data units as shown in FIG. 2, where M is an integer greater than 0). The ACE includes information for channel estimation. The channel is between the first device and the second device. The channel used to transmit the data frame. Optionally, ACE also has a pilot function.
可选的,数据单元为链路规约数据单元(logical link control protocol data unit,LPDU)等。Optionally, the data unit is a link protocol data unit (logical link control protocol data unit, LPDU), etc.
参见图3,第一设备和第二设备均在数据传输时隙内发送并接收数据帧,相邻两个数据传输时隙之间使用帧间保护间隙隔开。Referring to FIG. 3, the first device and the second device both send and receive data frames in data transmission time slots, and two adjacent data transmission time slots are separated by an inter-frame protection gap.
参见图3,对于第一个数据传输时隙,在第一个数据传输时隙内第一设备向第二设备发送的数据帧为信号帧,同样第二设备向第一设备发送的数据帧也为信号帧。对于在第一个数据传输时隙之后的任一个数据传输时隙,在该数据传输时隙内第一设备向第二设备发送的数据帧可能为聚合帧,同样第二设备向第一设备发送的数据帧也可能为聚合帧。Referring to Figure 3, for the first data transmission time slot, the data frame sent by the first device to the second device in the first data transmission time slot is a signal frame, and the data frame sent by the second device to the first device is also For the signal frame. For any data transmission time slot after the first data transmission time slot, the data frame sent by the first device to the second device in the data transmission time slot may be an aggregated frame, and the second device also sends to the first device The data frame may also be an aggregated frame.
参见图3,信号帧包括帧头、ACE和净荷部分,在该信号帧中该ACE位于该帧头和该净荷部分之间。信号帧的帧头包括前导(preamble)和管理信息帧头,该管理信息帧头位于该前导和该ACE之间。Referring to Fig. 3, a signal frame includes a frame header, an ACE, and a payload part. In the signal frame, the ACE is located between the frame header and the payload part. The frame header of the signal frame includes a preamble and a management information frame header, and the management information frame header is located between the preamble and the ACE.
该信号帧中的前导用于实现数据同步、自动增益控制(automatic gain control,AGC)调整和频偏纠正等至少一个功能。该信号帧的管理信息帧头包括该信号帧的管理信息,该管理信息包括源地址、目的地址和帧头校验序列等信息。该ACE包括用于进行信道估计的信息,以及该净荷部分包括至少一个数据单元。The preamble in the signal frame is used to implement at least one function of data synchronization, automatic gain control (AGC) adjustment, and frequency offset correction. The management information frame header of the signal frame includes the management information of the signal frame, and the management information includes information such as a source address, a destination address, and a frame header check sequence. The ACE includes information used for channel estimation, and the payload part includes at least one data unit.
仍参见图3,对于在第一个数据传输时隙之后的任一个数据传输时隙,在该数据传输时隙内传输的聚合帧包括帧头、ACE和净荷部分,在该聚合帧中该ACE位于该帧头和该净荷部分之间。信号帧的帧头包括前导(preamble)、管理信息帧头和应答帧头,该管理信息帧头位于该前导和该应答帧头之间,该应答帧头位于该ACE之前。该聚合帧中的前导用于实现数据同步、AGC调整和频偏纠正等至少一个功能。该聚合帧的管理信息帧头包括该聚合帧的管理信息,该管理信息包括源地址、目的地址和帧头校验序列等信息。该聚合帧的应答帧头携带第一指示信息和第二指示信息中的至少一个,该ACE包括用于进行信道估计的信息,以及该净荷部分包括至少一个数据单元。Still referring to FIG. 3, for any data transmission slot after the first data transmission slot, the aggregate frame transmitted in the data transmission slot includes a frame header, an ACE and a payload part. In the aggregate frame, the The ACE is located between the frame header and the payload part. The frame header of the signal frame includes a preamble, a management information frame header, and a response frame header. The management information frame header is located between the preamble and the response frame header, and the response frame header is located before the ACE. The preamble in the aggregation frame is used to implement at least one function of data synchronization, AGC adjustment, and frequency offset correction. The management information frame header of the aggregate frame includes the management information of the aggregate frame, and the management information includes information such as a source address, a destination address, and a frame header check sequence. The response frame header of the aggregation frame carries at least one of the first indication information and the second indication information, the ACE includes information used for channel estimation, and the payload part includes at least one data unit.
其中,第一设备在第一数据传输时隙内接收第二设备发送的数据帧,该数据帧包括M个数据单元,第一设备在第二数据传输时隙内向第二设备发送聚合帧,第二数据传输时隙位于第一数据传输时隙之后,该聚合帧的帧头包括的应答帧头中携带第一指示信息和第二指示信息中的至少一个,第一指示信息用于指示该M个数据单元中发生错误的数据单元,第二指示信息用于指示该M个数据单元中未发生错误的数据单元。Wherein, the first device receives the data frame sent by the second device in the first data transmission time slot. The data frame includes M data units. The first device sends the aggregate frame to the second device in the second data transmission time slot. Second, the data transmission time slot is located after the first data transmission time slot, and the response frame header included in the frame header of the aggregation frame carries at least one of the first indication information and the second indication information, and the first indication information is used to indicate the M The data unit in which an error occurs in the data units, and the second indication information is used to indicate the data unit in the M data units that does not have an error.
其中,在第一数据传输时隙是第一个数据传输时隙的情况下,第一设备在第一数据传输时隙内接收的数据帧是第二设备在第一个数据传输时隙内发送的信号帧;在第一数据传输时隙是位于第一个数据传输时隙之后的数据传输时隙的情况下,第一设备在第一数据传输时隙内接收的数据帧是第二设备在第一数据传输时隙内发送的聚合帧。Wherein, in the case that the first data transmission time slot is the first data transmission time slot, the data frame received by the first device in the first data transmission time slot is sent by the second device in the first data transmission time slot In the case that the first data transmission time slot is a data transmission time slot located after the first data transmission time slot, the data frame received by the first device in the first data transmission time slot is the data frame received by the second device in the first data transmission time slot The aggregated frame sent in the first data transmission slot.
上述介绍的聚合帧的帧头长度较长,这样可能会减小净荷部分的长度,进而减小全双工通信系统的通信容量。为了解决该问题,本申请提供了一种新型聚合帧,第一设备在第一数据传输时隙内接收的第一数据帧包括的M个数据单元均未发生错误的情况下,第一设备在第二数据传输时隙内就可以发送该新型聚合帧,该新型聚合帧用于指示该M个数据单元未发生 错误。The length of the header of the aggregate frame described above is relatively long, which may reduce the length of the payload part, thereby reducing the communication capacity of the full-duplex communication system. In order to solve this problem, the present application provides a new type of aggregated frame. In the case that none of the M data units included in the first data frame received by the first device in the first data transmission slot has an error, the first device The new type of aggregation frame can be sent in the second data transmission time slot, and the new type of aggregation frame is used to indicate that no error has occurred in the M data units.
参见图4所示的新型聚合帧结构,该新型聚合帧包括帧头、ACE和净荷部分,该ACE位于该帧头和该净荷部分之间。该帧头包括前导和管理信息帧头,该管理信息帧头位于该前导和该ACE之间,该ACE位于该管理信息帧头之后。该新型聚合帧中的前导用于实现数据同步、AGC调整和频偏纠正等至少一个功能。该管理信息帧头包括该新型聚合帧的管理信息,可选的,该管理信息包括帧类型指示信息,该帧类型指示信息用于指示该新型聚合帧的帧类型。该ACE包括用于进行信道估计的信息,以及该净荷部分包括至少一个数据单元(如图4所示的X个数据单元,X为大于0的整数)。Referring to the structure of the novel aggregate frame shown in FIG. 4, the novel aggregate frame includes a frame header, an ACE, and a payload part, and the ACE is located between the frame header and the payload part. The frame header includes a preamble and a management information frame header, the management information frame header is located between the preamble and the ACE, and the ACE is located after the management information frame header. The preamble in the new aggregation frame is used to implement at least one function such as data synchronization, AGC adjustment, and frequency offset correction. The management information frame header includes management information of the new aggregate frame. Optionally, the management information includes frame type indication information, and the frame type indication information is used to indicate the frame type of the new aggregate frame. The ACE includes information used for channel estimation, and the payload part includes at least one data unit (X data units as shown in FIG. 4, where X is an integer greater than 0).
相比图3所示的聚合帧(为了便于说明,称为传统聚合帧),新型聚合帧的帧头不包括应答帧头,这样可以增加净荷部分的长度,如此能够使新型聚合帧的净荷部分包括的数据单元数目大于或等于传统聚合帧的净荷部分包括的数据单元数目,从而达到提高全双工通信系统的通信容量。或者,减小新型聚合帧的长度,以减小传输新型聚合帧所需要的时间,从而在同样的数据传输时间段内,可以增加传输新型聚合帧的数目,以提高通信容量。Compared with the aggregate frame shown in Figure 3 (referred to as a traditional aggregate frame for the sake of explanation), the frame header of the new aggregate frame does not include the response frame header, which can increase the length of the payload part, so that the net of the new aggregate frame can be increased. The number of data units included in the payload part is greater than or equal to the number of data units included in the payload part of the traditional aggregate frame, thereby achieving the improvement of the communication capacity of the full-duplex communication system. Or, reduce the length of the new aggregate frame to reduce the time required to transmit the new aggregate frame, so that in the same data transmission time period, the number of new aggregate frames to be transmitted can be increased to increase the communication capacity.
可选的,应答帧头所占用的时间长度为51.2微秒(us),新型聚合帧减少了应答帧头,从而可以使新型聚合帧所占用的时间长度减小51.2us,又由于全双工通信方式可双向同时传输新型聚合帧,这样每一对双向通信的新型聚合帧能降低的时间累计0.14毫秒(ms)。Optionally, the length of time occupied by the response frame header is 51.2 microseconds (us). The new aggregate frame reduces the response frame header, which can reduce the length of time occupied by the new aggregate frame by 51.2us. The communication method can transmit new aggregated frames in both directions at the same time, so that each pair of new aggregated frames for two-way communication can reduce the time accumulated by 0.14 milliseconds (ms).
为了便于说明,在本申请中将新型聚合帧的帧类型称为第一帧类型,将图2所示的传统聚合帧(即包括应答帧头的聚合帧)的帧类型称为第二帧类型。For ease of description, in this application, the frame type of the new aggregate frame is referred to as the first frame type, and the frame type of the traditional aggregate frame (that is, the aggregate frame including the response frame header) shown in FIG. 2 is referred to as the second frame type. .
这样,第一设备在接收第二设备发送的第一数据帧后,在确定第一数据帧中的该M个数据单元均未发生错误的情况下,向第二设备发送帧类型为第一帧类型的第二数据帧,第二数据帧用于指示该M个数据单元均未发生错误,第二数据帧为一个新型聚合帧;在确定该M个数据单元中存在N个数据单元发生错误的情况下,向第二设备发送第二帧类型的第三数据帧,第三数据帧的帧头包括应答帧头,该应答帧头包括第一指示信息和第二指示信息中的至少一个,第一指示信息用于指示N个数据单元发生错误,第二指示信息用于指示剩下的M-N个数据单元未发生错误,N为小于0且小于或等于M的整数,第三数据帧为一个传统聚合帧。In this way, after receiving the first data frame sent by the second device, the first device sends the frame type of the first frame to the second device if it is determined that none of the M data units in the first data frame has an error. Type of the second data frame, the second data frame is used to indicate that none of the M data units have errors, and the second data frame is a new type of aggregation frame; it is determined that there are N data units that have errors in the M data units In this case, a third data frame of the second frame type is sent to the second device, and the frame header of the third data frame includes a response frame header, and the response frame header includes at least one of the first indication information and the second indication information. One indication information is used to indicate that N data units have errors, the second indication information is used to indicate that the remaining MN data units have no errors, N is an integer less than 0 and less than or equal to M, and the third data frame is a traditional Aggregate frame.
可选的,参见图5,PLC系统包括域主(domain master,DM)和多个节点(end ponit,EP),该DM可以通过PLC电力线与该多个EP相连。第一设备和第二设备可以分别为该DM和任一个EP,DM与任一个EP之间使用全双工通信方式进行通信,具体实现方式将在后续图6和图12所示的实施例进行说明。DM和EP在进行通信之前,DM分配数据传输时间段,该数据传输时间段包括至少一个数据传输时隙,然后在该数据传输时间段内DM和EP使用全双工通信方式进行通信。或者,第一设备和第二设备为PLC通信系统中的任意两个EP,该两个EP之间使用全双工通信方式进行通信,具体实现方式将在后续图6和图12所示的实施例进行详细说明。对于该两个EP,该两个EP在进行通信之前,该两个EP或该两个EP中的某个EP需要先向DM申请数据传输时间段,该数据传输时间段包括至少一个数据传输时隙,然后在该数据传输时间段内该两个EP使用全双工通信方式进行通信。Optionally, referring to FIG. 5, the PLC system includes a domain master (DM) and multiple nodes (end ponit, EP), and the DM may be connected to the multiple EPs through PLC power lines. The first device and the second device can be the DM and any EP respectively, and the DM and any EP use full-duplex communication to communicate. The specific implementation will be carried out in the subsequent embodiments shown in Figure 6 and Figure 12 illustrate. Before the DM and the EP communicate, the DM allocates a data transmission time period that includes at least one data transmission time slot, and then the DM and the EP communicate in a full-duplex communication mode during the data transmission time period. Or, the first device and the second device are any two EPs in the PLC communication system, and the two EPs use full-duplex communication for communication. The specific implementation will be implemented as shown in Figure 6 and Figure 12 later. Examples are explained in detail. For the two EPs, before the two EPs communicate, the two EPs or one of the two EPs needs to apply to the DM for a data transmission time period. The data transmission time period includes at least one data transmission time. Then, during the data transmission time period, the two EPs communicate using the full-duplex communication mode.
参见图6,本申请实施例提供了一种用于PLC系统的通信方法,该方法应用于图1或图5所示的网络架构,在该方法第一设备和第二设备采用全双工通信方式通信,这样第一设备 在同一个数据传输时隙内即能够接收第二设备发送的数据帧,也能够向第二设备发送数据帧。在该方法中以第一设备在第一数据传输时隙接收第二设备发送的数据帧,以及在第二数据传输时隙向第二设备发送数据帧为示例进行说明,第二数据传输时隙位于第一数据传输时隙之后。Referring to FIG. 6, an embodiment of the present application provides a communication method for a PLC system. The method is applied to the network architecture shown in FIG. 1 or FIG. 5. In this method, the first device and the second device adopt full-duplex communication. In this way, the first device can receive the data frame sent by the second device and can also send the data frame to the second device in the same data transmission time slot. In this method, the first device receives the data frame sent by the second device in the first data transmission time slot, and sends the data frame to the second device in the second data transmission time slot as an example. The second data transmission time slot Located after the first data transmission slot.
其中,第一设备在第一数据传输时隙内也向第二设备发送数据帧,以及在第二数据传输时隙内第二设备也向第一设备发送数据帧的过程,与该示例相同,就不再详细说明。参见图6,该方法包括:The process in which the first device also sends data frames to the second device in the first data transmission time slot, and the second device also sends data frames to the first device in the second data transmission time slot is the same as this example, I will not elaborate on it. Referring to Figure 6, the method includes:
步骤101:第一设备接收第二设备发送的第一数据帧,第一数据帧包括M个数据单元,M为大于0的整数。Step 101: A first device receives a first data frame sent by a second device, where the first data frame includes M data units, and M is an integer greater than zero.
其中,第一设备和第二设备之间采用全双工通信方式进行通信,在采用全双工通信方式之前,第一设备和第二设备先申请数据传输时间段,该数据传输时间段包括至少一个数据传输时隙,相邻两个数据传输时隙之间间隔一个帧间保护间隙。Wherein, the first device and the second device communicate in full-duplex communication mode. Before adopting the full-duplex communication mode, the first device and the second device first apply for a data transmission time period, and the data transmission time period includes at least For a data transmission time slot, there is an inter-frame protection gap between two adjacent data transmission time slots.
例如,第一设备和第二设备分别为PLC系统的DM和EP,DM和EP在进行通信之前,DM分配数据传输时间段,然后在该数据传输时间段包括的数据传输时隙内采用全双工通信方式与EP通信。For example, the first device and the second device are respectively the DM and EP of the PLC system. Before the DM and EP communicate, the DM allocates a data transmission time period, and then uses full duplex in the data transmission time slot included in the data transmission time period. Communicate with EP in industrial communication mode.
再如,第一设备和第二设备分别为PLC系统的两个EP,该两个EP或该两个EP中的某个EP在进行通信之前,请求DM分配数据传输时间段,然后该两个EP在该数据传输时间段包括的数据传输时隙内采用全双工通信方式通信。For another example, the first device and the second device are respectively two EPs of the PLC system. Before the two EPs or one of the two EPs communicate, they request the DM to allocate a data transmission time period, and then the two EPs The EP uses a full-duplex communication mode to communicate within the data transmission time slot included in the data transmission time period.
在本步骤中,第一设备在第一数据传输时隙内接收第二设备发送的第一数据帧。第一数据帧包括帧头、ACE和净荷部分,该净荷部分包括该M个数据单元。In this step, the first device receives the first data frame sent by the second device in the first data transmission time slot. The first data frame includes a frame header, an ACE, and a payload part, and the payload part includes the M data units.
可选的,第一数据传输时隙可能是该数据传输时间段内的第一个数据传输时隙,这样第一数据帧是第二设备在第一数据传输时隙内发送的信号帧。Optionally, the first data transmission time slot may be the first data transmission time slot in the data transmission time period, so that the first data frame is a signal frame sent by the second device in the first data transmission time slot.
可选的,第一数据传输时隙可能是位于第一个数据传输时隙之后的数据传输时隙,这样第一数据帧是第二设备在第一数据传输时隙内发送的聚合帧,第一数据帧可能是第一帧类型的新型聚合帧,或者,可能是第二帧类型的传统聚合帧。Optionally, the first data transmission time slot may be a data transmission time slot located after the first data transmission time slot, so that the first data frame is an aggregate frame sent by the second device in the first data transmission time slot. A data frame may be a new aggregate frame of the first frame type, or may be a traditional aggregate frame of the second frame type.
第二设备发送第一数据帧之后,第二设备将第一数据帧中的该M个数据单元的状态设置为待应答状态。例如,参见图7,假设第一数据帧是聚合帧(可能是第一帧类型的新型聚合帧,或者,可能是第二帧类型的传统聚合帧),第二设备在发送第一数据帧之后将该M个数据单元(如图8中的数据单元21、22、……、2M)的状态设置为待应答,而对于第一数据传输时隙之前发送的数据单元(如图8中的数据单元11、12、……、1K,K为大于0的整数),由于收到第一设备的应答,所以位于第一数据传输时隙之前发送的数据单元的状态设置为已应答,第二设备将滑动窗口的起始位置移动到该M个数据单元中的第一个数据单元21和已应答的最后一个数据单元1K之间。After the second device sends the first data frame, the second device sets the state of the M data units in the first data frame to the waiting state. For example, referring to Figure 7, suppose that the first data frame is an aggregate frame (may be a new type aggregate frame of the first frame type, or may be a traditional aggregate frame of the second frame type), and the second device sends the first data frame after Set the status of the M data units (data units 21, 22, ..., 2M in FIG. 8) to be acknowledged, and for the data units sent before the first data transmission time slot (data units in FIG. 8) Units 11, 12,..., 1K, K is an integer greater than 0), because the response of the first device is received, the status of the data unit sent before the first data transmission time slot is set to answered, and the second device The starting position of the sliding window is moved between the first data unit 21 among the M data units and the last data unit 1K that has been answered.
步骤102:第一设备判断该M个数据单元中是否存在发生错误的数据单元,如果确定该M个数据单元均未发生错误,则执行步骤103,如果确定该M个数据单元中存在N个数据单元发生错误,则执行步骤105,N为大于0且小于或等于M的整数。Step 102: The first device determines whether there are data units with errors in the M data units. If it is determined that none of the M data units have errors, then step 103 is executed. If it is determined that there are N data units in the M data units If an error occurs in the unit, step 105 is executed, where N is an integer greater than 0 and less than or equal to M.
在本步骤中,第一设备从第一数据帧中获取该M个数据单元。针对该M个数据单元中的任一个数据单元,第一设备对该数据单元进行解码,解码出该数据单元中的数据和该数据 单元的误码率,在该误码率超过误码率阈值,则确定该数据单元发生错误,在该误码率未超过该误码率阈值,则确定该数据单元未发生错误。In this step, the first device obtains the M data units from the first data frame. For any data unit of the M data units, the first device decodes the data unit, and decodes the data in the data unit and the bit error rate of the data unit, where the bit error rate exceeds the bit error rate threshold , It is determined that an error has occurred in the data unit, and when the error rate does not exceed the error rate threshold, it is determined that no error has occurred in the data unit.
第一设备解码该数据单元得到该数据单元的误码率的方式有多种,接下来列举了一种方式,该种方式为:There are many ways for the first device to decode the data unit to obtain the bit error rate of the data unit. Next, one method is listed, which is:
第二设备发送该数据单元时,将该数据单元中的数据映射到星座图包括的各星座点上。例如,参见图8,第二设备将该数据单元中的数据映射到图8所示星座图包括的A、B、C和D四个星座点上。在传输该数据单元的过程中,如果该数据单元发生错误,则在该星座图中的星座点的位置发生变化。例如,参见图8,在传输该数据单元的过程中,星座点A的位置可能发生偏移,移动至星座点A1的位置,导致该数据单元发生错误。When the second device sends the data unit, it maps the data in the data unit to each constellation point included in the constellation diagram. For example, referring to FIG. 8, the second device maps the data in the data unit to the four constellation points A, B, C, and D included in the constellation diagram shown in FIG. 8. In the process of transmitting the data unit, if an error occurs in the data unit, the position of the constellation point in the constellation diagram changes. For example, referring to FIG. 8, in the process of transmitting the data unit, the position of the constellation point A may shift and move to the position of the constellation point A1, causing an error in the data unit.
第一设备和第二设备可以事先约定该星座图中的各星座点,使得第一设备和第二设备均保存该星座图中的各星座点的位置,或者,第一设备和第二设备采用的通信协议定义了该星座图中的各星座点,使得第一设备和第二设备均保存该星座图中的各星座点的位置。由于第一设备中保存有该星座图中的各星座点的位置,在解码该数据单元的星座图时,检测到星座点A1的位置错误,从而得到星座点A1发生错误。第一设备检测出该数据单元的星座图中发生错误的各星座点,基于发生错误的星座点数目和该星座图包括的星座点总数目,计算出该数据单元的的误码率。The first device and the second device may agree on each constellation point in the constellation diagram in advance, so that both the first device and the second device save the position of each constellation point in the constellation diagram, or the first device and the second device use The communication protocol defines each constellation point in the constellation diagram, so that both the first device and the second device save the position of each constellation point in the constellation diagram. Since the position of each constellation point in the constellation diagram is stored in the first device, when the constellation diagram of the data unit is decoded, it is detected that the position of the constellation point A1 is wrong, and an error occurs in the constellation point A1. The first device detects each constellation point where errors occur in the constellation diagram of the data unit, and calculates the bit error rate of the data unit based on the number of constellation points where the error occurs and the total number of constellation points included in the constellation diagram.
步骤103:第一设备向第二设备发送第二数据帧,第二数据帧用于指示该M个数据单元均未发生错误。Step 103: The first device sends a second data frame to the second device, where the second data frame is used to indicate that none of the M data units has an error.
第一设备在确定该M个数据单元均未发生错误的情况下,生成第二数据帧,第二数据帧是第一帧类型的新型聚合帧,在第二数据传输时隙内向第二设备发送第二数据帧。When the first device determines that none of the M data units has an error, it generates a second data frame. The second data frame is a new type of aggregation frame of the first frame type and sends it to the second device in the second data transmission time slot. The second data frame.
参见图9,第二数据帧包括帧头、第一ACE和第一净荷部分,该帧头包括第一前导和第一管理信息帧头,第一前导位于第一管理信息帧头之前,第一管理信息帧头位于第一ACE之前,第一ACE位于第一净荷部分之前,第一净荷部分包括X个数据单元。Referring to Figure 9, the second data frame includes a frame header, a first ACE and a first payload part. The frame header includes a first preamble and a first management information frame header. The first preamble is located before the first management information frame header. A management information frame header is located before the first ACE, the first ACE is located before the first payload part, and the first payload part includes X data units.
其中,第一前导、第一管理信息帧头和第一ACE分别对应不同的(orthogonal frequency division multiplexing,OFDM)符号,即使用不同OFDM符号来传输第一前导、第一管理信息帧头和第一ACE。而第一净荷部分也对至少一个OFDM符号,即使用该至少一个OFDM符号来传输第一净荷部分。Among them, the first preamble, the first management information frame header, and the first ACE respectively correspond to different (orthogonal frequency division multiplexing, OFDM) symbols, that is, different OFDM symbols are used to transmit the first preamble, the first management information frame header, and the first ACE. ACE. The first payload part is also for at least one OFDM symbol, that is, the at least one OFDM symbol is used to transmit the first payload part.
可选的,第一管理信息帧头包括帧类型指示信息,该帧类型指示信息用于指示第二数据帧的帧类型为第一帧类型。Optionally, the first management information frame header includes frame type indication information, and the frame type indication information is used to indicate that the frame type of the second data frame is the first frame type.
可选的,使用第一管理信息帧头中的保留字段携带该帧类型指示信息。Optionally, a reserved field in the first management information frame header is used to carry the frame type indication information.
可选的,使用该保留字段中的至少一个比特携带该帧类型指示信息。例如,设置该保留字段中的一个比特的值为1,表示该帧类型指示信息指示的帧类型为第一帧类型,或者,设置该保留字段中的一个比特的值为0,表示该帧类型指示信息指示的帧类型为第一帧类型。Optionally, at least one bit in the reserved field is used to carry the frame type indication information. For example, setting the value of a bit in the reserved field to 1 indicates that the frame type indicated by the frame type indication information is the first frame type, or setting the value of a bit in the reserved field to 0 indicates that the frame type The frame type indicated by the indication information is the first frame type.
可选的,第一设备和第二设备在进行通信之前能够约定第二数据帧中的该保留字段中用于携带该帧类型指示信息的比特。或者,在第一设备和第二设备采用的通信协议中规定第二数据帧中的该保留字段中用于携带该帧类型指示信息的比特。Optionally, the first device and the second device can agree on a bit used to carry the frame type indication information in the reserved field in the second data frame before communicating. Alternatively, the communication protocol used by the first device and the second device specifies the bits used to carry the frame type indication information in the reserved field in the second data frame.
这样,第一设备在生成第二数据帧时,使用该保留字段中约定的比特携带该帧类型指示信息,或者,使用该通信协议规定的该保留字段中的比特携带该帧类型指示信息。In this way, when the first device generates the second data frame, it uses the agreed bits in the reserved field to carry the frame type indication information, or uses the bits in the reserved field specified by the communication protocol to carry the frame type indication information.
第一设备发送第二数据帧后,将第二数据帧中的该X个数据单元的状态设置为待应答状态。After the first device sends the second data frame, it sets the state of the X data units in the second data frame to the waiting state.
步骤104:第二设备接收第二数据帧,获取第二数据帧的帧类型,并确定出第二数据帧的帧类型为第一帧类型,从而进一步确定第一设备接收的该M个数据单元均未发生错误,结束返回。Step 104: The second device receives the second data frame, obtains the frame type of the second data frame, and determines that the frame type of the second data frame is the first frame type, thereby further determining the M data units received by the first device No error occurred, the end returns.
在本步骤中,可以通过如下两种方式确定第二数据帧的帧类型,分别为:In this step, the frame type of the second data frame can be determined in the following two ways:
第一种方式,第二设备从第二数据帧的帧头中获取帧类型指示信息,根据该帧类型指示信息确定第二数据帧的帧类型为第一帧类型。In the first manner, the second device obtains the frame type indication information from the frame header of the second data frame, and determines that the frame type of the second data frame is the first frame type according to the frame type indication information.
第二数据帧的帧头包括第一管理信息帧头,第一管理信息帧头包括帧类型指示信息,该帧类型指示信息用于指示第二数据帧的帧类型为第一帧类型。所以第二设备根据从第二数据帧的帧头中识别出第一管理信息帧头,从第一管理信息帧头中读取该帧类型指示信息,根据该帧类型指示信息确定第二数据帧的帧类型为第一帧类型。The frame header of the second data frame includes a first management information frame header, and the first management information frame header includes frame type indication information, and the frame type indication information is used to indicate that the frame type of the second data frame is the first frame type. Therefore, the second device recognizes the first management information frame header from the frame header of the second data frame, reads the frame type indication information from the first management information frame header, and determines the second data frame according to the frame type indication information The frame type is the first frame type.
可选的,该帧类型指示信息携带在第一管理信息帧头的保留字段中。第二设备可以从第一管理帧信息帧头的保留字段中读取该帧类型指示信息。Optionally, the frame type indication information is carried in a reserved field of the first management information frame header. The second device may read the frame type indication information from the reserved field of the information frame header of the first management frame.
可选的,第一设备和第二设备事先约定保留字段中用于携带该帧类型指示信息的至少一个比特,这样第二设备从约定的该至少一个比特中读取该帧类型指示信息。或者,第二设备和第一设备采用的通信协议中规定该保留字段中用于携带该该帧类型指示信息的至少一个比特,这样第二设备基于该通信协议,在第二数据帧中确定该至少一个比特,从该至少一个比特中读取该帧类型指示信息。Optionally, the first device and the second device agree in advance to reserve at least one bit for carrying the frame type indication information in the reserved field, so that the second device reads the frame type indication information from the agreed at least one bit. Or, the communication protocol used by the second device and the first device specifies at least one bit used to carry the frame type indication information in the reserved field, so that the second device determines the frame type in the second data frame based on the communication protocol. At least one bit, read the frame type indication information from the at least one bit.
第二种方式,第二设备检测第二数据帧,如果检测出第二数据帧不包括应答帧头,则确定第二数据帧的帧类型为第一帧类型。In the second way, the second device detects the second data frame, and if it detects that the second data frame does not include the response frame header, it determines that the frame type of the second data frame is the first frame type.
第二数据帧包括第一ACE,第二数据帧的帧头包括第一帧管理信息帧头,第一ACE位于第二数据帧的帧头之后;这样第二设备检测第二数据帧的操作,可以为:The second data frame includes the first ACE, the frame header of the second data frame includes the first frame management information frame header, and the first ACE is located after the frame header of the second data frame; in this way, the second device detects the operation of the second data frame, Can be:
第二设备在第二数据帧中检测与第一帧管理信息帧头相邻的下一个字段,在检测出下一个字段为第一ACE,则检测出第二数据帧不包括应答帧头。The second device detects the next field adjacent to the management information frame header of the first frame in the second data frame, and detects that the next field is the first ACE, and then detects that the second data frame does not include the response frame header.
可选的,第二设备在执行完上述第一种方式确定出第二数据帧的帧类型为第一种帧类型时,还可进一步通过第二种方式确定第二数据帧的帧类型是否为第一种帧类型,以提高确定第二数据帧的帧类型的精度。Optionally, when the second device determines that the frame type of the second data frame is the first frame type after executing the above-mentioned first method, it may further determine whether the frame type of the second data frame is the second method The first frame type is used to improve the accuracy of determining the frame type of the second data frame.
其中,第二数据帧在第一设备和第二设备之间的链路上传输的过程,第二数据帧的第一帧管理信息帧头携带的帧类型信息可能会发生错误,所以第二设备通过第一种方式确定出的第二数据帧的帧类型可能不准确,因此第二设备还可以通过第二种方式进一步确定第二数据帧的帧类型,如果通过两种方式确定第二数据帧的帧类型均为第一帧类型,从而最终确定第二数据帧的帧类型为第一帧类型。In the process of transmitting the second data frame on the link between the first device and the second device, the frame type information carried in the header of the first frame management information of the second data frame may be wrong, so the second device The frame type of the second data frame determined through the first method may be inaccurate. Therefore, the second device can further determine the frame type of the second data frame through the second method. If the second data frame is determined through two methods The frame types of are all the first frame type, so that the frame type of the second data frame is finally determined to be the first frame type.
其中,参见图10,在第二数据传输时隙内,第二设备也向第一设备发送第四数据帧,该第四数据帧的净荷部分包括W个数据单元(如图10中的数据单元31、32、……、3W),将该W个数据单元状态设置为待应答状态,该W个数据单元位于该M个数据单元之后。10, in the second data transmission time slot, the second device also sends a fourth data frame to the first device, and the payload part of the fourth data frame includes W data units (as shown in Figure 10). Units 31, 32, ..., 3W), set the state of the W data units to the waiting state, and the W data units are located behind the M data units.
参见图11,第二设备在确定第一设备接收的该M个数据单元均未发生错误时,将该M个数据单元的状态设置为已应答,移动滑动窗口,将该滑动窗口的起始位置移动至该M个数 据单元之后,以及该W个数据单元之前,W可以等于、大于或小于M。Referring to FIG. 11, when the second device determines that none of the M data units received by the first device has an error, it sets the state of the M data units to acknowledged, moves the sliding window, and sets the starting position of the sliding window After moving to the M data units and before the W data units, W can be equal to, greater than, or less than M.
其中,第二数据帧中包括X个数据单元,第二设备还确定该X个数据单元是否存在发生错误的数据单元,根据确定的结果在第三数据传输时隙内向第一设备发送数据帧,详细实现方式,参见步骤102和103,以及后续的步骤105中的第一设备执行的操作,在此不再详细说明。Wherein, the second data frame includes X data units, the second device also determines whether there are data units with errors in the X data units, and sends the data frame to the first device in the third data transmission time slot according to the determined result, For detailed implementation, refer to steps 102 and 103, and the operation performed by the first device in the subsequent step 105, which is not described in detail here.
参见图12,第一设备在确定该M个数据单元中存在N个数据单元发生错误的情况下,第一设备执行完步骤102的操作后,开始执行如下步骤105的操作。Referring to FIG. 12, in the case that the first device determines that there are N data units in the M data units, the first device starts to perform the following operation of step 105 after performing the operation of step 102.
步骤105:第一设备向第二设备发送第三数据帧,第三数据帧的帧头包括应答帧头,该应答帧头包括第一指示信息和第二指示信息中的至少一个,第一指示信息用于指示该N个数据单元发生错误,第二指示信息用于指示该M-N个数据单元未发生错误,该M-N个数据单元是该M个数据单元中除该N个数据单元以外的数据单元。Step 105: The first device sends a third data frame to the second device. The frame header of the third data frame includes a response frame header. The response frame header includes at least one of the first indication information and the second indication information. The information is used to indicate that an error has occurred in the N data units, and the second indication information is used to indicate that no error has occurred in the MN data units, and the MN data units are data units other than the N data units among the M data units .
第一设备在确定该M个数据单元存在N个数据单元发生错误的情况下,生成第三数据帧,第三数据帧是第二帧类型的传统聚合帧,在第二数据传输时隙内向第二设备发送第三数据帧。The first device generates a third data frame when it is determined that there are errors in the N data units of the M data units. The third data frame is a traditional aggregate frame of the second frame type, and transmits to the first data frame in the second data transmission time slot. The second device sends the third data frame.
参见图13,第三数据帧包括帧头、第二ACE和第二净荷部分,该帧头包括第二前导、第二管理信息帧头和应答帧头,第二前导位于第二管理信息帧头之前,第二管理信息帧头位于该应答帧头之前,该应答帧头位于第二ACE之前,第二ACE位于第二净荷部分之前,第二净荷部分包括Y个数据单元。Referring to Figure 13, the third data frame includes a frame header, a second ACE, and a second payload part. The frame header includes a second preamble, a second management information frame header, and a response frame header. The second preamble is located in the second management information frame. Before the header, the second management information frame header is located before the response frame header, the response frame header is located before the second ACE, and the second ACE is located before the second payload part, and the second payload part includes Y data units.
其中,第二前导、第二管理信息帧头、该应答帧头和第二ACE分别对应不同的OFDM符号,即使用不同OFDM符号来传输第二前导、第二管理信息帧头、该应答帧头和第二ACE。而第二净荷部分也对至少二个OFDM符号,即使用该至少一个OFDM符号来传输第二净荷部分。Among them, the second preamble, the second management information frame header, the response frame header, and the second ACE respectively correspond to different OFDM symbols, that is, different OFDM symbols are used to transmit the second preamble, the second management information frame header, and the response frame header. And the second ACE. The second payload part is also for at least two OFDM symbols, that is, the at least one OFDM symbol is used to transmit the second payload part.
可选的,该应答帧头包括位图,该位图包括M个比特,第一至第M个比特分别对应第一至第M个数据单元,对于未发生错误的数据单元,该数据单元对应的比特的取值为第一数值,对于发生错误的数据单元,该数据单元对应的比特的取值为第二数值。第一数值为数值1,第二数值为数值0;或者,第一数值为数值1,第二数值为数值0。在该位图中存在M-N个比特的取值为第一数值,存在N个比特的取值为第二数值。第一指示信息包括该位图中发生错误的数据单元对应的比特,第二指示信息包括该位图中未发生错误的数据单元对应的比特。Optionally, the response frame header includes a bitmap, the bitmap includes M bits, and the first to Mth bits correspond to the first to Mth data units, and for data units that have no errors, the data unit corresponds to The value of the bit of is the first value, and for the data unit that has an error, the value of the bit corresponding to the data unit is the second value. The first value is the value 1, and the second value is the value 0; alternatively, the first value is the value 1, and the second value is the value 0. In the bitmap, there are M-N bits whose values are the first value, and there are N bits whose values are the second value. The first indication information includes the bit corresponding to the data unit in the bitmap with an error, and the second indication information includes the bit corresponding to the data unit with no error in the bitmap.
可选的,第一指示信息包括该N个数据单元的序号,第二指示信息包括该M-N数据单元的序号。Optionally, the first indication information includes the sequence numbers of the N data units, and the second indication information includes the sequence numbers of the M-N data units.
其中,由于第二数据帧的帧头不包括应答帧头,所以第二数据帧的帧头长度小于第三数据帧的帧头长度。这样可能导致第二数据帧的第一净荷部分的长度大于或等于第三数据帧的第二净荷部分的长度,所以第二数据帧中的数据单元数目X可能大于或等于第三数据帧中的数据单元数目Y。或者,第二数据帧的第一净荷部分的长度等于第三数据帧的第二净荷部分的长度,这样导致第二数据帧的时间长度小于第三数据帧的时间长度。Wherein, since the frame header of the second data frame does not include the response frame header, the frame header length of the second data frame is smaller than the frame header length of the third data frame. This may cause the length of the first payload part of the second data frame to be greater than or equal to the length of the second payload part of the third data frame, so the number of data units X in the second data frame may be greater than or equal to the third data frame The number of data units in Y. Alternatively, the length of the first payload part of the second data frame is equal to the length of the second payload part of the third data frame, which results in the time length of the second data frame being shorter than the time length of the third data frame.
步骤106:第二设备接收第三数据帧,基于第三数据帧的应答帧头,确定发生错误的N个数据单元和/或未发生错误的该M-N个数据单元,结束返回。Step 106: The second device receives the third data frame, determines the N data units with errors and/or the M-N data units without errors based on the response frame header of the third data frame, and ends the return.
第二设备从第三数据帧中识别出应答帧头。在该应答帧头包括第一指示信息的情况,从 该应答帧头中提取第一指示信息,基于第一指示信息,确定发生错误的N个数据单元,进一而得出未发生错误的M-N个数据单元。The second device recognizes the response frame header from the third data frame. In the case that the response frame header includes the first indication information, extract the first indication information from the response frame header, and based on the first indication information, determine the N data units where errors have occurred, and further obtain the MN where no error has occurred. Data units.
在该应答帧头包括第二指示信息的情况,从该应答帧头中提取第二指示信息,基于第二指示信息,确定未发生错误的M-N个数据单元。可选的,还可确定出发生错误的N个数据单元。In the case that the response frame header includes the second indication information, the second indication information is extracted from the response frame header, and based on the second indication information, M-N data units where no error has occurred are determined. Optionally, N data units in which the error occurred can also be determined.
在该应答帧头包括第一指示信息和第二指示信息的情况,从该应答帧头中提取第一指示信息和第二指示信息,基于第一指示信息确定发生错误的N个数据单元,以及基于第一指示信息确定未发生错误的M-N个数据单元。In the case that the response frame header includes the first indication information and the second indication information, extract the first indication information and the second indication information from the response frame header, determine the N data units with errors based on the first indication information, and Based on the first indication information, determine MN data units where no error has occurred.
可选的,在该应答帧头包括位图,第二设备从该位图中获取取值为第二数值的N个比特,以及取值为第一数值的M-N个比特,确定该N个比特对应的N个数据单元发生错误,以及确定该M-N个数据单元对应的M-N个数据单元未发生错误。Optionally, the response frame header includes a bitmap, and the second device obtains from the bitmap N bits with a value of the second value and MN bits with a value of the first value, and determines the N bits The corresponding N data units have errors, and it is determined that the MN data units corresponding to the MN data units have no errors.
可选的,第一指示信息包括发生错误的N个数据单元的序号,第二设备根据该N个数据单元的序号,确定发生错误的该N个数据单元。Optionally, the first indication information includes the sequence numbers of the N data units where the error occurs, and the second device determines the N data units where the error occurs according to the sequence numbers of the N data units.
可选的,第二指示信息包括未发生错误的M-N数据单元的序号,第二设备根据该M-N个数据单元的序号,确定未发生错误的该M-N个数据单元。Optionally, the second indication information includes the sequence number of the M-N data unit that has no error, and the second device determines the M-N data unit that has no error according to the sequence number of the M-N data unit.
可选的,第二设备从该M-N个数据单元中确定Z个数据单元,Z为大于或等于0且小于或等于M-N的整数,该Z个数据单元也是该M个数据单元中的前Z个数据单元,将该Z个数据单元的状态设置为已应答状态。而对于剩下的M-Z个数据单元,将在第二数据传输时隙之后的数据传输时隙内重新向第一设备发送。Optionally, the second device determines Z data units from the MN data units, where Z is an integer greater than or equal to 0 and less than or equal to MN, and the Z data units are also the first Z of the M data units Data unit, set the state of the Z data units to the acknowledged state. For the remaining M-Z data units, they will be re-sent to the first device in the data transmission time slot after the second data transmission time slot.
例如,参见图10,在第二数据传输时隙内,第二设备也向第一设备发送第四数据帧,该第四数据帧的净荷部分包括W个数据单元(如图10中的数据单元31、32、……、3M),将该W个数据单元状态设置为待应答状态,该W个数据单元位于该M个数据单元之后。第二设备在确定发生错误的N个数据单元和未发生错误的M-N个数据单元后,假设未发生错误的M-N个数据单元分别是该M个数据单元中的第1个数据单元、第2个数据单元、第4个数据单元和第6个数据单元,这样第二设备从未发生错误的四个数据单元中确定2个数据单元,该2个数据单元是该M个数据单元的前两个数据单元,即第1个数据单元和第2个数据单元。参见图14,第二设备将该两个数据单元的状态设置为已应答,移动滑动窗口,将该滑动窗口的起始位置移动至该M个数据单元中的第2个数据单元(即图14所示的数据单元22)和第3个数据单元(图14中未画出)之间。For example, referring to Figure 10, in the second data transmission time slot, the second device also sends a fourth data frame to the first device. The payload part of the fourth data frame includes W data units (as shown in Figure 10). Units 31, 32, ..., 3M), set the state of the W data units to the waiting state, and the W data units are located behind the M data units. After the second device determines the N data units with errors and MN data units with no errors, it is assumed that the MN data units with no errors are the first data unit and the second data unit among the M data units. The data unit, the 4th data unit and the 6th data unit, so that the second device determines 2 data units from the four data units where no error has occurred, and the 2 data units are the first two of the M data units Data unit, namely the first data unit and the second data unit. Referring to FIG. 14, the second device sets the status of the two data units as acknowledged, moves the sliding window, and moves the starting position of the sliding window to the second data unit of the M data units (ie, FIG. 14 Between the data unit 22 shown) and the third data unit (not shown in FIG. 14).
其中,第三数据帧中包括Y个数据单元,第二设备还确定该Y个数据单元是否存在发生错误的数据单元,根据确定的结果在第三数据传输时隙内向第一设备发送数据帧,详细实现方式,参见步骤102、103和步骤105中的第一设备执行的操作,在此不再详细说明。Wherein, the third data frame includes Y data units, and the second device also determines whether there are data units with errors in the Y data units, and sends the data frame to the first device in the third data transmission time slot according to the determined result, For a detailed implementation manner, refer to the operations performed by the first device in steps 102, 103 and 105, which will not be described in detail here.
其中,在第二数据传输时隙内,第一设备向第二设备发送的第四数据帧可能是第一帧类型的新型聚合帧,或者,可能是第二帧类型的传统聚合帧,且发送过程参见上述步骤102、103和105中第一设备执行的操作,在本申请实施例中不再详细说明。Among them, in the second data transmission time slot, the fourth data frame sent by the first device to the second device may be a new type of aggregation frame of the first frame type, or may be a traditional aggregation frame of the second frame type, and it is sent For the process, refer to the operations performed by the first device in the foregoing steps 102, 103, and 105, which are not described in detail in the embodiment of the present application.
在本申请实施例中,由于第一设备在接收到第一数据帧时,确定第一数据帧中的M个数据单元中是否存在发生错误的数据单元,如果确定该M个数据单元均未发生错误,向第二设备发送第一帧类型的第二数据帧,第二数据帧用于指示该M个数据单元未发生错误。这样第 二设备接收第二数据帧,在检测出第二数据帧的帧类型为第一帧类型的情况下,确定第一设备接收的该M个数据单元未发生错误。由于第一帧类型的第二数据帧不包括应答帧头,这样可以减小第二数据帧的帧头长度,从而能够增加第二数据帧的净荷部分的长度,进而提高了通信容量。或者,减小第二数据帧的长度,以减小传输第二数据帧所需要的时间,从而在同样的数据传输时间段内,可以增加传输数据帧的数目,以提高通信容量。In the embodiment of the present application, when the first device receives the first data frame, it determines whether there is an error-occurring data unit among the M data units in the first data frame. If it is determined that none of the M data units has occurred If an error occurs, a second data frame of the first frame type is sent to the second device, and the second data frame is used to indicate that no error has occurred in the M data units. In this way, the second device receives the second data frame, and when it detects that the frame type of the second data frame is the first frame type, it is determined that the M data units received by the first device have no errors. Since the second data frame of the first frame type does not include the response frame header, the length of the frame header of the second data frame can be reduced, so that the length of the payload part of the second data frame can be increased, thereby increasing the communication capacity. Alternatively, the length of the second data frame can be reduced to reduce the time required to transmit the second data frame, so that in the same data transmission time period, the number of transmission data frames can be increased to increase the communication capacity.
参见图15,本申请实施例提供了一种用于PLC系统的通信装置200,所述装置200可以部署在上述任一实施例所示的第一设备中,包括:接收单元201、处理单元202和发送单元203;Referring to FIG. 15, an embodiment of the present application provides a communication device 200 for a PLC system. The device 200 may be deployed in the first device shown in any of the foregoing embodiments, and includes: a receiving unit 201 and a processing unit 202 And sending unit 203;
接收单元201,用于接收第二设备发送的第一数据帧,第一数据帧包括M个数据单元,M为大于0的整数;The receiving unit 201 is configured to receive a first data frame sent by a second device, the first data frame includes M data units, and M is an integer greater than 0;
发送单元203,用于在处理单元202确定该M个数据单元均未发生错误的情况下,向第二设备发送第二数据帧,第二数据帧的帧类型为第一帧类型,第二数据帧的帧头不包括应答帧头,第二数据帧用于指示该M个数据单元均未发生错误。The sending unit 203 is configured to send a second data frame to the second device when the processing unit 202 determines that none of the M data units has an error, the frame type of the second data frame is the first frame type, and the second data frame The frame header of the frame does not include the response frame header, and the second data frame is used to indicate that none of the M data units has an error.
可选的,发送单元203,还用于:Optionally, the sending unit 203 is further configured to:
在处理单元202确定该M个数据单元中存在N个数据单元发生错误的情况下,向第二设备发送第三数据帧,N为大于0且小于或等于M的整数,第三数据帧的帧类型为第二帧类型,第二帧类型与第一帧类型不同,第三数据帧的帧头包括应答帧头,该应答帧头包括第一指示信息和第二指示信息中的至少一种,第一指示信息用于指示该N个数据单元发生错误,第二指示信息用于指示M-N个数据单元未发生错误,该M-N个数据单元是该M个数据单元中除该N个数据单元以外的数据单元。When the processing unit 202 determines that there are errors in N data units among the M data units, it sends a third data frame to the second device, where N is an integer greater than 0 and less than or equal to M, and the frame of the third data frame The type is the second frame type, the second frame type is different from the first frame type, the frame header of the third data frame includes a response frame header, and the response frame header includes at least one of the first indication information and the second indication information, The first indication information is used to indicate that an error has occurred in the N data units, and the second indication information is used to indicate that no error has occurred in the MN data units, and the MN data units are among the M data units excluding the N data units Data unit.
可选的,处理单元202确定该M个数据单元中是否存在数据单元发生错误的详细实现过程,参见图6所示实施例的步骤102中的相关内容,在此不再详细说明。Optionally, the detailed implementation process for the processing unit 202 to determine whether there is an error in the data unit among the M data units, refer to the relevant content in step 102 of the embodiment shown in FIG. 6, which will not be described in detail here.
可选的,第二数据帧的帧头包括第一前导和第一管理信息帧头,第三数据帧的帧头还包括第二前导和第二管理信息帧头。Optionally, the frame header of the second data frame includes a first preamble and a first management information frame header, and the frame header of the third data frame further includes a second preamble and a second management information frame header.
可选的,在第三数据帧的帧头中,第二前导和所述第二管理信息帧头位于该应答帧头之前。Optionally, in the frame header of the third data frame, the second preamble and the second management information frame header are located before the response frame header.
可选的,第二数据帧包括帧类型指示信息,该帧类型指示信息用于指示第二数据帧的帧类型为第一帧类型。Optionally, the second data frame includes frame type indication information, and the frame type indication information is used to indicate that the frame type of the second data frame is the first frame type.
可选的,该帧类型指示信息携带在第二数据帧的第一管理信息帧头中。Optionally, the frame type indication information is carried in the first management information frame header of the second data frame.
可选的,第二数据帧包括ACE,该ACE位于第二数据帧的帧头之后。Optionally, the second data frame includes an ACE, and the ACE is located after the frame header of the second data frame.
可选的,在第二数据帧的帧头中第一前导、第一管理信息帧头和该ACE分别对应不同的OFDM符号;Optionally, in the frame header of the second data frame, the first preamble, the first management information frame header, and the ACE respectively correspond to different OFDM symbols;
在第三数据帧的帧头中第二前导、第二管理信息帧头和该应答帧头分别对应不同的OFDM符号。In the frame header of the third data frame, the second preamble, the second management information frame header, and the response frame header respectively correspond to different OFDM symbols.
可选的,接收单元201,用于在第一数据传输时隙接收第一数据帧;Optionally, the receiving unit 201 is configured to receive the first data frame in the first data transmission time slot;
发送单元203,用于在第二数据传输时隙发送第二数据帧或第三数据帧,第二数据传输时隙位于第一数据传输时隙之后。The sending unit 203 is configured to send a second data frame or a third data frame in a second data transmission time slot, and the second data transmission time slot is located after the first data transmission time slot.
在本申请实施例中,接收单元接收第二设备发送的第一数据帧,第一数据帧包括M个数据单元,M为大于0的整数。发送单元在确定该M个数据单元均未发生错误的情况下,向第二设备发送第二数据帧,第二数据帧的帧类型为第一帧类型,第二数据帧的帧头不包括应答帧头,第二数据帧用于指示该M个数据单元均未发生错误。由于第二数据帧用于指示该M个数据单元均未发生错误,这样在处理单元确定该M个数据单元均未发生错误的情况下,通过第二数据帧向第二设备应答该M个数据单元,又由于第二数据帧的帧头不包括应答帧头,这样增加第二数据帧的净荷部分的长度,从而提高了通信容量。或者,减小第二数据帧的长度,以减小传输第二数据帧所需要的时间,从而在同样的数据传输时间段内,可以增加传输数据帧的数目,以提高通信容量。In this embodiment of the present application, the receiving unit receives the first data frame sent by the second device, the first data frame includes M data units, and M is an integer greater than zero. When the sending unit determines that none of the M data units has an error, it sends a second data frame to the second device. The frame type of the second data frame is the first frame type, and the frame header of the second data frame does not include a response. The frame header, the second data frame is used to indicate that none of the M data units has an error. Since the second data frame is used to indicate that none of the M data units has an error, if the processing unit determines that none of the M data units has an error, the second data frame responds to the M data to the second device Unit, because the frame header of the second data frame does not include the response frame header, the length of the payload part of the second data frame is increased, thereby increasing the communication capacity. Alternatively, the length of the second data frame can be reduced to reduce the time required to transmit the second data frame, so that in the same data transmission time period, the number of transmission data frames can be increased to increase the communication capacity.
参见图16,本申请实施例提供了一种用于PLC系统的通信装置300,所述装置300可以部署在上述任一实施例所示的第二设备中,包括:发送单元301、处理单元302和接收单元303;Referring to FIG. 16, an embodiment of the present application provides a communication device 300 for a PLC system. The device 300 may be deployed in the second device shown in any of the foregoing embodiments, and includes: a sending unit 301 and a processing unit 302 And the receiving unit 303;
发送单元301,用于向第一设备发送的第一数据帧,第一数据帧包括M个数据单元,M为大于0的整数;The sending unit 301 is configured to send a first data frame to a first device, where the first data frame includes M data units, and M is an integer greater than 0;
接收单元303,用于接收第一设备发送的第二数据帧,其中在第二数据帧的帧类型为第一帧类型时,第二数据帧用于指示第一设备接收的该M个数据单元均未发生错误,第二数据帧不包括应答帧头;The receiving unit 303 is configured to receive a second data frame sent by the first device, where when the frame type of the second data frame is the first frame type, the second data frame is used to indicate the M data units received by the first device No error occurred, and the second data frame does not include the response frame header;
处理单元302,用于确定第二数据帧的帧类型,在第二数据帧的帧类型为第一帧类型时,确定该M个数据单元均未发生错误。The processing unit 302 is configured to determine the frame type of the second data frame, and when the frame type of the second data frame is the first frame type, determine that none of the M data units has an error.
可选的,第一数据帧是处理单元302生成的。Optionally, the first data frame is generated by the processing unit 302.
可选的,处理单元302确定帧类型的详细实现过程,参见图6所示实施例的步骤104中的相关内容,在此不再详细说明。Optionally, for the detailed implementation process of the processing unit 302 determining the frame type, refer to the relevant content in step 104 of the embodiment shown in FIG. 6, which will not be described in detail here.
可选的,在第二数据帧的帧类型为第二帧类型时,第二数据帧的帧头包括应答帧头,第一帧类型和第二帧类型不同,该应答帧头包括第一指示信息和第二指示信息中的至少一种,第一指示信息用于指示第一设备接收的该M个数据单元中存在N个数据单元发生错误,第二指示信息用于指示M-N个数据单元未发生错误,N为大于0且小于或等于M的整数,该M-N个数据单元是该M个数据单元中除该N个数据单元以外的数据单元;Optionally, when the frame type of the second data frame is the second frame type, the frame header of the second data frame includes a response frame header, and the first frame type is different from the second frame type, and the response frame header includes a first indication At least one of information and second indication information, the first indication information is used to indicate that there are errors in N data units in the M data units received by the first device, and the second indication information is used to indicate that MN data units have failed. An error occurs, N is an integer greater than 0 and less than or equal to M, and the MN data units are data units other than the N data units among the M data units;
处理单元302,还用于:The processing unit 302 is also used for:
在第二数据帧的帧类型为第二帧类型时,基于第二数据帧的所述应答帧头,确定发生错误的该N个数据单元和/或未发生错误的该M-N个数据单元。When the frame type of the second data frame is the second frame type, based on the response frame header of the second data frame, the N data units with errors and/or the M-N data units without errors are determined.
可选的,处理单元302确定发生错误的该N个数据单元和/或未发生错误的该M-N个数据单元的详细实现过程,参见图12所示实施例的步骤106中的相关内容,在此不再详细说明。Optionally, the processing unit 302 determines the detailed implementation process of the N data units with errors and/or the MN data units with no errors, please refer to the relevant content in step 106 of the embodiment shown in FIG. 12, here No more detailed description.
可选的,在第二数据帧的帧类型为第一帧类型时,第二数据帧的帧头包括第一前导和第一管理信息帧头;Optionally, when the frame type of the second data frame is the first frame type, the frame header of the second data frame includes the first preamble and the first management information frame header;
在第二数据帧的帧类型为第二帧类型时,第二数据帧的帧头还包括第二前导和第二管理信息帧头,第二前导和第二管理信息帧头位于该应答帧头之前。When the frame type of the second data frame is the second frame type, the frame header of the second data frame further includes a second preamble and a second management information frame header, and the second preamble and the second management information frame header are located in the response frame header Before.
可选的,第二数据帧包括帧类型指示信息,该帧类型指示信息用于指示第二数据帧的帧 类型,Optionally, the second data frame includes frame type indication information, and the frame type indication information is used to indicate the frame type of the second data frame,
处理单元302,用于根据该帧类型指示信息确定第二数据帧的帧类型。The processing unit 302 is configured to determine the frame type of the second data frame according to the frame type indication information.
可选的,处理单元302根据该帧类型指示信息确定第二数据帧的帧类型的详细实现过程,参见图6所示实施例的步骤104中的相关内容,在此不再详细说明。Optionally, the processing unit 302 determines the detailed implementation process of the frame type of the second data frame according to the frame type indication information. Refer to the relevant content in step 104 of the embodiment shown in FIG. 6, which will not be described in detail here.
可选的,处理单元302,用于:Optionally, the processing unit 302 is configured to:
解析第二数据帧,如果第二数据帧不包括该应答帧头,则确定第二数据帧的帧类型为第一帧类型;如果第二数据帧包括该应答帧头,则确定第二数据帧的帧类型为第二帧类型。Analyze the second data frame, if the second data frame does not include the response frame header, determine the frame type of the second data frame as the first frame type; if the second data frame includes the response frame header, determine the second data frame The frame type is the second frame type.
可选的,第二数据帧包括ACE,该ACE位于第二数据帧的帧头之后。Optionally, the second data frame includes an ACE, and the ACE is located after the frame header of the second data frame.
可选的,在第二数据帧的帧类型为第一帧类型时,在第二数据帧中第一前导和第一管理信息帧头分别对应不同的OFDM符号;Optionally, when the frame type of the second data frame is the first frame type, the first preamble and the first management information frame header in the second data frame respectively correspond to different OFDM symbols;
在第二数据帧的帧类型为第二帧类型时,在第二数据帧中第二前导、第二管理信息帧头和该应答帧头分别对应不同的OFDM符号。When the frame type of the second data frame is the second frame type, the second preamble, the second management information frame header, and the response frame header in the second data frame respectively correspond to different OFDM symbols.
可选的,处理单元302,用于:Optionally, the processing unit 302 is configured to:
在第二数据帧中解析与第一管理信息帧头相邻的下一个OFDM符号,如果下一个OFDM符号为该ACE,则确定第二数据帧不包括该应答帧头。Analyze the next OFDM symbol adjacent to the first management information frame header in the second data frame, and if the next OFDM symbol is the ACE, it is determined that the second data frame does not include the response frame header.
可选的,处理单元302解析第二数据帧的详细实现过程,参见图6所示实施例的步骤104中的相关内容,在此不再详细说明。Optionally, for the detailed implementation process of the processing unit 302 parsing the second data frame, refer to the related content in step 104 of the embodiment shown in FIG. 6, which will not be described in detail here.
在本申请实施列中,发送单元向第一设备发送的第一数据帧,第一数据帧包括M个数据单元,M为大于0的整数。接收单元接收第一设备发送的第二数据帧,其中在第二数据帧的帧类型为第一帧类型时,第二数据帧用于指示第一设备接收的该M个数据单元均未发生错误,第二数据帧不包括应答帧头。处理单元确定第二数据帧的帧类型,在第二数据帧的帧类型为第一帧类型时,确定该M个数据单元均未发生错误。如此通过第二数据帧对该M个数据单元进行应答,又由于第二数据帧不包括应答帧头,这样增加第二数据帧的净荷部分的长度,从而提高了通信容量。或者,减小第二数据帧的长度,以减小传输第二数据帧所需要的时间,从而在同样的数据传输时间段内,可以增加传输数据帧的数目,以提高通信容量。In the implementation column of this application, the first data frame sent by the sending unit to the first device, the first data frame includes M data units, and M is an integer greater than zero. The receiving unit receives the second data frame sent by the first device, where when the frame type of the second data frame is the first frame type, the second data frame is used to indicate that none of the M data units received by the first device has an error , The second data frame does not include the response frame header. The processing unit determines the frame type of the second data frame, and when the frame type of the second data frame is the first frame type, it is determined that none of the M data units has an error. In this way, the M data units are responded to by the second data frame, and since the second data frame does not include the response frame header, the length of the payload part of the second data frame is increased, thereby increasing the communication capacity. Alternatively, the length of the second data frame can be reduced to reduce the time required to transmit the second data frame, so that in the same data transmission time period, the number of transmission data frames can be increased to increase the communication capacity.
参见图17,本申请实施例提供了一种用于PLC系统的通信装置400示意图。该装置400可以是上述任一实施例中的第一设备。该装置400包括至少一个处理器401,总线系统402,存储器403以及至少一个收发器404。Referring to FIG. 17, an embodiment of the present application provides a schematic diagram of a communication device 400 used in a PLC system. The apparatus 400 may be the first device in any of the foregoing embodiments. The device 400 includes at least one processor 401, a bus system 402, a memory 403, and at least one transceiver 404.
该装置400是一种硬件结构的装置,可以用于实现图15所述的装置200中的功能模块。例如,本领域技术人员可以想到图15所示的装置200中的处理单元202可以通过该至少一个处理器401调用存储器403中的代码来实现,图15所示的装置200中的接收单元201和发送单元203可以通过该收发器404来实现。The device 400 is a device with a hardware structure, and can be used to implement the functional modules in the device 200 described in FIG. 15. For example, those skilled in the art can imagine that the processing unit 202 in the device 200 shown in FIG. 15 can be implemented by calling the code in the memory 403 by the at least one processor 401. The receiving unit 201 and the receiving unit 201 in the device 200 shown in FIG. The sending unit 203 may be implemented by the transceiver 404.
可选的,上述处理器401可以是一个通用中央处理器(central processing unit,CPU),网络处理器(network processor,NP),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。Optionally, the aforementioned processor 401 may be a general-purpose central processing unit (central processing unit, CPU), network processor (network processor, NP), microprocessor, or application-specific integrated circuit (ASIC). , Or one or more integrated circuits used to control the execution of the program of this application.
上述总线系统402可包括一通路,在上述组件之间传送信息。The above-mentioned bus system 402 may include a path for transferring information between the above-mentioned components.
上述收发器404,用于与其他设备或通信网络通信。The aforementioned transceiver 404 is used to communicate with other devices or a communication network.
上述存储器403可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The aforementioned memory 403 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions. The type of dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), or other optical disk storage, optical discs Storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by Any other medium accessed by the computer, but not limited to this. The memory can exist independently and is connected to the processor through a bus. The memory can also be integrated with the processor.
其中,存储器403用于存储执行本申请方案的应用程序代码,并由处理器401来控制执行。处理器401用于执行存储器403中存储的应用程序代码,从而实现本专利方法中的功能。Wherein, the memory 403 is used to store application program code for executing the solution of the present application, and the processor 401 controls the execution. The processor 401 is configured to execute the application program code stored in the memory 403, so as to realize the functions in the method of the present patent.
在具体实现中,作为一种实施例,处理器401可以包括一个或多个CPU,例如图17中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 401 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 17.
在具体实现中,作为一种实施例,该装置400可以包括多个处理器,例如图17中的处理器401和处理器407。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the apparatus 400 may include multiple processors, such as the processor 401 and the processor 407 in FIG. 17. Each of these processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
参见图18,本申请实施例提供了一种用于PLC系统的通信装置500示意图。该装置500可以是上述任一实施例中的第一设备。该装置500包括至少一个处理器501,总线系统502,存储器503以及至少一个收发器504。Referring to FIG. 18, an embodiment of the present application provides a schematic diagram of a communication device 500 used in a PLC system. The apparatus 500 may be the first device in any of the foregoing embodiments. The device 500 includes at least one processor 501, a bus system 502, a memory 503, and at least one transceiver 504.
该装置500是一种硬件结构的装置,可以用于实现图16所述的装置300中的功能模块。例如,本领域技术人员可以想到图16所示的装置300中的处理单元302可以通过该至少一个处理器501调用存储器503中的代码来实现,图16所示的装置300中的接收单元303和发送单元301可以通过该收发器504来实现。The device 500 is a device with a hardware structure, and can be used to implement the functional modules in the device 300 described in FIG. 16. For example, those skilled in the art can imagine that the processing unit 302 in the device 300 shown in FIG. 16 can be implemented by calling the code in the memory 503 by the at least one processor 501. The receiving unit 303 and the receiving unit 303 in the device 300 shown in FIG. The sending unit 301 may be implemented by the transceiver 504.
可选的,上述处理器501可以是一个通用中央处理器(central processing unit,CPU),网络处理器(network processor,NP),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。Optionally, the foregoing processor 501 may be a general-purpose central processing unit (central processing unit, CPU), network processor (network processor, NP), microprocessor, application-specific integrated circuit (ASIC) , Or one or more integrated circuits used to control the execution of the program of this application.
上述总线系统502可包括一通路,在上述组件之间传送信息。The above-mentioned bus system 502 may include a path for transferring information between the above-mentioned components.
上述收发器504,用于与其他设备或通信网络通信。The aforementioned transceiver 504 is used to communicate with other devices or a communication network.
上述存储器503可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The above-mentioned memory 503 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions. The type of dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), or other optical disk storage, optical discs Storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by Any other medium accessed by the computer, but not limited to this. The memory can exist independently and is connected to the processor through a bus. The memory can also be integrated with the processor.
其中,存储器503用于存储执行本申请方案的应用程序代码,并由处理器501来控制执 行。处理器501用于执行存储器503中存储的应用程序代码,从而实现本专利方法中的功能。Among them, the memory 503 is used to store application program codes for executing the solutions of the present application, and the processor 501 controls the execution. The processor 501 is configured to execute the application program code stored in the memory 503, so as to realize the functions in the method of the present patent.
在具体实现中,作为一种实施例,处理器501可以包括一个或多个CPU,例如图18中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 501 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 18.
在具体实现中,作为一种实施例,该装置500可以包括多个处理器,例如图18中的处理器501和处理器507。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In specific implementation, as an embodiment, the apparatus 500 may include multiple processors, such as the processor 501 and the processor 507 in FIG. 18. Each of these processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
本申请实施例提供了一种用于PLC系统的通信系统,包括如图15所示实施例提供的装置200和如图16所示实施例提供的装置300,或者,包括如图17所示实施例提供的装置400和如图18所示实施例提供的装置500。The embodiment of the present application provides a communication system for a PLC system, which includes the device 200 provided in the embodiment shown in FIG. 15 and the device 300 provided in the embodiment shown in FIG. 16, or includes the implementation shown in FIG. The apparatus 400 provided in the example and the apparatus 500 provided in the embodiment shown in FIG. 18 are provided.
参见图1,如图15所示实施例提供的装置200或如图17所示实施例提供的装置400为第一设备,如图16所示实施例提供的装置300或如图18所示实施例提供的装置500为第二设备。Referring to FIG. 1, the apparatus 200 provided in the embodiment shown in FIG. 15 or the apparatus 400 provided in the embodiment shown in FIG. 17 is the first device, and the apparatus 300 provided in the embodiment shown in FIG. 16 may be implemented as shown in FIG. 18. The device 500 provided in the example is the second device.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person of ordinary skill in the art can understand that all or part of the steps in the above embodiments can be implemented by hardware, or by a program to instruct relevant hardware. The program can be stored in a computer-readable storage medium. The storage medium mentioned can be a read-only memory, a magnetic disk or an optical disk, etc.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only optional embodiments of this application and are not intended to limit this application. Any modification, equivalent replacement, improvement, etc. made within the principles of this application shall be included in the scope of protection of this application. Inside.

Claims (35)

  1. 一种用于电力线通信(power line communication,PLC)系统的通信方法,其特征在于,包括:A communication method used in a power line communication (PLC) system, which is characterized in that it includes:
    第一设备接收第二设备发送的第一数据帧,所述第一数据帧包括M个数据单元,M为大于0的整数;The first device receives the first data frame sent by the second device, where the first data frame includes M data units, and M is an integer greater than 0;
    所述第一设备在确定所述M个数据单元均未发生错误的情况下,向所述第二设备发送第二数据帧,所述第二数据帧的帧类型为第一帧类型,所述第二数据帧的帧头不包括应答帧头,所述第二数据帧用于指示所述M个数据单元均未发生错误。When determining that none of the M data units has an error, the first device sends a second data frame to the second device, the frame type of the second data frame is the first frame type, and the The frame header of the second data frame does not include the response frame header, and the second data frame is used to indicate that none of the M data units has an error.
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    所述第一设备在确定所述M个数据单元中存在N个数据单元发生错误的情况下,向所述第二设备发送第三数据帧,N为大于0且小于或等于M的整数,所述第三数据帧的帧类型为第二帧类型,所述第二帧类型与所述第一帧类型不同,所述第三数据帧的帧头包括所述应答帧头,所述应答帧头包括第一指示信息和第二指示信息中的至少一种,所述第一指示信息用于指示所述N个数据单元发生错误,所述第二指示信息用于指示M-N个数据单元未发生错误,所述M-N个数据单元是所述M个数据单元中除所述N个数据单元以外的数据单元。The first device sends a third data frame to the second device when it is determined that there are errors in N data units among the M data units, where N is an integer greater than 0 and less than or equal to M, so The frame type of the third data frame is a second frame type, the second frame type is different from the first frame type, the frame header of the third data frame includes the response frame header, and the response frame header It includes at least one of first indication information and second indication information, where the first indication information is used to indicate that an error has occurred in the N data units, and the second indication information is used to indicate that no error has occurred in the MN data units , The MN data units are data units other than the N data units among the M data units.
  3. 如权利要求2所述的方法,其特征在于,所述第二数据帧的帧头包括第一前导和第一管理信息帧头,所述第三数据帧的帧头还包括第二前导和第二管理信息帧头。The method according to claim 2, wherein the frame header of the second data frame includes a first preamble and a first management information frame header, and the frame header of the third data frame further includes a second preamble and a first management information frame header. 2. Management information frame header.
  4. 如权利要求3所述的方法,其特征在于,在所述第三数据帧的帧头中,所述第二前导和所述第二管理信息帧头位于所述应答帧头之前。The method according to claim 3, wherein in the frame header of the third data frame, the second preamble and the second management information frame header are located before the response frame header.
  5. 如权利要求1-4任一所述的方法,其特征在于,所述第二数据帧包括帧类型指示信息,所述帧类型指示信息用于指示所述第二数据帧的帧类型为所述第一帧类型。The method according to any one of claims 1-4, wherein the second data frame includes frame type indication information, and the frame type indication information is used to indicate that the frame type of the second data frame is the The first frame type.
  6. 如权利要求5所述的方法,其特征在于,所述帧类型指示信息携带在所述第二数据帧的第一管理信息帧头中。The method according to claim 5, wherein the frame type indication information is carried in the first management information frame header of the second data frame.
  7. 如权利要求3或4所述的方法,其特征在于,所述第二数据帧包括额外信道探测(additional channel estimation,ACE),所述ACE位于所述第二数据帧的帧头之后。The method according to claim 3 or 4, wherein the second data frame includes additional channel estimation (ACE), and the ACE is located after the frame header of the second data frame.
  8. 如权利要求7所述的方法,其特征在于,所述第二数据帧的帧头中,所述第一前导、所述第一管理信息帧头和所述ACE分别对应不同的正交频分复用(orthogonal frequency division multiplexing,OFDM)符号;The method according to claim 7, wherein in the frame header of the second data frame, the first preamble, the first management information frame header, and the ACE correspond to different orthogonal frequency divisions. Multiplexing (orthogonal frequency division multiplexing, OFDM) symbols;
    所述第三数据帧的帧头中,所述第二前导、所述第二管理信息帧头和所述应答帧头分别对应不同的OFDM符号。In the frame header of the third data frame, the second preamble, the second management information frame header, and the response frame header respectively correspond to different OFDM symbols.
  9. 如权利要求2-4任一项所述的方法,其特征在于,所述第一设备在第一数据传输时隙接收所述第一数据帧,所述第一设备在第二数据传输时隙发送所述第二数据帧或第三数据帧,所述第二数据传输时隙位于所述第一数据传输时隙之后。The method according to any one of claims 2-4, wherein the first device receives the first data frame in a first data transmission time slot, and the first device receives the first data frame in a second data transmission time slot. The second data frame or the third data frame is sent, and the second data transmission time slot is located after the first data transmission time slot.
  10. 一种用于电力线通信(power line communication,PLC)系统的通信方法,其特征在于,包括:A communication method used in a power line communication (PLC) system, which is characterized in that it includes:
    第二设备向第一设备发送的第一数据帧,所述第一数据帧包括M个数据单元,M为大于 0的整数;A first data frame sent by the second device to the first device, where the first data frame includes M data units, and M is an integer greater than 0;
    所述第二设备接收所述第一设备发送的第二数据帧,其中在所述第二数据帧的帧类型为第一帧类型时,所述第二数据帧用于指示所述第一设备接收的所述M个数据单元均未发生错误,所述第二数据帧不包括应答帧头;The second device receives the second data frame sent by the first device, where when the frame type of the second data frame is the first frame type, the second data frame is used to instruct the first device None of the received M data units has an error, and the second data frame does not include a response frame header;
    所述第二设备确定所述第二数据帧的帧类型,在所述第二数据帧的帧类型为第一帧类型时,确定所述M个数据单元均未发生错误。The second device determines the frame type of the second data frame, and when the frame type of the second data frame is the first frame type, determines that none of the M data units has an error.
  11. 如权利要求10所述的方法,其特征在于,在所述第二数据帧的帧类型为第二帧类型时,所述第二数据帧的帧头包括所述应答帧头,所述第一帧类型和所述第二帧类型不同,所述应答帧头包括第一指示信息和第二指示信息中的至少一种,所述第一指示信息用于指示所述第一设备接收的所述M个数据单元中存在N个数据单元发生错误,所述第二指示信息用于指示M-N个数据单元未发生错误,N为大于0且小于或等于M的整数,所述M-N个数据单元是所述M个数据单元中除所述N个数据单元以外的数据单元;The method according to claim 10, wherein when the frame type of the second data frame is the second frame type, the frame header of the second data frame includes the response frame header, and the first The frame type is different from the second frame type, the response frame header includes at least one of first indication information and second indication information, and the first indication information is used to indicate the received information received by the first device. There are N data units in M data units that have errors, the second indication information is used to indicate that MN data units have no errors, N is an integer greater than 0 and less than or equal to M, and the MN data units are all Data units other than the N data units among the M data units;
    所述第二设备确定所述第二数据帧的帧类型之后,还包括:After the second device determines the frame type of the second data frame, the method further includes:
    所述第二设备在所述第二数据帧的帧类型为第二帧类型时,基于所述第二数据帧的所述应答帧头,确定发生错误的所述N个数据单元和/或未发生错误的所述M-N个数据单元。When the frame type of the second data frame is the second frame type, the second device determines, based on the response frame header of the second data frame, the N data units and/or non-errors. The MN data units where the error occurred.
  12. 如权利要求11所述的方法,其特征在于,在所述第二数据帧的帧类型为第一帧类型时,所述第二数据帧的帧头包括第一前导和第一管理信息帧头;The method of claim 11, wherein when the frame type of the second data frame is the first frame type, the frame header of the second data frame includes a first preamble and a first management information frame header ;
    在所述第二数据帧的帧类型为第二帧类型时,所述第二数据帧的帧头还包括第二前导和第二管理信息帧头,所述第二前导和所述第二管理信息帧头位于所述应答帧头之前。When the frame type of the second data frame is the second frame type, the frame header of the second data frame further includes a second preamble and a second management information frame header, and the second preamble and the second management information The information frame header is located before the response frame header.
  13. 如权利要求10-12任一项所述的方法,其特征在于,所述第二设备确定所述第二数据帧的帧类型,包括:The method according to any one of claims 10-12, wherein the second device determining the frame type of the second data frame comprises:
    所述第二数据帧包括帧类型指示信息,所述帧类型指示信息用于指示所述第二数据帧的帧类型,所述第二设备根据所述帧类型指示信息确定所述第二数据帧的帧类型。The second data frame includes frame type indication information, the frame type indication information is used to indicate the frame type of the second data frame, and the second device determines the second data frame according to the frame type indication information The frame type.
  14. 如权利要求10-13任一项所述的方法,其特征在于,所述第二设备确定所述第二数据帧的帧类型,包括:The method according to any one of claims 10-13, wherein the second device determining the frame type of the second data frame comprises:
    所述第二设备解析所述第二数据帧,如果所述第二数据帧不包括所述应答帧头,则确定所述第二数据帧的帧类型为第一帧类型;如果所述第二数据帧包括所述应答帧头,则确定所述第二数据帧的帧类型为第二帧类型。The second device parses the second data frame, and if the second data frame does not include the response frame header, then determines that the frame type of the second data frame is the first frame type; if the second data frame If the data frame includes the response frame header, it is determined that the frame type of the second data frame is the second frame type.
  15. 如权利要求14所述的方法,其特征在于,所述第二数据帧包括额外信道探测(additional channel estimation,ACE),所述ACE位于所述第二数据帧的帧头之后。The method according to claim 14, wherein the second data frame includes additional channel estimation (ACE), and the ACE is located after the frame header of the second data frame.
  16. 如权利要求12所述的方法,其特征在于,在所述第二数据帧的帧类型为第一帧类型时,在所述第二数据帧中所述第一前导和所述第一管理信息帧头分别对应不同的正交频分复用(orthogonal frequency division multiplexing,OFDM)符号;The method according to claim 12, wherein when the frame type of the second data frame is the first frame type, the first preamble and the first management information in the second data frame The frame headers correspond to different orthogonal frequency division multiplexing (OFDM) symbols;
    在所述第二数据帧的帧类型为第二帧类型时,在所述第二数据帧中所述第二前导、所述第二管理信息帧头和所述应答帧头分别对应不同的OFDM符号。When the frame type of the second data frame is the second frame type, the second preamble, the second management information frame header, and the response frame header in the second data frame respectively correspond to different OFDM symbol.
  17. 如权利要求15或16所述的方法,其特征在于,所述第二设备解析所述第二数据帧,包括:The method according to claim 15 or 16, wherein the parsing of the second data frame by the second device comprises:
    所述第二设备在所述第二数据帧中解析与所述第一管理信息帧头相邻的下一个OFDM符 号,如果所述下一个OFDM符号为所述ACE,则确定所述第二数据帧不包括所述应答帧头。The second device parses the next OFDM symbol adjacent to the header of the first management information frame in the second data frame, and determines the second data if the next OFDM symbol is the ACE The frame does not include the response header.
  18. 一种用于电力线通信(power line communication,PLC)系统的通信装置,其特征在于,包括:接收单元、处理单元和发送单元;A communication device used in a power line communication (PLC) system, which is characterized by comprising: a receiving unit, a processing unit, and a sending unit;
    所述接收单元,用于接收第二设备发送的第一数据帧,所述第一数据帧包括M个数据单元,M为大于0的整数;The receiving unit is configured to receive a first data frame sent by a second device, where the first data frame includes M data units, and M is an integer greater than 0;
    所述发送单元,用于在所述处理单元确定所述M个数据单元均未发生错误的情况下,向所述第二设备发送第二数据帧,所述第二数据帧的帧类型为第一帧类型,所述第二数据帧的帧头不包括应答帧头,所述第二数据帧用于指示所述M个数据单元均未发生错误。The sending unit is configured to send a second data frame to the second device when the processing unit determines that none of the M data units has an error, and the frame type of the second data frame is the first A frame type, the frame header of the second data frame does not include a response frame header, and the second data frame is used to indicate that none of the M data units has an error.
  19. 如权利要求18所述的装置,其特征在于,所述发送单元,还用于:The device according to claim 18, wherein the sending unit is further configured to:
    在所述处理单元确定所述M个数据单元中存在N个数据单元发生错误的情况下,向所述第二设备发送第三数据帧,N为大于0且小于或等于M的整数,所述第三数据帧的帧类型为第二帧类型,所述第二帧类型与所述第一帧类型不同,所述第三数据帧的帧头包括所述应答帧头,所述应答帧头包括第一指示信息和第二指示信息中的至少一种,所述第一指示信息用于指示所述N个数据单元发生错误,所述第二指示信息用于指示M-N个数据单元未发生错误,所述M-N个数据单元是所述M个数据单元中除所述N个数据单元以外的数据单元。When the processing unit determines that there are errors in N data units among the M data units, send a third data frame to the second device, where N is an integer greater than 0 and less than or equal to M, and The frame type of the third data frame is a second frame type, the second frame type is different from the first frame type, the frame header of the third data frame includes the response frame header, and the response frame header includes At least one of first indication information and second indication information, the first indication information is used to indicate that an error has occurred in the N data units, and the second indication information is used to indicate that no error has occurred in the MN data units, The MN data units are data units other than the N data units among the M data units.
  20. 如权利要求19所述的装置,其特征在于,所述第二数据帧的帧头包括第一前导和第一管理信息帧头,所述第三数据帧的帧头还包括第二前导和第二管理信息帧头。The apparatus according to claim 19, wherein the frame header of the second data frame includes a first preamble and a first management information frame header, and the frame header of the third data frame further includes a second preamble and a first management information frame header. 2. Management information frame header.
  21. 如权利要求20所述的装置,其特征在于,在所述第三数据帧的帧头中,所述第二前导和所述第二管理信息帧头位于所述应答帧头之前。21. The apparatus according to claim 20, wherein in the header of the third data frame, the second preamble and the second management information frame header are located before the response frame header.
  22. 如权利要求18-21任一所述的装置,其特征在于,所述第二数据帧包括帧类型指示信息,所述帧类型指示信息用于指示所述第二数据帧的帧类型为所述第一帧类型。The device according to any one of claims 18-21, wherein the second data frame includes frame type indication information, and the frame type indication information is used to indicate that the frame type of the second data frame is the The first frame type.
  23. 如权利要求22所述的装置,其特征在于,所述帧类型指示信息携带在所述第二数据帧的第一管理信息帧头中。The apparatus according to claim 22, wherein the frame type indication information is carried in a first management information frame header of the second data frame.
  24. 如权利要求20或21所述的装置,其特征在于,所述第二数据帧包括额外信道探测(additional channel estimation,ACE),所述ACE位于所述第二数据帧的帧头之后。The apparatus according to claim 20 or 21, wherein the second data frame includes additional channel estimation (ACE), and the ACE is located after the frame header of the second data frame.
  25. 如权利要求24所述的装置,其特征在于,所述第二数据帧的帧头中,所述第一前导、所述第一管理信息帧头和所述ACE分别对应不同的正交频分复用(orthogonal frequency division multiplexing,OFDM)符号;The apparatus according to claim 24, wherein in the frame header of the second data frame, the first preamble, the first management information frame header, and the ACE respectively correspond to different orthogonal frequency divisions Multiplexing (orthogonal frequency division multiplexing, OFDM) symbols;
    所述第三数据帧的帧头中,所述第二前导、所述第二管理信息帧头和所述应答帧头分别对应不同的OFDM符号。In the frame header of the third data frame, the second preamble, the second management information frame header, and the response frame header respectively correspond to different OFDM symbols.
  26. 如权利要求19-21任一项所述的装置,其特征在于,The device according to any one of claims 19-21, wherein:
    所述接收单元,用于在第一数据传输时隙接收所述第一数据帧;The receiving unit is configured to receive the first data frame in a first data transmission time slot;
    所述发送单元,用于在第二数据传输时隙发送所述第二数据帧或第三数据帧,所述第二数据传输时隙位于所述第一数据传输时隙之后。The sending unit is configured to send the second data frame or the third data frame in a second data transmission time slot, and the second data transmission time slot is located after the first data transmission time slot.
  27. 一种用于电力线通信(power line communication,PLC)系统的通信装置,其特征在于,包括:发送单元、处理单元和接收单元;A communication device used in a power line communication (PLC) system, which is characterized by comprising: a sending unit, a processing unit, and a receiving unit;
    所述发送单元,用于向第一设备发送的第一数据帧,所述第一数据帧包括M个数据单元,M为大于0的整数;The sending unit is configured to send a first data frame to a first device, where the first data frame includes M data units, and M is an integer greater than 0;
    所述接收单元,用于接收所述第一设备发送的第二数据帧,其中在所述第二数据帧的帧类型为第一帧类型时,所述第二数据帧用于指示所述第一设备接收的所述M个数据单元均未发生错误,所述第二数据帧不包括应答帧头;The receiving unit is configured to receive a second data frame sent by the first device, wherein when the frame type of the second data frame is the first frame type, the second data frame is used to indicate the first frame type None of the M data units received by a device has an error, and the second data frame does not include a response frame header;
    所述处理单元,用于确定所述第二数据帧的帧类型,在所述第二数据帧的帧类型为第一帧类型时,确定所述M个数据单元均未发生错误。The processing unit is configured to determine the frame type of the second data frame, and when the frame type of the second data frame is the first frame type, determine that none of the M data units has an error.
  28. 如权利要求27所述的装置,其特征在于,在所述第二数据帧的帧类型为第二帧类型时,所述第二数据帧的帧头包括所述应答帧头,所述第一帧类型和所述第二帧类型不同,所述应答帧头包括第一指示信息和第二指示信息中的至少一种,所述第一指示信息用于指示所述第一设备接收的所述M个数据单元中存在N个数据单元发生错误,所述第二指示信息用于指示M-N个数据单元未发生错误,N为大于0且小于或等于M的整数,所述M-N个数据单元是所述M个数据单元中除所述N个数据单元以外的数据单元;The apparatus according to claim 27, wherein when the frame type of the second data frame is the second frame type, the frame header of the second data frame includes the response frame header, and the first The frame type is different from the second frame type, the response frame header includes at least one of first indication information and second indication information, and the first indication information is used to indicate the received information received by the first device. There are N data units in M data units that have errors, the second indication information is used to indicate that MN data units have no errors, N is an integer greater than 0 and less than or equal to M, and the MN data units are all Data units other than the N data units among the M data units;
    所述处理单元,还用于:The processing unit is also used for:
    在所述第二数据帧的帧类型为第二帧类型时,基于所述第二数据帧的所述应答帧头,确定发生错误的所述N个数据单元和/或未发生错误的所述M-N个数据单元。When the frame type of the second data frame is the second frame type, based on the response frame header of the second data frame, the N data units with errors and/or the N data units with no errors are determined MN data units.
  29. 如权利要求28所述的装置,其特征在于,在所述第二数据帧的帧类型为第一帧类型时,所述第二数据帧的帧头包括第一前导和第一管理信息帧头;The apparatus according to claim 28, wherein when the frame type of the second data frame is the first frame type, the frame header of the second data frame includes a first preamble and a first management information frame header ;
    在所述第二数据帧的帧类型为第二帧类型时,所述第二数据帧的帧头还包括第二前导和第二管理信息帧头,所述第二前导和所述第二管理信息帧头位于所述应答帧头之前。When the frame type of the second data frame is the second frame type, the frame header of the second data frame further includes a second preamble and a second management information frame header, and the second preamble and the second management information The information frame header is located before the response frame header.
  30. 如权利要求27-29任一项所述的装置,其特征在于,所述第二数据帧包括帧类型指示信息,所述帧类型指示信息用于指示所述第二数据帧的帧类型,The apparatus according to any one of claims 27-29, wherein the second data frame includes frame type indication information, and the frame type indication information is used to indicate the frame type of the second data frame,
    所述处理单元,用于根据所述帧类型指示信息确定所述第二数据帧的帧类型。The processing unit is configured to determine the frame type of the second data frame according to the frame type indication information.
  31. 如权利要求27-30任一项所述的装置,其特征在于,所述处理单元,用于:The device according to any one of claims 27-30, wherein the processing unit is configured to:
    解析所述第二数据帧,如果所述第二数据帧不包括所述应答帧头,则确定所述第二数据帧的帧类型为第一帧类型;如果所述第二数据帧包括所述应答帧头,则确定所述第二数据帧的帧类型为第二帧类型。Analyze the second data frame, and if the second data frame does not include the response frame header, determine that the frame type of the second data frame is the first frame type; if the second data frame includes the Responding to the frame header, it is determined that the frame type of the second data frame is the second frame type.
  32. 如权利要求31所述的装置,其特征在于,所述第二数据帧包括额外信道探测(additional channel estimation,ACE),所述ACE位于所述第二数据帧的帧头之后。The apparatus of claim 31, wherein the second data frame includes additional channel estimation (ACE), and the ACE is located after the frame header of the second data frame.
  33. 如权利要求29所述的装置,其特征在于,在所述第二数据帧的帧类型为第一帧类型时,在所述第二数据帧中所述第一前导和所述第一管理信息帧头分别对应不同的正交频分复用(orthogonal frequency division multiplexing,OFDM)符号;The apparatus according to claim 29, wherein when the frame type of the second data frame is the first frame type, the first preamble and the first management information in the second data frame The frame headers correspond to different orthogonal frequency division multiplexing (OFDM) symbols;
    在所述第二数据帧的帧类型为第二帧类型时,在所述第二数据帧中所述第二前导、所述第二管理信息帧头和所述应答帧头分别对应不同的OFDM符号。When the frame type of the second data frame is the second frame type, the second preamble, the second management information frame header, and the response frame header in the second data frame respectively correspond to different OFDM symbol.
  34. 如权利要求32或33所述的装置,其特征在于,所述处理单元,用于:The device according to claim 32 or 33, wherein the processing unit is configured to:
    在所述第二数据帧中解析与所述第一管理信息帧头相邻的下一个OFDM符号,如果所述下一个OFDM符号为所述ACE,则确定所述第二数据帧不包括所述应答帧头。Analyze the next OFDM symbol adjacent to the first management information frame header in the second data frame, and if the next OFDM symbol is the ACE, it is determined that the second data frame does not include the Response frame header.
  35. 一种用于电力线通信(power line communication,PLC)系统的通信系统,其特征在于,包括:如权利要求18至26任一项所述的装置和如权利要求27至34任一项所述的装置。A communication system for a power line communication (PLC) system, characterized by comprising: the device according to any one of claims 18 to 26 and the device according to any one of claims 27 to 34 Device.
PCT/CN2021/077848 2020-04-01 2021-02-25 Communication method, apparatus and system for power line communication system WO2021196931A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010251768.1 2020-04-01
CN202010251768.1A CN113497639B (en) 2020-04-01 2020-04-01 Communication method, device, system and storage medium for power line communication system

Publications (1)

Publication Number Publication Date
WO2021196931A1 true WO2021196931A1 (en) 2021-10-07

Family

ID=77929535

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/077848 WO2021196931A1 (en) 2020-04-01 2021-02-25 Communication method, apparatus and system for power line communication system

Country Status (2)

Country Link
CN (1) CN113497639B (en)
WO (1) WO2021196931A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020089959A1 (en) * 2001-01-11 2002-07-11 Fischer Michael A. System and method for providing a selectable retry strategy for frame-based communications
US20070263631A1 (en) * 1999-05-21 2007-11-15 Mallory Tracy D Limited automatic repeat request protocol for frame-based communication channels
US20080159205A1 (en) * 2006-12-25 2008-07-03 Masahiro Sekiya Wireless communication apparatus
CN103425611A (en) * 2013-05-20 2013-12-04 万高(杭州)科技有限公司 Serial communication method for field of metering
CN103716293A (en) * 2012-10-25 2014-04-09 上海大学 Low voltage power line spread spectrum communication protocol employing time scale synchronization collision detection method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5175633B2 (en) * 2008-06-19 2013-04-03 株式会社東芝 Wireless communication apparatus, wireless communication control method, and wireless communication control program
CN105450362A (en) * 2012-03-23 2016-03-30 广东新岸线计算机系统芯片有限公司 Frame acknowledgment method and device
CN104702380B (en) * 2015-02-09 2018-07-03 华为技术有限公司 A kind of processing method and processing device of data frame
CN105573958B (en) * 2016-01-12 2018-04-13 西北工业大学 A kind of data reliable interaction method based on 422 serial bus technologies of RS

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070263631A1 (en) * 1999-05-21 2007-11-15 Mallory Tracy D Limited automatic repeat request protocol for frame-based communication channels
US20020089959A1 (en) * 2001-01-11 2002-07-11 Fischer Michael A. System and method for providing a selectable retry strategy for frame-based communications
US20080159205A1 (en) * 2006-12-25 2008-07-03 Masahiro Sekiya Wireless communication apparatus
CN103716293A (en) * 2012-10-25 2014-04-09 上海大学 Low voltage power line spread spectrum communication protocol employing time scale synchronization collision detection method
CN103425611A (en) * 2013-05-20 2013-12-04 万高(杭州)科技有限公司 Serial communication method for field of metering

Also Published As

Publication number Publication date
CN113497639B (en) 2022-09-02
CN113497639A (en) 2021-10-12

Similar Documents

Publication Publication Date Title
RU2684192C1 (en) Method and apparatus for transmitting service stream in flexible ethernet
EP0525985B1 (en) High speed duplex data link interface
CN104995873B (en) Data transmission using protocol exception state
CA2027230C (en) Station-to-station full duplex communication in a communications network
US9513988B2 (en) Method and device for increasing the data transmission capacity in a serial bus system
US11671864B2 (en) Joint transmission method and communications apparatus
US6697366B1 (en) Ethernet memory management system and methods for operation thereof
US9645958B2 (en) Method and device for transmitting data having a variable bit length
US20140157080A1 (en) Method and apparatus for adapting the data transmission security in a serial bus system
US8189593B2 (en) Communication system, communication node, and packet scheduling method
WO2007058457A1 (en) Method and apparatus for efficiently retransmitting data in wireless network environment
US9876727B2 (en) Physical-layer signaling of flow control updates
WO2018171641A1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN114125019A (en) Data transmission method and device, electronic equipment and computer readable medium
US20090022082A1 (en) Relay for detecting error in asynchronously received data and map information
US11799576B2 (en) Data sending method and apparatus, and FlexE switching system
WO2021196931A1 (en) Communication method, apparatus and system for power line communication system
KR102236867B1 (en) Short physical-layer control frames
US20240146433A1 (en) Time slot allocation processing method, device and storage medium
EP3319249A1 (en) Transmission checking method, node, system and computer storage medium
US9008077B2 (en) Method for quick map recovery in case of error in MoCA
US11750324B2 (en) Methods for adaptive error avoidance to increase re-transmission reliability in time-slotted communication links
EP3041160B1 (en) Hybrid automatic repeat request data decoding method, node device, and decoding system
WO2014059829A1 (en) Method and device for processing mac frame data of ethernet
WO2024001874A1 (en) Mode negotiation method and apparatus, device, system, and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21779988

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21779988

Country of ref document: EP

Kind code of ref document: A1