WO2018188477A1 - Data transmission method and apparatus, power line communication network, and power system - Google Patents

Data transmission method and apparatus, power line communication network, and power system Download PDF

Info

Publication number
WO2018188477A1
WO2018188477A1 PCT/CN2018/080714 CN2018080714W WO2018188477A1 WO 2018188477 A1 WO2018188477 A1 WO 2018188477A1 CN 2018080714 W CN2018080714 W CN 2018080714W WO 2018188477 A1 WO2018188477 A1 WO 2018188477A1
Authority
WO
WIPO (PCT)
Prior art keywords
power line
communication network
line communication
duration
preset
Prior art date
Application number
PCT/CN2018/080714
Other languages
French (fr)
Chinese (zh)
Inventor
吕宜宣
徐德超
张国宾
郭佳
田甲申
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018188477A1 publication Critical patent/WO2018188477A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/544Setting up communications; Call and signalling arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a data transmission method and apparatus, a power line communication network, and a power system.
  • the power system includes a power supplier's management server, multiple Power Line Communication (PLC) networks, and an electric meter installed in each household.
  • the power supplier's management server can connect to the meter through the PLC network, and then collect each meter. Electricity information.
  • each PLC network is composed of a plurality of nodes including a central coordinator (CCO), a plurality of cascaded proxy coordinators (PCOs), and a plurality of stations (Station). , STA).
  • the management server is connected to the CCO, and the CCO is connected to the plurality of cascaded PCOs, and each of the plurality of cascaded PCOs is connected to the at least one STA from the PCO of the CCO farthest level.
  • Each of the at least one STA is connected to the at least one electric meter; or, a part of the STAs of the at least one STA is an electric meter, and each of the other STAs is connected to the at least one electric meter.
  • Each PLC network is configured with one beacon period, and the beacon period of any two PLC network configurations in the power system is different; the beacon period configured for each PLC network includes: beacon slot and carrier sense multiple access (Carrier Sense Multiple Access, CSMA) time slots, in which nodes in each PLC network can transmit data based on CSMA time slots configured by the PLC network.
  • CSMA Carrier Sense Multiple Access
  • the networking structure of the PLC network changes or the intensity of the interference signal in the PLC network changes, the length of time required for the PLC network to transmit data will also change, but the CSMA time slot of the PLC network configuration in the related art cannot be changed, therefore, The CSMA time slot of the PLC network configuration cannot adapt to the changing PLC network, and the operation of the PLC network is poor.
  • the present application provides a data transmission method and device, a power line communication network, and a power system.
  • the technical solution is as follows:
  • a data transmission method comprising: determining whether a power line communication network satisfies a preset condition, the power line communication network comprising: a central coordinator CCO, at least one agent coordinator PCO, and at least one station STA Adjusting a duration of a carrier sense multiple access CSMA time slot of the power line communication network to a target duration when the power line communication network does not satisfy the preset condition; and controlling the power line communication network based on the adjustment duration
  • the CSMA time slot transmits data.
  • the networking structure of the power line communication network changes or the strength of the interference signal in the power line communication network changes, it may be determined that the power line communication network does not satisfy the preset condition, and at this time, the CSMA time slot that can be configured for the power line communication network
  • the duration of the adjustment is adjusted so that the power line communication network after adjusting the duration of the CSMA time slot satisfies a preset condition, so that the duration of the CSMA time slot can adapt to the change of the power line communication network, and can meet the requirement of the duration of the data transmission of the power line communication network. Therefore, the operation of the power line communication network is improved.
  • the preset condition includes: the absolute value of the difference between the target duration and the current duration of the CSMA slot is greater than a preset absolute threshold, and the preset absolute threshold is greater than zero.
  • the x is an integer greater than or equal to 1.
  • the determining whether the power line communication network satisfies the preset condition includes: acquiring the target duration; determining whether the absolute value of the difference between the target duration and the current duration is greater than Determining the absolute value threshold; determining that the power line communication network does not satisfy the pre-determination when the result of the x-th determination is that the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold Set conditions.
  • the duration of the CSMA slot required for the current power line communication network to transmit data is determined. (that is, the target duration) is much different from the current duration. At this time, it is urgent to adjust the duration of the CSMA slot to improve the data transmission quality of the power line communication network and/or the utilization of the CSMA slot by the power line communication network.
  • the acquiring the target duration includes: acquiring at least one networking parameter of the power line communication network; adjusting the current duration according to the at least one networking parameter to obtain the target duration;
  • the networking parameter includes: the number of the PCOs, the number of the STAs, and the number of network levels of the power line communication network, the target duration being positively correlated with the sum of at least one networking parameter of the power line communication network
  • the target duration is positively correlated with the current duration.
  • the data to be transmitted in the power line communication network in the CSMA time slot is reduced, and the data to be transmitted in the power line communication network can be transmitted in a part of the current time period of the CSMA time slot.
  • the utilization rate of the CSMA time slot by the power line communication network is low, and the target duration required for the power line communication network is less than the current duration.
  • the data to be transmitted in the power line communication network in the CSMA time slot increases, and the data to be transmitted in the power line communication network cannot be transmitted within the current duration of the CSMA time slot.
  • the CCO can adjust the current duration according to the networking parameters of the power line communication network, and can obtain the target duration of the CSMA time slot currently required by the power line communication network.
  • the target duration t2 t1*[f(m)+g(n)]*h(j), wherein the t1 is the current duration, and the m is the quantity of the PCO,
  • the f(m) is a converted quantity of m pieces of the PCO with respect to a unit network element, where n is the number of the STAs, and the g(n) is n pieces of the STAs relative to the unit network element
  • the number of conversions, the j is the number of the network levels, and the h(j) is the number of conversions of the j network levels relative to the unit level.
  • the adjusting the duration of the carrier sense multiple access CSMA time slot of the power line communication network to the target duration includes: adjusting the duration of the CSMA time slot to the last acquired target duration. Since the last acquired target duration is more in line with the length of the CSMA slot required for the power line communication network to transmit data in the current scenario, adjusting the duration of the CSMA slot to the last acquired target duration is more consistent with the current transmission of the power line communication network. The demand for data enables the power line communication network to meet predetermined conditions.
  • the method further includes: determining a target of the data transmitted in the power line communication network.
  • the service type is configured to query the corresponding relationship between the preset service type and the duration, and determine the duration corresponding to the target service type as the current duration.
  • the communication network can satisfy the preset conditions as much as possible when performing each service, and try to ensure that the length of the CSMA time slot configured by the power line communication network matches the time required for the power line communication network to transmit data as much as possible.
  • the preset condition includes: the communication success rate of the power line communication network is less than a preset success rate threshold, the number of times is less than y, the y is an integer greater than or equal to 1, and determining whether the power line communication network is satisfied
  • the preset condition includes: obtaining a communication success rate of the power line communication network; determining whether a communication success rate of the power line communication network is less than the preset success rate threshold; and the result of the y determination is the power line communication network When the communication success rate is less than the preset success rate threshold, it is determined that the power line communication network does not satisfy the preset condition.
  • the length of the CSMA time slot required to determine the current power line communication network transmission data is significantly different from the current duration. At this time, it is urgent to adjust the duration of the CSMA time slot to improve the data transmission quality of the power line communication network.
  • the power line communication network includes multiple nodes, where the multiple nodes include the PCO and the STA, and the obtaining a communication success rate of the power line communication network includes: acquiring the power line communication network a communication success rate of each of the PCOs; acquiring a communication success rate of each of the STAs in the power line communication network; determining a communication success rate of each of the PCOs and a communication success rate of each of the STAs
  • the communication success rate of the power line communication network, the communication success rate of the power line communication network is negatively correlated with the number of nodes in the power line communication network whose communication success rate is less than 1.
  • the more nodes having a communication success rate less than 1 in the power line communication network the lower the communication success rate of the power line communication network; the fewer the nodes having the communication success rate less than 1 in the power line communication network, the communication success of the power line communication network is successful. The higher the rate.
  • the communication success rate is negatively correlated with the duration corresponding to the communication success rate, when the carrier sense multiple access CSMA of the power line communication network is used.
  • the method further includes: querying a correspondence between the preset communication success rate and the duration, and determining that the duration corresponding to the latest acquired communication success rate is the target duration.
  • the length of the CSMA time slot is adjusted to the latest acquired communication success rate, because the time length corresponding to the recently obtained communication success rate is more consistent with the length of the CSMA time slot required for the power line communication network to transmit data in the current scenario.
  • the duration is more in line with the current transmission data requirements of the power line communication network, so that the power line communication network meets the preset conditions.
  • the method further includes: determining whether the duration of the CSMA time slot reaches a preset duration And determining, when the duration of the CSMA time slot reaches the preset duration, whether the data transmission quality of the power line communication network in a preset time period continues to be higher than a preset quality threshold; wherein the power line communication network is in the Decrease the duration of the CSMA time slot when the data transmission quality in the preset time period is continuously higher than the preset quality threshold; and control the power line communication network to transmit data based on the CSMA time slot after decreasing the duration .
  • the CCO After adjusting the length of the CSMA time slot, the CCO needs to determine whether the length of the CSMA time slot configured by the power line communication network is too long, and determine the current CSMA when the duration of the CSMA time slot reaches a preset duration. The duration of the time slot is too long. At this time, since the total duration of data transmission by all power line communication networks is constant, when the duration of the CSMA time slot configured in the current power line communication network is long, the CSMA time of other power line communication networks is configured. The duration of the gap is short, and the data transmission quality of other power line communication networks is poor. At this time, it is necessary to reduce the length of the CSMA time slot at an appropriate timing.
  • the CCO When it is determined that the current CSMA time slot of the power line communication network has a long duration, and the data transmission quality of the power line communication network continues to be high for a preset period of time, the CCO appropriately reduces the length of the CSMA time slot of the power line communication network, In order to facilitate other power line communication networks, the CSMA time slots of other networks can be increased, and the data transmission quality of other power line communication networks can be improved.
  • a data transmission apparatus comprising at least one module, the at least one module for implementing the data transmission method of the first aspect or the second aspect.
  • a data transmission apparatus comprising: at least one processor, at least one network interface, a memory, and at least one bus, wherein the memory and the network interface are respectively connected to the processor through a bus; the processor is The instructions are configured to execute the instructions stored in the memory; the processor implements the data transmission method of the first aspect or the second aspect by executing the instructions.
  • a power line communication network comprising: a central coordinator CCO, at least one agent coordinator PCO, and at least one station STA, the CCO being: the third aspect or the fourth aspect Data transmission device.
  • a power system comprising the power line communication network of the fifth aspect.
  • a computer readable storage medium in a sixth aspect, storing instructions for causing a computer to perform the first aspect or the second aspect when the computer readable storage medium is run on a computer Said method.
  • a computer program product comprising instructions for causing a computer to perform the method of the first aspect or the second aspect when the computer program product is run on a computer.
  • the networking structure of the power line communication network changes or the strength of the interference signal in the power line communication network changes, it may be determined that the power line communication network does not satisfy the preset condition, and at this time, the CSMA time slot that can be configured for the power line communication network
  • the duration of the adjustment is adjusted so that the power line communication network after adjusting the duration of the CSMA time slot satisfies a preset condition, so that the duration of the CSMA time slot can adapt to the change of the power line communication network, and can meet the requirement of the duration of the data transmission of the power line communication network. Therefore, the operation of the power line communication network is improved.
  • FIG. 1 is a schematic structural diagram of a power system according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a PLC network according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a beacon period according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a beacon period according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a flowchart of a method for data transmission according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of determining whether a power line communication network satisfies a preset condition according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of another method for determining whether a power line communication network satisfies a preset condition according to an embodiment of the present disclosure
  • FIG. 9 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a first determining module according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of still another data transmission apparatus according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of another first determining module according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of still another data transmission apparatus according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of a data transmission apparatus according to another embodiment of the present disclosure.
  • the power system 0 includes a management server 01 of a power supplier, a plurality of PLC networks 02, and an electric meter 03 installed in each household.
  • the management server 01 of the quotient can be connected to the electric meter 03 through the PLC network 02, thereby collecting the electric power information on each electric meter 03.
  • FIG. 2 is a schematic structural diagram of a PLC network according to an embodiment of the present invention.
  • each PLC network 02 is composed of multiple nodes, and the multiple nodes include one CCO 021 and multiple cascaded PCOs 022. And multiple STAs 023.
  • the management server in FIG. 1 is connected to the CCO 021 in FIG. 2, and the CCO 021 is connected to the plurality of cascaded PCOs 022.
  • the PCO 022 is the farthest from the CCO 021.
  • Each PCO 022 is connected to at least one STA 023.
  • each STA 023 is connected to at least one of the electric meters in FIG.
  • the PLC network is a multi-layered network, and the layer where the CCO 021 is located is the 0th layer, and the first layer, the second layer, and the nth layer are respectively located away from the CCO, and the device of the nth layer includes STA.
  • FIG. 3 is a schematic diagram of a beacon period according to an embodiment of the present invention. As shown in FIG. 3, the beacon period Q1 configured by the PLC network A is different from the beacon period Q2 configured by the PLC network B, that is, in the time domain. Do not overlap.
  • FIG. 4 is a schematic structural diagram of a beacon period according to an embodiment of the present invention. As shown in FIG.
  • a beacon period Q configured for each PLC network includes: a beacon slot P1 and a carrier sense multiple access (carrier) Sense Multiple Access, CSMA) Time slot P2, in which nodes in each PLC network transmit data within the CSMA time slot P2 of the PLC network configuration.
  • carrier carrier sense multiple access
  • CSMA Carrier Sense Multiple Access
  • FIG. 5 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention.
  • the data transmission apparatus is a CCO 021 in FIG. 2.
  • the data transmission apparatus includes: at least one processor 0211 (for example, a central unit) The processor), the at least one network interface 0212, the memory 0213, and the at least one bus 0214 are used to implement connection communication between the devices, and the memory 0213 and the network interface 0212 are respectively connected to the processor 0211 via the bus 0214.
  • the processor 0211 is configured to execute an executable module, such as a computer program, stored in the memory 0213.
  • the memory 0213 may include a high speed random access memory (RAM), and may also include a non-volatile memory such as at least one disk memory.
  • RAM high speed random access memory
  • the communication connection between the data transmission device and at least one other network element is implemented by at least one network interface 0212 (wired or wireless), using an Internet, a wide area network, a local network, a metropolitan area network, and the like.
  • the memory 0213 stores the program V, which can be executed by the processor 0211.
  • FIG. 6 is a flowchart of a method for data transmission according to an embodiment of the present invention.
  • the data transmission method is used for the CCO in FIG. 2, and the data transmission method can be implemented by executing the program V by the processor 0211 in FIG.
  • the data transmission method includes:
  • Step 601 The CCO determines whether the power line communication network satisfies a preset condition. If the CCO determines that the power line communication network meets the preset condition, step 601 is performed; if the CCO determines that the power line communication network does not satisfy the preset condition, step 602 is performed.
  • the preset conditions in the embodiment of the present invention may be various. According to different preset conditions, the method for determining whether the power line communication network satisfies the preset condition is different according to different preset conditions, and the embodiment of the present invention determines the power line for the CCO. Whether the communication network satisfies the preset conditions can be explained in two ways.
  • the preset condition may be: the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold, and the number of times is less than x, wherein the preset absolute threshold is greater than zero, and x is greater than Or an integer equal to 1. It should be noted that when the data transmission quality of the power line communication network is higher than the preset quality threshold, and the utilization ratio of the power line communication network to the CSMA time slot is higher than the preset utilization rate, the power line communication network satisfies the preset condition.
  • the duration of the CSMA time slot is idle for 40 seconds.
  • the state ie, the power line communication network does not need to transmit data during this 40 second period
  • the CCO considers the current CSMA time slot utilization rate of the power line communication network to be 60%.
  • the step of determining whether the power line communication network satisfies the preset condition in step 601 may include:
  • Step 6011a the CCO acquires the target duration.
  • each service type of the power line communication network is preset with a corresponding duration, and the duration corresponding to each service type and the data transmitted in the power line communication network when performing the service of the service type.
  • the quantity is positively correlated.
  • the service type for setting the meter reading and upgrading is larger (for example, 3M, It should be noted that M is an integer greater than or equal to 0, and optionally, the duration is in seconds; when the service type of the power line communication network is network maintenance and networking, less data is transmitted in the power line communication network.
  • setting the network management and network service type corresponds to a smaller duration (such as 2M); when the service type of the power line communication network is collecting data, the data transmitted in the power line communication network is the least, therefore, setting the data collection
  • the service type corresponds to the smallest duration (such as M).
  • the CCO determines the length of time corresponding to the service to be executed according to the service type of the service to be executed, and then uses the time corresponding to the service to be executed as the power line communication network.
  • the current duration of the configured CSMA time slot, and the data is transmitted based on the CSMA time slot of the current duration.
  • the CCO first needs to obtain the current duration currently being used by the CSMA slot of the power line communication network.
  • the CCO can obtain the target service type of the data transmitted in the power line communication network, and query the correspondence between the preset service type and the duration (Table 1). As shown in the figure, the duration corresponding to the target service type is determined, and the duration corresponding to the target service type is taken as the current duration.
  • the CCO can directly detect the current CSMA time slot to determine the current duration of the CSMA time slot.
  • the CCO After obtaining the current duration that the CSMA time slot is currently in use, the CCO needs to obtain at least one networking parameter of the current power line communication network, and adjust the current duration according to the acquired at least one networking parameter, thereby obtaining the target duration.
  • the networking parameters include: the number of PCOs in the power line communication network, the number of STAs in the power line communication network, and the number of network levels of the power line communication network, and the target duration is positively correlated with the sum of at least one networking parameter acquired by the CCO, CCO Also positively related to the current duration.
  • the target duration t2 t1*[f(m)+g(n)]*h(j), where t1 is the current duration, m is the number of PCOs, and f(m) is m PCOs relative to The number of units of network elements, n is the number of STAs, g(n) is the number of conversions of n STAs relative to unit network elements, j is the number of network levels, and h(j) is j network levels relative to unit level The amount of conversion.
  • the unit network element is equivalent to 1 STA and the unit network element is equivalent to 1.2 PCOs
  • the number of network levels of the power line communication network is 10, 10 networks.
  • the target duration of the CSMA time slot currently required by the power line communication network acquired by the CCO is related to the networking parameters of the power line communication network, when the networking structure of the power line communication network changes, the networking parameters of the power line communication network will When the change occurs, the target length of the CCO will also change.
  • Step 6012a The CCO determines whether the absolute value of the difference between the target duration and the current duration of the CSMA slot is greater than a preset absolute threshold.
  • the CCO After determining the target duration, the CCO needs to obtain the absolute value of the difference between the target duration and the current duration, and after obtaining the absolute value of the difference between the target duration and the current duration, determine whether the absolute value of the difference is greater than the preset absolute value. Threshold.
  • the preset absolute value threshold is greater than zero.
  • the power line communication network has a low utilization rate of the CSMA time slot, and the target time length determined by the CCO is less than the current time length.
  • the data to be transmitted in the power line communication network in the CSMA time slot will increase, and the data to be transmitted in the power line communication network cannot complete the data transmission in the current duration of the CSMA time slot.
  • the power line communication The data transmission quality of the network is poor, and the target time determined by the CCO is greater than the current duration.
  • the networking structure of the power line communication network changes greatly, the number of nodes in the power line communication network increases or decreases more, and the amount of data transmitted by the power line communication network based on the CSMA time slot changes greatly.
  • the power line communication The target duration required for the network to transmit data differs greatly from the current duration.
  • the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold.
  • the target time length required for the power line communication network to transmit data is different from the current time length. Small, the absolute value of the difference between the target duration and the current duration is less than or equal to the preset absolute threshold.
  • Step 6013a When the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold, the CCO determines that the power line communication network does not satisfy the preset condition.
  • the CCO determines that the absolute value of the difference from the current duration is greater than the target duration of the preset absolute threshold, it can be determined that the power line communication network does not satisfy the preset condition. That is, the CCO determines that the current data transmission quality of the power line communication network and the power line communication network do not satisfy the utilization of the CSMA time slot: the data transmission quality of the power line communication network is higher than a preset quality threshold, and the power line communication network pairs the CSMA time slot. The utilization of the condition is higher than the preset utilization threshold.
  • the CCO When x is greater than 1, the CCO needs to perform step 6011a and step 6012a multiple times, and after performing step 6012a multiple times, the result of x times of judgment is that the absolute value of the difference between the target duration and the current duration is greater than the preset absolute value.
  • the CCO can determine that the power line communication network does not currently meet the preset conditions. That is, when the absolute value of the difference between the target duration and the current duration obtained by the CCO is greater than the preset absolute threshold, the CCO determines that the current power line communication network is in poor condition, and the power line communication network is determined at this time. The preset conditions are not met.
  • the first counter initially records a value of 0.
  • the CCO controls the first time when the CCO judgment result in the step 6012a is that the absolute value of the difference between the target duration and the current duration is greater than a preset absolute threshold.
  • the value recorded by the counter is incremented by one.
  • the CCO determines that the result of the x times of judgment is that the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold.
  • the CCO determines that the duration of the CSMA slot required for transmitting data of the current power line communication network is different from the current duration. At this time, it is urgent to adjust the duration of the CSMA time slot to improve the data transmission quality of the power line communication network and/or the utilization rate of the CSMA time slot by the power line communication network.
  • the preset condition may be that the number of times that the communication success rate of the power line communication network is less than the preset success rate threshold is less than y, and y is an integer greater than or equal to 1. It should be noted that when the data transmission quality of the power line communication network is higher than the preset quality threshold, the power line communication network satisfies the preset condition.
  • the step of determining whether the power line communication network satisfies the preset condition in step 601 may include:
  • Step 6011b The CCO acquires a communication success rate of the power line communication network.
  • each PCO in the power line communication network determines its own communication success rate according to an acknowledgment (ACK) signal
  • each STA in the power line communication network can also determine its own communication success rate according to the ACK signal.
  • ACK acknowledgment
  • the CCO When determining the current communication success rate of the power line communication network, the CCO needs to first acquire the current communication success rate of each PCO in the power line communication network, and acquire the current communication success rate of each STA in the power line communication network, and then, according to each PCO.
  • the current communication success rate and the current communication success rate of each STA determine the current communication success rate of the power line communication network, and the communication success rate of the power line communication network determined by the CCO and the node with a communication success rate less than 1 in the power line communication network ( There is a negative correlation between the number of PCO and STA.
  • the sum of the PCO and the number of converted STAs of the STA in the power line communication network with respect to the unit network element is 240, and the weight of the PCO is 1.2, the weight of the STA is 1, and 10 of the 240 nodes of the power line communication network exist.
  • the communication success rate of STA is 90%, the communication success rate of 10 PCOs is 85%, and the success rate of other STAs and other PCOs is 100%.
  • the number of nodes in the power line communication network increases, or the intensity of the interference signal in the power line communication network increases, the number of nodes with a communication success rate less than 1 increases in the power line communication network, and the power line communication network determined by the CCO increases.
  • the communication success rate will be reduced, and the data transmission quality of the power line communication network will be degraded.
  • the number of nodes in the power line communication network decreases, or the strength of the interference signal in the power line communication network decreases
  • the number of nodes with a communication success rate less than 1 in the power line communication network decreases, and the communication success rate of the power line communication network determined by the CCO increases.
  • the quality of data transmission in power line communication networks will increase.
  • Step 6012b The CCO determines whether the communication success rate is less than a preset success rate threshold.
  • the CCO After obtaining the current communication success rate of the power line communication network, the CCO needs to compare the current communication success rate of the power line communication network with a preset success rate threshold to determine whether the current communication success rate is less than a preset success rate threshold. That is, the CCO uses the preset success rate threshold as a criterion for judging the communication success rate, and considers that the communication success rate is less than the preset success rate threshold, and the communication success rate is lower than or equal to the preset success rate threshold. The success rate is a higher communication success rate.
  • Step 6013b When the result of the y-time determination is that the communication success rate of the power line communication network is less than the preset success rate threshold, the CCO determines that the power line communication network does not satisfy the preset condition.
  • the CCO When y is equal to 1, that is, the CCO only needs to determine a communication success rate less than the preset success rate threshold, it can be determined that the power line communication network does not satisfy the preset condition. That is, the CCO determines that the current data transmission quality of the power line communication network is not satisfied: the condition that the data transmission quality of the power line communication network is higher than the preset quality threshold.
  • the CCO When y is greater than 1, the CCO needs to perform step 6011b and step 6012b multiple times, and after performing step 6012b multiple times, when the result of y judgments is that the communication success rate of the power line communication network is lower than the preset success rate threshold, The CCO can determine that the power line communication network does not currently meet the preset conditions. That is, when the communication success rate of the power line communication network acquired by the CCO is greater than the preset success rate threshold, the CCO determines that the current power line communication network is in poor condition, and it is determined that the power line communication network does not satisfy the preset. condition.
  • the second counter initially records a value of 0.
  • the CCO controls the second counter record when the CCO judgment result in the step 6012b occurs that the communication success rate of the power line communication network is lower than a preset success rate threshold. Add one to the value.
  • the CCO determines that the result of the occurrence of the y-th determination is that the communication success rate of the power line communication network is greater than the preset success rate threshold.
  • Step 602 The CCO adjusts a current duration of the CSMA time slot configured by the power line communication network to a target duration.
  • step 601 Based on the CCO in step 601, it is determined whether the data transmission quality is lower than the preset quality threshold in a different manner.
  • the CCO can also adjust the duration of the CSMA time slot in different manners.
  • the CCO determines whether the power line communication network satisfies the preset condition by using the first achievable manner in step 601
  • the CCO adjusts the duration of the CSMA time slot configured by the power line communication network to the last determined target in step 602.
  • the duration of the power line communication network after adjusting the duration of the CSMA time slot satisfies a preset condition, that is, the data transmission quality of the power line communication network after adjusting the duration of the CSMA time slot is greater than a preset quality threshold, and the CSMA time slot is adjusted.
  • the utilization of the CSMA time slot by the power line communication network after the duration is greater than the preset utilization threshold.
  • the power line communication network needs to transmit more data based on the CSMA time slot.
  • the CCO needs to adjust the length of the CSMA time slot of the power line communication network to be longer than the current duration.
  • the target duration is to improve the data transmission quality of the power line communication network; when the nodes in the power line communication network are reduced, the power line communication network needs to reduce the data transmitted based on the CSMA time slot.
  • the CCO needs to be the CSMA time of the power line communication network.
  • the duration of the gap is adjusted to a target duration that is less than the current duration to improve the utilization of the CSMA time slot by the power line communication network.
  • the CCO when the second implementation mode is used to determine whether the power line communication network meets the preset condition, the CCO needs to query the preset correspondence between the communication success rate and the duration before the step 602, and determine the latest acquisition.
  • the duration corresponding to the communication success rate is the target duration, and in step 602, the CCO adjusts the duration of the CSMA slot configured by the power line communication network to the duration (ie, the target duration) corresponding to the most recently acquired communication success rate.
  • the CCO adjusts the duration of the CSMA slot configured by the power line communication network to the duration (ie, the target duration) corresponding to the most recently acquired communication success rate.
  • the communication success rate of the power line communication network decreases, and if the CCO can determine that at least y are lower than the preset success rate threshold.
  • the success rate of the communication is determined by the determination in step 601 that the power line communication network does not satisfy the preset condition.
  • the CCO increases the length of the CSMA time slot configured by the power line communication network to improve the data transmission quality of the power line communication network.
  • the CCO adjusts the duration of the CSMA time slot
  • the CSMA time slot is adjusted to the last determined target duration, or the target duration corresponding to the latest acquired communication success rate. Therefore, the target duration of the adjusted CSMA time slot is more consistent with the current transmission data of the power line communication network, so that the power line communication network satisfies the preset condition.
  • Step 603 The CCO controls the power line communication network to transmit data based on the CSMA time slot after adjusting the duration.
  • the CCO can control the power line communication network to transmit data based on the CSMA time slot after the adjustment time length, and the data transmission quality of the power line communication network is high.
  • Step 604 The CCO determines whether the duration of the CSMA time slot reaches a preset duration. If the duration of the CSMA time slot reaches the preset duration, step 605 is performed; if the duration of the CSMA time slot does not reach the preset duration, step 604 is performed.
  • the CCO After adjusting the length of the CSMA slot, the CCO needs to determine whether the duration of the CSMA slot configured by the power line communication network (that is, the target duration) is too long, and the duration of the CSMA slot reaches the preset. When the duration is long, it is determined that the duration of the current CSMA time slot is too long. At this time, since the total duration of data transmission by all power line communication networks is constant, when the duration of the CSMA time slot configured in the current power line communication network is long, other power lines are The length of the CSMA time slot configured by the communication network is short, and the data transmission quality of other power line communication networks is poor. At this time, the length of the CSMA time slot needs to be reduced at an appropriate timing.
  • Step 605 The CCO determines whether the data transmission quality of the power line communication network in the preset time period continues to be higher than a preset quality threshold. If the data transmission quality of the power line communication network is higher than the preset quality threshold in the preset time period, step 606 is performed; if the data transmission quality of the power line communication network in the preset time period does not continuously exceed the preset quality threshold Then, step 605 is performed.
  • the CCO When determining the length of the CSMA time slot of the power line communication network is long, the CCO needs to determine whether the data transmission quality of the power line communication network in the preset time period continuously exceeds the preset quality threshold, that is, the power line communication network is judged for a period of time. The quality of data transmission within continues to be high.
  • the CCO can determine whether the data transmission quality of the power line communication network is high by determining whether the difference between the target duration of the current CSMA time slot and the current duration of the CSMA time slot is less than a preset difference threshold. Preset quality threshold.
  • the CCO may determine that the data transmission quality of the power line communication network is higher than a preset quality threshold; when the current CSMA is used If the difference between the target duration of the slot and the current duration of the CSMA slot is less than or equal to z, the CCO may determine that the data transmission quality of the power line communication network is lower than a preset quality threshold.
  • z is an integer greater than or equal to 1, and the preset difference threshold is a negative number.
  • the CCO may further determine whether the data transmission quality of the power line communication network is higher than a preset quality threshold by determining whether the communication success rate of the power line communication network is less than a preset success rate threshold.
  • the CCO may determine that the data transmission quality of the power line communication network is higher than a preset quality threshold; when the communication success rate of the power line communication network is less than a preset success rate
  • the number of thresholds is greater than or equal to y, and the CCO may determine that the data transmission quality of the power line communication network is lower than a preset quality threshold.
  • Step 606 the CCO reduces the duration of the CSMA time slot.
  • the CCO When it is determined that the current CSMA time slot of the power line communication network has a long duration, and the data transmission quality of the power line communication network continues to be high for a preset period of time, the CCO appropriately reduces the length of the CSMA time slot of the power line communication network, In order to facilitate other power line communication networks, the CSMA time slots of other networks can be increased, and the data transmission quality of other power line communication networks can be improved.
  • Step 607 The CCO controls the power line communication network to transmit data based on the CSMA time slot after decreasing the duration.
  • the CCO can control the power line communication network to transmit data based on the reduced length of the CSMA time slot, and the data transmission quality of other power line communication networks can be improved.
  • the networking structure of the power line communication network changes or the strength of the interference signal in the power line communication network changes, it may be determined that the power line communication network does not satisfy the pre-determination.
  • the condition is that, in this case, the length of the CSMA time slot configured by the power line communication network can be adjusted, so that the power line communication network after adjusting the duration of the CSMA time slot satisfies a preset condition, so that the duration of the CSMA time slot can be adapted to the power line communication.
  • the network changes and can meet the demand for the transmission time of the power line communication network, thus improving the operation of the power line communication network.
  • FIG. 9 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention.
  • the data transmission apparatus is a CCO in FIG. 2.
  • the data transmission apparatus 90 includes:
  • the first determining module 901 is configured to determine whether the power line communication network satisfies a preset condition, and the power line communication network comprises: a central coordinator CCO, at least one agent coordinator PCO, and at least one station STA;
  • the adjusting module 902 is configured to adjust a duration of a carrier sense multiple access CSMA time slot of the power line communication network to a target duration when the power line communication network does not meet the preset condition;
  • the first control module 903 is configured to control the power line communication network to transmit data based on the CSMA time slot after adjusting the duration.
  • the embodiment of the present invention provides a data transmission device.
  • the first determining module can determine the power line after determining.
  • the communication network does not meet the preset condition.
  • the adjustment module can adjust the duration of the CSMA time slot configured by the power line communication network, so that the power line communication network after adjusting the duration of the CSMA time slot satisfies a preset condition, thereby making the CSMA time
  • the duration of the gap can adapt to changes in the power line communication network, and can meet the demand for the transmission time of the power line communication network, thereby improving the operation of the power line communication network.
  • the preset condition includes: the absolute value of the difference between the target duration and the current duration of the CSMA slot is greater than the preset absolute threshold, and the number of times is less than x.
  • the preset absolute value threshold is greater than zero, and x is an integer greater than or equal to 1.
  • the first determining module 901 includes:
  • the first obtaining unit 9011 is configured to acquire a target duration
  • the first determining unit 9012 is configured to determine whether an absolute value of a difference between the target duration and the current duration is greater than a preset absolute threshold
  • the first determining unit 9013 is configured to determine that the power line communication network does not satisfy the preset condition when the result of the x times of determining is that the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold.
  • the first obtaining unit 9011 is further configured to: acquire at least one networking parameter of the power line communication network; adjust the current duration according to the at least one networking parameter to obtain a target duration; wherein the networking parameter includes: the number of PCOs The number of STAs and the number of network levels of the power line communication network, the target duration is positively correlated with the sum of at least one networking parameter of the power line communication network, and the target duration is positively correlated with the current duration.
  • the target duration t2 t1*[f(m)+g(n)]*h(j), where t1 is the current duration, m is the number of PCOs, and f(m) is m PCOs relative to The number of units of network elements, n is the number of STAs, g(n) is the number of conversions of n STAs relative to unit network elements, j is the number of network levels, and h(j) is j network levels relative to unit level The amount of conversion.
  • the adjusting module 902 is further configured to: adjust a duration of the CSMA slot to a target duration that is acquired last time.
  • FIG. 11 is a schematic structural diagram of still another data transmission apparatus according to an embodiment of the present invention. As shown in FIG. 11, the data transmission apparatus further includes:
  • a determining module 904 configured to determine a target service type of data transmitted in the power line communication network
  • the first query module 905 is configured to query the correspondence between the preset service type and the duration, and determine the duration corresponding to the target service type as the current duration.
  • the preset condition includes: a data transmission quality of the power line communication network is lower than a preset quality threshold, and FIG. 12 is a schematic structural diagram of another first determining module according to an embodiment of the present invention, and a communication success rate of the power line communication network.
  • the number of times less than the preset success rate threshold is less than y, and y is an integer greater than or equal to 1.
  • the first determining module 901 includes:
  • a second obtaining unit 9014 configured to acquire a communication success rate of the power line communication network, where the communication success rate is used to reflect the data transmission quality
  • the second determining unit 9015 is configured to determine whether a communication success rate of the power line communication network is less than a preset success rate threshold
  • the second determining unit 9016 is configured to determine that the power line communication network does not satisfy the preset condition when the communication success rate of the power line communication network is less than the preset success rate threshold, and y is an integer greater than or equal to 1 .
  • the power line communication network includes multiple nodes, the multiple nodes include a PCO and a STA, and the second obtaining unit 9014 is further configured to: obtain a communication success rate of each PCO in the power line communication network; acquire each STA in the power line communication network. Communication success rate; determining the communication success rate of the power line communication network according to the communication success rate of each PCO and the communication success rate of each STA, the communication success rate of the power line communication network and the node with a communication success rate less than 1 in the power line communication network The number is negatively correlated.
  • FIG. 13 is a schematic structural diagram of still another data transmission apparatus according to an embodiment of the present invention.
  • a communication success rate is negatively correlated with a duration corresponding to the communication success rate, as shown in FIG.
  • the data transmission device 90 further includes:
  • the second query module 906 is configured to query a preset correspondence between the communication success rate and the duration, and determine the duration corresponding to the latest obtained communication success rate as the target duration.
  • FIG. 14 is a schematic structural diagram of a data transmission apparatus according to another embodiment of the present invention. As shown in FIG. 14, on the basis of FIG. 9, the data transmission apparatus 90 further includes:
  • the second determining module 907 is configured to determine whether the duration of the CSMA time slot reaches a preset duration
  • the third determining module 908 is configured to determine, when the duration of the CSMA time slot reaches a preset duration, whether the data transmission quality of the power line communication network continues to be higher than a preset quality threshold in the preset time period;
  • a reducing module 909 configured to reduce a duration of the CSMA time slot when the data transmission quality of the power line communication network continues to be higher than a preset quality threshold in a preset time period;
  • the second control module 910 is configured to control the power line communication network to transmit data based on the reduced length of the CSMA time slot.
  • the embodiment of the present invention provides a data transmission device.
  • the first determining module can determine the power line after determining.
  • the communication network does not meet the preset condition.
  • the adjustment module can adjust the duration of the CSMA time slot configured by the power line communication network, so that the power line communication network after adjusting the duration of the CSMA time slot satisfies a preset condition, thereby making the CSMA time
  • the duration of the gap can adapt to changes in the power line communication network, and can meet the demand for the transmission time of the power line communication network, thereby improving the operation of the power line communication network.
  • the above embodiments it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product comprising one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data
  • the center transmits to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium can be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium (eg, a solid state hard disk) or the like.
  • the data transmission device provided by the foregoing embodiment performs the foregoing data transmission method, only the division of each functional module described above is illustrated. In an actual application, the foregoing function may be allocated by different functional modules according to requirements. Completion, that is, dividing the internal structure of the data transmission device into different functional modules to complete all or part of the functions described above.
  • the data transmission apparatus and the data transmission method embodiment provided by the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present application relates to the technical field of communications. Disclosed are a data transmission method and apparatus, a power line communication network, and a power system. The method comprises: determining whether a power line communication network satisfies a preset condition, the power line communication network comprising a central coordinator (CCO), at least one proxy coordinator (PCO) and at least one station (STA); when the power line communication network does not satisfy the preset condition, adjusting the time length of a carrier sense multiple access (CSMA) timeslot of the power line communication network to a target time length; and controlling the power line communication network to transmit data according to the adjusted CSMA timeslot. The present application resolves the problem of the poor operation condition of a PLC network, and improves the operation condition of the power line communication network. The present application is used for data transmission.

Description

数据传输方法及装置、电力线通信网络、电力***Data transmission method and device, power line communication network, power system
本申请要求于2017年4月10日提交中国国家知识产权局、申请号为201710229808.0、申请名称为“数据传输方法及装置、电力线通信网络、电力***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application submitted by the State Intellectual Property Office of China, application number 201710229808.0, and the application name "data transmission method and device, power line communication network, power system" on April 10, 2017. This is incorporated herein by reference.
技术领域Technical field
本申请涉及通信技术领域,特别涉及一种数据传输方法及装置、电力线通信网络、电力***。The present application relates to the field of communications technologies, and in particular, to a data transmission method and apparatus, a power line communication network, and a power system.
背景技术Background technique
电力***包括供电商的管理服务器、多个电力线通信(Power Line Communication,PLC)网络和每家每户安装的电表,供电商的管理服务器能够通过PLC网络与电表相连接,进而采集每个电表上的用电信息。The power system includes a power supplier's management server, multiple Power Line Communication (PLC) networks, and an electric meter installed in each household. The power supplier's management server can connect to the meter through the PLC network, and then collect each meter. Electricity information.
相关技术中,每个PLC网络由多个节点组成,该多个节点包括一个中央协调器(Central Coordinator,CCO)、多个级联的代理协调器(Proxy Coordinator,PCO)和多个站点(Station,STA)。其中,管理服务器与CCO相连接,CCO与多个级联的PCO相连接,多个级联的PCO中离CCO最远一级PCO中的每个PCO与至少一个STA相连接。其中,该至少一个STA中的每个STA与至少一个电表相连接;或者,至少一个STA中的一部分STA为电表,另一部分STA中的每个STA与至少一个电表相连接。每个PLC网络配置有一个信标周期,且电力***中的任意两个PLC网络配置的信标周期不同;每个PLC网络配置的信标周期包括:信标时隙和载波侦听多路访问(Carrier Sense Multiple Access,CSMA)时隙,每个PLC网络中的节点能够基于该PLC网络配置的CSMA时隙进行数据的传输。In the related art, each PLC network is composed of a plurality of nodes including a central coordinator (CCO), a plurality of cascaded proxy coordinators (PCOs), and a plurality of stations (Station). , STA). The management server is connected to the CCO, and the CCO is connected to the plurality of cascaded PCOs, and each of the plurality of cascaded PCOs is connected to the at least one STA from the PCO of the CCO farthest level. Each of the at least one STA is connected to the at least one electric meter; or, a part of the STAs of the at least one STA is an electric meter, and each of the other STAs is connected to the at least one electric meter. Each PLC network is configured with one beacon period, and the beacon period of any two PLC network configurations in the power system is different; the beacon period configured for each PLC network includes: beacon slot and carrier sense multiple access (Carrier Sense Multiple Access, CSMA) time slots, in which nodes in each PLC network can transmit data based on CSMA time slots configured by the PLC network.
若PLC网络的组网结构发生变化或PLC网络中的干扰信号强度发生变化,则PLC网络传输数据所需的时长也会发生改变,但是相关技术中PLC网络配置的CSMA时隙无法改变,因此,PLC网络配置的CSMA时隙无法适应变化的PLC网络,PLC网络的运营情况较差。If the networking structure of the PLC network changes or the intensity of the interference signal in the PLC network changes, the length of time required for the PLC network to transmit data will also change, but the CSMA time slot of the PLC network configuration in the related art cannot be changed, therefore, The CSMA time slot of the PLC network configuration cannot adapt to the changing PLC network, and the operation of the PLC network is poor.
发明内容Summary of the invention
为了解决PLC网络中的数据传输质量较低,数据传输效率较低的问题,本申请提供了一种数据传输方法及装置、电力线通信网络、电力***。所述技术方案如下:In order to solve the problem of low data transmission quality and low data transmission efficiency in the PLC network, the present application provides a data transmission method and device, a power line communication network, and a power system. The technical solution is as follows:
第一方面,提供了一种数据传输方法,所述方法包括:判断电力线通信网络是否满足预设条件,所述电力线通信网络包括:中央协调器CCO、至少一个代理协调器PCO和至少一个站点STA;在所述电力线通信网络不满足所述预设条件时,将所述电力线通信网络的载波侦听多路访问CSMA时隙的时长调整为目标时长;控制所述电力线通信网络基于调整时长后的所述CSMA时隙传输数据。In a first aspect, a data transmission method is provided, the method comprising: determining whether a power line communication network satisfies a preset condition, the power line communication network comprising: a central coordinator CCO, at least one agent coordinator PCO, and at least one station STA Adjusting a duration of a carrier sense multiple access CSMA time slot of the power line communication network to a target duration when the power line communication network does not satisfy the preset condition; and controlling the power line communication network based on the adjustment duration The CSMA time slot transmits data.
当电力线通信网络的组网结构发生变化或电力线通信网络中的干扰信号的强度发生变化时,经过判断可以确定电力线通信网络不满足预设条件,此时,可以对电力线通信网络 配置的CSMA时隙的时长进行调整,以使得调整CSMA时隙的时长后的电力线通信网络满足预设条件,从而使得CSMA时隙的时长能够适应电力线通信网络的变化,且能够满足电力线通信网络传输数据的时长的需求,因此,提高了电力线通信网络的运营情况。When the networking structure of the power line communication network changes or the strength of the interference signal in the power line communication network changes, it may be determined that the power line communication network does not satisfy the preset condition, and at this time, the CSMA time slot that can be configured for the power line communication network The duration of the adjustment is adjusted so that the power line communication network after adjusting the duration of the CSMA time slot satisfies a preset condition, so that the duration of the CSMA time slot can adapt to the change of the power line communication network, and can meet the requirement of the duration of the data transmission of the power line communication network. Therefore, the operation of the power line communication network is improved.
可选的,所述预设条件包括:所述目标时长与所述CSMA时隙的当前时长的差值的绝对值大于预设绝对值阈值的次数小于x,所述预设绝对值阈值大于零,所述x为大于或等于1的整数,所述判断电力线通信网络是否满足预设条件,包括:获取所述目标时长;判断所述目标时长与所述当前时长的差值的绝对值是否大于所述预设绝对值阈值;在出现x次判断的结果为目标时长与所述当前时长的差值的绝对值大于所述预设绝对值阈值时,确定所述电力线通信网络不满足所述预设条件。Optionally, the preset condition includes: the absolute value of the difference between the target duration and the current duration of the CSMA slot is greater than a preset absolute threshold, and the preset absolute threshold is greater than zero. The x is an integer greater than or equal to 1. The determining whether the power line communication network satisfies the preset condition includes: acquiring the target duration; determining whether the absolute value of the difference between the target duration and the current duration is greater than Determining the absolute value threshold; determining that the power line communication network does not satisfy the pre-determination when the result of the x-th determination is that the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold Set conditions.
本申请中在出现x次判断的结果为目标时长与所述当前时长的差值的绝对值大于所述预设绝对值阈值时,确定当前的电力线通信网络传输数据所需的CSMA时隙的时长(也即目标时长)与当前时长相差较多,此时急需对CSMA时隙的时长进行调整,以提高电力线通信网络的数据传输质量和/或电力线通信网络对CSMA时隙的利用率。In the present application, when the result of the x times of judgment is that the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold, the duration of the CSMA slot required for the current power line communication network to transmit data is determined. (that is, the target duration) is much different from the current duration. At this time, it is urgent to adjust the duration of the CSMA slot to improve the data transmission quality of the power line communication network and/or the utilization of the CSMA slot by the power line communication network.
可选的,所述获取所述目标时长,包括:获取所述电力线通信网络的至少一个组网参数;根据所述至少一个组网参数对所述当前时长进行调节,得到所述目标时长;其中,所述组网参数包括:所述PCO的数量、所述STA的数量和所述电力线通信网络的网络层级的数量,所述目标时长与所述电力线通信网络的至少一个组网参数的和正相关,所述目标时长与所述当前时长正相关。Optionally, the acquiring the target duration includes: acquiring at least one networking parameter of the power line communication network; adjusting the current duration according to the at least one networking parameter to obtain the target duration; The networking parameter includes: the number of the PCOs, the number of the STAs, and the number of network levels of the power line communication network, the target duration being positively correlated with the sum of at least one networking parameter of the power line communication network The target duration is positively correlated with the current duration.
当电力线通信网络中的节点减少时,电力线通信网络在CSMA时隙中需要传输的数据会减少,电力线通信网络所需传输的数据在CSMA时隙的当前时长内的一部分时间段内就可以传输完成,此时,电力线通信网络对CSMA时隙的利用率较低,电力线通信网络所需的目标时长小于当前时长。当电力线通信网络中节点增多时,电力线通信网络在CSMA时隙中需要传输的数据会增多,电力线通信网络所需传输的数据在CSMA时隙的当前时长内无法传输完成,此时,电力线通信网络的数据传输质量较差,电力线通信网络所需的目标时长大于当前时长。因此,CCO可以根据电力线通信网络的组网参数对当前时长进行调整,能够得到电力线通信网络当前所需的CSMA时隙的目标时长。When the nodes in the power line communication network decrease, the data to be transmitted in the power line communication network in the CSMA time slot is reduced, and the data to be transmitted in the power line communication network can be transmitted in a part of the current time period of the CSMA time slot. At this time, the utilization rate of the CSMA time slot by the power line communication network is low, and the target duration required for the power line communication network is less than the current duration. When the number of nodes in the power line communication network increases, the data to be transmitted in the power line communication network in the CSMA time slot increases, and the data to be transmitted in the power line communication network cannot be transmitted within the current duration of the CSMA time slot. At this time, the power line communication network The data transmission quality is poor, and the target duration required for the power line communication network is greater than the current duration. Therefore, the CCO can adjust the current duration according to the networking parameters of the power line communication network, and can obtain the target duration of the CSMA time slot currently required by the power line communication network.
可选的,所述目标时长t2=t1*[f(m)+g(n)]*h(j),其中,所述t1为所述当前时长,所述m为所述PCO的数量,所述f(m)为m个所述PCO相对于单位网元的折算数量,所述n为所述STA的数量,所述g(n)为n个所述STA相对于所述单位网元的折算数量,所述j为所述网络层级的数量,所述h(j)为j个所述网络层级相对于单位层级的折算数量。Optionally, the target duration t2=t1*[f(m)+g(n)]*h(j), wherein the t1 is the current duration, and the m is the quantity of the PCO, The f(m) is a converted quantity of m pieces of the PCO with respect to a unit network element, where n is the number of the STAs, and the g(n) is n pieces of the STAs relative to the unit network element The number of conversions, the j is the number of the network levels, and the h(j) is the number of conversions of the j network levels relative to the unit level.
可选的,所述将所述电力线通信网络的载波侦听多路访问CSMA时隙的时长调整为目标时长,包括:将所述CSMA时隙的时长调整为最近一次获取到的目标时长。由于最近一次获取到的目标时长更加符合当前场景下电力线通信网络传输数据所需的CSMA时隙的时长,所以将CSMA时隙的时长调整为最近一次获取到的目标时长更加符合电力线通信网络当前传输数据的需求,使得电力线通信网络满足预设条件。Optionally, the adjusting the duration of the carrier sense multiple access CSMA time slot of the power line communication network to the target duration includes: adjusting the duration of the CSMA time slot to the last acquired target duration. Since the last acquired target duration is more in line with the length of the CSMA slot required for the power line communication network to transmit data in the current scenario, adjusting the duration of the CSMA slot to the last acquired target duration is more consistent with the current transmission of the power line communication network. The demand for data enables the power line communication network to meet predetermined conditions.
可选的,在所述判断所述目标时长与当前时长的差值的绝对值是否大于所述预设绝对值阈值之前,所述方法还包括:确定所述电力线通信网络中传输的数据的目标业务类型;查询预设的业务类型与时长的对应关系,确定所述目标业务类型对应的时长为所述当前时长。Optionally, before the determining whether the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold, the method further includes: determining a target of the data transmitted in the power line communication network. The service type is configured to query the corresponding relationship between the preset service type and the duration, and determine the duration corresponding to the target service type as the current duration.
设置不同的业务类型对应不同的当前时长,且每个业务类型对应的当前时长与电力线通信网络在执行该业务类型的业务时电力线通信网络中传输数据的量正相关,从而尽可能的保证在电力线通信网络执行每个业务时均能够尽量的满足预设条件,尽量保证电力线通信网络配置的CSMA时隙的时长尽可能的与电力线通信网络传输数据所需的时长相匹配。Setting different service types corresponding to different current durations, and the current duration corresponding to each service type is positively correlated with the amount of data transmitted in the power line communication network when the power line communication network performs the service of the service type, thereby ensuring the power line as much as possible. The communication network can satisfy the preset conditions as much as possible when performing each service, and try to ensure that the length of the CSMA time slot configured by the power line communication network matches the time required for the power line communication network to transmit data as much as possible.
可选的,所述预设条件包括:所述电力线通信网络的通信成功率小于预设成功率阈值的次数小于y,所述y为大于或等于1的整数,所述判断电力线通信网络是否满足预设条件,包括:获取所述电力线通信网络的通信成功率;判断所述电力线通信网络的通信成功率是否小于所述预设成功率阈值;在出现y次判断的结果为所述电力线通信网络的通信成功率小于所述预设成功率阈值时,确定所述电力线通信网络的不满足所述预设条件。Optionally, the preset condition includes: the communication success rate of the power line communication network is less than a preset success rate threshold, the number of times is less than y, the y is an integer greater than or equal to 1, and determining whether the power line communication network is satisfied The preset condition includes: obtaining a communication success rate of the power line communication network; determining whether a communication success rate of the power line communication network is less than the preset success rate threshold; and the result of the y determination is the power line communication network When the communication success rate is less than the preset success rate threshold, it is determined that the power line communication network does not satisfy the preset condition.
本申请中在出现y次判断的结果为电力线通信网络的通信成功率低于预设成功率阈值时,确定当前的电力线通信网络传输数据所需的CSMA时隙的时长与当前时长相差较多,此时急需对CSMA时隙的时长进行调整,以提高电力线通信网络的数据传输质量。In the present application, when the result of the y-th determination is that the communication success rate of the power line communication network is lower than the preset success rate threshold, the length of the CSMA time slot required to determine the current power line communication network transmission data is significantly different from the current duration. At this time, it is urgent to adjust the duration of the CSMA time slot to improve the data transmission quality of the power line communication network.
可选的,所述电力线通信网络包括多个节点,所述多个节点包括所述PCO和所述STA,所述获取所述电力线通信网络的通信成功率,包括:获取所述电力线通信网络中每个所述PCO的通信成功率;获取所述电力线通信网络中每个所述STA的通信成功率;根据每个所述PCO的通信成功率以及每个所述STA的通信成功率,确定所述电力线通信网络的通信成功率,所述电力线通信网络的通信成功率与所述电力线通信网络中通信成功率小于1的节点个数负相关。也即是,电力线通信网络中通信成功率小于1的节点越多,则电力线通信网络的通信成功率越低;电力线通信网络中通信成功率小于1的节点越少,则电力线通信网络的通信成功率越高。Optionally, the power line communication network includes multiple nodes, where the multiple nodes include the PCO and the STA, and the obtaining a communication success rate of the power line communication network includes: acquiring the power line communication network a communication success rate of each of the PCOs; acquiring a communication success rate of each of the STAs in the power line communication network; determining a communication success rate of each of the PCOs and a communication success rate of each of the STAs The communication success rate of the power line communication network, the communication success rate of the power line communication network is negatively correlated with the number of nodes in the power line communication network whose communication success rate is less than 1. That is, the more nodes having a communication success rate less than 1 in the power line communication network, the lower the communication success rate of the power line communication network; the fewer the nodes having the communication success rate less than 1 in the power line communication network, the communication success of the power line communication network is successful. The higher the rate.
可选的,预设的通信成功率与时长的对应关系中,通信成功率与所述通信成功率对应的时长负相关,在所述将所述电力线通信网络的载波侦听多路访问CSMA时隙的时长调整为目标时长之前,所述方法还包括:查询预设的通信成功率与时长的对应关系,确定最近一次获取到的通信成功率对应的时长为所述目标时长。由于最近一次获取到的通信成功率对应的时长更加符合当前场景下电力线通信网络传输数据所需的CSMA时隙的时长,所以将CSMA时隙的时长调整为最近一次获取到的通信成功率对应的时长更加符合电力线通信网络当前传输数据的需求,使得电力线通信网络满足预设条件。Optionally, in the correspondence between the preset communication success rate and the duration, the communication success rate is negatively correlated with the duration corresponding to the communication success rate, when the carrier sense multiple access CSMA of the power line communication network is used. Before the time length of the slot is adjusted to the target duration, the method further includes: querying a correspondence between the preset communication success rate and the duration, and determining that the duration corresponding to the latest acquired communication success rate is the target duration. The length of the CSMA time slot is adjusted to the latest acquired communication success rate, because the time length corresponding to the recently obtained communication success rate is more consistent with the length of the CSMA time slot required for the power line communication network to transmit data in the current scenario. The duration is more in line with the current transmission data requirements of the power line communication network, so that the power line communication network meets the preset conditions.
可选的,在所述将所述电力线通信网络的载波侦听多路访问CSMA时隙的时长调整为目标时长之后,所述方法还包括:判断所述CSMA时隙的时长是否达到预设时长;在所述CSMA时隙的时长达到所述预设时长时,判断所述电力线通信网络在预设时间段内的数据传输质量是否持续高于预设质量阈值;在所述电力线通信网络在所述预设时间段内的数据传输质量持续高于所述预设质量阈值时,减小所述CSMA时隙的时长;控制所述电力线通信网络基于减小时长后的所述CSMA时隙传输数据。Optionally, after the adjusting the duration of the carrier sense multiple access CSMA time slot of the power line communication network to the target duration, the method further includes: determining whether the duration of the CSMA time slot reaches a preset duration And determining, when the duration of the CSMA time slot reaches the preset duration, whether the data transmission quality of the power line communication network in a preset time period continues to be higher than a preset quality threshold; wherein the power line communication network is in the Decrease the duration of the CSMA time slot when the data transmission quality in the preset time period is continuously higher than the preset quality threshold; and control the power line communication network to transmit data based on the CSMA time slot after decreasing the duration .
CCO在调整CSMA时隙的时长后,还需要实时的(或者周期性的)判断电力线通信网络配置的CSMA时隙的时长是否过长,在CSMA时隙的时长达到预设时长时,确定当前CSMA时隙的时长过长,此时,由于所有的电力线通信网络传输数据的总时长不变,因此,在当前电力线通信网络配置的CSMA时隙的时长较长时,其他电力线通信网络配置的CSMA时隙的时长较短,其他电力线通信网络的数据传输质量较差,此时需要在适当的时机减小CSMA时隙的时长。在确定电力线通信网络当前的CSMA时隙的时长较长,且电力 线通信网络在预设时间段内的数据传输质量持续较高时,CCO就适当的减小电力线通信网络的CSMA时隙的时长,以便于其他电力线通信网络能够增大其他网络的CSMA时隙,提升其他电力线通信网络的数据传输质量。After adjusting the length of the CSMA time slot, the CCO needs to determine whether the length of the CSMA time slot configured by the power line communication network is too long, and determine the current CSMA when the duration of the CSMA time slot reaches a preset duration. The duration of the time slot is too long. At this time, since the total duration of data transmission by all power line communication networks is constant, when the duration of the CSMA time slot configured in the current power line communication network is long, the CSMA time of other power line communication networks is configured. The duration of the gap is short, and the data transmission quality of other power line communication networks is poor. At this time, it is necessary to reduce the length of the CSMA time slot at an appropriate timing. When it is determined that the current CSMA time slot of the power line communication network has a long duration, and the data transmission quality of the power line communication network continues to be high for a preset period of time, the CCO appropriately reduces the length of the CSMA time slot of the power line communication network, In order to facilitate other power line communication networks, the CSMA time slots of other networks can be increased, and the data transmission quality of other power line communication networks can be improved.
第二方面,提供了一种数据传输装置,所述数据传输装置包括至少一个模块,所述至少一个模块用于实现上述第一方面或第二方面所述的数据传输方法。In a second aspect, a data transmission apparatus is provided, the data transmission apparatus comprising at least one module, the at least one module for implementing the data transmission method of the first aspect or the second aspect.
第三方面,提供了一种数据传输装置,所述数据传输装置包括:至少一个处理器、至少一个网络接口、存储器以及至少一个总线,存储器与网络接口分别通过总线与处理器相连;处理器被配置为执行存储器中存储的指令;处理器通过执行指令来实现上述第一方面或第二方面所述的数据传输方法。In a third aspect, a data transmission apparatus is provided, the data transmission apparatus comprising: at least one processor, at least one network interface, a memory, and at least one bus, wherein the memory and the network interface are respectively connected to the processor through a bus; the processor is The instructions are configured to execute the instructions stored in the memory; the processor implements the data transmission method of the first aspect or the second aspect by executing the instructions.
第四方面,提供了一种电力线通信网络,所述电力线通信网络包括:中央协调器CCO、至少一个代理协调器PCO和至少一个站点STA,所述CCO为:第三方面或第四方面所述的数据传输装置。In a fourth aspect, a power line communication network is provided, the power line communication network comprising: a central coordinator CCO, at least one agent coordinator PCO, and at least one station STA, the CCO being: the third aspect or the fourth aspect Data transmission device.
第五方面,提供了一种电力***,所述电力***包括第五方面所述的电力线通信网络。In a fifth aspect, a power system is provided, the power system comprising the power line communication network of the fifth aspect.
第六方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述计算机可读存储介质在计算机上运行时,使得计算机执行第一方面或第二方面所述的方法。In a sixth aspect, a computer readable storage medium is provided, the computer readable storage medium storing instructions for causing a computer to perform the first aspect or the second aspect when the computer readable storage medium is run on a computer Said method.
第七方面,提供了一种包含指令的计算机程序产品,当所述计算机程序产品在计算机上运行时,使得计算机执行第一方面或第二方面所述的方法。In a seventh aspect, a computer program product comprising instructions for causing a computer to perform the method of the first aspect or the second aspect when the computer program product is run on a computer.
本申请提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the present application are:
当电力线通信网络的组网结构发生变化或电力线通信网络中的干扰信号的强度发生变化时,经过判断可以确定电力线通信网络不满足预设条件,此时,可以对电力线通信网络配置的CSMA时隙的时长进行调整,以使得调整CSMA时隙的时长后的电力线通信网络满足预设条件,从而使得CSMA时隙的时长能够适应电力线通信网络的变化,且能够满足电力线通信网络传输数据的时长的需求,因此,提高了电力线通信网络的运营情况。When the networking structure of the power line communication network changes or the strength of the interference signal in the power line communication network changes, it may be determined that the power line communication network does not satisfy the preset condition, and at this time, the CSMA time slot that can be configured for the power line communication network The duration of the adjustment is adjusted so that the power line communication network after adjusting the duration of the CSMA time slot satisfies a preset condition, so that the duration of the CSMA time slot can adapt to the change of the power line communication network, and can meet the requirement of the duration of the data transmission of the power line communication network. Therefore, the operation of the power line communication network is improved.
附图说明DRAWINGS
图1为本发明实施例提供的一种电力***的结构示意图;1 is a schematic structural diagram of a power system according to an embodiment of the present invention;
图2为本发明实施例提供的一种PLC网络的结构示意图;2 is a schematic structural diagram of a PLC network according to an embodiment of the present invention;
图3为本发明实施例提供的一种信标周期的示意图;3 is a schematic diagram of a beacon period according to an embodiment of the present invention;
图4为本发明实施例提供的一种信标周期的结构示意图;4 is a schematic structural diagram of a beacon period according to an embodiment of the present invention;
图5为本发明实施例提供的一种数据传输装置的结构示意图;FIG. 5 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present disclosure;
图6为本发明实施例提供的一种数据传输方法的方法流程图;FIG. 6 is a flowchart of a method for data transmission according to an embodiment of the present invention;
图7为本发明实施例提供的一种判断电力线通信网络是否满足预设条件的示意图;FIG. 7 is a schematic diagram of determining whether a power line communication network satisfies a preset condition according to an embodiment of the present invention;
图8为本发明实施例提供的另一种判断电力线通信网络是否满足预设条件的示意图;FIG. 8 is a schematic diagram of another method for determining whether a power line communication network satisfies a preset condition according to an embodiment of the present disclosure;
图9为本发明实施例提供的另一种数据传输装置的结构示意图;FIG. 9 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present disclosure;
图10为本发明实施例提供的一种第一判断模块的结构示意图;FIG. 10 is a schematic structural diagram of a first determining module according to an embodiment of the present disclosure;
图11为本发明实施例提供的又一种数据传输装置的结构示意图;FIG. 11 is a schematic structural diagram of still another data transmission apparatus according to an embodiment of the present disclosure;
图12为本发明实施例提供的另一种第一判断模块的结构示意图;FIG. 12 is a schematic structural diagram of another first determining module according to an embodiment of the present disclosure;
图13为本发明实施例提供的再一种数据传输装置的结构示意图;FIG. 13 is a schematic structural diagram of still another data transmission apparatus according to an embodiment of the present disclosure;
图14为本发明实施例另一实施例提供的一种数据传输装置的结构示意图。FIG. 14 is a schematic structural diagram of a data transmission apparatus according to another embodiment of the present disclosure.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objects, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
图1为本发明实施例提供的一种电力***的结构示意图,如图1所示,电力***0包括供电商的管理服务器01、多个PLC网络02和每家每户安装的电表03,供电商的管理服务器01能够通过PLC网络02与电表03相连接,进而采集每个电表03上的用电信息。1 is a schematic structural diagram of a power system according to an embodiment of the present invention. As shown in FIG. 1 , the power system 0 includes a management server 01 of a power supplier, a plurality of PLC networks 02, and an electric meter 03 installed in each household. The management server 01 of the quotient can be connected to the electric meter 03 through the PLC network 02, thereby collecting the electric power information on each electric meter 03.
图2为本发明实施例提供的一种PLC网络的结构示意图,如图2所示,每个PLC网络02由多个节点组成,该多个节点包括一个CCO 021、多个级联的PCO 022和多个STA 023。其中,图1中的管理服务器与图2中的CCO 021相连接,CCO 021与多个级联的PCO 022相连接,多个级联的PCO 022中离CCO 021最远一级的PCO 022中的每个PCO 022与至少一个STA 023相连接。可选的,每个STA 023与至少一个图1中的电表相连接(如通过标准RS-485线与电表连接);或者,一部分STA为电表,另一部分STA中的每个STA与至少一个电表相连接。该PLC网络为多层级结构的网络,CCO 021所在的层为第0层,沿远离CCO的方向分别为第1层、第2层、.....第n层,第n层的设备包括STA。FIG. 2 is a schematic structural diagram of a PLC network according to an embodiment of the present invention. As shown in FIG. 2, each PLC network 02 is composed of multiple nodes, and the multiple nodes include one CCO 021 and multiple cascaded PCOs 022. And multiple STAs 023. The management server in FIG. 1 is connected to the CCO 021 in FIG. 2, and the CCO 021 is connected to the plurality of cascaded PCOs 022. Among the plurality of cascaded PCOs 022, the PCO 022 is the farthest from the CCO 021. Each PCO 022 is connected to at least one STA 023. Optionally, each STA 023 is connected to at least one of the electric meters in FIG. 1 (eg, connected to the electric meter through a standard RS-485 line); or, one part of the STA is an electric meter, and each of the STAs of the other part of the STA and at least one electric meter Connected. The PLC network is a multi-layered network, and the layer where the CCO 021 is located is the 0th layer, and the first layer, the second layer, and the nth layer are respectively located away from the CCO, and the device of the nth layer includes STA.
电力***中的每个PLC网络配置有一个信标周期,且电力***中的任意两个PLC网络配置的信标周期不同。图3为本发明实施例提供的一种信标周期的示意图,如图3所示,PLC网络A配置的信标周期Q1与PLC网络B配置的信标周期Q2不同,也即在时域上不重叠。图4为本发明实施例提供的一种信标周期的结构示意图,如图4所示,每个PLC网络配置的信标周期Q包括:信标时隙P1和载波侦听多路访问(Carrier Sense MultipleAccess,CSMA)时隙P2,每个PLC网络中的节点在该PLC网络配置的CSMA时隙P2内进行数据的传输。Each PLC network in the power system is configured with one beacon period, and the beacon periods of any two PLC network configurations in the power system are different. FIG. 3 is a schematic diagram of a beacon period according to an embodiment of the present invention. As shown in FIG. 3, the beacon period Q1 configured by the PLC network A is different from the beacon period Q2 configured by the PLC network B, that is, in the time domain. Do not overlap. FIG. 4 is a schematic structural diagram of a beacon period according to an embodiment of the present invention. As shown in FIG. 4, a beacon period Q configured for each PLC network includes: a beacon slot P1 and a carrier sense multiple access (carrier) Sense Multiple Access, CSMA) Time slot P2, in which nodes in each PLC network transmit data within the CSMA time slot P2 of the PLC network configuration.
图5为本发明实施例提供的一种数据传输装置的结构示意图,该数据传输装置为图2中的CCO 021,如图5所示,该数据传输装置包括:至少一个处理器0211(例如中央处理器),至少一个网络接口0212,存储器0213,和至少一个总线0214,用于实现这些装置之间的连接通信,存储器0213与网络接口0212分别通过总线0214与处理器0211相连。处理器0211用于执行存储器0213中存储的可执行模块,例如计算机程序。存储器0213可能包含高速随机存取存储器(RandomAccess Memory,RAM),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个网络接口0212(有线或者无线)实现该数据传输装置与至少一个其他网元之间的通信连接,使用互联网,广域网,本地网,城域网等。在一些实施方式中,存储器0213存储了程序V,程序V能够被处理器0211执行。FIG. 5 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention. The data transmission apparatus is a CCO 021 in FIG. 2. As shown in FIG. 5, the data transmission apparatus includes: at least one processor 0211 (for example, a central unit) The processor), the at least one network interface 0212, the memory 0213, and the at least one bus 0214 are used to implement connection communication between the devices, and the memory 0213 and the network interface 0212 are respectively connected to the processor 0211 via the bus 0214. The processor 0211 is configured to execute an executable module, such as a computer program, stored in the memory 0213. The memory 0213 may include a high speed random access memory (RAM), and may also include a non-volatile memory such as at least one disk memory. The communication connection between the data transmission device and at least one other network element is implemented by at least one network interface 0212 (wired or wireless), using an Internet, a wide area network, a local network, a metropolitan area network, and the like. In some embodiments, the memory 0213 stores the program V, which can be executed by the processor 0211.
图6为本发明实施例提供的一种数据传输方法的方法流程图,该数据传输方法用于图2中的CCO,该数据传输方法能够被图5中的处理器0211执行程序V来实现,如图6所示,该数据传输方法包括:FIG. 6 is a flowchart of a method for data transmission according to an embodiment of the present invention. The data transmission method is used for the CCO in FIG. 2, and the data transmission method can be implemented by executing the program V by the processor 0211 in FIG. As shown in FIG. 6, the data transmission method includes:
步骤601、CCO判断电力线通信网络是否满足预设条件。若CCO确定电力线通信网络满足预设条件,则执行步骤601;若CCO确定电力线通信网络不满足预设条件,则执行步骤602。Step 601: The CCO determines whether the power line communication network satisfies a preset condition. If the CCO determines that the power line communication network meets the preset condition, step 601 is performed; if the CCO determines that the power line communication network does not satisfy the preset condition, step 602 is performed.
需要说明的是,本发明实施例中的预设条件可以多种多样,基于不同的预设条件,CCO判断电力线通信网络是否满足预设条件的方式也不同,本发明实施例将对CCO判断电力线通信网络是否满足预设条件的两种可实现方式进行讲解。It should be noted that the preset conditions in the embodiment of the present invention may be various. According to different preset conditions, the method for determining whether the power line communication network satisfies the preset condition is different according to different preset conditions, and the embodiment of the present invention determines the power line for the CCO. Whether the communication network satisfies the preset conditions can be explained in two ways.
在第一种可实现方式中,预设条件可以为:目标时长与当前时长的差值的绝对值大于预设绝对值阈值的次数小于x,其中,预设绝对值阈值大于零,x为大于或等于1的整数。需要说明的是,当电力线通信网络的数据传输质量高于预设质量阈值,且电力线通信网络对CSMA时隙的利用率高于预设利用率时,电力线通信网络满足预设条件。可选的,若电力线通信网络当前的CSMA时隙为100秒,且电力线通信网络在执行当前业务所需传输的数据能够在60秒内传输完毕,则CSMA时隙中存在40秒的时长处于空闲的状态(也即在这40秒的时长内电力线通信网络并不需要传输数据),则CCO认为电力线通信网络当前的CSMA时隙的利用率为60%。In the first implementation manner, the preset condition may be: the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold, and the number of times is less than x, wherein the preset absolute threshold is greater than zero, and x is greater than Or an integer equal to 1. It should be noted that when the data transmission quality of the power line communication network is higher than the preset quality threshold, and the utilization ratio of the power line communication network to the CSMA time slot is higher than the preset utilization rate, the power line communication network satisfies the preset condition. Optionally, if the current CSMA time slot of the power line communication network is 100 seconds, and the data required for the power line communication network to perform the current service can be transmitted within 60 seconds, the duration of the CSMA time slot is idle for 40 seconds. The state (ie, the power line communication network does not need to transmit data during this 40 second period), then the CCO considers the current CSMA time slot utilization rate of the power line communication network to be 60%.
如图7所示,步骤601中判断电力线通信网络是否满足预设条件的步骤可以包括:As shown in FIG. 7, the step of determining whether the power line communication network satisfies the preset condition in step 601 may include:
步骤6011a、CCO获取目标时长。Step 6011a, the CCO acquires the target duration.
需要说明的是,本发明实施例中为电力线通信网络的每种业务类型预设对应的时长,且每种业务类型对应的时长与在执行该种业务类型的业务时电力线通信网络中传输的数据量正相关。如表1所示,当电力线通信网络执行的业务类型为抄表和升级时,电力线通信网络中传输的数据较多,因此,设置抄表和升级的业务类型对应的时长较大(如3M,需要说明的是,M为大于或等于0的整数,可选的,时长的单位为秒);当电力线通信网络执行的业务类型为网管维护和组网时,电力线通信网络中传输的数据较少,因此,设置网管维护和组网的业务类型对应的时长较小(如2M);当电力线通信网络执行的业务类型为采集数据时,电力线通信网络中传输的数据最少,因此,设置采集数据的业务类型对应的时长最小(如M)。在电力线通信网络需要执行某种业务类型的业务时,CCO根据该需要执行的业务的业务类型,确定该需要执行的业务对应的时长,然后将该需要执行的业务对应的时长作为该电力线通信网络配置的CSMA时隙的当前时长,并基于时长为当前时长的CSMA时隙传输数据。It should be noted that, in the embodiment of the present invention, each service type of the power line communication network is preset with a corresponding duration, and the duration corresponding to each service type and the data transmitted in the power line communication network when performing the service of the service type. The quantity is positively correlated. As shown in Table 1, when the service type of the power line communication network is meter reading and upgrade, the data transmitted in the power line communication network is more. Therefore, the service type for setting the meter reading and upgrading is larger (for example, 3M, It should be noted that M is an integer greater than or equal to 0, and optionally, the duration is in seconds; when the service type of the power line communication network is network maintenance and networking, less data is transmitted in the power line communication network. Therefore, setting the network management and network service type corresponds to a smaller duration (such as 2M); when the service type of the power line communication network is collecting data, the data transmitted in the power line communication network is the least, therefore, setting the data collection The service type corresponds to the smallest duration (such as M). When the power line communication network needs to perform a certain type of service, the CCO determines the length of time corresponding to the service to be executed according to the service type of the service to be executed, and then uses the time corresponding to the service to be executed as the power line communication network. The current duration of the configured CSMA time slot, and the data is transmitted based on the CSMA time slot of the current duration.
表1Table 1
业务类型business type 时长duration
抄表Meter reading 3M3M
升级upgrade 3M3M
网管维护Network management 2M2M
组网Networking 2M2M
采集数据Data collection MM
在步骤6011a中,CCO首先需要获取电力线通信网络的CSMA时隙当前正在使用的当前时长。可选的,在从未对通信网络的CSMA时隙的时长进行调整时,CCO可以获取电力线通信网络中传输的数据的目标业务类型,查询预设的业务类型与时长的对应关系(如表1所示),确定目标业务类型对应的时长,并将目标业务类型对应的时长作为当前时长。在 已经对通信网络的CSMA时隙的时长调整过时,CCO可以直接对当前CSMA时隙进行检测,以确定CSMA时隙的当前时长。In step 6011a, the CCO first needs to obtain the current duration currently being used by the CSMA slot of the power line communication network. Optionally, when the duration of the CSMA time slot of the communication network is not adjusted, the CCO can obtain the target service type of the data transmitted in the power line communication network, and query the correspondence between the preset service type and the duration (Table 1). As shown in the figure, the duration corresponding to the target service type is determined, and the duration corresponding to the target service type is taken as the current duration. When the length of the CSMA time slot of the communication network has been adjusted, the CCO can directly detect the current CSMA time slot to determine the current duration of the CSMA time slot.
在获取CSMA时隙当前正在使用的当前时长后,CCO还需要获取电力线通信网络当前的至少一个组网参数,并根据获取到的至少一个组网参数对当前时长进行调节,从而得到目标时长。示例的,组网参数包括:电力线通信网络中PCO的数量、电力线通信网络中STA的数量和电力线通信网络的网络层级的数量,目标时长与CCO获取到的至少一个组网参数的和正相关,CCO还与当前时长正相关。After obtaining the current duration that the CSMA time slot is currently in use, the CCO needs to obtain at least one networking parameter of the current power line communication network, and adjust the current duration according to the acquired at least one networking parameter, thereby obtaining the target duration. For example, the networking parameters include: the number of PCOs in the power line communication network, the number of STAs in the power line communication network, and the number of network levels of the power line communication network, and the target duration is positively correlated with the sum of at least one networking parameter acquired by the CCO, CCO Also positively related to the current duration.
可选的,目标时长t2=t1*[f(m)+g(n)]*h(j),其中,t1为当前时长,m为PCO的数量,f(m)为m个PCO相对于单位网元的折算数量,n为STA的数量,g(n)为n个STA相对于单位网元的折算数量,j为网络层级的数量,h(j)为j个网络层级相对于单位层级的折算数量。示例的,当单位网元相当于1个STA,单位网元相当于1.2个PCO时,若电力线通信网络中共有100个STA和50个PCO,电力线通信网络的网络层级数量为10,10个网络层级相当于15个单位层级,则目标时长t2=t1*(100+50*1.2)*1.5=t1*160*1.5=t1*240。Optionally, the target duration t2=t1*[f(m)+g(n)]*h(j), where t1 is the current duration, m is the number of PCOs, and f(m) is m PCOs relative to The number of units of network elements, n is the number of STAs, g(n) is the number of conversions of n STAs relative to unit network elements, j is the number of network levels, and h(j) is j network levels relative to unit level The amount of conversion. For example, when the unit network element is equivalent to 1 STA and the unit network element is equivalent to 1.2 PCOs, if there are 100 STAs and 50 PCOs in the power line communication network, the number of network levels of the power line communication network is 10, 10 networks. The level is equivalent to 15 unit levels, and the target duration is t2=t1*(100+50*1.2)*1.5=t1*160*1.5=t1*240.
由于CCO获取到的电力线通信网络当前所需的CSMA时隙的目标时长与电力线通信网络的组网参数相关,因此,在电力线通信网络的组网结构发生改变时,电力线通信网络的组网参数会发生改变,CCO获取到的目标时长也会发生改变。Since the target duration of the CSMA time slot currently required by the power line communication network acquired by the CCO is related to the networking parameters of the power line communication network, when the networking structure of the power line communication network changes, the networking parameters of the power line communication network will When the change occurs, the target length of the CCO will also change.
步骤6012a、CCO判断目标时长与CSMA时隙的当前时长的差值的绝对值是否大于预设绝对值阈值。 Step 6012a: The CCO determines whether the absolute value of the difference between the target duration and the current duration of the CSMA slot is greater than a preset absolute threshold.
CCO在确定目标时长后,还需要得到目标时长与当前时长的差值的绝对值,并且在得到目标时长与当前时长的差值的绝对值后,判断差值的绝对值是否大于预设绝对值阈值。预设绝对值阈值大于零。After determining the target duration, the CCO needs to obtain the absolute value of the difference between the target duration and the current duration, and after obtaining the absolute value of the difference between the target duration and the current duration, determine whether the absolute value of the difference is greater than the preset absolute value. Threshold. The preset absolute value threshold is greater than zero.
需要说明的是,当电力线通信网络中的节点减少时,电力线通信网络在CSMA时隙中需要传输的数据会减少,电力线通信网络所需传输的数据在较短的时间段内就可以完成数据传输,此时,电力线通信网络对CSMA时隙的利用率较低,CCO确定出的目标时长小于当前时长。当电力线通信网络中节点增多时,电力线通信网络在CSMA时隙中需要传输的数据会增多,电力线通信网络所需传输的数据在CSMA时隙当前的时长内无法完成数据传输,此时,电力线通信网络的数据传输质量较差,CCO确定出的目标时长大于当前时长。It should be noted that when the nodes in the power line communication network are reduced, the data to be transmitted in the power line communication network in the CSMA time slot is reduced, and the data to be transmitted in the power line communication network can complete the data transmission in a short period of time. At this time, the power line communication network has a low utilization rate of the CSMA time slot, and the target time length determined by the CCO is less than the current time length. When there are more nodes in the power line communication network, the data to be transmitted in the power line communication network in the CSMA time slot will increase, and the data to be transmitted in the power line communication network cannot complete the data transmission in the current duration of the CSMA time slot. At this time, the power line communication The data transmission quality of the network is poor, and the target time determined by the CCO is greater than the current duration.
当电力线通信网络的组网结构变化较大时,电力线通信网络中节点增多较多或减少较多,电力线通信网络需要基于CSMA时隙传输的数据的量会发生较大变化,此时,电力线通信网络传输数据所需的目标时长与当前时长相差较大,目标时长与当前时长的差值的绝对值大于预设绝对值阈值。当电力线通信网络的组网结构变化较小时,电力线通信网络需要基于CSMA时隙传输的数据的量会发生较小的变化,此时,电力线通信网络传输数据所需的目标时长与当前时长相差较小,目标时长与当前时长的差值的绝对值小于或等于预设绝对值阈值。When the networking structure of the power line communication network changes greatly, the number of nodes in the power line communication network increases or decreases more, and the amount of data transmitted by the power line communication network based on the CSMA time slot changes greatly. At this time, the power line communication The target duration required for the network to transmit data differs greatly from the current duration. The absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold. When the network structure of the power line communication network changes little, the amount of data transmitted by the power line communication network based on the CSMA time slot will change little. At this time, the target time length required for the power line communication network to transmit data is different from the current time length. Small, the absolute value of the difference between the target duration and the current duration is less than or equal to the preset absolute threshold.
步骤6013a、在出现x次判断结果为目标时长与当前时长的差值的绝对值大于预设绝对值阈值时,CCO确定电力线通信网络不满足预设条件。 Step 6013a: When the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold, the CCO determines that the power line communication network does not satisfy the preset condition.
当x等于1时,也即是CCO只要确定出一个与当前时长的差值的绝对值大于预设绝对值阈值的目标时长,就可以确定电力线通信网络不满足预设条件。也即是,CCO确定电力线通信网络当前的数据传输质量和电力线通信网络对CSMA时隙的利用率不满足:电力线 通信网络的数据传输质量高于预设质量阈值,且电力线通信网络对CSMA时隙的利用率高于预设利用率阈值的条件。When x is equal to 1, that is, the CCO determines that the absolute value of the difference from the current duration is greater than the target duration of the preset absolute threshold, it can be determined that the power line communication network does not satisfy the preset condition. That is, the CCO determines that the current data transmission quality of the power line communication network and the power line communication network do not satisfy the utilization of the CSMA time slot: the data transmission quality of the power line communication network is higher than a preset quality threshold, and the power line communication network pairs the CSMA time slot. The utilization of the condition is higher than the preset utilization threshold.
当x大于1时,CCO需要重复多次执行步骤6011a和步骤6012a,并在执行多次步骤6012a后,出现x次判断的结果为目标时长与当前时长的差值的绝对值大于预设绝对值阈值时,CCO才能确定电力线通信网络当前不满足预设条件。也即是,CCO在多次获取到的目标时长与当前时长的差值的绝对值均大于预设绝对值阈值时,CCO才确定当前电力线通信网络的运行情况较差,此时确定电力线通信网络不满足预设条件。When x is greater than 1, the CCO needs to perform step 6011a and step 6012a multiple times, and after performing step 6012a multiple times, the result of x times of judgment is that the absolute value of the difference between the target duration and the current duration is greater than the preset absolute value. At the threshold, the CCO can determine that the power line communication network does not currently meet the preset conditions. That is, when the absolute value of the difference between the target duration and the current duration obtained by the CCO is greater than the preset absolute threshold, the CCO determines that the current power line communication network is in poor condition, and the power line communication network is determined at this time. The preset conditions are not met.
可选的,第一计数器最初记录的值为0,在每出现一次步骤6012a中CCO判断的结果为目标时长与当前时长的差值的绝对值大于预设绝对值阈值时,CCO就控制第一计数器记录的值加一。当第一计数器记录的值为x时,CCO确定出现x次判断的结果为目标时长与当前时长的差值的绝对值大于预设绝对值阈值。Optionally, the first counter initially records a value of 0. The CCO controls the first time when the CCO judgment result in the step 6012a is that the absolute value of the difference between the target duration and the current duration is greater than a preset absolute threshold. The value recorded by the counter is incremented by one. When the value recorded by the first counter is x, the CCO determines that the result of the x times of judgment is that the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold.
在出现x次判断的结果为目标时长与当前时长的差值的绝对值大于预设绝对值阈值时,CCO确定当前的电力线通信网络传输数据所需的CSMA时隙的时长与当前时长相差较多,此时急需对CSMA时隙的时长进行调整,以提高电力线通信网络的数据传输质量和/或电力线通信网络对CSMA时隙的利用率。When the result of the x times of judgment is that the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold, the CCO determines that the duration of the CSMA slot required for transmitting data of the current power line communication network is different from the current duration. At this time, it is urgent to adjust the duration of the CSMA time slot to improve the data transmission quality of the power line communication network and/or the utilization rate of the CSMA time slot by the power line communication network.
在第二种可实现方式中,预设条件可以为:电力线通信网络的通信成功率小于预设成功率阈值的次数小于y,y为大于或等于1的整数。需要说明的是,当电力线通信网络的数据传输质量高于预设质量阈值时,电力线通信网络满足预设条件。In the second implementation manner, the preset condition may be that the number of times that the communication success rate of the power line communication network is less than the preset success rate threshold is less than y, and y is an integer greater than or equal to 1. It should be noted that when the data transmission quality of the power line communication network is higher than the preset quality threshold, the power line communication network satisfies the preset condition.
如图8所示,步骤601中判断电力线通信网络是否满足预设条件的步骤可以包括:As shown in FIG. 8, the step of determining whether the power line communication network satisfies the preset condition in step 601 may include:
步骤6011b、CCO获取电力线通信网络的通信成功率。 Step 6011b: The CCO acquires a communication success rate of the power line communication network.
示例的,电力线通信网络中的每个PCO会根据应答(Acknowledgment,ACK)信号,确定自身的通信成功率,电力线通信网络中的每个STA也能够根据ACK信号,确定自身的通信成功率。For example, each PCO in the power line communication network determines its own communication success rate according to an acknowledgment (ACK) signal, and each STA in the power line communication network can also determine its own communication success rate according to the ACK signal.
CCO在确定电力线通信网络当前的通信成功率时,需要首先获取电力线通信网络中每个PCO当前的通信成功率,以及获取电力线通信网络中每个STA当前的通信成功率,然后,根据每个PCO当前的通信成功率以及每个STA当前的通信成功率,确定电力线通信网络当前的通信成功率,且CCO确定出的电力线通信网络的通信成功率与电力线通信网络中通信成功率小于1的节点(包括PCO和STA)个数负相关。示例的,假设电力线通信网络中PCO和STA相对于单位网元的折算数量之和为240,且PCO的权重为1.2,STA的权重为1,且电力线通信网络的240个节点中,存在10个STA的通信成功率为90%,10个PCO的通信成功率为85%,其余STA和其余PCO的成功率均为100%,则电力线通信网络的通信成功率为1-[10*(1-0.9)+10*(1-0.85)*1.2]/240=98.8%。When determining the current communication success rate of the power line communication network, the CCO needs to first acquire the current communication success rate of each PCO in the power line communication network, and acquire the current communication success rate of each STA in the power line communication network, and then, according to each PCO. The current communication success rate and the current communication success rate of each STA determine the current communication success rate of the power line communication network, and the communication success rate of the power line communication network determined by the CCO and the node with a communication success rate less than 1 in the power line communication network ( There is a negative correlation between the number of PCO and STA. For example, suppose that the sum of the PCO and the number of converted STAs of the STA in the power line communication network with respect to the unit network element is 240, and the weight of the PCO is 1.2, the weight of the STA is 1, and 10 of the 240 nodes of the power line communication network exist. The communication success rate of STA is 90%, the communication success rate of 10 PCOs is 85%, and the success rate of other STAs and other PCOs is 100%. The communication success rate of power line communication network is 1-[10*(1- 0.9) +10*(1-0.85)*1.2]/240=98.8%.
需要说明的是,当电力线通信网络中的节点增多时,或者电力线通信网络中的干扰信号强度增强时,电力线通信网络中通信成功率小于1的节点数就会增多,CCO确定出的电力线通信网络的通信成功率会降低,电力线通信网络的数据传输质量会降低。当电力线通信网络中的节点减少时,或电力线通信网络中干扰信号强度减弱时,电力线通信网络中通信成功率小于1的节点数就会减少,CCO确定出的电力线通信网络的通信成功率会增高,电力线通信网络的数据传输质量会提高。It should be noted that when the number of nodes in the power line communication network increases, or the intensity of the interference signal in the power line communication network increases, the number of nodes with a communication success rate less than 1 increases in the power line communication network, and the power line communication network determined by the CCO increases. The communication success rate will be reduced, and the data transmission quality of the power line communication network will be degraded. When the number of nodes in the power line communication network decreases, or the strength of the interference signal in the power line communication network decreases, the number of nodes with a communication success rate less than 1 in the power line communication network decreases, and the communication success rate of the power line communication network determined by the CCO increases. The quality of data transmission in power line communication networks will increase.
步骤6012b、CCO判断通信成功率是否小于预设成功率阈值。 Step 6012b: The CCO determines whether the communication success rate is less than a preset success rate threshold.
CCO在获取到电力线通信网络当前的通信成功率后,还需要将电力线通信网络当前的通信成功率与预设成功率阈值进行比较,以确定当前的通信成功率是否小于预设成功率阈值。也即是,CCO将预设成功率阈值作为评判通信成功率高低的标准,认为小于预设成功率阈值的通信成功率为较低的通信成功率,认为大于或等于预设成功率阈值的通信成功率为较高的通信成功率。After obtaining the current communication success rate of the power line communication network, the CCO needs to compare the current communication success rate of the power line communication network with a preset success rate threshold to determine whether the current communication success rate is less than a preset success rate threshold. That is, the CCO uses the preset success rate threshold as a criterion for judging the communication success rate, and considers that the communication success rate is less than the preset success rate threshold, and the communication success rate is lower than or equal to the preset success rate threshold. The success rate is a higher communication success rate.
步骤6013b、在出现y次判断的结果为电力线通信网络的通信成功率小于预设成功率阈值时,CCO确定电力线通信网络的不满足预设条件。 Step 6013b: When the result of the y-time determination is that the communication success rate of the power line communication network is less than the preset success rate threshold, the CCO determines that the power line communication network does not satisfy the preset condition.
当y等于1时,也即是CCO只要确定出一个小于预设成功率阈值的通信成功率,就可以确定电力线通信网络不满足预设条件。也即是,CCO确定电力线通信网络当前的数据传输质量不满足:电力线通信网络的数据传输质量高于预设质量阈值的条件。When y is equal to 1, that is, the CCO only needs to determine a communication success rate less than the preset success rate threshold, it can be determined that the power line communication network does not satisfy the preset condition. That is, the CCO determines that the current data transmission quality of the power line communication network is not satisfied: the condition that the data transmission quality of the power line communication network is higher than the preset quality threshold.
当y大于1时,CCO需要重复多次执行步骤6011b和步骤6012b,并在执行多次步骤6012b后,出现y次判断的结果为电力线通信网络的通信成功率低于预设成功率阈值时,CCO才能确定电力线通信网络当前不满足预设条件。也即是,CCO在多次获取到的电力线通信网络的通信成功率均大于预设成功率阈值时,CCO才确定当前电力线通信网络的运行情况较差,此时确定电力线通信网络不满足预设条件。When y is greater than 1, the CCO needs to perform step 6011b and step 6012b multiple times, and after performing step 6012b multiple times, when the result of y judgments is that the communication success rate of the power line communication network is lower than the preset success rate threshold, The CCO can determine that the power line communication network does not currently meet the preset conditions. That is, when the communication success rate of the power line communication network acquired by the CCO is greater than the preset success rate threshold, the CCO determines that the current power line communication network is in poor condition, and it is determined that the power line communication network does not satisfy the preset. condition.
可选的,第二计数器最初记录的值为0,在每出现一次步骤6012b中CCO判断的结果为电力线通信网络的通信成功率低于预设成功率阈值时,CCO就控制第二计数器记录的值加一。当第二计数器记录的值为y时,CCO确定出现y次判断的结果为电力线通信网络的通信成功率大于预设成功率阈值。Optionally, the second counter initially records a value of 0. The CCO controls the second counter record when the CCO judgment result in the step 6012b occurs that the communication success rate of the power line communication network is lower than a preset success rate threshold. Add one to the value. When the value recorded by the second counter is y, the CCO determines that the result of the occurrence of the y-th determination is that the communication success rate of the power line communication network is greater than the preset success rate threshold.
步骤602、CCO将电力线通信网络配置的CSMA时隙的当前时长调整为目标时长。Step 602: The CCO adjusts a current duration of the CSMA time slot configured by the power line communication network to a target duration.
基于步骤601中CCO以不同的方式判断数据传输质量是否低于预设质量阈值,在步骤602中CCO也能够采用不同的方式调整CSMA时隙的时长。Based on the CCO in step 601, it is determined whether the data transmission quality is lower than the preset quality threshold in a different manner. In step 602, the CCO can also adjust the duration of the CSMA time slot in different manners.
第一方面,当步骤601中CCO采用第一种可实现方式判断电力线通信网络是否满足预设条件时,步骤602中CCO将电力线通信网络配置的CSMA时隙的时长调整为最近一次确定出的目标时长,从而使得调整CSMA时隙的时长后的电力线通信网络满足预设条件,也即使得调整CSMA时隙的时长后的电力线通信网络的数据传输质量大于预设质量阈值,且调整CSMA时隙的时长后的电力线通信网络对CSMA时隙的利用率大于预设利用率阈值。In the first aspect, when the CCO determines whether the power line communication network satisfies the preset condition by using the first achievable manner in step 601, the CCO adjusts the duration of the CSMA time slot configured by the power line communication network to the last determined target in step 602. The duration of the power line communication network after adjusting the duration of the CSMA time slot satisfies a preset condition, that is, the data transmission quality of the power line communication network after adjusting the duration of the CSMA time slot is greater than a preset quality threshold, and the CSMA time slot is adjusted. The utilization of the CSMA time slot by the power line communication network after the duration is greater than the preset utilization threshold.
示例的,当电力线通信网络中的节点增多时,电力线通信网络需要基于CSMA时隙传输的数据会较多,此时,CCO所需将电力线通信网络的CSMA时隙的时长调整至大于当前时长的目标时长,以提高电力线通信网络的数据传输质量;当电力线通信网络中的节点减少时,电力线通信网络需要基于CSMA时隙传输的数据会减少,此时,CCO所需将电力线通信网络的CSMA时隙的时长调整至小于当前时长的目标时长,以提高电力线通信网络对CSMA时隙的利用率。For example, when there are more nodes in the power line communication network, the power line communication network needs to transmit more data based on the CSMA time slot. At this time, the CCO needs to adjust the length of the CSMA time slot of the power line communication network to be longer than the current duration. The target duration is to improve the data transmission quality of the power line communication network; when the nodes in the power line communication network are reduced, the power line communication network needs to reduce the data transmitted based on the CSMA time slot. At this time, the CCO needs to be the CSMA time of the power line communication network. The duration of the gap is adjusted to a target duration that is less than the current duration to improve the utilization of the CSMA time slot by the power line communication network.
第二方面,当步骤601中采用第二种可实现方式判断电力线通信网络是否满足预设条件时,在步骤602之前CCO还需要查询预设的通信成功率与时长的对应关系,确定最近一次获取到的通信成功率对应的时长为目标时长,并在步骤602中CCO将电力线通信网络配置的CSMA时隙的时长调整为最近一次获取到的通信成功率对应的时长(也即目标时长)。需要说明的是,该预设的通信成功率与时长的对应关系中,通信成功率越低,通信成功率对应的时长越长。也即,在电力线通信网络的通信成功率较低时,需要增大CSMA时隙的 时长,以提高电力线通信网络的通信成功率,从而提升电力线通信网络的数据传输质量。In the second aspect, when the second implementation mode is used to determine whether the power line communication network meets the preset condition, the CCO needs to query the preset correspondence between the communication success rate and the duration before the step 602, and determine the latest acquisition. The duration corresponding to the communication success rate is the target duration, and in step 602, the CCO adjusts the duration of the CSMA slot configured by the power line communication network to the duration (ie, the target duration) corresponding to the most recently acquired communication success rate. It should be noted that, in the correspondence between the preset communication success rate and the duration, the lower the communication success rate, the longer the communication success rate corresponds. That is, when the communication success rate of the power line communication network is low, it is necessary to increase the duration of the CSMA time slot to improve the communication success rate of the power line communication network, thereby improving the data transmission quality of the power line communication network.
示例的,当电力线通信网络中的节点增多时,或者电力线通信网络中的干扰信号增强时,电力线通信网络的通信成功率就会降低,若CCO能够确定出至少y个低于预设成功率阈值的通信成功率,则步骤601的判断结果为电力线通信网络不满足预设条件。在这种情况下,CCO会增大电力线通信网络配置的CSMA时隙的时长,以提高电力线通信网络的数据传输质量。For example, when the number of nodes in the power line communication network increases, or the interference signal in the power line communication network increases, the communication success rate of the power line communication network decreases, and if the CCO can determine that at least y are lower than the preset success rate threshold. The success rate of the communication is determined by the determination in step 601 that the power line communication network does not satisfy the preset condition. In this case, the CCO increases the length of the CSMA time slot configured by the power line communication network to improve the data transmission quality of the power line communication network.
另外需要说明的是,本发明实施例中CCO在调整CSMA时隙的时长时,将CSMA时隙的时长调整为最近一次确定出的目标时长,或最近一次获取到的通信成功率对应的目标时长,从而使得调整后的CSMA时隙的目标时长更加符合电力线通信网络当前传输数据的需求,使得电力线通信网络满足预设条件。In addition, in the embodiment of the present invention, when the CCO adjusts the duration of the CSMA time slot, the CSMA time slot is adjusted to the last determined target duration, or the target duration corresponding to the latest acquired communication success rate. Therefore, the target duration of the adjusted CSMA time slot is more consistent with the current transmission data of the power line communication network, so that the power line communication network satisfies the preset condition.
步骤603、CCO控制电力线通信网络基于调整时长后的CSMA时隙传输数据。Step 603: The CCO controls the power line communication network to transmit data based on the CSMA time slot after adjusting the duration.
CCO在将CSMA时隙的当前时长调整为目标时长后,就能够控制电力线通信网络基于调整时长后的CSMA时隙传输数据,此时电力线通信网络的数据传输质量较高。After adjusting the current duration of the CSMA time slot to the target duration, the CCO can control the power line communication network to transmit data based on the CSMA time slot after the adjustment time length, and the data transmission quality of the power line communication network is high.
步骤604、CCO判断CSMA时隙的时长是否达到预设时长。若CSMA时隙的时长达到预设时长,则执行步骤605;若CSMA时隙的时长未达到预设时长,则执行步骤604。Step 604: The CCO determines whether the duration of the CSMA time slot reaches a preset duration. If the duration of the CSMA time slot reaches the preset duration, step 605 is performed; if the duration of the CSMA time slot does not reach the preset duration, step 604 is performed.
CCO在调整CSMA时隙的时长后,还需要实时的(或者周期性的)判断电力线通信网络配置的CSMA时隙的时长(也即目标时长)是否过长,在CSMA时隙的时长达到预设时长时,确定当前CSMA时隙的时长过长,此时,由于所有的电力线通信网络传输数据的总时长不变,因此,在当前电力线通信网络配置的CSMA时隙的时长较长时,其他电力线通信网络配置的CSMA时隙的时长较短,其他电力线通信网络的数据传输质量较差,此时需要在适当的时机减小CSMA时隙的时长。After adjusting the length of the CSMA slot, the CCO needs to determine whether the duration of the CSMA slot configured by the power line communication network (that is, the target duration) is too long, and the duration of the CSMA slot reaches the preset. When the duration is long, it is determined that the duration of the current CSMA time slot is too long. At this time, since the total duration of data transmission by all power line communication networks is constant, when the duration of the CSMA time slot configured in the current power line communication network is long, other power lines are The length of the CSMA time slot configured by the communication network is short, and the data transmission quality of other power line communication networks is poor. At this time, the length of the CSMA time slot needs to be reduced at an appropriate timing.
步骤605、CCO判断电力线通信网络在预设时间段内的数据传输质量是否持续高于预设质量阈值。若电力线通信网络在预设时间段内的数据传输质量持续高于预设质量阈值,则执行步骤606;若电力线通信网络在预设时间段内的数据传输质量并未持续高于预设质量阈值,则执行步骤605。Step 605: The CCO determines whether the data transmission quality of the power line communication network in the preset time period continues to be higher than a preset quality threshold. If the data transmission quality of the power line communication network is higher than the preset quality threshold in the preset time period, step 606 is performed; if the data transmission quality of the power line communication network in the preset time period does not continuously exceed the preset quality threshold Then, step 605 is performed.
CCO在确定电力线通信网络的CSMA时隙的时长较长时,还需要判断电力线通信网络在预设时间段内的数据传输质量是否持续高于预设质量阈值,也即判断电力线通信网络在一段时间内的数据传输质量持续较高。When determining the length of the CSMA time slot of the power line communication network is long, the CCO needs to determine whether the data transmission quality of the power line communication network in the preset time period continuously exceeds the preset quality threshold, that is, the power line communication network is judged for a period of time. The quality of data transmission within continues to be high.
可选的,步骤605中CCO可以通过判断当前CSMA时隙的目标时长与CSMA时隙的当前时长的差值小于预设差阈值的次数是否小于z,来判断电力线通信网络的数据传输质量是否高于预设质量阈值。当当前CSMA时隙的目标时长与CSMA时隙的当前时长的差值小于预设差阈值的次数小于z,则CCO可以确定电力线通信网络的数据传输质量高于预设质量阈值;当当前CSMA时隙的目标时长与CSMA时隙的当前时长的差值小于预设差阈值的次数大于或等于z,则CCO可以确定电力线通信网络的数据传输质量低于预设质量阈值。其中,z为大于或等于1的整数,预设差阈值为负数。Optionally, in step 605, the CCO can determine whether the data transmission quality of the power line communication network is high by determining whether the difference between the target duration of the current CSMA time slot and the current duration of the CSMA time slot is less than a preset difference threshold. Preset quality threshold. When the difference between the target duration of the current CSMA slot and the current duration of the CSMA slot is less than the preset difference threshold is less than z, the CCO may determine that the data transmission quality of the power line communication network is higher than a preset quality threshold; when the current CSMA is used If the difference between the target duration of the slot and the current duration of the CSMA slot is less than or equal to z, the CCO may determine that the data transmission quality of the power line communication network is lower than a preset quality threshold. Where z is an integer greater than or equal to 1, and the preset difference threshold is a negative number.
可选的,步骤605中CCO还可以通过判断电力线通信网络的通信成功率小于预设成功率阈值的次数是否小于y,来判断电力线通信网络的数据传输质量是否高于预设质量阈值。当电力线通信网络的通信成功率小于预设成功率阈值的次数小于y,则CCO可以确定电力线通信网络的数据传输质量高于预设质量阈值;当电力线通信网络的通信成功率小于预设 成功率阈值的次数大于或等于y,则CCO可以确定电力线通信网络的数据传输质量低于预设质量阈值。Optionally, in step 605, the CCO may further determine whether the data transmission quality of the power line communication network is higher than a preset quality threshold by determining whether the communication success rate of the power line communication network is less than a preset success rate threshold. When the communication success rate of the power line communication network is less than the preset success rate threshold is less than y, the CCO may determine that the data transmission quality of the power line communication network is higher than a preset quality threshold; when the communication success rate of the power line communication network is less than a preset success rate The number of thresholds is greater than or equal to y, and the CCO may determine that the data transmission quality of the power line communication network is lower than a preset quality threshold.
步骤606、CCO减小CSMA时隙的时长。 Step 606, the CCO reduces the duration of the CSMA time slot.
在确定电力线通信网络当前的CSMA时隙的时长较长,且电力线通信网络在预设时间段内的数据传输质量持续较高时,CCO就适当的减小电力线通信网络的CSMA时隙的时长,以便于其他电力线通信网络能够增大其他网络的CSMA时隙,提升其他电力线通信网络的数据传输质量。When it is determined that the current CSMA time slot of the power line communication network has a long duration, and the data transmission quality of the power line communication network continues to be high for a preset period of time, the CCO appropriately reduces the length of the CSMA time slot of the power line communication network, In order to facilitate other power line communication networks, the CSMA time slots of other networks can be increased, and the data transmission quality of other power line communication networks can be improved.
步骤607、CCO控制电力线通信网络基于减小时长后的CSMA时隙传输数据。Step 607: The CCO controls the power line communication network to transmit data based on the CSMA time slot after decreasing the duration.
CCO在减小CSMA时隙的时长后,就能够控制电力线通信网络基于减小时长后的CSMA时隙传输数据,此时其他电力线通信网络的数据传输质量能够提升。After reducing the length of the CSMA time slot, the CCO can control the power line communication network to transmit data based on the reduced length of the CSMA time slot, and the data transmission quality of other power line communication networks can be improved.
综上所述,本发明实施例提供的数据传输方法中,当电力线通信网络的组网结构发生变化或电力线通信网络中的干扰信号的强度发生变化时,经过判断可以确定电力线通信网络不满足预设条件,此时,可以对电力线通信网络配置的CSMA时隙的时长进行调整,以使得调整CSMA时隙的时长后的电力线通信网络满足预设条件,从而使得CSMA时隙的时长能够适应电力线通信网络的变化,且能够满足电力线通信网络传输数据的时长的需求,因此,提高了电力线通信网络的运营情况。In summary, in the data transmission method provided by the embodiment of the present invention, when the networking structure of the power line communication network changes or the strength of the interference signal in the power line communication network changes, it may be determined that the power line communication network does not satisfy the pre-determination. The condition is that, in this case, the length of the CSMA time slot configured by the power line communication network can be adjusted, so that the power line communication network after adjusting the duration of the CSMA time slot satisfies a preset condition, so that the duration of the CSMA time slot can be adapted to the power line communication. The network changes and can meet the demand for the transmission time of the power line communication network, thus improving the operation of the power line communication network.
需要说明的是,本发明实施例提供的数据传输方法实施例步骤的先后顺序能够进行适当调整,步骤也能够根据情况进行相应增减,任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本发明实施例的保护范围之内,因此不再赘述。It should be noted that the sequence of the steps of the embodiment of the data transmission method provided by the embodiment of the present invention can be appropriately adjusted, and the steps can also be correspondingly increased or decreased according to the situation, and any person skilled in the art disclosed in the embodiment of the present invention. The method of change can be easily conceived within the scope of the present invention, and therefore will not be described again.
图9为本发明实施例提供的另一种数据传输装置的结构示意图,该数据传输装置为图2中的CCO,如图9所示,该数据传输装置90包括:FIG. 9 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention. The data transmission apparatus is a CCO in FIG. 2. As shown in FIG. 9, the data transmission apparatus 90 includes:
第一判断模块901,用于判断电力线通信网络是否满足预设条件,电力线通信网络包括:中央协调器CCO、至少一个代理协调器PCO和至少一个站点STA;The first determining module 901 is configured to determine whether the power line communication network satisfies a preset condition, and the power line communication network comprises: a central coordinator CCO, at least one agent coordinator PCO, and at least one station STA;
调整模块902,用于在电力线通信网络不满足预设条件时,将电力线通信网络的载波侦听多路访问CSMA时隙的时长调整为目标时长;The adjusting module 902 is configured to adjust a duration of a carrier sense multiple access CSMA time slot of the power line communication network to a target duration when the power line communication network does not meet the preset condition;
第一控制模块903,用于控制电力线通信网络基于调整时长后的CSMA时隙传输数据。The first control module 903 is configured to control the power line communication network to transmit data based on the CSMA time slot after adjusting the duration.
综上所述,本发明实施例提供了一种数据传输装置,当电力线通信网络的组网结构发生变化或电力线通信网络中的干扰信号的强度发生变化时,第一判断模块经过判断可以确定电力线通信网络不满足预设条件,此时,调整模块可以对电力线通信网络配置的CSMA时隙的时长进行调整,以使得调整CSMA时隙的时长后的电力线通信网络满足预设条件,从而使得CSMA时隙的时长能够适应电力线通信网络的变化,且能够满足电力线通信网络传输数据的时长的需求,因此,提高了电力线通信网络的运营情况。In summary, the embodiment of the present invention provides a data transmission device. When the networking structure of the power line communication network changes or the strength of the interference signal in the power line communication network changes, the first determining module can determine the power line after determining. The communication network does not meet the preset condition. At this time, the adjustment module can adjust the duration of the CSMA time slot configured by the power line communication network, so that the power line communication network after adjusting the duration of the CSMA time slot satisfies a preset condition, thereby making the CSMA time The duration of the gap can adapt to changes in the power line communication network, and can meet the demand for the transmission time of the power line communication network, thereby improving the operation of the power line communication network.
图10为本发明实施例提供的一种第一判断模块的结构示意图,预设条件包括:目标时长与CSMA时隙的当前时长的差值的绝对值大于预设绝对值阈值的次数小于x,预设绝对值阈值大于零,x为大于或等于1的整数,如图10所示,第一判断模块901包括:10 is a schematic structural diagram of a first judging module according to an embodiment of the present invention. The preset condition includes: the absolute value of the difference between the target duration and the current duration of the CSMA slot is greater than the preset absolute threshold, and the number of times is less than x. The preset absolute value threshold is greater than zero, and x is an integer greater than or equal to 1. As shown in FIG. 10, the first determining module 901 includes:
第一获取单元9011,用于获取目标时长;The first obtaining unit 9011 is configured to acquire a target duration;
第一判断单元9012,用于判断目标时长与当前时长的差值的绝对值是否大于预设绝对值阈值;The first determining unit 9012 is configured to determine whether an absolute value of a difference between the target duration and the current duration is greater than a preset absolute threshold;
第一确定单元9013,用于在出现x次判断的结果为目标时长与当前时长的差值的绝对值大于预设绝对值阈值时,确定电力线通信网络不满足预设条件。The first determining unit 9013 is configured to determine that the power line communication network does not satisfy the preset condition when the result of the x times of determining is that the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold.
可选的,第一获取单元9011还用于:获取电力线通信网络的至少一个组网参数;根据至少一个组网参数对当前时长进行调节,得到目标时长;其中,组网参数包括:PCO的数量、STA的数量和电力线通信网络的网络层级的数量,目标时长与电力线通信网络的至少一个组网参数的和正相关,目标时长与当前时长正相关。Optionally, the first obtaining unit 9011 is further configured to: acquire at least one networking parameter of the power line communication network; adjust the current duration according to the at least one networking parameter to obtain a target duration; wherein the networking parameter includes: the number of PCOs The number of STAs and the number of network levels of the power line communication network, the target duration is positively correlated with the sum of at least one networking parameter of the power line communication network, and the target duration is positively correlated with the current duration.
可选的,目标时长t2=t1*[f(m)+g(n)]*h(j),其中,t1为当前时长,m为PCO的数量,f(m)为m个PCO相对于单位网元的折算数量,n为STA的数量,g(n)为n个STA相对于单位网元的折算数量,j为网络层级的数量,h(j)为j个网络层级相对于单位层级的折算数量。Optionally, the target duration t2=t1*[f(m)+g(n)]*h(j), where t1 is the current duration, m is the number of PCOs, and f(m) is m PCOs relative to The number of units of network elements, n is the number of STAs, g(n) is the number of conversions of n STAs relative to unit network elements, j is the number of network levels, and h(j) is j network levels relative to unit level The amount of conversion.
可选的,调整模块902还用于:将CSMA时隙的时长调整为最近一次获取到的目标时长。Optionally, the adjusting module 902 is further configured to: adjust a duration of the CSMA slot to a target duration that is acquired last time.
图11为本发明实施例提供的又一种数据传输装置的结构示意图,如图11所示,在图9的基础上,该数据传输装置还包括:FIG. 11 is a schematic structural diagram of still another data transmission apparatus according to an embodiment of the present invention. As shown in FIG. 11, the data transmission apparatus further includes:
确定模块904,用于确定电力线通信网络中传输的数据的目标业务类型;a determining module 904, configured to determine a target service type of data transmitted in the power line communication network;
第一查询模块905,用于查询预设的业务类型与时长的对应关系,确定目标业务类型对应的时长为当前时长。The first query module 905 is configured to query the correspondence between the preset service type and the duration, and determine the duration corresponding to the target service type as the current duration.
可选的,预设条件包括:电力线通信网络的数据传输质量低于预设质量阈值,图12为本发明实施例提供的另一种第一判断模块的结构示意图,电力线通信网络的通信成功率小于预设成功率阈值的次数小于y,y为大于或等于1的整数,如图12所示,第一判断模块901包括:Optionally, the preset condition includes: a data transmission quality of the power line communication network is lower than a preset quality threshold, and FIG. 12 is a schematic structural diagram of another first determining module according to an embodiment of the present invention, and a communication success rate of the power line communication network. The number of times less than the preset success rate threshold is less than y, and y is an integer greater than or equal to 1. As shown in FIG. 12, the first determining module 901 includes:
第二获取单元9014,用于获取电力线通信网络的通信成功率,通信成功率用于反映数据传输质量;a second obtaining unit 9014, configured to acquire a communication success rate of the power line communication network, where the communication success rate is used to reflect the data transmission quality;
第二判断单元9015,用于判断电力线通信网络的通信成功率是否小于预设成功率阈值;The second determining unit 9015 is configured to determine whether a communication success rate of the power line communication network is less than a preset success rate threshold;
第二确定单元9016,用于在出现y次判断的结果为电力线通信网络的通信成功率小于预设成功率阈值时,确定电力线通信网络的不满足预设条件,y为大于或等于1的整数。The second determining unit 9016 is configured to determine that the power line communication network does not satisfy the preset condition when the communication success rate of the power line communication network is less than the preset success rate threshold, and y is an integer greater than or equal to 1 .
可选的,电力线通信网络包括多个节点,多个节点包括PCO和STA,第二获取单元9014还用于:获取电力线通信网络中每个PCO的通信成功率;获取电力线通信网络中每个STA的通信成功率;根据每个PCO的通信成功率以及每个STA的通信成功率,确定电力线通信网络的通信成功率,电力线通信网络的通信成功率与电力线通信网络中通信成功率小于1的节点个数负相关。Optionally, the power line communication network includes multiple nodes, the multiple nodes include a PCO and a STA, and the second obtaining unit 9014 is further configured to: obtain a communication success rate of each PCO in the power line communication network; acquire each STA in the power line communication network. Communication success rate; determining the communication success rate of the power line communication network according to the communication success rate of each PCO and the communication success rate of each STA, the communication success rate of the power line communication network and the node with a communication success rate less than 1 in the power line communication network The number is negatively correlated.
图13为本发明实施例提供的再一种数据传输装置的结构示意图,预设的通信成功率与时长的对应关系中,通信成功率与通信成功率对应的时长负相关,如图13所示,在图9的基础上,该数据传输装置90还包括:FIG. 13 is a schematic structural diagram of still another data transmission apparatus according to an embodiment of the present invention. In a correspondence between a preset communication success rate and a duration, a communication success rate is negatively correlated with a duration corresponding to the communication success rate, as shown in FIG. On the basis of FIG. 9, the data transmission device 90 further includes:
第二查询模块906,用于查询预设的通信成功率与时长的对应关系,确定最近一次获取到的通信成功率对应的时长为目标时长。The second query module 906 is configured to query a preset correspondence between the communication success rate and the duration, and determine the duration corresponding to the latest obtained communication success rate as the target duration.
图14为本发明另一实施例提供的一种数据传输装置的结构示意图,如图14所示,在图9的基础上,该数据传输装置90还包括:FIG. 14 is a schematic structural diagram of a data transmission apparatus according to another embodiment of the present invention. As shown in FIG. 14, on the basis of FIG. 9, the data transmission apparatus 90 further includes:
第二判断模块907,用于判断CSMA时隙的时长是否达到预设时长;The second determining module 907 is configured to determine whether the duration of the CSMA time slot reaches a preset duration;
第三判断模块908,用于在CSMA时隙的时长达到预设时长时,判断电力线通信网络 在预设时间段内的数据传输质量是否持续高于预设质量阈值;The third determining module 908 is configured to determine, when the duration of the CSMA time slot reaches a preset duration, whether the data transmission quality of the power line communication network continues to be higher than a preset quality threshold in the preset time period;
减小模块909,用于在电力线通信网络在预设时间段内的数据传输质量持续高于预设质量阈值时,减小CSMA时隙的时长;a reducing module 909, configured to reduce a duration of the CSMA time slot when the data transmission quality of the power line communication network continues to be higher than a preset quality threshold in a preset time period;
第二控制模块910,用于控制电力线通信网络基于减小时长后的CSMA时隙传输数据。The second control module 910 is configured to control the power line communication network to transmit data based on the reduced length of the CSMA time slot.
综上所述,本发明实施例提供了一种数据传输装置,当电力线通信网络的组网结构发生变化或电力线通信网络中的干扰信号的强度发生变化时,第一判断模块经过判断可以确定电力线通信网络不满足预设条件,此时,调整模块可以对电力线通信网络配置的CSMA时隙的时长进行调整,以使得调整CSMA时隙的时长后的电力线通信网络满足预设条件,从而使得CSMA时隙的时长能够适应电力线通信网络的变化,且能够满足电力线通信网络传输数据的时长的需求,因此,提高了电力线通信网络的运营情况。In summary, the embodiment of the present invention provides a data transmission device. When the networking structure of the power line communication network changes or the strength of the interference signal in the power line communication network changes, the first determining module can determine the power line after determining. The communication network does not meet the preset condition. At this time, the adjustment module can adjust the duration of the CSMA time slot configured by the power line communication network, so that the power line communication network after adjusting the duration of the CSMA time slot satisfies a preset condition, thereby making the CSMA time The duration of the gap can adapt to changes in the power line communication network, and can meet the demand for the transmission time of the power line communication network, thereby improving the operation of the power line communication network.
在上述实施例中,能够全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,能够全部或部分地以计算机程序产品的形式实现,所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机能够是通用计算机、计算机网络、或者其他可编程装置。所述计算机指令能够存储在计算机的可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令能够从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心传输。所述计算机可读存储介质能够是计算机能够存取的任何可用介质或者包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质能够是磁性介质(例如,软盘、硬盘、磁带)、光介质,或者半导体介质(例如固态硬盘)等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product comprising one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data The center transmits to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium can be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium (eg, a solid state hard disk) or the like.
本发明中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。The term "and/or" in the present invention is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist simultaneously. There are three cases of B. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
需要说明的是:上述实施例提供的数据传输装置在执行上述数据传输方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将数据传输装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的数据传输装置与数据传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the data transmission device provided by the foregoing embodiment performs the foregoing data transmission method, only the division of each functional module described above is illustrated. In an actual application, the foregoing function may be allocated by different functional modules according to requirements. Completion, that is, dividing the internal structure of the data transmission device into different functional modules to complete all or part of the functions described above. In addition, the data transmission apparatus and the data transmission method embodiment provided by the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only an optional embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application are included in the protection of the present application. Within the scope.

Claims (22)

  1. 一种数据传输方法,其特征在于,所述方法包括:A data transmission method, characterized in that the method comprises:
    判断电力线通信网络是否满足预设条件,所述电力线通信网络包括:中央协调器CCO、至少一个代理协调器PCO和至少一个站点STA;Determining whether the power line communication network satisfies a preset condition, the power line communication network comprising: a central coordinator CCO, at least one agent coordinator PCO, and at least one station STA;
    在所述电力线通信网络不满足所述预设条件时,将所述电力线通信网络的载波侦听多路访问CSMA时隙的时长调整为目标时长;Adjusting a duration of a carrier sense multiple access CSMA time slot of the power line communication network to a target duration when the power line communication network does not satisfy the preset condition;
    控制所述电力线通信网络基于调整时长后的所述CSMA时隙传输数据。Controlling the power line communication network to transmit data based on the CSMA time slot after adjusting the duration.
  2. 根据权利要求1所述的方法,其特征在于,所述预设条件包括:所述目标时长与所述CSMA时隙的当前时长的差值的绝对值大于预设绝对值阈值的次数小于x,所述预设绝对值阈值大于零,所述x为大于或等于1的整数,The method according to claim 1, wherein the preset condition comprises: the absolute value of the difference between the target duration and the current duration of the CSMA slot is greater than a preset absolute threshold by less than x, The preset absolute value threshold is greater than zero, and the x is an integer greater than or equal to 1.
    所述判断电力线通信网络是否满足预设条件,包括:Determining whether the power line communication network satisfies a preset condition, including:
    获取所述目标时长;Obtaining the target duration;
    判断所述目标时长与所述当前时长的差值的绝对值是否大于所述预设绝对值阈值;Determining whether an absolute value of a difference between the target duration and the current duration is greater than the preset absolute threshold;
    在出现x次判断的结果为目标时长与所述当前时长的差值的绝对值大于所述预设绝对值阈值时,确定所述电力线通信网络不满足所述预设条件。When the result of the x times of judgment is that the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold, it is determined that the power line communication network does not satisfy the preset condition.
  3. 根据权利要求2所述的方法,其特征在于,所述获取所述目标时长,包括:The method according to claim 2, wherein the obtaining the target duration comprises:
    获取所述电力线通信网络的至少一个组网参数;Obtaining at least one networking parameter of the power line communication network;
    根据所述至少一个组网参数对所述当前时长进行调节,得到所述目标时长;Adjusting the current duration according to the at least one networking parameter to obtain the target duration;
    其中,所述组网参数包括:所述PCO的数量、所述STA的数量和所述电力线通信网络的网络层级的数量,所述目标时长与所述电力线通信网络的至少一个组网参数的和正相关,所述目标时长与所述当前时长正相关。The networking parameter includes: the number of the PCO, the number of the STAs, and the number of network levels of the power line communication network, and the sum of the target duration and at least one networking parameter of the power line communication network Correlation, the target duration is positively correlated with the current duration.
  4. 根据权利要求3所述的方法,其特征在于,The method of claim 3 wherein:
    所述目标时长t2=t1*[f(m)+g(n)]*h(j),The target duration t2=t1*[f(m)+g(n)]*h(j),
    其中,所述t1为所述当前时长,所述m为所述PCO的数量,所述f(m)为m个所述PCO相对于单位网元的折算数量,所述n为所述STA的数量,所述g(n)为n个所述STA相对于所述单位网元的折算数量,所述j为所述网络层级的数量,所述h(j)为j个所述网络层级相对于单位层级的折算数量。The t1 is the current duration, the m is the number of the PCO, and the f(m) is a converted quantity of m PCOs relative to a unit network element, where n is the STA The quantity, the g(n) is a converted quantity of n the STAs relative to the unit network element, the j is the number of the network level, and the h(j) is j, the network level is relative The amount of conversion at the unit level.
  5. 根据权利要求2所述的方法,其特征在于,所述将所述电力线通信网络的载波侦听多路访问CSMA时隙的时长调整为目标时长,包括:The method according to claim 2, wherein the adjusting the duration of the carrier sense multiple access CSMA time slot of the power line communication network to the target duration includes:
    将所述CSMA时隙的时长调整为最近一次获取到的目标时长。The duration of the CSMA slot is adjusted to the last acquired target duration.
  6. 根据权利要求2所述的方法,其特征在于,在所述判断所述目标时长与所述当前时长的差值的绝对值是否大于所述预设绝对值阈值之前,所述方法还包括:The method according to claim 2, wherein before the determining whether the absolute value of the difference between the target duration and the current duration is greater than the preset absolute threshold, the method further includes:
    确定所述电力线通信网络中传输的数据的目标业务类型;Determining a target service type of data transmitted in the power line communication network;
    查询预设的业务类型与时长的对应关系,确定所述目标业务类型对应的时长为所述当前时长。Querying a correspondence between the preset service type and the duration, and determining that the duration corresponding to the target service type is the current duration.
  7. 根据权利要求1所述的方法,其特征在于,所述预设条件包括:所述电力线通信网络的通信成功率小于预设成功率阈值的次数小于y,所述y为大于或等于1的整数,所述判断电力线通信网络是否满足预设条件,包括:The method according to claim 1, wherein the preset condition comprises: a communication success rate of the power line communication network is less than a preset success rate threshold, and the y is an integer greater than or equal to 1. And determining whether the power line communication network meets a preset condition, including:
    获取所述电力线通信网络的通信成功率;Obtaining a communication success rate of the power line communication network;
    判断所述电力线通信网络的通信成功率是否小于所述预设成功率阈值;Determining whether a communication success rate of the power line communication network is less than the preset success rate threshold;
    在出现y次判断的结果为所述电力线通信网络的通信成功率小于所述预设成功率阈值时,确定所述电力线通信网络的不满足所述预设条件。When the result of the y-th determination is that the communication success rate of the power line communication network is less than the preset success rate threshold, it is determined that the power line communication network does not satisfy the preset condition.
  8. 根据权利要求7所述的方法,其特征在于,所述电力线通信网络包括多个节点,所述多个节点包括所述PCO和所述STA,所述获取所述电力线通信网络的通信成功率,包括:The method according to claim 7, wherein said power line communication network comprises a plurality of nodes, said plurality of nodes including said PCO and said STA, said obtaining a communication success rate of said power line communication network, include:
    获取所述电力线通信网络中每个所述PCO的通信成功率;Obtaining a communication success rate of each of the PCOs in the power line communication network;
    获取所述电力线通信网络中每个所述STA的通信成功率;Obtaining a communication success rate of each of the STAs in the power line communication network;
    根据每个所述PCO的通信成功率以及每个所述STA的通信成功率,确定所述电力线通信网络的通信成功率,所述电力线通信网络的通信成功率与所述电力线通信网络中通信成功率小于1的节点个数负相关。Determining a communication success rate of the power line communication network according to a communication success rate of each of the PCOs and a communication success rate of each of the STAs, a communication success rate of the power line communication network and a communication success in the power line communication network The number of nodes with a rate less than 1 is negatively correlated.
  9. 根据权利要求7所述的方法,其特征在于,预设的通信成功率与时长的对应关系中,通信成功率与所述通信成功率对应的时长负相关,在所述将所述电力线通信网络的载波侦听多路访问CSMA时隙的时长调整为目标时长之前,所述方法还包括:The method according to claim 7, wherein in the correspondence between the preset communication success rate and the duration, the communication success rate is negatively correlated with the duration corresponding to the communication success rate, and the power line communication network is Before the carrier sense multi-access CSMA time slot is adjusted to the target duration, the method further includes:
    查询预设的通信成功率与时长的对应关系,确定最近一次获取到的通信成功率对应的时长为所述目标时长。Querying the correspondence between the preset communication success rate and the duration, and determining the duration corresponding to the latest acquired communication success rate is the target duration.
  10. 根据权利要求1至9任一所述的方法,其特征在于,在所述将所述电力线通信网络的载波侦听多路访问CSMA时隙的时长调整为目标时长之后,所述方法还包括:The method according to any one of claims 1 to 9, wherein after the adjusting the duration of the carrier sense multiple access CSMA time slot of the power line communication network to the target duration, the method further comprises:
    判断所述CSMA时隙的时长是否达到预设时长;Determining whether the duration of the CSMA time slot reaches a preset duration;
    在所述CSMA时隙的时长达到所述预设时长时,判断所述电力线通信网络在预设时间段内的数据传输质量是否持续高于预设质量阈值;When the duration of the CSMA time slot reaches the preset duration, determining whether the data transmission quality of the power line communication network in the preset time period continues to be higher than a preset quality threshold;
    在所述电力线通信网络在所述预设时间段内的数据传输质量持续高于所述预设质量阈值时,减小所述CSMA时隙的时长;Decrease the duration of the CSMA slot when the data transmission quality of the power line communication network continues to be higher than the preset quality threshold during the preset time period;
    控制所述电力线通信网络基于减小时长后的所述CSMA时隙传输数据。Controlling the power line communication network to transmit data based on the CSMA time slot after decreasing the duration.
  11. 一种数据传输装置,其特征在于,所述数据传输装置包括:A data transmission device, characterized in that the data transmission device comprises:
    第一判断模块,用于判断电力线通信网络是否满足预设条件,所述电力线通信网络包括:中央协调器CCO、至少一个代理协调器PCO和至少一个站点STA;a first determining module, configured to determine whether the power line communication network satisfies a preset condition, where the power line communication network includes: a central coordinator CCO, at least one agent coordinator PCO, and at least one station STA;
    调整模块,用于在所述电力线通信网络不满足所述预设条件时,将所述电力线通信网络的载波侦听多路访问CSMA时隙的时长调整为目标时长;And an adjustment module, configured to adjust a duration of a carrier sense multiple access CSMA time slot of the power line communication network to a target duration when the power line communication network does not meet the preset condition;
    第一控制模块,用于控制所述电力线通信网络基于调整时长后的所述CSMA时隙传输数据。And a first control module, configured to control the power line communication network to transmit data according to the CSMA time slot after adjusting the duration.
  12. 根据权利要求11所述的数据传输装置,其特征在于,所述预设条件包括:所述目标时长与所述CSMA时隙的当前时长的差值的绝对值大于预设绝对值阈值的次数小于x,预设绝对值阈值大于零,所述x为大于或等于1的整数,所述第一判断模块包括:The data transmission device according to claim 11, wherein the preset condition comprises: the absolute value of the difference between the target duration and the current duration of the CSMA slot is greater than a preset absolute threshold. x, the preset absolute value threshold is greater than zero, the x is an integer greater than or equal to 1, and the first determining module includes:
    第一获取单元,用于获取所述目标时长;a first acquiring unit, configured to acquire the target duration;
    第一判断单元,用于判断所述目标时长与所述当前时长的差值的绝对值是否大于预设绝对值阈值;a first determining unit, configured to determine whether an absolute value of a difference between the target duration and the current duration is greater than a preset absolute threshold;
    第一确定单元,用于在出现x次判断的结果为目标时长与所述当前时长的差值的绝对值大于所述预设绝对值阈值时,确定所述电力线通信网络不满足所述预设条件。a first determining unit, configured to determine that the power line communication network does not satisfy the preset when an absolute value of a difference between the target duration and the current duration is greater than the preset absolute threshold condition.
  13. 根据权利要求12所述的数据传输装置,其特征在于,所述第一获取单元还用于:The data transmission device according to claim 12, wherein the first obtaining unit is further configured to:
    获取所述电力线通信网络的至少一个组网参数;Obtaining at least one networking parameter of the power line communication network;
    根据所述至少一个组网参数对所述当前时长进行调节,得到所述目标时长;Adjusting the current duration according to the at least one networking parameter to obtain the target duration;
    其中,所述组网参数包括:所述PCO的数量、所述STA的数量和所述电力线通信网络的网络层级的数量,所述目标时长与所述电力线通信网络的至少一个组网参数的和正相关,所述目标时长与所述当前时长正相关。The networking parameter includes: the number of the PCO, the number of the STAs, and the number of network levels of the power line communication network, and the sum of the target duration and at least one networking parameter of the power line communication network Correlation, the target duration is positively correlated with the current duration.
  14. 根据权利要求13所述的数据传输装置,其特征在于,The data transmission device according to claim 13, wherein
    所述目标时长t2=t1*[f(m)+g(n)]*h(j),The target duration t2=t1*[f(m)+g(n)]*h(j),
    其中,所述t1为所述当前时长,所述m为所述PCO的数量,所述f(m)为m个所述PCO相对于单位网元的折算数量,所述n为所述STA的数量,所述g(n)为n个所述STA相对于所述单位网元的折算数量,所述j为所述网络层级的数量,所述h(j)为j个所述网络层级相对于单位层级的折算数量。The t1 is the current duration, the m is the number of the PCO, and the f(m) is a converted quantity of m PCOs relative to a unit network element, where n is the STA The quantity, the g(n) is a converted quantity of n the STAs relative to the unit network element, the j is the number of the network level, and the h(j) is j, the network level is relative The amount of conversion at the unit level.
  15. 根据权利要求12所述的数据传输装置,其特征在于,所述调整模块还用于:The data transmission device according to claim 12, wherein the adjustment module is further configured to:
    将所述CSMA时隙的时长调整为最近一次获取到的目标时长。The duration of the CSMA slot is adjusted to the last acquired target duration.
  16. 根据权利要求12所述的数据传输装置,其特征在于,所述数据传输装置还包括:The data transmission device according to claim 12, wherein the data transmission device further comprises:
    确定模块,用于确定所述电力线通信网络中传输的数据的目标业务类型;a determining module, configured to determine a target service type of data transmitted in the power line communication network;
    第一查询模块,用于查询预设的业务类型与时长的对应关系,确定所述目标业务类型对应的时长为所述当前时长。The first query module is configured to query the correspondence between the preset service type and the duration, and determine the duration corresponding to the target service type as the current duration.
  17. 根据权利要求11所述的数据传输装置,其特征在于,所述预设条件包括:所述电力线通信网络的通信成功率小于预设成功率阈值的次数小于y,所述y为大于或等于1的整数,所述第一判断模块包括:The data transmission device according to claim 11, wherein the preset condition comprises: a communication success rate of the power line communication network is less than a preset success rate threshold, the number of times is less than y, and the y is greater than or equal to 1 An integer, the first determining module includes:
    第二获取单元,用于获取所述电力线通信网络的通信成功率;a second acquiring unit, configured to acquire a communication success rate of the power line communication network;
    第二判断单元,用于判断所述电力线通信网络的通信成功率是否小于所述预设成功率阈值;a second determining unit, configured to determine whether a communication success rate of the power line communication network is less than the preset success rate threshold;
    第二确定单元,用于在出现y次判断的结果为所述电力线通信网络的通信成功率小于所述预设成功率阈值时,确定所述电力线通信网络的不满足所述预设条件。And a second determining unit, configured to determine that the power line communication network does not satisfy the preset condition when a result of the y-th determination is that the communication success rate of the power line communication network is less than the preset success rate threshold.
  18. 根据权利要求17所述的数据传输装置,其特征在于,所述电力线通信网络包括多个节点,所述多个节点包括所述PCO和所述STA,所述第二获取单元还用于:The data transmission device according to claim 17, wherein the power line communication network comprises a plurality of nodes, the plurality of nodes comprising the PCO and the STA, and the second obtaining unit is further configured to:
    获取所述电力线通信网络中每个所述PCO的通信成功率;Obtaining a communication success rate of each of the PCOs in the power line communication network;
    获取所述电力线通信网络中每个所述STA的通信成功率;Obtaining a communication success rate of each of the STAs in the power line communication network;
    根据每个所述PCO的通信成功率以及每个所述STA的通信成功率,确定所述电力线通信网络的通信成功率,所述电力线通信网络的通信成功率与所述电力线通信网络中通信成功率小于1的节点个数负相关。Determining a communication success rate of the power line communication network according to a communication success rate of each of the PCOs and a communication success rate of each of the STAs, a communication success rate of the power line communication network and a communication success in the power line communication network The number of nodes with a rate less than 1 is negatively correlated.
  19. 根据权利要求17所述的数据传输装置,其特征在于,预设的通信成功率与时长的对应关系中,通信成功率与所述通信成功率对应的时长负相关,所述数据传输装置还包括:The data transmission device according to claim 17, wherein in the correspondence between the preset communication success rate and the duration, the communication success rate is negatively correlated with the duration corresponding to the communication success rate, and the data transmission device further includes :
    第二查询模块,用于查询预设的通信成功率与时长的对应关系,确定最近一次获取到的通信成功率对应的时长为所述目标时长。The second query module is configured to query a correspondence between a preset communication success rate and a duration, and determine a duration corresponding to the latest acquired communication success rate as the target duration.
  20. 根据权利要求11至19任一所述的数据传输装置,其特征在于,所述数据传输装置还包括:The data transmission device according to any one of claims 11 to 19, wherein the data transmission device further comprises:
    第二判断模块,用于判断所述CSMA时隙的时长是否达到预设时长;a second determining module, configured to determine whether a duration of the CSMA time slot reaches a preset duration;
    第三判断模块,用于在所述CSMA时隙的时长达到所述预设时长时,判断所述电力线通信网络在预设时间段内的数据传输质量是否持续高于预设质量阈值;a third determining module, configured to determine, when the duration of the CSMA time slot reaches the preset duration, whether the data transmission quality of the power line communication network continues to be higher than a preset quality threshold in a preset time period;
    减小模块,用于在所述电力线通信网络在所述预设时间段内的数据传输质量持续高于所述预设质量阈值时,减小所述CSMA时隙的时长;a reducing module, configured to reduce a duration of the CSMA time slot when the data transmission quality of the power line communication network continues to be higher than the preset quality threshold during the preset time period;
    第二控制模块,用于控制所述电力线通信网络基于减小时长后的所述CSMA时隙传输数据。And a second control module, configured to control the power line communication network to transmit data based on the CSMA time slot after decreasing the duration.
  21. 一种电力线通信网络,其特征在于,所述电力线通信网络包括:中央协调器CCO、至少一个代理协调器PCO和至少一个站点STA,所述CCO为:权利要求11至20任一所述的数据传输装置。A power line communication network, characterized in that the power line communication network comprises: a central coordinator CCO, at least one agent coordinator PCO and at least one station STA, the CCO being: the data according to any one of claims 11 to 20. Transmission device.
  22. 一种电力***,其特征在于,所述电力***包括权利要求21所述的电力线通信网络。A power system, characterized in that the power system comprises the power line communication network of claim 21.
PCT/CN2018/080714 2017-04-10 2018-03-27 Data transmission method and apparatus, power line communication network, and power system WO2018188477A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710229808.0A CN108696298B (en) 2017-04-10 2017-04-10 Data transmission method and device, power line communication network and power system
CN201710229808.0 2017-04-10

Publications (1)

Publication Number Publication Date
WO2018188477A1 true WO2018188477A1 (en) 2018-10-18

Family

ID=63793121

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/080714 WO2018188477A1 (en) 2017-04-10 2018-03-27 Data transmission method and apparatus, power line communication network, and power system

Country Status (2)

Country Link
CN (2) CN108696298B (en)
WO (1) WO2018188477A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262787A (en) * 2020-03-17 2020-06-09 北京四季豆信息技术有限公司 Data transmission method and electronic equipment
CN113644936A (en) * 2021-07-06 2021-11-12 珠海中慧微电子有限公司 Three-phase parallel communication method of broadband carrier communication network
CN113676988A (en) * 2021-07-08 2021-11-19 南方电网科学研究院有限责任公司 Wireless sensor access method and system of broadband carrier communication network
CN113724485A (en) * 2021-09-03 2021-11-30 重庆邮电大学 Rapid intensive information acquisition method
CN113949415A (en) * 2021-09-23 2022-01-18 中国能源建设集团广东省电力设计研究院有限公司 Agent change evaluation method and device for high-speed power line carrier communication network
CN114584274A (en) * 2022-03-08 2022-06-03 重庆邮电大学 Method for improving success rate of power utilization information acquisition
CN116828061A (en) * 2023-08-18 2023-09-29 联桥科技有限公司 Configuration method and system for power line carrier and wireless fusion communication

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110581745B (en) * 2019-09-12 2020-11-06 北京晓航众芯科技有限公司 Method and device for correcting time synchronization and frequency deviation of communication node
CN110661551B (en) * 2019-09-29 2021-08-13 南方电网科学研究院有限责任公司 Method for adaptively adjusting beacon period time slot number
CN113203190B (en) * 2021-04-30 2022-05-27 佛山市顺德区美的电子科技有限公司 Pairing method and device of air conditioner based on power line communication and storage medium
CN113472694B (en) * 2021-06-22 2022-03-22 佳源科技股份有限公司 CSMA (Carrier sense multiple Access) time slot channel binding access method and power carrier communication method
CN113438656B (en) * 2021-08-26 2021-10-29 南京杰思微电子技术有限公司 Dual-mode multi-frequency networking method and system based on power line and wireless
CN113949412B (en) * 2021-09-08 2023-06-09 国网宁夏电力有限公司营销服务中心(国网宁夏电力有限公司计量中心) Optimization method of high-speed power line carrier communication network
CN117615398B (en) * 2024-01-23 2024-04-16 国网四川省电力公司电力科学研究院 Data transmission method, system and medium for distribution automation feeder terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050286509A1 (en) * 2004-06-08 2005-12-29 Ryuichi Iwamura Audio/video network interface
CN103560840A (en) * 2013-10-28 2014-02-05 华为技术有限公司 Method, device and system for monitoring terminal conditions
CN106506043A (en) * 2016-11-04 2017-03-15 重庆邮电大学 Data transmission method, control device and equipment in a kind of PLC system
CN107046494A (en) * 2016-11-15 2017-08-15 贵州电网有限责任公司电力科学研究院 The division methods of time slot in a kind of power information acquisition system based on power line communication

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2360847A4 (en) * 2008-12-09 2012-08-01 Pioneer Corp Communication system, method, and communication device
CN101494900A (en) * 2009-01-09 2009-07-29 吴鑫 Method of synchronization of wireless sensing network node
US9030932B2 (en) * 2011-08-24 2015-05-12 Texas Instruments Incorporated Enhanced carrier sense multiple access (CSMA) protocols
KR101394884B1 (en) * 2012-06-18 2014-05-13 현대모비스 주식회사 Congestion Control Device and Method for Inter-Vehicle Communication
US9537641B2 (en) * 2013-05-30 2017-01-03 Qualcomm Incorporated Channel adaptation to compensate for interference from neighbor powerline communication networks
CN104269873B (en) * 2014-09-28 2016-06-29 东南大学 Based on system health state estimation and the micro-capacitance sensor autonomous control method using for reference CSMA/CD mechanism
US10117068B2 (en) * 2014-12-19 2018-10-30 Stmicroelectronics, Inc. Multi-acked multicast protocol
CN106533833B (en) * 2016-11-24 2019-09-10 重庆邮电大学 A method of reducing Carrier Sense Multiple Access resource contention

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050286509A1 (en) * 2004-06-08 2005-12-29 Ryuichi Iwamura Audio/video network interface
CN103560840A (en) * 2013-10-28 2014-02-05 华为技术有限公司 Method, device and system for monitoring terminal conditions
CN106506043A (en) * 2016-11-04 2017-03-15 重庆邮电大学 Data transmission method, control device and equipment in a kind of PLC system
CN107046494A (en) * 2016-11-15 2017-08-15 贵州电网有限责任公司电力科学研究院 The division methods of time slot in a kind of power information acquisition system based on power line communication

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262787A (en) * 2020-03-17 2020-06-09 北京四季豆信息技术有限公司 Data transmission method and electronic equipment
CN111262787B (en) * 2020-03-17 2022-04-15 北京四季豆信息技术有限公司 Data transmission method and electronic equipment
CN113644936A (en) * 2021-07-06 2021-11-12 珠海中慧微电子有限公司 Three-phase parallel communication method of broadband carrier communication network
CN113676988A (en) * 2021-07-08 2021-11-19 南方电网科学研究院有限责任公司 Wireless sensor access method and system of broadband carrier communication network
CN113724485A (en) * 2021-09-03 2021-11-30 重庆邮电大学 Rapid intensive information acquisition method
CN113949415A (en) * 2021-09-23 2022-01-18 中国能源建设集团广东省电力设计研究院有限公司 Agent change evaluation method and device for high-speed power line carrier communication network
CN113949415B (en) * 2021-09-23 2022-09-13 中国能源建设集团广东省电力设计研究院有限公司 Agent change evaluation method and device for high-speed power line carrier communication network
CN114584274A (en) * 2022-03-08 2022-06-03 重庆邮电大学 Method for improving success rate of power utilization information acquisition
CN114584274B (en) * 2022-03-08 2023-11-21 重庆邮电大学 Method for improving electricity consumption information acquisition success rate
CN116828061A (en) * 2023-08-18 2023-09-29 联桥科技有限公司 Configuration method and system for power line carrier and wireless fusion communication
CN116828061B (en) * 2023-08-18 2024-04-02 联桥科技有限公司 Configuration method and system for power line carrier and wireless fusion communication

Also Published As

Publication number Publication date
CN108696298B (en) 2020-11-17
CN112332889A (en) 2021-02-05
CN108696298A (en) 2018-10-23
CN112332889B (en) 2021-10-26

Similar Documents

Publication Publication Date Title
WO2018188477A1 (en) Data transmission method and apparatus, power line communication network, and power system
CN112118617B (en) Base station energy saving method, device and storage medium
US9025527B2 (en) Adaptive channel reuse mechanism in communication networks
WO2021243580A1 (en) Method and apparatus for transmitting downlink positioning reference signal, and storage medium
CN102291836B (en) A kind of random access control method and system
CN103220788B (en) Method, node and the access point that node is grouped
JP6289650B2 (en) Data transmission method and device
WO2013128072A1 (en) Method and apparatus for synchronized channel access among groups
JP2021514151A (en) Temporary floating DL timing approach for unlicensed radio band scenarios
JP2015512166A (en) Dynamic channel reuse in multi-access notification systems.
CN101681347A (en) probing network nodes for optimization
CN105517181A (en) Carrier wave resource processing method and device of unauthorized carrier waves and transmission node
JP2015501566A (en) Distributed scheduling method and apparatus for improving link performance in a wireless communication system
CN105163388A (en) Website and channel selection and aggregation method thereof
CN109996334A (en) Information indicating method, terminal device and the network equipment
US9438309B2 (en) Asymmetric channels in power line communications
US20130229988A1 (en) Method and Apparatus for Synchronized Channel Access Among Groups
CN110493805A (en) Detect the method, apparatus and computer readable storage medium of the position wireless extensions AP
WO2016169265A1 (en) Method and device for performing coordination among a plurality of power-line networks
CN106912054B (en) Access point control method and system for rail transit communication system
CN106792904A (en) The transmission method of small bag data and base station
CN107534479A (en) Management frame antenna selecting method and device based on master-slave type network
CN115174026B (en) Method and device for allocating number of beacon time slots and computer equipment
WO2024078076A1 (en) Base station energy-saving method and device and storage medium
CN108235447B (en) A kind of connection method of complex dynamic network

Legal Events

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

Ref document number: 18784223

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18784223

Country of ref document: EP

Kind code of ref document: A1