Power line carrier communication method and device
By dynamically adjusting the length of the preamble symbol and the frame control symbol in high-speed power line carrier communication, the problem of low data payload transmission efficiency in the existing technology is solved, and efficient data transmission is achieved under low signal-to-noise ratio conditions.
Patent Information
- Application Number
- CN202511146249.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-15
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2045-08-15
AI Technical Summary
In the prior art, a data unit frame in high-speed power line carrier communication has a large number of fixed preamble symbols and frame control symbols, resulting in low transmission efficiency of the data payload.
By dynamically adjusting the length of the preamble symbol and frame control symbol based on the most recent channel quality, the protocol overhead is reduced under high signal-to-noise ratio conditions, thereby improving data transmission efficiency.
Under the premise of taking into account the low signal-to-noise ratio communication performance, the transmission overhead of the preamble symbol and the frame control symbol is reduced, and the transmission efficiency of the data payload in the data unit frame in the high-speed power line carrier communication is significantly improved.
Smart Images

Figure CN120639119A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and in particular relates to a power line carrier communication method and device. Background Art
[0002] The data unit frame in the physical layer protocol of high-speed power line communication (HPLC) uses a fixed number of preamble symbols and frame control (FC) symbols. This fixed number is relatively large, resulting in a significant frame overhead. For example, in scenarios where fixed-length physical blocks (PBs) are transmitted at high rates and high signal-to-noise ratios (SNRs), an excessive number of preamble and FC symbols can significantly reduce the transmission efficiency of the data payload. Taking HPLC's frequency band 2 as an example, the number of preamble symbols is 13 and the number of FC symbols is 12. This means that the preamble symbol length is 13 orthogonal frequency division multiplexing (OFDM) symbols, and the frame control symbol length is 12 OFDM symbols. The corresponding transmission overhead is 532µs and 711µs, respectively, for a total of 1243µs. In some high-speed modes, the transmission overhead of preamble and FC symbols can account for over 63% of the transmission overhead of a single data unit frame. Therefore, how to improve the transmission efficiency of data payloads in data unit frames in high-speed power line carrier communications has become a technical issue that needs to be urgently addressed in this field. Summary of the Invention
[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a power line carrier communication method and apparatus that can improve the transmission efficiency of data payloads in data unit frames in high-speed power line carrier communication.
[0004] In a first aspect, the present application provides a power line carrier communication method, applied to a transmitting end, the method comprising: Determining, based on the most recent channel quality, a first length of the preamble symbol and a second length of the frame control symbol; the first length being less than a first preset length and / or the second length being less than a second preset length corresponding to the communication frequency band; Based on the first length and the second length, a data unit frame is sent to a receiving end; the data unit frame includes a signal frame; and the signal frame is used to indicate the second length.
[0005] According to the power line carrier communication method of the present 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 when the channel quality is relatively good, 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 the 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 communication performance of low signal-to-noise ratio (SNR), greatly reduce the protocol overhead under high signal-to-noise ratio, help improve the efficiency of data transmission, and thus improve the transmission efficiency of the data payload in the data unit frame in the high-speed power line carrier communication.
[0006] According to one embodiment of the present application, the method further includes: Sending a target channel quality detection frame to the receiving end, so that the receiving end returns a target confirmation frame corresponding to the target channel quality detection frame to the transmitting end; the target confirmation frame carries a target parameter of the target channel quality detection frame; the target parameter includes a received signal strength indicator or a signal-to-noise ratio; receiving the target confirmation frame and obtaining the target parameter of the target channel quality detection frame; Based on the target parameter of the target channel quality detection frame and the channel quality obtained last time, the current channel quality is obtained and the time for obtaining the current channel quality is determined.
[0007] According to one embodiment of the present 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: When the time difference between the current moment and the moment of obtaining the most recent channel quality does not exceed the time threshold and the most recent channel quality is greater than or equal to a first threshold, the first length is determined as a first target length; the first target length is less than the first preset length.
[0008] According to one embodiment of the present 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: When the time difference between the current moment and the moment of obtaining the most recent channel quality does not exceed the time threshold, the second length is determined based on the communication frequency band, the length of the data payload encoded 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.
[0009] According to one embodiment of the present application, the acquiring the current channel quality and determining the time of acquiring the current channel quality based on the target parameter of the target channel quality detection frame and the last acquired channel quality include: Based on a preset filtering coefficient, the target parameter of the target channel quality detection frame and the channel quality obtained last time are filtered to obtain the current channel quality and determine the time for obtaining the current channel quality.
[0010] According to one embodiment of the present 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: When the time difference between the current moment and the moment of obtaining the most recent channel quality does not exceed the time threshold and the most recent channel quality is less than the first threshold and 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 and greater than the first target length.
[0011] According to one embodiment of the present 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: When the time difference between the current moment and the moment when the most recent channel quality is obtained exceeds the time threshold, or when the time difference between the current moment and the moment when the most recent channel quality is obtained does not exceed the time threshold and the most recent channel quality is less than the second threshold, the first length is determined to be the first preset length.
[0012] According to one embodiment of the present application, the determining the second length based on the communication frequency band, the length of the data payload encoded 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, including: 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 most recent channel quality; The second length is determined based on the communication frequency band and the target value of the transmission mode index.
[0013] According to one embodiment of the present application, the determining the second length based on the communication frequency band, the length of the data payload encoded 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, including: Based on the encoded length of the data payload in the data unit frame, the most recent channel quality and the pre-acquired target model corresponding to the communication frequency band, the target value of the transmission mode index of the data payload and the second length are determined; the target model is used to indicate the correspondence between the channel quality and the encoded length of the data payload, and the value of the transmission mode index and the second length.
[0014] In a second aspect, the present application provides a power line carrier communication device, applied to a transmitting end, the device comprising: a determination module, configured to determine a first length of the preamble symbol and a second length of the frame control symbol based on a most recent channel quality; the first length being less than a first preset length and / or the second length being less than a second preset length corresponding to the communication frequency band; A sending module is used to send 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; and the signal frame is used to indicate the second length.
[0015] According to the power line carrier communication device of the present 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, and dynamically adjusting the lengths of the preamble symbol and the frame control symbol, so that when the channel quality is relatively good, 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, the frame structure of the physical layer of the high-speed power line carrier communication can be optimized, and the transmission overhead of the preamble symbol and the frame control symbol can be reduced while taking into account the communication performance of low signal-to-noise ratio (SNR), which greatly reduces the protocol overhead under high signal-to-noise ratio, helps to improve the efficiency of data transmission, and thus can improve the transmission efficiency of the data payload in the data unit frame in the high-speed power line carrier communication.
[0016] According to one embodiment of the present application, the determination module is specifically used to determine the first length as the first target length when the time difference between the current moment and the moment of obtaining the most recent channel quality 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.
[0017] According to one embodiment of the present application, the determination module is specifically used to determine the second length based on the communication frequency band, the length of the data payload encoded in the data unit frame and the most recent channel quality, when the time difference between the current moment and the moment of obtaining the most recent channel quality does not exceed the time threshold; the second length is less than or equal to the second preset length corresponding to the communication frequency band.
[0018] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the power line carrier communication method as described in the first aspect above is implemented.
[0019] In a fourth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the power line carrier communication method as described in the first aspect above.
[0020] In a fifth aspect, the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the power line carrier communication method as described in the first aspect.
[0021] In a sixth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the power line carrier communication method as described in the first aspect above.
[0022] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 This is one of the flow charts of the power line carrier communication method provided in the embodiment of the present application; Figure 2 1 is a schematic diagram of a frame structure of a data unit frame in the power line carrier communication method provided in an embodiment of the present application; Figure 3 This is a schematic diagram of the format of the leading symbol in the data unit frame in the power line carrier communication method provided by an embodiment of the present application; Figure 4 This is the second flow chart of the power line carrier communication method provided in the embodiment of the present application; Figure 5 This is a schematic structural diagram of a power line carrier communication device provided in an embodiment of the present application; Figure 6 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0025] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0026] The power line carrier communication method, power line carrier communication device, electronic device and readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0027] The power line carrier communication method may be applied to a terminal, and may be specifically executed by hardware or software in the terminal.
[0028] The terminal includes, but is not limited to, a portable communication device such as a mobile phone or tablet computer having a touch-sensitive surface (e.g., a touch screen display and / or a touch pad). It should also be understood that in some embodiments, the terminal may not be a portable communication device, but rather a desktop computer having a touch-sensitive surface (e.g., a touch screen display and / or a touch pad).
[0029] In the following embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, a mouse, and a joystick.
[0030] The power line carrier communication method provided in the embodiment of the present application may be an electronic device or a functional module or functional entity in the electronic device that can implement the power line carrier communication method. The electronic devices mentioned in the embodiment of the present application include but are not limited to mobile phones, tablet computers, computers, cameras, and wearable devices. The power line carrier communication method provided in the embodiment of the present application is described below using the electronic device as an example of the execution subject.
[0031] Figure 1This is one of the flow charts of the power line carrier communication method provided in the embodiment of the present application. Figure 1 As shown, the power line carrier communication method includes: step 110 and step 120.
[0032] In actual implementation, the power line carrier communication method can be applied to a transmitter, which can be used to send a data unit frame to a receiver. Step 110: Based on the most recent channel quality, determine a first length of the preamble symbol and a 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 a second preset length corresponding to the communication frequency band.
[0033] In actual implementation, before step 110, the transmitting end may obtain and save the channel quality periodically or based on a command or other trigger, based on any method for estimating channel quality in related technologies. The embodiments of the present application do not specifically limit the above-mentioned method for estimating channel quality.
[0034] When it is necessary to send a data unit frame, the transmitter can obtain the channel quality closest to the current moment from the saved channel quality estimation results, that is, obtain the most recent channel quality. The inventive concept of the present application is that, based on the channel quality, when the channel quality is good, a shorter length of preamble symbols and / or frame control symbols can be used, thereby reducing the transmission overhead of the preamble symbols and frame control symbols in the data unit frame to improve the transmission efficiency of the data payload in the data unit frame; and when the channel quality is poor, a longer length of 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 "preamble frame" and "payload frame" respectively.
[0035] Figure 2 : is a schematic diagram of the frame structure of a data unit frame in the power line carrier communication method provided by an embodiment of the present application. 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 shown.
[0036] Figure 3 This is a schematic diagram of the format of the leading symbol in the data unit frame in the power line carrier communication method provided in an embodiment of the present application. Figure 3 The format of the preamble symbol is further shown. In related art, 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. Among them, SYNCM = -SYNCP, indicating that SYNCM and SYNCP are inverted. Therefore, the first preset length can be 13 OFDM symbols.
[0037] High-speed power line carrier communication supports four communication frequency bands: Band 0 through Band 3. The frame control symbol length for Band 0 is fixed at 4 OFDM symbols, while the lengths for Bands 1 through 3 are fixed at 12 OFDM symbols. Therefore, the second preset length for Band 0 is 4 OFDM symbols, and the second preset lengths for Bands 1 through 3 are all 12 OFDM symbols. The data bits of the frame control symbols can be copied to the corresponding subcarriers through multiple diversity operations.
[0038] In some embodiments, the transmitting end may dynamically adjust the first length and the second length based on the most recent channel quality, wherein the first length is the length of the preamble symbol and the second length is the length of the frame control symbol.
[0039] In some embodiments, if the most recent channel quality meets the target condition, a first length and a second length may be determined, wherein 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. Channel quality meeting the target condition can be used to indicate that the channel quality has reached the target threshold, indicating good channel quality; conversely, channel quality not meeting the target condition can indicate poor channel quality. The embodiments of this application do not limit the specific target condition and target threshold.
[0040] In some embodiments, a correspondence between an indicator for indicating channel quality and a specific value of the first length and a specific value of the second length can be established in advance, so that the specific first length and second length can be determined based on the specific value of the indicator for indicating channel quality and the above correspondence.
[0041] The specific corresponding relationship is not limited in the embodiments of the present application. In some embodiments, the above corresponding relationship can be obtained through pre-performed communication testing and / or simulation.
[0042] Step 120: Send 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; and the signal frame is used to indicate the second length.
[0043] In actual implementation, after determining the first and second lengths, the transmitter may encapsulate the first-length preamble symbol, the second-length frame control symbol, 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 transmitter may send the data unit frame to the receiver.
[0044] It should be noted that the frame control symbol in the embodiment of the present application is variable. By introducing a signal frame for indicating the second length, the receiving end can determine the specific number or length of the frame control symbol by parsing the signal frame after synchronization to ensure that the receiving end can correctly receive the data payload.
[0045] In some embodiments, in the data unit frame, the signal frame is located after the leading frame. In some embodiments, in the data unit frame, the signal frame is located after the leading frame and is adjacent to the leading frame.
[0046] The embodiment of the present application does not limit the specific format of the signal frame. In some embodiments, the format of a signal frame can be as shown in Table 1.
[0047] Table 1 Signal frame format
[0048] According to the power line carrier communication method provided in an embodiment of the present 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 when the channel quality is relatively good, 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 the 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 communication performance of low signal-to-noise ratio (SNR), significantly reduce the protocol overhead under high signal-to-noise ratio, help improve the efficiency of data transmission, and thus improve the transmission efficiency of the data payload in the data unit frame in the high-speed power line carrier communication.
[0049] In some embodiments, the power line carrier communication method may also include: sending a target channel quality detection frame to the receiving end, so that the receiving end returns a target confirmation frame corresponding to the target channel quality detection frame to the sending end; the target confirmation frame carries the target parameters of the target channel quality detection frame; the target parameters include the received signal strength indication or signal-to-noise ratio.
[0050] In actual implementation, a channel quality feedback mechanism can be established by adding a channel feedback frame, and the channel quality can be evaluated by calculating the signal strength or signal-to-noise ratio of the feedback frame.
[0051] In some embodiments, the transmitter may periodically (period may be denoted as T) or based on a command or other trigger, send a channel quality detection frame to the receiver. This channel quality detection frame is a target channel quality detection frame. In some embodiments, the channel quality detection frame may not carry any data payload, but may only include a preamble symbol and a frame control symbol containing a channel quality detection frame indicator. Specifically, the channel quality detection frame differs from a conventional HPLC physical layer protocol data unit frame in that the data payload in the channel quality detection frame is empty, and the frame control symbol contains a channel quality detection frame indicator.
[0052] In some embodiments, after receiving the target channel quality detection frame, the receiving end may obtain the target parameters of the target channel quality detection frame received by the receiving end by calculation or other means. The above-mentioned target parameters may include a received signal strength indication (RSSI) or a signal-to-noise ratio. The RSSI of the target channel quality detection frame received by the receiving end may be recorded as RSSI_r, and the SNR of the target channel quality detection frame received by the receiving end may be recorded as SNR_r. It can be understood that both RSSI and SNR are indicators that can be used to indicate channel quality, and both can be used to indicate channel quality.
[0053] In some embodiments, the RSSI of the target channel quality detection frame received by the receiving end can be obtained by using any method for obtaining RSSI in related technologies. The specific method used is not limited in the embodiments of the present application.
[0054] In some embodiments, the SNR of the target channel quality detection frame received by the receiving end can be obtained by using any method for obtaining the SNR in related technologies. The specific method used is not limited in the embodiments of the present application.
[0055] It is understandable that the receiving end can determine whether the received frame is a channel quality detection frame or a regular data unit frame based on the value of the channel quality detection frame indication flag included in the frame control symbol in the received frame. For example, if the value of the channel quality detection frame indication flag included in the frame control symbol in the received frame is 1, it can be determined that the received frame is a channel quality detection frame, and if the value of the channel quality detection frame indication flag included in the frame control symbol in the received frame is 0, it can be determined that the received frame is a regular data unit frame.
[0056] After obtaining the target parameters of the target channel quality detection frame, the receiving end can return an Acknowledgement (ACK) frame to the sending end. This ACK frame is used by the sending end to confirm that the receiving end has successfully received the target channel quality detection frame. Therefore, this ACK frame can be called a target feedback frame.
[0057] Receive the target confirmation frame and obtain the target parameters of the target channel quality detection frame.
[0058] In actual execution, the transmitting end may receive the target confirmation frame and may obtain the target parameters of the target channel quality detection frame carried in the target confirmation frame through parsing or other methods.
[0059] Based on the target parameter of the target channel quality detection frame and the channel quality obtained last time, the current channel quality is obtained and the time for obtaining the current channel quality is determined.
[0060] In actual execution, the transmitter can estimate the current channel quality as a whole based on the target parameters of the target channel quality detection frame and the channel quality obtained last time, and after obtaining the current channel quality, determine the time when the current channel quality is obtained and record the time.
[0061] In some embodiments, the overall channel quality can be estimated based on the target parameters of the target channel quality detection frame and the target parameters of the target confirmation frame, and then the estimated result can be corrected or compensated in combination with the channel quality obtained last time, so that the channel quality of this time can be obtained.
[0062] In some embodiments, the target parameter of the target channel quality detection frame and the channel quality obtained last time may be combined to estimate the current channel quality as a whole, thereby obtaining the current channel quality.
[0063] It should be noted that if the receiving end fails to successfully receive the target channel quality detection frame or the sending end fails to successfully receive the target confirmation frame, the sending end cannot obtain the channel quality, and thus it is not counted in the number of times the channel quality is obtained.
[0064] According to the power line carrier communication method provided in the embodiment of the present application, a target channel quality detection frame is sent to the receiving end, and the receiving end returns a target confirmation frame carrying the target parameters of the target channel quality detection frame to the sending end. The receiving end estimates the channel quality based on the target parameters of the target channel quality detection frame and the target parameters of the target confirmation frame received by itself, combined with the channel quality obtained last time, and the result of obtaining the channel quality this time is more accurate, so that on the basis of more accurate channel quality, a more appropriate adjustment of the length of the leading 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 the high-speed power line carrier communication.
[0065] In some embodiments, obtaining the current channel quality and determining the time for obtaining the current channel quality based on the target parameter of the target channel quality detection frame and the previously obtained channel quality includes: filtering the target parameter 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 for obtaining the current channel quality.
[0066] In actual execution, an α-filtering process can be performed on the target parameter 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.
[0067] 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 target channel quality detection frame obtained this time; RSSI(n - 1) represents the previously obtained channel quality; * represents multiplication; α is the filtering coefficient, and 0 < α < 1.
[0068] 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 target channel quality detection frame obtained this time; SNR(n - 1) represents the previously obtained channel quality; * represents multiplication; α is the filtering coefficient, and 0 < α < 1.
[0069] 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.
[0070] According to the power line carrier communication method provided by the embodiments of the present application, by filtering the target parameter of the target channel quality detection frame and the previously obtained channel quality based on a preset filtering coefficient, obtaining the current channel quality and determining the time for obtaining 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.
[0071] In some embodiments, based on the most recent channel quality, the first length of the leading symbol and the second length of the frame control symbol are determined, including: when the time difference between the current moment and the moment when the most recent channel quality is obtained does not exceed the time threshold and the most recent channel quality is greater than or equal to the first threshold, the first length is determined as the first target length; the first target length is less than the first preset length.
[0072] In some embodiments, based on the most recent channel quality, determining the first length of the leading symbol and the second length of the frame control symbol also includes: when the time difference between the current moment and the moment when the most recent channel quality is obtained does not exceed the time threshold and the most recent channel quality is less than the first threshold and greater than or equal to the second threshold, determining the first length as the second target length; the second target length is less than the first preset length and greater than the first target length.
[0073] Based on the most recent channel quality, determining the first length of the leading symbol and the second length of the frame control symbol also includes: when the time difference between the current moment and the moment when the most recent channel quality is obtained exceeds a time threshold, or when the time difference between the current moment and the moment when the most recent channel quality is obtained does not exceed the time threshold and the most recent channel quality is less than a second threshold, determining the first length as a first preset length.
[0074] 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. Accordingly, 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, so that the channel quality intervals correspond to the preamble modes one-to-one. On this basis, the preamble mode can be adaptively selected based on the calculated channel quality. Specifically, this includes: determining the preamble mode corresponding to the interval to which the most recent channel quality belongs, and then determining the length of the preamble symbol corresponding to the preamble mode based on the preamble mode, thereby determining the first length.
[0075] In some embodiments, the above mechanism can also be simplified by setting different thresholds for channel quality, dividing the channel quality into multiple intervals. The number of intervals is the same as the number of different preamble symbol lengths, so that the channel quality intervals correspond to different preamble symbol lengths. Based on this, the preamble symbol length corresponding to the interval to which the most recent channel quality belongs can be determined, thereby determining the first length.
[0076] In some embodiments, the preamble mode can be divided into three types, one is the normal mode, the preamble symbol adopts the same 10.5 SYNCP + 2.5 SYNCM combination as in the related art; the other is the extended mode 1, the preamble symbol adopts the 6.5 SYNCP + 2.5 SYNCM combination, and the second target length is 9 OFDM symbols; and the third is the extended mode 2, the preamble symbol adopts the 5.5 SYNCP + 2.5 SYNCM combination, and the first target length is 8 OFDM symbols.
[0077] In some embodiments, it is possible to first determine whether the time difference between the current moment and the moment when the most recent channel quality was obtained exceeds a preset time threshold T_th. The time threshold T_th can be pre-set based on actual conditions. The specific value of the time threshold T_th is not limited in this embodiment of the present application.
[0078] If the time difference between the current moment and the moment when the most recent channel quality was obtained exceeds the preset time threshold T_th, this indicates that the time correlation of the most recent channel quality is poor for the current moment. Channel conditions may have significantly changed from the moment when the most recent channel quality was obtained to the current moment, and accordingly, signal quality may also have significantly changed. Therefore, it is not appropriate to use the most recent channel quality as the channel quality for the current moment and to determine the first length and the second length based on this. Therefore, if the time difference between the current moment and the moment when the most recent channel quality was obtained exceeds the preset time threshold T_th, the channel quality may be assumed to be poor, the preamble mode may be directly determined as the normal mode, and the length of the preamble symbol may be determined to be the first preset length.
[0079] If the time difference between the current moment and the moment when the most recent channel quality was obtained does not exceed the preset time threshold T_th, it indicates that the time correlation of the most recent channel quality is relatively poor for the current moment, and the channel conditions have not changed substantially from the moment when the most recent channel quality was obtained to the current moment. Accordingly, the signal quality has also not changed substantially. The most recent channel quality can be used as the channel quality for the current moment, and the first length and the 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 obtained does not exceed the preset time threshold T_th, the relationship between the most recent channel quality and the first threshold and the second threshold can be further determined, thereby determining the preamble pattern and the length of the preamble symbol based on the aforementioned relationship.
[0080] 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.
[0081] 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.
[0082] 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 are all subject to the above conditions.
[0083] It should be noted that different from the length of the frame control symbol that needs to be indicated by the signal frame, the transmitting 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 difference between SYNCM and SYNCP is π.
[0084] 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.
[0085] According to the power line carrier communication method provided in the embodiment of the present application, by dynamically adjusting the length of the leading symbol according to the channel quality, the length of the leading symbol is more reasonably determined based on the relationship between the channel quality and the first threshold and the second threshold. This method is compatible with the leading mode specified in the current communication standard, and helps to shorten the transmission delay under good 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 leading symbol while taking into account the communication performance of low signal-to-noise ratio, greatly 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.
[0086] In some embodiments, based on the most recent channel quality, the first length of the leading symbol and the second length of the frame control symbol are determined, including: when the time difference between the current moment and the moment when the most recent channel quality is obtained does not exceed the time threshold, the second length is determined based on the communication frequency band, the length of the data payload encoded 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.
[0087] In actual implementation, in the frame structure of the data unit frame in the related technology, the control frame of frequency band 0 is 4 frame control (FC) symbols, and the remaining frequency bands 1 to 3 are fixed to 12 frame control symbols, which affects the improvement of system transmission efficiency under good channel conditions. Therefore, the length of the frame control symbol can be dynamically adjusted according to the channel quality.
[0088] 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 data payload encoded in the data unit frame, the most recent channel quality, and the demodulation threshold of the payload frame, while ensuring successful demodulation of the payload frame.
[0089] In some embodiments, when the time difference between the current moment and the moment when the most recent channel quality was obtained exceeds a time threshold T_th, the second length may be determined based on the communication frequency band, the length of the data payload after encoding in the data unit frame, and the lower limit of the channel quality. The principle of determining the lower limit of the channel quality can be found in the aforementioned embodiment and will not be repeated here.
[0090] According to the power line carrier communication method provided in the embodiment of the present application, by 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 when the time difference between the current moment and the moment of obtaining the most recent channel quality does not exceed the time threshold, the length of the frame control symbol can be determined more reasonably, the frame structure of the high-speed power line carrier communication physical layer can be optimized, and the transmission overhead of the frame control symbol can be reduced while taking into account the low signal-to-noise ratio communication performance, which greatly reduces the protocol overhead under high signal-to-noise ratio, helps to improve the efficiency of data transmission, and thus can improve the transmission efficiency of the data payload in the data unit frame in high-speed power line carrier communication.
[0091] In some embodiments, the second length is determined based on the communication frequency band, the length of the data payload after encoding in the data unit frame and the most recent channel quality, including: determining the target value of the 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 most recent channel quality.
[0092] In current HPLC implementations, different TMI (Transmit Modulation Index) values are specified in payload frames. The TMI primarily indicates the type of physical block (PB) in the carrier signal, the number of diversity copies, the coding modulation scheme, and the coding rate.
[0093] In some embodiments, the TMI of the payload frame may be determined based on the length of the encoded payload to be sent and the most recent channel quality.
[0094] In some embodiments, the TMI of the payload frame can be determined based on the communication frequency band, the length of the data payload after encoding in the data unit frame, and the most recent channel quality by pre-simulating or actually testing the TMI of the payload frame in different scenarios.
[0095] In some embodiments, the TMI of the pre-simulated payload frames under different scenarios may include: Select a specific SNR range and simulation step size based on the specific application. Set the SNR range to -10dB~30dB (for example, not limited to this), with a step size of 2dB (for example, not limited to this), and simulate the transmission rate of each SNR and each TMI in each communication frequency band; The TMI corresponding to the maximum transmission rate in the same physical block type under each physical block PB type supported by the existing protocol for each communication frequency band and each SNR is selected respectively.
[0096] It should be noted that the above process is described by taking the target parameter as SNR as an example, but those skilled in the art can understand the implementation process when the target parameter is RSSI based on this.
[0097] The second length is determined based on the communication frequency band and the target value of the transmission mode index.
[0098] In the implementation, the demodulation threshold of the payload frame can be determined based on the TMI; after determining the demodulation threshold of the payload frame, the demodulation threshold of the frame control can be determined based on 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 based on the demodulation threshold of the frame control.
[0099] In some embodiments, the demodulation threshold of the payload frame may be pre-simulated or actually tested.
[0100] In some embodiments, the demodulation threshold of the simulated payload frame may include: simulating the demodulation threshold of the payload frame of all TMIs in each communication frequency band. In some embodiments, the demodulation threshold may be a minimum SNR value required by the receiving end for a fixed bit error rate (e.g., 10%).
[0101] In some embodiments, the demodulation threshold can be controlled by pre-simulation or actual test frames.
[0102] In some embodiments, the simulated frame control demodulation threshold may include simulating the frame control demodulation threshold for each communication frequency band under different frame control symbol lengths. The frame control symbol length for frequency band 0 may be set to 2 to 4, and for other frequency bands, may be set to 6 to 12.
[0103] It should be noted that, for each communication frequency band, the minimum value of the second length may be determined as half of the second preset length corresponding to the communication frequency band.
[0104] In some embodiments, determining the length of the frame control symbol in different scenarios can include selecting the length of the frame control symbol corresponding to the demodulation threshold of the frame control in the corresponding communication frequency band that 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.
[0105] According to the power line carrier communication method provided in the embodiment of the present application, by selecting the frame control symbol length according to the payload frame TMI, the length of the frame control symbol is dynamically adjusted so that when the channel quality is relatively good, 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 the high-speed power line carrier communication, and can reduce the transmission overhead of the frame control symbol while taking into account the communication performance of low signal-to-noise ratio, greatly reduce the protocol overhead under high signal-to-noise ratio, help improve the efficiency of data transmission, and thus improve the transmission efficiency of the data payload in the data unit frame in the high-speed power line carrier communication.
[0106] In some embodiments, the second length is determined based on the communication frequency band, the length of the data payload after encoding in the data unit frame, and the most recent channel quality, including: determining the target value and the second length of the transmission mode index of the data payload based on the length of the data payload after encoding in the data unit frame, the most recent channel quality, and a 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 data payload after encoding, and the value of the transmission mode index and the second length.
[0107] During implementation, a target model corresponding to the communication frequency band may be pre-established. Since the target model can indicate the correspondence between the channel quality and the length of the data payload after encoding, and the value of the transmission mode index and the second length, the target value and second length of the transmission mode index of the data payload may be determined based on the length of the data payload after encoding in the data unit frame, the most recent channel quality, and the pre-acquired target model corresponding to the communication frequency band.
[0108] The present invention does not specifically limit the type of target model. In some embodiments, the target model can be any model trained using artificial intelligence (AI) methods, such as any artificial neural network (ANN).
[0109] In some embodiments, the target model may also be in the form of a table or the like. In some embodiments, based on the TMIs of payload frames corresponding to different SNRs and PB types of each frequency band in different scenarios obtained in advance by simulation, the lengths or numbers of FC symbols corresponding to the TMIs of different payload frames of different communication frequency bands obtained in advance by simulation may be stored as a target model as shown in Table 2, which is a lookup table.
[0110] Table 2 Band 0 payload frame TMI, FC symbol number selection query table
[0111] Table 2 can be stored in advance through simulation. When the transmitter needs to send a payload frame, Jin Enying directly uses Table 2 to query the TMIi and FC symbol number FcNumi required to send the data payload. The FC symbol number is the length of the frame control symbol.
[0112] In some embodiments, the transmitter can determine the number of TMI and FC symbols in the payload frame. When transmitting a payload frame, the transmitter can select, based on the length of the encoded data payload, the shortest physical block type from all supported physical block types that exceeds the length of the encoded data payload. The transmitter can then query the corresponding TMI and FC symbol number in the payload frame according to pre-stored Table 2, combining the determined PB type and the most recently acquired channel quality (using SNR as an example).
[0113] In some embodiments, when the time difference between the current moment and the moment when the most recent channel quality is 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 is queried to determine the TMI and FC symbol number of the payload frame.
[0114] According to the power line carrier communication method provided in the embodiment of the present application, the target value and the second length of the transmission mode index of the data payload are determined based on the length of the data payload after encoding in the data unit frame, the most recent channel quality and the target model corresponding to the pre-acquired communication frequency band, and the length of the frame control symbol is dynamically adjusted so that when the channel quality is better, 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 the high-speed power line carrier communication, and can reduce the transmission overhead of the frame control symbol while taking into account the communication performance of low signal-to-noise ratio, greatly reduce the protocol overhead under high signal-to-noise ratio, help improve the efficiency of data transmission, and thus improve the transmission efficiency of the data payload in the data unit frame in high-speed power line carrier communication.
[0115] In order to facilitate the understanding of the above-mentioned embodiments of the present application, the implementation process of the power line carrier communication method provided by the embodiments of the present application is described below in conjunction with the interaction process between the transmitting end and the receiving end.
[0116] Figure 4 This is the second flow chart of the power line carrier communication method provided in the embodiment of the present application. Figure 4 As shown, the implementation process of a power line carrier communication method may include the following steps.
[0117] Step 401: The transmitting end sends a channel quality detection request.
[0118] The transmitting end may send a channel quality detection request to at least one receiving end, requesting detection of the downlink communication quality of the receiving end.
[0119] Step 402: The receiving end confirms the channel quality detection request.
[0120] Each receiving end that receives the channel quality detection request may, if the transmitting end is allowed to perform downlink communication quality detection, acknowledge the channel quality detection request and return a confirmation frame for confirming the channel quality detection request to the transmitting end.
[0121] In some embodiments, each receiving end that receives the channel quality detection request does not acknowledge the channel quality detection request if the transmitting end is not permitted to perform downlink communication quality detection. In some embodiments, not acknowledging the channel quality detection request may include: not returning an acknowledgment frame to the transmitting end to confirm the channel quality detection request, or returning a feedback frame to the transmitting end to reject the channel quality detection request.
[0122] Step 403: The transmitting end sends a channel quality detection frame every time T.
[0123] For each receiving end that confirms the channel quality detection request, the transmitting end may send a channel quality detection frame to the receiving end at intervals of time T. The channel quality detection frame is the aforementioned target channel quality detection frame.
[0124] Step 404: Determine whether the receiving end has received the channel quality detection frame.
[0125] If yes, then step 405 may be executed; if no, then the process may return to step 403.
[0126] Step 405: The receiving end calculates RSSI_r (or SNR_r).
[0127] Each receiving end that receives the channel quality detection frame may calculate the RSSI_r (or SNR_r) of receiving the channel quality detection frame.
[0128] Step 406: The receiving end sends a confirmation frame carrying RSSI_r (or SNR_r).
[0129] The receiving end can carry the calculated RSSI_r (or SNR_r) in a confirmation frame and return it to the sending end. This confirmation frame is the target confirmation frame corresponding to the target channel quality detection frame mentioned above.
[0130] Step 407: Determine whether the sending end has received the confirmation frame. If yes, then step 408 may be executed; if no, then the process may return to step 403.
[0131] Step 408: The transmitting end calculates the filtered RSSI (or SNR), saves and records the update time.
[0132] It should be noted that the filtered RSSI (or SNR) can be used as the channel quality for this time.
[0133] Step 409: Determine whether the sending end needs to send a payload frame. If yes, then step 410 may be executed; if no, then the process may return to step 403 .
[0134] Step 410: Determine whether the time difference between the time when the transmitter last saved the RSSI (or SNR) and the current time exceeds a time threshold T_th.
[0135] If yes, step 411 may be executed; if no, step 412 may be executed.
[0136] Step 411: The transmitting end determines that the preamble mode is the normal mode; the length of the frame control symbol is selected to correspond to the lower limit of the RSSI (or SNR).
[0137] Step 412: The transmitter determines the preamble mode according to the RSSI (or SNR) threshold; and queries the length of the TMI and frame control symbol of the pre-stored payload frame according to the RSSI (or SNR) and the encoded length of the payload frame to be sent.
[0138] Step 413: The sending end sends a payload frame.
[0139] The sender can send a payload frame by sending a data unit frame. The data unit frame can include a payload frame.
[0140] The power line carrier communication method provided in the embodiment of the present application can be executed by a power line carrier communication device. In the embodiment of the present application, the power line carrier communication device provided in the embodiment of the present application is described by taking the power line carrier communication device executing the power line carrier communication method as an example.
[0141] An embodiment of the present application also provides a power line carrier communication device. Figure 5 1 is a schematic diagram of the structure of the power line carrier communication device provided in the embodiment of the present application. The power line carrier communication device can be applied to the transmitting end. Figure 5 As shown, the power line carrier communication device may include: a determination module 510 and a sending module 520.
[0142] The determining module 510 is configured to determine a first length of the preamble symbol and a 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 a second preset length corresponding to the communication frequency band; The sending module 520 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 includes a signal frame; and the signal frame is used to indicate the second length.
[0143] According to the power line carrier communication device provided in the embodiment of the present 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 when the channel quality is relatively good, 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 the 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 communication performance of low signal-to-noise ratio (SNR), greatly reduce the protocol overhead under high signal-to-noise ratio, help improve the efficiency of data transmission, and thus improve the transmission efficiency of the data payload in the data unit frame in the high-speed power line carrier communication.
[0144] In some embodiments, the determination module 510 can be specifically used to determine the first length as the first target length when the time difference between the current moment and the moment when the most recent channel quality is obtained does not exceed the time threshold and the most recent channel quality is greater than or equal to the first threshold; the first target length is less than the first preset length.
[0145] In some embodiments, the determination module 510 can be specifically used to determine a second length based on the communication frequency band, the length of the data payload encoded in the data unit frame and the most recent channel quality when the time difference between the current moment and the moment when the most recent channel quality is 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.
[0146] In some embodiments, the sending module 520 may also be configured to send a target channel quality detection frame to the receiving end, so that the receiving end returns a target confirmation frame corresponding to the target channel quality detection frame to the sending end; the target confirmation frame carries target parameters of the target channel quality detection frame; the target parameters include a received signal strength indicator or a signal-to-noise ratio; The power line carrier communication device may further include: A receiving module is used to receive a target confirmation frame and obtain target parameters of a target channel quality detection frame; The acquisition module is used to acquire the current channel quality and determine the time for acquiring the current channel quality based on the target parameter of the target channel quality detection frame and the channel quality acquired last time.
[0147] In some embodiments, the acquisition module may include: The filtering unit is used to filter the target parameter of the target channel quality detection frame and the channel quality obtained last time based on a preset filtering coefficient, obtain the current channel quality and determine the time to obtain the current channel quality.
[0148] In some embodiments, the determination module 510 can also be specifically used to determine the first length as the second target length when the time difference between the current moment and the moment when the most recent channel quality is obtained does not exceed the 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.
[0149] In some embodiments, the determination module 510 can also be specifically used to determine the first length as the first preset length when the time difference between the current moment and the moment when the most recent channel quality is obtained exceeds a time threshold, or when the time difference between the current moment and the moment when the most recent channel quality is obtained does not exceed the time threshold and the most recent channel quality is less than a second threshold.
[0150] In some embodiments, the determination module 510 may include: A first determining unit is configured to determine a target value of a transmission mode index of a data payload based on a communication frequency band, a length of the data payload after encoding in a data unit frame, and a most recent channel quality; The second determining unit is configured to determine a second length based on a target value of the communication frequency band and the transmission mode index.
[0151] In some embodiments, the determination module 510 can be specifically used to determine the target value and second length of the transmission mode index of the data payload based on the encoded length of the 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 encoded length of the data payload, and the value of the transmission mode index and the second length.
[0152] The power line carrier communication device in the embodiments of the present application can be an electronic device or a component of an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., and the embodiments of the present application are not specifically limited.
[0153] The power line carrier communication device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0154] The power line carrier communication device provided in the embodiment of the present application can achieve Figures 1 to 4 To avoid repetition, the various processes implemented in the method embodiment are not described here.
[0155] In some embodiments, as Figure 6 As shown, an embodiment of the present application 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, the various processes of the above-mentioned power line carrier communication method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0156] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0157] An embodiment of the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned power line carrier communication method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0158] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0159] An embodiment of the present application further provides a computer program product, including a computer program, which implements the above-mentioned power line carrier communication method when executed by a processor.
[0160] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0161] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned power line carrier communication method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0162] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0163] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0164] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of this application, or the part that contributes to the existing technology, 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 a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of this application.
[0165] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
[0166] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0167] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and intent of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. A power line carrier communication method, characterized in that: Applied to the sending end, the method includes: Determining, based on the most recent channel quality, a first length of the preamble symbol and a second length of the frame control symbol; the first length being less than a first preset length and / or the second length being less than a second preset length corresponding to the communication frequency band; Based on the first length and the second length, a data unit frame is sent to a receiving end; the data unit frame includes a signal frame; and the signal frame is used to indicate the second length.
2. The power line carrier communication method according to claim 1, characterized in that: The method further comprises: Sending a target channel quality detection frame to the receiving end, so that the receiving end returns a target confirmation frame corresponding to the target channel quality detection frame to the transmitting end; the target confirmation frame carries a target parameter of the target channel quality detection frame; the target parameter includes a received signal strength indicator or a signal-to-noise ratio; receiving the target confirmation frame and obtaining the target parameter of the target channel quality detection frame; Based on the target parameter of the target channel quality detection frame and the channel quality obtained last time, the current channel quality is obtained and the time for obtaining the current channel quality is determined.
3. The power line carrier communication method according to claim 1, wherein: The determining, based on the most recent channel quality, a first length of the pilot symbol and a second length of the frame control symbol, comprises: When the time difference between the current moment and the moment of obtaining the most recent channel quality does not exceed the time threshold and the most recent channel quality is greater than or equal to a first threshold, the first length is determined as a first target length; the first target length is less than the first preset length.
4. The power line carrier communication method according to claim 1, wherein: The determining, based on the most recent channel quality, a first length of the pilot symbol and a second length of the frame control symbol, comprises: When the time difference between the current moment and the moment of obtaining the most recent channel quality does not exceed the time threshold, the second length is determined based on the communication frequency band, the length of the data payload encoded 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.
5. The power line carrier communication method according to claim 2, characterized in that: The acquiring the current channel quality based on the target parameter of the target channel quality detection frame and the channel quality acquired last time and determining the time for acquiring the current channel quality includes: Based on a preset filtering coefficient, the target parameter of the target channel quality detection frame and the channel quality obtained last time are filtered to obtain the current channel quality and determine the time for obtaining the current channel quality.
6. The power line carrier communication method according to claim 3, characterized in that: The determining, based on the most recent channel quality, the first length of the pilot symbol and the second length of the frame control symbol further includes: When the time difference between the current moment and the moment of obtaining the most recent channel quality does not exceed the time threshold and the most recent channel quality is less than the first threshold and 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 and greater than the first target length.
7. The power line carrier communication method according to claim 6, characterized in that: The determining, based on the most recent channel quality, the first length of the pilot symbol and the second length of the frame control symbol further includes: When the time difference between the current moment and the moment when the most recent channel quality is obtained exceeds the time threshold, or when the time difference between the current moment and the moment when the most recent channel quality is obtained does not exceed the time threshold and the most recent channel quality is less than the second threshold, the first length is determined to be the first preset length.
8. The power line carrier communication method according to claim 4, characterized in that: determining the second length based on the communication frequency band, the length of the data payload encoded in the data unit frame, and the most recent channel quality; The second length is less than or equal to a second preset length corresponding to the communication frequency band, including: 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 most recent channel quality; The second length is determined based on the communication frequency band and the target value of the transmission mode index.
9. The power line carrier communication method according to claim 4, characterized in that: determining the second length based on the communication frequency band, the length of the data payload encoded in the data unit frame, and the most recent channel quality; The second length is less than or equal to a second preset length corresponding to the communication frequency band, including: Based on the encoded length of the data payload in the data unit frame, the most recent channel quality and the pre-acquired target model corresponding to the communication frequency band, the target value of the transmission mode index of the data payload and the second length are determined; the target model is used to indicate the correspondence between the channel quality and the encoded length of the data payload, and the value of the transmission mode index and the second length.
10. A power line carrier communication device, characterized in that: Applied to a transmitting end, the device includes: a determination module, configured to determine a first length of the preamble symbol and a second length of the frame control symbol based on a most recent channel quality; the first length being less than a first preset length and / or the second length being less than a second preset length corresponding to the communication frequency band; A sending module is used to send 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; and the signal frame is used to indicate the second length.
11. The power line carrier communication device according to claim 10, characterized in that: The determination module is specifically configured to determine the first length as a first target length when the time difference between the current moment and the moment 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; and the first target length is less than the first preset length.
12. The power line carrier communication device according to claim 10 or 11, characterized in that: The determination module is specifically used to determine the second length based on the communication frequency band, the length of the data payload encoded in the data unit frame and the most recent channel quality, when the time difference between the current moment and the moment of obtaining the most recent channel quality does not exceed the time threshold; the second length is less than or equal to the second preset length corresponding to the communication frequency band.
13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the power line carrier communication method according to any one of claims 1 to 9 is implemented.
14. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the power line carrier communication method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Method, device and system for power line carrier communication with dynamic adjustable rate
CN106685482A
Data sending method and device, data receiving method and device, equipment and medium
CN119071363A
Method and system for maximizing data throughput rate in a power line communications system by modifying payload symbol length
US20050169363A1
Method for determining transmission mode for power line communication and related device
WO2021168706A1
Communication method and apparatus
WO2025112531A1
Cited By
Power line broadband carrier communication method and device and computer equipment
CN120880497A
