Power line carrier communication method and apparatus
By dynamically adjusting the lengths of the preamble and frame control symbols, the problem of large frame overhead in high-speed power line carrier communication is solved, thus improving the transmission efficiency of data payload.
Patent Information
- Application Number
- CN202511146249.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-15
- Publication Date
- 2026-01-13
- Estimated Expiration
- 2045-08-15
AI Technical Summary
In existing high-speed power line carrier communication, the fixed number of preamble symbols and frame control symbols consume a large frame overhead, resulting in low data payload transmission efficiency.
By dynamically adjusting the lengths of preamble and frame control symbols based on the most recent channel quality data, making them shorter than a preset length, the frame structure is optimized and transmission overhead is reduced.
While maintaining low signal-to-noise ratio communication performance, the transmission efficiency of data payload in data unit frames has been improved.
Smart Images

Figure CN120639119B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, and in particular relates to a power line carrier communication method and apparatus. Background Technology
[0002] In the physical layer protocol of High Speed Power Line Communication (HPLC), data unit frames employ a fixed number of preamble symbols and frame control (FC) symbols, and this fixed number is relatively large, resulting in significant frame overhead. For example, in scenarios involving high-speed, high-signal-to-noise ratio (SNR) transmission of fixed-length physical blocks (PB), an excessive number of preamble and FC symbols can drastically reduce the transmission efficiency of the data payload. Taking frequency band 2 supported by HPLC as an example, the number of preamble symbols is 13, and the number of FC symbols is 12. That is, the length of the preamble symbols is 13 Orthogonal Frequency Division Multiplexing (OFDM) symbols, and the length of the FC symbols is 12 OFDM symbols. The corresponding transmission overheads are 532µs and 711µs, respectively, totaling 1243µs. In some high-speed modes, the transmission overhead of preamble and FC symbols can account for more than 63% of the transmission overhead of a single data unit frame. Therefore, how to improve the transmission efficiency of data payload in data unit frames in high-speed power line carrier communication has become a technical issue that urgently needs to be addressed in this field. Summary of the Invention
[0003] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes a power line carrier communication method and apparatus, which can improve the transmission efficiency of data payload in data unit frames in high-speed power line carrier communication.
[0004] In a first aspect, this application provides a power line carrier communication method applied at a transmitting end, the method comprising:
[0005] Based on the most recent channel quality, determine the first length of the preamble symbol and the second length of the frame control symbol; the first length is less than a first preset length and / or the second length is less than the second preset length corresponding to the communication frequency band;
[0006] Based on the first length and the second length, a data unit frame is sent to the receiving end; the data unit frame contains a signal frame; the signal frame is used to indicate the second length.
[0007] According to the power line carrier communication method of this application, by determining the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality, the lengths of the preamble symbol and the frame control symbol are dynamically adjusted so that, under conditions of superior channel quality, the first length is less than a first preset length and / or the second length is less than the second preset length corresponding to the communication frequency band. This optimizes the frame structure of the physical layer of high-speed power line carrier communication, and reduces the transmission overhead of the preamble symbol and frame control symbol while taking into account the low signal-to-noise ratio (SNR) communication performance. It also significantly reduces the protocol overhead under high SNR conditions, which helps to improve the efficiency of data transmission, thereby improving the transmission efficiency of data payload in data unit frames in high-speed power line carrier communication.
[0008] According to one embodiment of this application, the method further includes:
[0009] A target channel quality probe frame is sent to the receiving end, so that the receiving end returns a target acknowledgment frame corresponding to the target channel quality probe frame to the sending end; the target acknowledgment frame carries the target parameters of the target channel quality probe frame; the target parameters include received signal strength indication or signal-to-noise ratio;
[0010] Receive the target confirmation frame and obtain the target parameters from the target channel quality detection frame;
[0011] Based on the target parameters of the target channel quality detection frame and the previously acquired channel quality, the current channel quality is obtained and the time for obtaining the current channel quality is determined.
[0012] According to one embodiment of this application, determining the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality includes:
[0013] If the time difference between the current moment and the moment when the most recent channel quality was obtained does not exceed a time threshold and the most recent channel quality is greater than or equal to a first threshold, the first length is determined as the first target length; the first target length is less than the first preset length.
[0014] According to one embodiment of this application, determining the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality includes:
[0015] If the time difference between the current moment and the moment when the most recent channel quality was obtained does not exceed a time threshold, the second length is determined based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality; the second length is less than or equal to the second preset length corresponding to the communication frequency band.
[0016] According to one embodiment of this application, the step of obtaining the current channel quality and determining the time of obtaining the current channel quality based on the target parameters of the target channel quality probe frame and the previously obtained channel quality includes:
[0017] Based on preset filtering coefficients, the target parameters of the target channel quality detection frame and the previously acquired channel quality are filtered to obtain the current channel quality and determine the time when the current channel quality is obtained.
[0018] According to one embodiment of this application, determining the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality further includes:
[0019] If the time difference between the current moment and the moment when the most recent channel quality was obtained does not exceed the time threshold and the most recent channel quality is less than the first threshold but greater than or equal to the second threshold, the first length is determined as the second target length; the second target length is less than the first preset length but greater than the first target length.
[0020] According to one embodiment of this application, determining the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality further includes:
[0021] If the time difference between the current time and the time when the most recent channel quality was obtained exceeds the time threshold, or if the time difference between the current time and the time when the most recent channel quality was obtained does not exceed the time threshold and the most recent channel quality is less than the second threshold, the first length is determined as the first preset length.
[0022] According to one embodiment of this application, determining the second length based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality; the second length being less than or equal to a second preset length corresponding to the communication frequency band includes:
[0023] Based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality, determine the target value of the transmission mode index of the data payload;
[0024] The second length is determined based on the target value of the communication frequency band and the transmission mode index.
[0025] According to one embodiment of this application, determining the second length based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality; the second length being less than or equal to a second preset length corresponding to the communication frequency band includes:
[0026] Based on the length of the encoded data payload in the data unit frame, the most recent channel quality, and the target model corresponding to the pre-acquired communication frequency band, the target value of the transmission mode index and the second length of the data payload are determined; the target model is used to indicate the correspondence between the channel quality and the length of the encoded data payload, the value of the transmission mode index, and the second length.
[0027] Secondly, this application provides a power line carrier communication device for use at a transmitting end, the device comprising:
[0028] The determination module is used to determine the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality; the first length is less than a first preset length and / or the second length is less than the second preset length corresponding to the communication frequency band;
[0029] A transmitting module is configured to transmit a data unit frame to a receiving end based on the first length and the second length; the data unit frame includes a signal frame; the signal frame is used to indicate the second length.
[0030] According to the power line carrier communication device of this application, by determining the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality, the lengths of the preamble symbol and the frame control symbol are dynamically adjusted so that, under conditions of superior channel quality, the first length is less than a first preset length and / or the second length is less than the second preset length corresponding to the communication frequency band. This optimizes the frame structure of the physical layer of high-speed power line carrier communication, and reduces the transmission overhead of the preamble symbol and frame control symbol while taking into account the low signal-to-noise ratio (SNR) communication performance. It also significantly reduces the protocol overhead under high SNR conditions, which helps to improve the efficiency of data transmission, thereby improving the transmission efficiency of data payload in data unit frames in high-speed power line carrier communication.
[0031] According to one embodiment of this application, the determining module is specifically used to determine the first length as a first target length when the time difference between the current time and the time when the most recent channel quality is obtained does not exceed a time threshold and the most recent channel quality is greater than or equal to a first threshold; the first target length is less than the first preset length.
[0032] According to one embodiment of this application, the determining module is specifically used to determine the second length based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality, provided that the time difference between the current time and the time when the most recent channel quality is obtained does not exceed a time threshold; the second length is less than or equal to the second preset length corresponding to the communication frequency band.
[0033] Thirdly, this application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the power line carrier communication method as described in the first aspect above.
[0034] Fourthly, this application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the power line carrier communication method as described in the first aspect above.
[0035] Fifthly, this application provides a chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the power line carrier communication method as described in the first aspect.
[0036] In a sixth aspect, this application provides a computer program product, including a computer program that, when executed by a processor, implements the power line carrier communication method as described in the first aspect above.
[0037] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0038] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0039] Figure 1 This is one of the flowcharts illustrating the power line carrier communication method provided in the embodiments of this application;
[0040] Figure 2 This is a schematic diagram of the frame structure of the data unit frame in the power line carrier communication method provided in the embodiments of this application;
[0041] Figure 3 This is a schematic diagram of the format of the preamble symbol in the data unit frame of the power line carrier communication method provided in this application embodiment;
[0042] Figure 4This is a second schematic flowchart of the power line carrier communication method provided in the embodiments of this application;
[0043] Figure 5 This is a schematic diagram of the power line carrier communication device provided in the embodiments of this application;
[0044] Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0045] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0046] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0047] The power line carrier communication method, power line carrier communication device, electronic device, and readable storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0048] Among them, the power line carrier communication method can be applied to the terminal, specifically executed by the hardware or software in the terminal.
[0049] The terminal includes, but is not limited to, portable communication devices such as mobile phones or tablets with touch-sensitive surfaces (e.g., touchscreen displays and / or touchpads). It should also be understood that, in some embodiments, the terminal may not be a portable communication device, but rather a desktop computer with touch-sensitive surfaces (e.g., touchscreen displays and / or touchpads).
[0050] The following embodiments describe a terminal including a display and a touch-sensitive surface. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and joystick.
[0051] The power line carrier communication method provided in this application embodiment can be executed by an electronic device or a functional module or entity in an electronic device that can implement the power line carrier communication method. The electronic devices mentioned in this application embodiment include, but are not limited to, mobile phones, tablets, computers, cameras, and wearable devices. The power line carrier communication method provided in this application embodiment will be described below using an electronic device as the execution subject as an example.
[0052] Figure 1 This is one of the flowcharts illustrating the power line carrier communication method provided in this application. For example... Figure 1 As shown, the power line carrier communication method includes steps 110 and 120.
[0053] In practical implementation, this power line carrier communication method can be applied to the transmitting end, which can be used to send data unit frames to the receiving end.
[0054] Step 110: Based on the most recent channel quality, determine the first length of the preamble symbol and the second length of the frame control symbol; the first length is less than the first preset length and / or the second length is less than the second preset length corresponding to the communication frequency band.
[0055] In actual execution, before step 110, the transmitting end can periodically or based on command triggering, using any of the channel quality estimation methods in related technologies to acquire and save the channel quality. This application embodiment does not specifically limit the aforementioned channel quality estimation methods.
[0056] When a data unit frame needs to be transmitted, the transmitting end can obtain the closest channel quality to the current time from the stored channel quality estimation results, i.e., obtain the most recent channel quality. The inventive concept of this application is that, based on channel quality, when the channel quality is good, shorter preamble symbols and / or frame control symbols can be used, thereby reducing the transmission overhead of preamble symbols and frame control symbols in the data unit frame and improving the transmission efficiency of the data payload in the data unit frame; while when the channel quality is poor, longer preamble symbols and / or frame control symbols can be used to improve the accuracy of data payload transmission. It should be noted that, in HPLC, the preamble symbol and data payload in the data unit frame can also be referred to as the "preamble frame" and "payload frame," respectively.
[0057] Figure 2 This is a schematic diagram of the frame structure of a data unit frame in the power line carrier communication method provided in this application embodiment. The frame structure of a data unit frame in the physical layer protocol of high-speed power line carrier communication can be as follows: Figure 2 As shown.
[0058] Figure 3 This is a schematic diagram of the format of the preamble symbol in the data unit frame of the power line carrier communication method provided in this application embodiment. Figure 3 The format of the preamble symbol is further illustrated. In related technologies, the length of the preamble symbol is fixed at 13 OFDM symbols, specifically including 10.5 basic symbol units (SYNCP) and 2.5 inverted symbol units (SYNCM). Here, SYNCM = -SYNCP, indicating that SYNCM and SYNCP are inverted. Therefore, the first preset length can be 13 OFDM symbols.
[0059] High-speed power line carrier communication supports four communication frequency bands, namely band 0 to band 3. The frame control symbol length for band 0 is fixed at 4 OFDM symbols, while the length for bands 1 to 3 is fixed at 12 OFDM symbols. Therefore, the second preset length for band 0 is 4 OFDM symbols, and the second preset length for bands 1 to 3 is 12 OFDM symbols. The data bits of the frame control symbol can be copied multiple times to the corresponding subcarrier.
[0060] In some embodiments, the transmitter can dynamically adjust the first length and the second length based on the most recent channel quality. The first length is the length of the preamble symbol, and the second length is the length of the frame control symbol.
[0061] In some embodiments, if the most recent channel quality meets the target conditions, a first length and a second length can be determined, wherein the first length is less than a first preset length and / or the second length is less than a second preset length corresponding to the communication frequency band. Meeting the target conditions can indicate that the channel quality has reached a target threshold, representing good channel quality; conversely, failure to meet the target conditions can indicate poor channel quality. The specific target conditions and target thresholds are not limited in the embodiments of this application.
[0062] In some embodiments, a correspondence between an indicator for indicating channel quality and specific values of a first length and a second length can be established in advance, so that the specific first length and second length can be determined based on the specific values of the indicator for indicating channel quality and the above correspondence.
[0063] The specific correspondence is not limited in the embodiments of this application. In some embodiments, the above correspondence can be obtained through prior communication testing and / or simulation.
[0064] Step 120: Based on the first length and the second length, send a data unit frame to the receiving end; the data unit frame contains a signal frame; the signal frame is used to indicate the second length.
[0065] In actual execution, after determining the first length and the second length, the transmitting end can encapsulate the preamble symbol of the first length, the frame control symbol of the second length, the aforementioned data payload to be transmitted, and the signal (Sig) frame into a data unit frame according to the HPLC physical layer protocol. After generating the data unit frame, the transmitting end can send the data unit frame to the receiving end.
[0066] It should be noted that the frame control symbols are variable in the embodiments of this application. By introducing a signal frame to indicate the second length, the receiving end can determine the specific number or length of the frame control symbols by parsing the signal frame after synchronization, so as to ensure that the receiving end can correctly receive the data payload.
[0067] In some embodiments, the signal frame is located after the preamble frame in this data unit frame. In some embodiments, the signal frame is located after and adjacent to the preamble frame in this data unit frame.
[0068] This application does not limit the specific format of the signal frame. In some embodiments, the format of a signal frame may be as shown in Table 1.
[0069] Table 1. Format of signal frames
[0070]
[0071] According to the power line carrier communication method provided in this application embodiment, by determining the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality, the lengths of the preamble symbol and the frame control symbol are dynamically adjusted so that, under conditions of superior channel quality, the first length is less than a first preset length and / or the second length is less than the second preset length corresponding to the communication frequency band. This optimizes the frame structure of the physical layer of high-speed power line carrier communication, and reduces the transmission overhead of the preamble symbol and frame control symbol while taking into account the communication performance of low signal-to-noise ratio (SNR). It also significantly reduces the protocol overhead under high SNR conditions, which helps to improve the efficiency of data transmission, thereby improving the transmission efficiency of data payload in data unit frames in high-speed power line carrier communication.
[0072] In some embodiments, the power line carrier communication method may further include: sending a target channel quality probe frame to a receiver, so that the receiver returns a target acknowledgment frame corresponding to the target channel quality probe frame to the transmitter; the target acknowledgment frame carries target parameters of the target channel quality probe frame; the target parameters include a received signal strength indication or a signal-to-noise ratio.
[0073] In practice, a channel quality feedback mechanism can be established by adding channel feedback frames, and the channel quality can be evaluated by calculating the signal strength or signal-to-noise ratio of the feedback frames.
[0074] In some embodiments, the transmitting end may periodically (the period can be denoted as T) or triggered by commands, etc., to send a channel quality probe frame to the receiving end once. This channel quality probe frame is the target channel quality probe frame. In some embodiments, the aforementioned channel quality probe frame may not carry any data payload, but only contains a preamble symbol and a frame control symbol containing a channel quality probe frame indication flag. That is, the difference between a channel quality probe frame and a conventional HPLC physical layer protocol data unit frame is that the data payload in the channel quality probe frame is empty, and the frame control symbol contains a channel quality probe frame indication flag.
[0075] In some embodiments, after receiving a target channel quality probe frame, the receiving end can obtain the target parameters of the received target channel quality probe frame through calculation or other methods. These target parameters may include the Received Signal Strength Indication (RSSI) or the signal-to-noise ratio (SNR). The RSSI of the target channel quality probe frame received by the receiving end can be denoted as RSSI_r, and the SNR of the target channel quality probe frame received by the receiving end can be denoted as SNR_r. It is understood that both RSSI and SNR are indicators that can be used to indicate channel quality.
[0076] In some embodiments, the RSSI of the target channel quality probe frame received by the receiver can be obtained using any method of obtaining RSSI in the related art. The specific method used is not limited in the embodiments of this application.
[0077] In some embodiments, the SNR of the target channel quality probe frame received by the receiver can be obtained using any of the methods for obtaining SNR in the related art. The specific method used is not limited in the embodiments of this application.
[0078] Understandably, the receiving end can determine whether it has received a channel quality probe frame or a regular data unit frame based on the value of the channel quality probe frame indicator (CQPR) flag in the frame control symbol of the received frame. For example, if the CQPR flag value is 1, it can be determined that a channel quality probe frame has been received, while if the CQPR flag value is 0, it can be determined that a regular data unit frame has been received.
[0079] After acquiring the target parameters of the target channel quality probe frame, the receiving end can return an acknowledgment (ACK) frame to the sending end. This acknowledgment frame is used by the sending end to confirm that the receiving end has successfully received the target channel quality probe frame; therefore, this acknowledgment frame can be called a target feedback frame.
[0080] Receive the target acknowledgment frame and obtain the target parameters from the target channel quality probe frame.
[0081] In actual execution, the sending end can receive the target acknowledgment frame and obtain the target parameters of the target channel quality probe frame carried by the target acknowledgment frame through parsing and other methods.
[0082] Based on the target parameters of the target channel quality probe frame and the channel quality obtained in the previous step, the current channel quality is obtained and the time for obtaining the current channel quality is determined.
[0083] In actual execution, the sending end can estimate the current channel quality based on the target parameters of the target channel quality probe frame and the channel quality obtained in the previous time. After obtaining the current channel quality, the sending end determines the time when the current channel quality is obtained and records that time.
[0084] In some embodiments, the overall channel quality can be estimated based on the target parameters of the target channel quality probe frame and the target parameters of the target confirmation frame. Then, the estimated result can be corrected or compensated by combining it with the channel quality obtained previously, thereby obtaining the current channel quality.
[0085] In some embodiments, the target parameters of the target channel quality probe frame and the channel quality obtained in the previous step can be combined to estimate the current channel quality as a whole, thereby obtaining the current channel quality.
[0086] It should be noted that if the receiving end fails to receive the target channel quality probe frame or the sending end fails to receive the target acknowledgment frame, the sending end cannot obtain the channel quality and therefore it is not counted in the number of times the channel quality is obtained.
[0087] According to the power line carrier communication method provided in the embodiments of this application, by sending a target channel quality probe frame to the receiving end, the receiving end returns a target acknowledgment frame carrying the target parameters of the target channel quality probe frame to the sending end. Based on the target parameters of the target channel quality probe frame and the target parameters of its own received target acknowledgment frame, the receiving end estimates the channel quality by combining the channel quality obtained previously, and obtains a more accurate result of the current channel quality. Thus, based on a more accurate channel quality, a more appropriate adjustment of the length of the preamble symbol and frame control symbol can be determined, thereby further improving the transmission efficiency of the data payload in the data unit frame in high-speed power line carrier communication.
[0088] In some embodiments, obtaining the current channel quality and determining the time to obtain the current channel quality based on the target parameters of the target channel quality detection frame and the previously obtained channel quality includes: filtering the target parameters of the target channel quality detection frame and the previously obtained channel quality based on a preset filtering coefficient to obtain the current channel quality and determine the time to obtain the current channel quality.
[0089] In actual implementation, an α-filtering process can be performed on the target parameters of the target channel quality detection frame and the previously obtained channel quality based on a preset filtering coefficient, so as to obtain the current channel quality.
[0090] In some embodiments, when the target parameter is RSSI, the current obtained channel quality RSSI(n) can be calculated by the formula RSSI(n) = α * RSSI_r(n) + (1 - α) * RSSI(n - 1). Where, RSSI_r(n) represents the target parameter of the current obtained target channel quality detection frame; RSSI(n - 1) represents the previously obtained channel quality; * represents multiplication; α is the filtering coefficient, and 0 < α < 1.
[0091] In some embodiments, when the target parameter is SNR, the current obtained channel quality SNR(n) can be calculated by the formula SNR(n) = α * SNR_r(n) + (1 - α) * SNR(n - 1). Where, SNR_r(n) represents the target parameter of the current obtained target channel quality detection frame; SNR(n - 1) represents the previously obtained channel quality; * represents multiplication; α is the filtering coefficient, and 0 < α < 1.
[0092] In some embodiments, when n < M, α can be set to 1 / n; otherwise, the value of α can be flexibly set, where 0 < α < 1. Here, M can be a preset positive integer, and the value of M can be set according to the actual situation. Therefore, the results of the first (M - 1) filtering operations are actually average filtering.
[0093] According to the power line carrier communication method provided by the embodiments of the present application, by filtering the target parameters of the target channel quality detection frame and the previously obtained channel quality based on a preset filtering coefficient to obtain the current channel quality and determine the time to obtain the current channel quality, considering the historical situation of the channel quality, the result of obtaining the current channel quality is more accurate. Thus, based on a more accurate channel quality, a more appropriate length of the preamble symbol and the frame control symbol can be determined, thereby further improving the transmission efficiency of the data payload in the data unit frame in high-speed power line carrier communication.
[0094] In some embodiments, determining the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality includes: determining the first length as a first target length if the time difference between the current time and the time when the most recent channel quality was obtained does not exceed a time threshold and the most recent channel quality is greater than or equal to a first threshold; the first target length is less than a first preset length.
[0095] In some embodiments, determining the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality further includes: determining the first length as the second target length if the time difference between the current time and the time when the most recent channel quality was obtained does not exceed a time threshold and the most recent channel quality is less than the first threshold and greater than or equal to the second threshold; the second target length is less than the first preset length and greater than the first target length.
[0096] Determining the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality further includes: determining the first length as a first preset length when the time difference between the current time and the time when the most recent channel quality was obtained exceeds a time threshold, or when the time difference between the current time and the time when the most recent channel quality was obtained does not exceed the time threshold and the most recent channel quality is less than the second threshold.
[0097] In actual implementation, multiple preamble modes can be pre-set, and the lengths of the preamble symbols corresponding to any two preamble modes are different. Correspondingly, different thresholds can be set for channel quality, dividing the channel quality into multiple intervals. The number of intervals is the same as the number of preamble modes, thus creating a one-to-one correspondence between channel quality intervals and preamble modes. Based on this, the preamble mode can be adaptively selected according to the calculated channel quality. Specifically, this involves: determining the preamble mode corresponding to the interval to which the most recent channel quality belongs; then, determining the length of the preamble symbol corresponding to that preamble mode, thereby determining the first length.
[0098] In some embodiments, the above mechanism can also be simplified to setting different thresholds for channel quality, dividing the channel quality into multiple intervals. The number of intervals is the same as the number of possible preamble symbol lengths, thus creating a one-to-one correspondence between the channel quality intervals and the different preamble symbol lengths. Based on this, the length of the preamble symbol corresponding to the interval to which the most recent channel quality belongs can be determined, thereby determining the first length.
[0099] In some embodiments, the preamble mode can be divided into three types: one is the normal mode, in which the preamble symbol adopts the same combination of 10.5 SYNCP + 2.5 SYNCM as in the related art; another is extended mode 1, in which the preamble symbol adopts the combination of 6.5 SYNCP + 2.5 SYNCM, and the second target length is 9 OFDM symbols; and the third is extended mode 2, in which the preamble symbol adopts the combination of 5.5 SYNCP + 2.5 SYNCM, and the first target length is 8 OFDM symbols.
[0100] In some embodiments, it can be first determined whether the time difference between the current time and the time when the most recent channel quality was obtained exceeds a preset time threshold T_th. The time threshold T_th can be preset according to actual conditions. The specific value of the time threshold T_th is not limited in the embodiments of this application.
[0101] If the time difference between the current moment and the moment when the most recent channel quality was acquired exceeds a preset time threshold T_th, it indicates that the time correlation of the most recent channel quality is poor for the current moment. From the moment the most recent channel quality was acquired to the current moment, the channel conditions may have changed significantly, and correspondingly, the signal quality may also have changed significantly. Therefore, it is not suitable to use the most recent channel quality as the channel quality for the current moment, and the first and second lengths are determined based on this. Thus, when the time difference between the current moment and the moment when the most recent channel quality was acquired exceeds the preset time threshold T_th, the poor channel quality can be assumed, the preamble mode can be directly determined as the normal mode, and the length of the preamble symbol can be determined as the first preset length.
[0102] If the time difference between the current moment and the moment when the most recent channel quality was acquired does not exceed a preset time threshold T_th, it indicates that the time correlation of the most recent channel quality is relatively weak for the current moment. From the moment the most recent channel quality was acquired to the current moment, the channel conditions have remained essentially unchanged, and correspondingly, the signal quality has also remained essentially unchanged. Therefore, the most recent channel quality can be used as the channel quality for the current moment, and the first length and second length can be determined based on this. If the time difference between the current moment and the moment when the most recent channel quality was acquired does not exceed the preset time threshold T_th, the relationship between the most recent channel quality and the first and second thresholds can be further determined. Based on this relationship, the preamble mode and the length of the preamble symbol can be determined.
[0103] In some embodiments, when the target parameter is RSSI, the first threshold may be RSSI_Th1, and the second threshold may be RSSI_Th2; when RSSI(n) < RSSI_Th2, the preamble mode may be determined as the normal mode, and the length of the preamble symbol may be determined as the first preset length; when RSSI_Th2 ≤ RSSI(n) < RSSI_Th1, the preamble mode may be determined as the extended mode 1, and the length of the preamble symbol may be determined as the second target length - 9 OFDM symbols; when RSSI_Th1 ≤ RSSI(n), the preamble mode may be determined as the extended mode 1, and the length of the preamble symbol may be determined as the second target length - 8 OFDM symbols.
[0104] In some embodiments, when the target parameter is SNR, the first threshold may be SNR_Th1, and the second threshold may be SNR_Th2; when SNR(n) < SNR_Th2, the preamble mode may be determined as the normal mode, and the length of the preamble symbol may be determined as the first preset length; when SNR_Th2 ≤ SNR(n) < SNR_Th1, the preamble mode may be determined as the extended mode 1, and the length of the preamble symbol may be determined as the second target length - 9 OFDM symbols; when SNR_Th1 ≤ SNR(n), the preamble mode may be determined as the extended mode 1, and the length of the preamble symbol may be determined as the first target length - 8 OFDM symbols.
[0105] It should be noted that regardless of the length of the preamble symbol, it includes 2.5 SYNCMs, and may also include (K + 0.5) SYNCPs, where K is a positive integer less than or equal to 10. The first target length, the second target length, and the first preset length all meet the above conditions.
[0106] It should be noted that different from the length of the frame control symbol being indicated by the signal frame, the sending end does not need to notify the receiving end of the preamble mode or the length of the preamble symbol. After detecting SYNCP, the receiving end can determine the boundary of the preamble frame according to the characteristic that the phase relationship between SYNCM and SYNCP differs by π.
[0107] It should be noted that 8 OFDM symbols and 9 OFDM symbols are examples of the first target length and the second target length respectively. The first target length and the second target length can also take other values. However, 8 OFDM symbols and 9 OFDM symbols are the preferred cases of the first target length and the second target length respectively, which are relatively moderate and can balance the synchronization performance and the transmission efficiency.
[0108] According to the power line carrier communication method provided in the embodiments of this application, by dynamically adjusting the length of the preamble symbol based on the channel quality, and by more reasonably determining the length of the preamble symbol based on the relationship between the channel quality and the first threshold and the second threshold, it can not only be compatible with the preamble mode specified by the current communication standard, but also help to shorten the transmission delay under better channel quality conditions. It can optimize the frame structure of the physical layer of high-speed power line carrier communication, and can reduce the transmission overhead of the preamble symbol while taking into account the communication performance at low signal-to-noise ratio, significantly reduce the protocol overhead under high signal-to-noise ratio, and help improve the efficiency of data transmission, thereby improving the transmission efficiency of data payload in data unit frames in high-speed power line carrier communication.
[0109] In some embodiments, determining the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality includes: if the time difference between the current time and the time when the most recent channel quality was obtained does not exceed a time threshold, determining the second length based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality; the second length is less than or equal to the second preset length corresponding to the communication frequency band.
[0110] In actual implementation, in the frame structure of the data unit frame in the relevant technology, the control frame of frequency band 0 has 4 frame control (FC) symbols, while the other frequency bands 1 to 3 are fixed at 12 frame control symbols. This affects the improvement of system transmission efficiency under good channel conditions. Therefore, the length of the frame control symbols can be dynamically adjusted according to the channel quality.
[0111] In some embodiments, the length of the frame control symbol can be determined based on the relationship between the communication frequency band, the length of the encoded data payload in the data unit frame, the most recent channel quality, and the demodulation threshold of the payload frame, while ensuring successful demodulation of the successful payload frame.
[0112] In some embodiments, if the time difference between the current time and the time when the most recent channel quality was obtained exceeds a time threshold T_th, a second length can be determined based on the communication frequency band, the length of the encoded data payload in the data unit frame, and a lower limit of the channel quality. The principle for determining the lower limit of the channel quality can be found in the foregoing embodiments and will not be repeated here.
[0113] According to the power line carrier communication method provided in the embodiments of this application, by determining a second length based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality when the time difference between the current time and the time of obtaining the most recent channel quality does not exceed a time threshold, the length of the frame control symbol can be determined more reasonably. This optimizes the frame structure of the physical layer of high-speed power line carrier communication, reduces the transmission overhead of the frame control symbol while taking into account the communication performance at low signal-to-noise ratio, significantly reduces the protocol overhead at high signal-to-noise ratio, and helps to improve the efficiency of data transmission, thereby improving the transmission efficiency of the data payload in the data unit frame in high-speed power line carrier communication.
[0114] In some embodiments, determining the second length based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality includes: determining a target value for the transmission mode index of the data payload based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality.
[0115] In practice, current HPLC protocols specify different TMI (Transmit Modulation Index) values for payload frames. TMI is mainly used to indicate the type of physical block (PB) of the data payload in the carrier signal, the number of diversity copies, the encoding modulation method, and the encoding rate.
[0116] In some embodiments, the TMI of the payload frame can be determined first, based on the length of the encoded payload to be transmitted and the most recent channel quality.
[0117] In some embodiments, the TMI of the payload frame can be determined based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality by pre-simulating or actually testing the TMI of the payload frame under different scenarios.
[0118] In some embodiments, the aforementioned pre-simulated TMI of payload frames under different scenarios may include:
[0119] Select the specific SNR range and simulation step size according to the specific application. Set the SNR range to -10dB~30dB (for example only, it is not limited to this), and use 2dB (for example only, it is not limited to this) as the step size to simulate the transmission rate of each SNR and each TMI of each communication frequency band.
[0120] For each communication frequency band and each SNR, select the TMI corresponding to the maximum transmission rate of the same physical block type under each physical block PB type supported by the existing protocol.
[0121] It should be noted that the above process is described using SNR as the target parameter, but those skilled in the art can understand the implementation process when the target parameter is RSSI.
[0122] The second length is determined based on the target value of the communication frequency band and transmission mode index.
[0123] In the implementation, the demodulation threshold of the payload frame can be determined according to TMI; after determining the demodulation threshold of the payload frame, the demodulation threshold of the frame control can be determined according to the demodulation threshold of the payload frame; after determining the demodulation threshold of the frame control, the length of the frame control symbol can be selected according to the demodulation threshold of the frame control.
[0124] In some embodiments, the demodulation threshold of the payload frame can be determined by pre-simulating or actually testing it.
[0125] In some embodiments, the demodulation threshold of the simulated payload frame may include: a demodulation threshold for simulating all TMI payload frames for each communication band. In some embodiments, the demodulation threshold may be the minimum SNR value required for a fixed bit error rate (e.g., 10%) at the receiver.
[0126] In some embodiments, the demodulation threshold can be controlled by pre-simulation or actual test frames.
[0127] In some embodiments, the demodulation threshold for the simulated frame control may include: simulating the frame control demodulation threshold for each communication frequency band under different frame control symbol lengths. Specifically, the frame control symbol length for frequency band 0 can be set to 2-4, while for other frequency bands it can be set to 6-12.
[0128] It should be noted that, for each communication frequency band, the minimum value of the second length can be determined as half of the second preset length corresponding to that communication frequency band.
[0129] In some embodiments, determining the length of the frame control symbol under different scenarios may include selecting the length of the frame control symbol corresponding to the demodulation threshold of the frame control under the corresponding communication frequency band, which is not higher than the demodulation threshold of the corresponding payload frame under the TMI of each payload frame in each frequency band, thereby determining the second length.
[0130] According to the power line carrier communication method provided in the embodiments of this application, by selecting the frame control symbol length according to the payload frame TMI and dynamically adjusting the length of the frame control symbol, the second length is less than the second preset length corresponding to the communication frequency band when the channel quality is better. This can optimize the frame structure of the physical layer of high-speed power line carrier communication, reduce the transmission overhead of the frame control symbol while taking into account the communication performance at low signal-to-noise ratio, significantly reduce the protocol overhead at high signal-to-noise ratio, and help improve the efficiency of data transmission, thereby improving the transmission efficiency of the data payload in the data unit frame in high-speed power line carrier communication.
[0131] In some embodiments, determining the second length based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality includes: determining the target value of the transmission mode index and the second length of the data payload based on the length of the encoded data payload in the data unit frame, the most recent channel quality, and the target model corresponding to the pre-acquired communication frequency band; the target model is used to indicate the correspondence between the channel quality and the length of the encoded data payload, the value of the transmission mode index, and the second length.
[0132] In the implementation, a target model corresponding to the communication frequency band can be pre-established. Since the target model can indicate the correspondence between the channel quality and the length of the encoded data payload, the value of the transmission mode index, and the second length, the target value of the transmission mode index and the second length of the data payload can be determined based on the length of the encoded data payload in the data unit frame, the most recent channel quality, and the pre-acquired target model corresponding to the communication frequency band.
[0133] The present application does not specifically limit the type of target model. In some embodiments, the target model can be any model trained by artificial intelligence (AI) methods, such as any artificial neural network (ANN).
[0134] In some embodiments, the target model may also take the form of a table. In some embodiments, the target model can be stored as a lookup table based on the TMI of the payload frames corresponding to different SNR and PB types for each frequency band under different scenarios obtained by the aforementioned pre-simulation, and the length or number of FC symbols corresponding to the TMI of different communication frequency bands in different payload frames obtained by the pre-simulation.
[0135] Table 2. Frequency Band 0 Payload Frame TMI and FC Symbol Number Selection Query Table
[0136]
[0137] Table 2 above can be stored in advance through simulation. When the transmitter needs to send a payload frame, Jin Enying directly looks up the TMIi and the number of FC symbols FcNumi required to send the data payload from Table 2. The number of FC symbols is the length of the frame control symbol.
[0138] In some embodiments, the transmitter can determine the TMI and the number of FC symbols of the payload frame. When a payload frame needs to be transmitted, the transmitter can select the type of the shortest physical block that is longer than the length of the encoded data payload from all physical block types supported by the protocol, based on the length of the encoded data payload; and, in conjunction with the determined PB type and the most recently acquired channel quality (taking SNR as an example), query the TMI and the number of FC symbols of the corresponding payload frame according to the pre-stored Table 2.
[0139] In some embodiments, if the time difference between the current time and the time when the most recent channel quality was obtained exceeds the time threshold T_th, the most recent channel quality can be determined as the lowest SNR range in Table 2 (i.e., SNR <= -10dB), and then Table 2 can be consulted to determine the TMI of the payload frame and the number of symbols in the FC.
[0140] According to the power line carrier communication method provided in the embodiments of this application, the target value and second length of the transmission mode index of the data payload are determined based on the length of the encoded data payload in the data unit frame, the most recent channel quality, and the target model corresponding to the pre-acquired communication frequency band. The length of the frame control symbol is dynamically adjusted so that, under the condition of better channel quality, the second length is less than the second preset length corresponding to the communication frequency band. This can optimize the frame structure of the physical layer of high-speed power line carrier communication, reduce the transmission overhead of the frame control symbol while taking into account the communication performance under low signal-to-noise ratio, significantly reduce the protocol overhead under high signal-to-noise ratio, and help improve the efficiency of data transmission, thereby improving the transmission efficiency of the data payload in the data unit frame in high-speed power line carrier communication.
[0141] To facilitate understanding of the above embodiments of this application, the implementation process of the power line carrier communication method provided in the embodiments of this application is described below in conjunction with the interaction process between the transmitting end and the receiving end.
[0142] Figure 4 This is a second schematic flowchart of the power line carrier communication method provided in the embodiments of this application. Figure 4 As shown, the implementation process of a power line carrier communication method may include the following steps.
[0143] Step 401: The sending end sends a channel quality probe request.
[0144] The sending end can send a channel quality probe request to at least one receiving end, requesting that the downlink communication quality of the receiving end be probed.
[0145] Step 402: The receiving end confirms the channel quality probe request.
[0146] Each receiver that receives a channel quality probe request may, if the sender is permitted to perform downlink communication quality probe, acknowledge the channel quality probe request by returning an acknowledgment frame to the sender.
[0147] In some embodiments, each receiver that receives a channel quality probe request does not acknowledge the request if the sender is not permitted to perform downlink communication quality probes. In some embodiments, not acknowledging the channel quality probe request may include: not returning an acknowledgment frame to the sender to acknowledge the channel quality probe request, or returning a feedback frame to the sender to reject the channel quality probe request, etc.
[0148] Step 403: The sending end sends a channel quality probe frame every time interval T.
[0149] For each receiver acknowledging a channel quality probe request, the sender may send a channel quality probe frame to that receiver every time interval T. This channel quality probe frame is the aforementioned target channel quality probe frame.
[0150] Step 404: Determine whether the receiving end has received a channel quality probe frame.
[0151] If yes, then proceed to step 405; otherwise, return to step 403.
[0152] Step 405: The receiver calculates RSSI_r (or SNR_r).
[0153] Each receiver that receives a channel quality probe frame can calculate the RSSI_r (or SNR_r) of the received channel quality probe frame.
[0154] Step 406: The receiving end sends an acknowledgment frame carrying RSSI_r (or SNR_r).
[0155] The receiver can carry the calculated RSSI_r (or SNR_r) in an acknowledgment frame and return it to the sender. This acknowledgment frame is the target acknowledgment frame corresponding to the aforementioned target channel quality probe frame.
[0156] Step 407: Determine whether the sending end has received an acknowledgment frame.
[0157] If yes, then proceed to step 408; otherwise, return to step 403.
[0158] Step 408: The transmitting end calculates the filtered RSSI (or SNR), saves it, and records the update time.
[0159] It should be noted that the filtered RSSI (or SNR) can be used as the channel quality for this test.
[0160] Step 409: Determine whether the sending end needs to send a payload frame.
[0161] If yes, then proceed to step 410; otherwise, return to step 403.
[0162] Step 410: Determine whether the time difference between the last time the sender saved RSSI (or SNR) and the current time exceeds the time threshold T_th.
[0163] If yes, then proceed to step 411; if no, then proceed to step 412.
[0164] Step 411: The sending end determines the preamble mode to be normal mode; the length of the frame control symbol is selected to be the length corresponding to the lower limit of RSSI (or SNR).
[0165] Step 412: The transmitting end determines the preamble mode based on the RSSI (or SNR) threshold; based on the RSSI (or SNR) and the length of the encoded payload frame to be transmitted, it queries the TMI of the pre-stored payload frame and the length of the frame control symbol.
[0166] Step 413: The sending end sends the payload frame.
[0167] The sending end can send payload frames by sending data unit frames. A data unit frame can contain a payload frame.
[0168] The power line carrier communication method provided in this application can be executed by a power line carrier communication device. This application uses a power line carrier communication device executing the power line carrier communication method as an example to illustrate the power line carrier communication device provided in this application.
[0169] This application also provides a power line carrier communication device. Figure 5 This is a schematic diagram of the power line carrier communication device provided in an embodiment of this application. This power line carrier communication device can be applied to the transmitting end. For example... Figure 5 As shown, the power line carrier communication device may include a determining module 510 and a transmitting module 520.
[0170] The determining module 510 is used to determine the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality; the first length is less than a first preset length and / or the second length is less than the second preset length corresponding to the communication frequency band;
[0171] The transmitting module 520 is used to transmit a data unit frame to the receiving end based on a first length and a second length; the data unit frame contains a signal frame; the signal frame is used to indicate the second length.
[0172] According to the power line carrier communication device provided in the embodiments of this application, by determining the first length of the preamble symbol and the second length of the frame control symbol based on the most recent channel quality, the lengths of the preamble symbol and the frame control symbol are dynamically adjusted so that, under the condition of better channel quality, the first length is less than the first preset length and / or the second length is less than the second preset length corresponding to the communication frequency band. This can optimize the frame structure of the physical layer of high-speed power line carrier communication, and can reduce the transmission overhead of the preamble symbol and the frame control symbol while taking into account the low signal-to-noise ratio (SNR) communication performance. This significantly reduces the protocol overhead under high SNR, helps to improve the efficiency of data transmission, and thus improves the transmission efficiency of data payload in data unit frames in high-speed power line carrier communication.
[0173] In some embodiments, the determining module 510 may be specifically used to determine the first length as the first target length when the time difference between the current time and the time when the most recent channel quality was obtained does not exceed a time threshold and the most recent channel quality is greater than or equal to a first threshold; the first target length is less than a first preset length.
[0174] In some embodiments, the determining module 510 may be specifically used to determine a second length based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality, provided that the time difference between the current time and the time when the most recent channel quality was obtained does not exceed a time threshold; the second length is less than or equal to a second preset length corresponding to the communication frequency band.
[0175] In some embodiments, the transmitting module 520 can also be used to transmit a target channel quality probe frame to the receiving end, so that the receiving end returns a target acknowledgment frame corresponding to the target channel quality probe frame to the transmitting end; the target acknowledgment frame carries the target parameters of the target channel quality probe frame; the target parameters include the received signal strength indication or the signal-to-noise ratio;
[0176] The power line carrier communication device may also include:
[0177] The receiving module is used to receive target confirmation frames and obtain target parameters from target channel quality detection frames;
[0178] The acquisition module is used to acquire the current channel quality and determine the time to acquire the current channel quality based on the target parameters of the target channel quality probe frame and the channel quality acquired in the previous acquisition.
[0179] In some embodiments, the acquisition module may include:
[0180] The filtering unit is used to filter the target parameters of the target channel quality detection frame and the previously acquired channel quality based on preset filtering coefficients, to obtain the current channel quality and determine the time when to obtain the current channel quality.
[0181] In some embodiments, the determining module 510 may also be specifically used to determine the first length as the second target length when the time difference between the current time and the time when the most recent channel quality is obtained does not exceed a time threshold and the most recent channel quality is less than a first threshold and greater than or equal to a second threshold; the second target length is less than a first preset length and greater than the first target length.
[0182] In some embodiments, the determining module 510 may also be specifically used to determine the first length as a first preset length when the time difference between the current time and the time when the most recent channel quality is obtained exceeds a time threshold, or when the time difference between the current time and the time when the most recent channel quality is obtained does not exceed a time threshold and the most recent channel quality is less than a second threshold.
[0183] In some embodiments, the determining module 510 may include:
[0184] The first determining unit is used to determine the target value of the transmission mode index of the data payload based on the communication frequency band, the length of the encoded data payload in the data unit frame, and the most recent channel quality.
[0185] The second determining unit is used to determine the second length based on the target value of the communication frequency band and transmission mode index.
[0186] In some embodiments, the determining module 510 may be specifically used to determine the target value and second length of the transmission mode index of the data payload based on the length of the encoded data payload in the data unit frame, the most recent channel quality, and the target model corresponding to the pre-acquired communication frequency band; the target model is used to indicate the correspondence between the channel quality and the length of the encoded data payload, the value of the transmission mode index, and the second length.
[0187] The power line carrier communication device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific device.
[0188] The power line carrier communication device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0189] The power line carrier communication device provided in this application embodiment can achieve... Figures 1 to 4 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.
[0190] In some embodiments, such as Figure 6 As shown, this application embodiment also provides an electronic device 600, including a processor 610, a memory 620, and a computer program stored in the memory 620 and executable on the processor 610. When the program is executed by the processor 610, it implements the various processes of the above-described power line carrier communication method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0191] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0192] This application also provides a non-transitory computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described power line carrier communication method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0193] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0194] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described power line carrier communication method.
[0195] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0196] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described power line carrier communication method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0197] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0198] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0199] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0200] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
[0201] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0202] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.
Claims
1. A power line carrier communication method, characterized by, The method applied to a sending end comprises: determining a first length of a preamble symbol and a second length of a frame control symbol based on a last channel quality; the first length is less than a first preset length and / or the second length is less than a second preset length corresponding to a communication frequency band; sending a data unit frame to a receiving end based on the first length and the second length; the data unit frame comprises a signal frame; the signal frame is used for indicating the second length; the determining of the first length of the preamble symbol and the second length of the frame control symbol based on the last channel quality comprises: in a case that a time difference between a current time and a time of obtaining the last channel quality does not exceed a time threshold, determining the second length based on the communication frequency band, an encoded length of a data payload in the data unit frame and the last channel quality; the second length is less than or equal to the second preset length corresponding to the communication frequency band; the determining of the second length based on the communication frequency band, the encoded length of the data payload in the data unit frame and the last channel quality; the second length is less than or equal to the second preset length corresponding to the communication frequency band, comprises: determining a target value of a transmission mode index of the data payload based on the communication frequency band, the encoded length of the data payload in the data unit frame and the last channel quality; determining the second length based on the communication frequency band and the target value of the transmission mode index.
2. The power line carrier communication method according to claim 1, characterized by, The method further comprises: sending a target channel quality probe frame to the receiving end, so that the receiving end returns a target acknowledgement frame corresponding to the target channel quality probe frame to the sending end; the target acknowledgement frame carries a target parameter of the target channel quality probe frame; the target parameter comprises a received signal strength indication or a signal-to-noise ratio; receiving the target acknowledgement frame and obtaining the target parameter of the target channel quality probe frame; obtaining a current channel quality and determining a time of obtaining the current channel quality based on the target parameter of the target channel quality probe frame and a last obtained channel quality.
3. The power line carrier communication method of claim 1, wherein, the determining of the first length of the preamble symbol and the second length of the frame control symbol based on the last channel quality comprises: in a case that a time difference between a current time and a time of obtaining the last channel quality does not exceed a time threshold and the last channel quality is greater than or equal to a first threshold, determining the first length as a first target length; the first target length is less than the first preset length.
4. The power line carrier communication method of claim 2, wherein, the obtaining of the current channel quality and the determination of the time of obtaining the current channel quality based on the target parameter of the target channel quality probe frame and the last obtained channel quality, comprises: filtering the target parameter of the target channel quality probe frame and the last obtained channel quality based on a preset filter coefficient, obtaining the current channel quality and determining the time of obtaining the current channel quality.
5. The power line carrier communication method of claim 3, wherein, the determining of the first length of the preamble symbol and the second length of the frame control symbol based on the last channel quality further comprises: In a case that a time difference between the current time and a time when the latest channel quality is acquired does not exceed the time threshold and the latest channel quality is less than the first threshold and greater than or equal to a second threshold, the first length is determined as a second target length; the second target length is less than the first preset length and greater than the first target length.
6. The power line carrier communication method of claim 5, wherein, The determining the first length of the preamble symbol and the second length of the frame control symbol based on the latest channel quality further includes: In a case that the time difference between the current time and the time when the latest channel quality is acquired exceeds the time threshold, or in a case that the time difference between the current time and the time when the latest channel quality is acquired does not exceed the time threshold and the latest channel quality is less than the second threshold, the first length is determined as the first preset length.
7. The power line carrier communication method of claim 1, wherein, The determining the second length based on the communication frequency band, the length of the data payload after encoding in the data unit frame and the latest channel quality; The second length is less than or equal to a second preset length corresponding to the communication frequency band, including: The determining the target value of the transmission mode index of the data payload and the second length based on the length of the data payload after encoding in the data unit frame, the latest channel quality and a target model corresponding to the communication frequency band acquired in advance; the target model is used to indicate a corresponding relationship between channel quality and the length of the data payload after encoding, and a value of the transmission mode index and the second length.
8. A power line carrier communication device, characterized by The apparatus is applied to a sending end, and includes: The determining module is configured to determine a first length of a preamble symbol and a second length of a frame control symbol based on a latest channel quality; the first length is less than a first preset length and / or the second length is less than a second preset length corresponding to a communication frequency band; The sending module is configured to send a data unit frame to a receiving end based on the first length and the second length; the data unit frame contains a signal frame; the signal frame is used to indicate the second length; The determining module is specifically configured to determine the second length based on the communication frequency band, the length of the data payload after encoding in the data unit frame and the latest channel quality in a case that a time difference between the current time and a time when the latest channel quality is acquired does not exceed a time threshold; the second length is less than or equal to a second preset length corresponding to the communication frequency band. The determining module includes: The first determining unit is configured to determine a target value of a transmission mode index of the data payload based on the communication frequency band, the length of the data payload after encoding in the data unit frame and the latest channel quality; The first determining unit is configured to determine the second length based on the communication frequency band and the target value of the transmission mode index.
9. The power line carrier communication device of claim 8, wherein, The determining module is specifically configured to determine the first length as a first target length in a case that a time difference between a current time and a time when the latest channel quality is acquired does not exceed a time threshold and the latest channel quality is greater than or equal to a first threshold; and the first target length is less than the first preset length.
10. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor implements the power line carrier communication method of any one of claims 1-7 when executing the program. 11.A non-transitory computer-readable storage medium having stored thereon a computer program. The computer program implements the power line carrier communication method of any one of claims 1-7 when executed by the processor.
Citation Information
Patent Citations
Communication method and apparatus
WO2025112531A1