CN108696298A - Data transmission method and device, power line communication network, electric system - Google Patents

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

Info

Publication number
CN108696298A
CN108696298A CN201710229808.0A CN201710229808A CN108696298A CN 108696298 A CN108696298 A CN 108696298A CN 201710229808 A CN201710229808 A CN 201710229808A CN 108696298 A CN108696298 A CN 108696298A
Authority
CN
China
Prior art keywords
power line
duration
communication network
line communication
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710229808.0A
Other languages
Chinese (zh)
Other versions
CN108696298B (en
Inventor
吕宜宣
徐德超
张国宾
郭佳
田甲申
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710229808.0A priority Critical patent/CN108696298B/en
Priority to CN202011098785.2A priority patent/CN112332889B/en
Priority to PCT/CN2018/080714 priority patent/WO2018188477A1/en
Publication of CN108696298A publication Critical patent/CN108696298A/en
Application granted granted Critical
Publication of CN108696298B publication Critical patent/CN108696298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

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

This application discloses a kind of data transmission method and device, power line communication network, electric system, belong to field of communication technology.The method includes:Judge whether power line communication network meets preset condition, power line communication network includes:Central coordinator CCO, at least one agent coordinator PCO and at least one site STA;When power line communication network is unsatisfactory for preset condition, the duration of the Carrier Sense Multiple Access CSMA time slots of power line communication network is adjusted to target duration;Power line communication network is controlled based on the CSMA slot transmission data after adjustment duration.Present application addresses solving the problems, such as that the traffic-operating period of PLC network is poor, the traffic-operating period of power line communication network is improved, the application is used for the transmission of data.

Description

Data transmission method and device, power line communication network, electric system
Technical field
This application involves field of communication technology, more particularly to a kind of data transmission method and device, power line communication network, Electric system.
Background technology
Electric system includes the management server of electrical supplier, multiple power line communications (Power Line Communication, PLC) network and every household installation ammeter, the management server of electrical supplier can pass through PLC network It is connected with ammeter, and then acquires the power information on each ammeter.
In the related technology, each PLC network is made of multiple nodes, and multiple node includes a central coordinator (Central Coordinator, CCO), multiple cascade agent coordinators (Proxy Coordinator, PCO) and multiple stations Point (Station, STA).Wherein, management server is connected with CCO, and CCO is connected with multiple cascade PCO, multiple cascades PCO in each PCO in level-one PCO farthest from CCO be connected at least one STA.Wherein, at least one STA Each STA is connected at least one ammeter;Alternatively, a part of STA at least one STA is ammeter, in another part STA Each STA be connected at least one ammeter.There are one beacon periods for each PLC network configuration, and appointing in electric system The beacon period of two PLC network configurations of meaning is different;Each the beacon period of PLC network configuration includes:Beacon slot and carrier wave Multiple access (Carrier Sense MultipleAccess, CSMA) time slot is intercepted, the node in each PLC network being capable of base The transmission of data is carried out in the CSMA time slots of PLC network configuration.
If the networking structure of PLC network change or PLC network in interference signal intensity change, PLC nets Duration needed for network transmission data can also change, but the CSMA time slots of PLC network configuration can not change in the related technology, Therefore, the CSMA time slots of PLC network configuration can not adapt to the PLC network of variation, and the traffic-operating period of PLC network is poor.
Invention content
Relatively low in order to solve the data transmission quality in PLC network, the relatively low problem of data transmission efficiency, the application provides A kind of data transmission method and device, power line communication network, electric system.The technical solution is as follows:
In a first aspect, a kind of data transmission method is provided, the method includes:Judge whether power line communication network is full Sufficient preset condition, the power line communication network include:Central coordinator CCO, at least one agent coordinator PCO and at least one A site STA;When the power line communication network is unsatisfactory for the preset condition, by the carrier wave of the power line communication network The duration for intercepting multiple access CSMA time slots is adjusted to target duration;The power line communication network is controlled to be based on after adjusting duration The CSMA slot transmissions data.
When the networking structure of power line communication network change or power line communication network in interference signal intensity When changing, it can determine that power line communication network is unsatisfactory for preset condition by judgement, at this point it is possible to power line communication The duration of the CSMA time slots of network configuration is adjusted, so that the power line communication network after the duration of adjustment CSMA time slots is full Sufficient preset condition so that the duration of CSMA time slots can adapt to the variation of power line communication network, and disclosure satisfy that electric power The demand of the duration of line communication network transmission data, this improves the traffic-operating periods of power line communication network.
Optionally, the preset condition includes:The target duration and the difference of the current duration of the CSMA time slots The number that absolute value is more than pre-determined absolute threshold value is less than x, and the pre-determined absolute threshold value is more than zero, and the x is to be more than or wait It is described to judge whether power line communication network meets preset condition in 1 integer, including:Obtain the target duration;Judge institute It states target duration and whether the absolute value of the difference of the current duration is more than the pre-determined absolute threshold value;Sentence occurring x times When disconnected result is that the absolute value of the difference of target duration and the current duration is more than the pre-determined absolute threshold value, institute is determined It states power line communication network and is unsatisfactory for the preset condition.
It is more than as target duration and the absolute value of the difference of the current duration there is the result that x times judges in the application When the pre-determined absolute threshold value, determine the CSMA time slots needed for current power line communication network transmission data duration ( That is target duration) with current duration differ more, it is badly in need of being adjusted the duration of CSMA time slots at this time, it is logical to improve power line Utilization rate of the data transmission quality and/or power line communication network of communication network to CSMA time slots.
Optionally, the acquisition target duration, including:Obtain at least one networking of the power line communication network Parameter;The current duration is adjusted according at least one group of network parameters, obtains the target duration;Wherein, institute Stating a group network parameters includes:The number of the network level of the quantity of the PCO, the quantity of the STA and the power line communication network Amount, at least one group of network parameters of the target duration and the power line communication network and positive correlation, the target duration With the current duration positive correlation.
When the node in power line communication network is reduced, power line communication network needs the number transmitted in CSMA time slots According to can reduce, the data transmitted needed for power line communication network in the portion of time section in the current duration of CSMA time slots just It can be transmitted, at this point, power line communication network is relatively low to the utilization rate of CSMA time slots, the mesh needed for power line communication network It marks duration and is less than current duration.When power line communication network interior joint increases, power line communication network needs in CSMA time slots The data to be transmitted can increase, and the data transmitted needed for power line communication network can not be transmitted in the current duration of CSMA time slots It completes, at this point, the data transmission quality of power line communication network is poor, the target duration needed for power line communication network is more than and works as Preceding duration.Therefore, CCO can be adjusted current duration according to the group network parameters of power line communication network, can obtain electricity The target duration of the current desired CSMA time slots of line of force communication network.
Optionally, the target duration t2=t1*[f(m)+g(n)]* h (j), wherein the t1 is the current duration, The m is the quantity of the PCO, and the f (m) is m conversion quantity of the PCO relative to unit network element, and the n is described The quantity of STA, the g (n) are n conversion quantity of the STA relative to the unit network element, and the j is the network layer The quantity of grade, the h (j) are j conversion quantity of the network level relative to unit level.
Optionally, the duration of the Carrier Sense Multiple Access CSMA time slots by the power line communication network is adjusted to Target duration, including:The duration of the CSMA time slots is adjusted to the last target duration got.Due to the last time The target duration got is more in line under current scene the duration of the CSMA time slots needed for power line communication network transmission data, So the duration of CSMA time slots is adjusted to the last target duration got, to be more in line with power line communication network current The demand of transmission data so that power line communication network meets preset condition.
Optionally, judge whether the target duration and the absolute value of the difference of current duration are more than described preset described Before absolute value threshold value, the method further includes:Determine the target service class for the data transmitted in the power line communication network Type;The correspondence for inquiring preset type of service and duration determines a length of when the target service type is corresponding described work as Preceding duration.
Different types of service is set and corresponds to different current durations, and each corresponding current duration of type of service and electricity The amount positive correlation of line of force communication network transmission data in power line communication network when executing the business of the type of service, to the greatest extent It is possible ensure can be as possible when power line communication network executes each business meet preset condition, ensure electric power as possible Line communication network configuration CSMA time slots duration as far as possible with the when appearance needed for power line communication network transmission data Match.
Optionally, the preset condition includes:The communication success rate of the power line communication network is less than default success rate The number of threshold value is less than y, and the y is the integer more than or equal to 1, described to judge whether power line communication network meets default item Part, including:Obtain the communication success rate of the power line communication network;Judge the communication success rate of the power line communication network It is preset to power threshold described in whether being less than;There is the result that y times judges as the communication success of the power line communication network When rate is preset to power threshold less than described in, determine the power line communication network is unsatisfactory for the preset condition.
There is communication success rate of the result that y times judges as power line communication network less than default success rate in the application When threshold value, determine the duration of the CSMA time slots needed for current power line communication network transmission data differed with current duration compared with It is more, it is badly in need of being adjusted the duration of CSMA time slots at this time, to improve the data transmission quality of power line communication network.
Optionally, the power line communication network includes multiple nodes, and the multiple node includes the PCO and described STA, the communication success rate for obtaining the power line communication network, including:It obtains each in the power line communication network The communication success rate of the PCO;Obtain the communication success rate of each STA in the power line communication network;According to each The communication success rate of the communication success rate of the PCO and each STA, determine the communication of the power line communication network at Power, the communication success rate of the power line communication network communicate the section that success rate is less than 1 with the power line communication network Point number is negatively correlated.It that is to say, communication success rate is more less than 1 node in power line communication network, then power line communication network The communication success rate of network is lower;It is fewer less than 1 node that success rate is communicated in power line communication network, then power line communication network Communication success rate it is higher.
Optionally, in the correspondence of preset communication success rate and duration, communication success rate and the communication success rate Corresponding duration is negatively correlated, in the duration tune of the Carrier Sense Multiple Access CSMA time slots by the power line communication network It is whole for before target duration, the method further includes:The correspondence for inquiring preset communication success rate and duration, determines nearest The communication success rate once got a length of target duration when corresponding.The communication success rate got due to the last time Corresponding duration is more in line under current scene the duration of the CSMA time slots needed for power line communication network transmission data, so will The duration of CSMA time slots is adjusted to the last corresponding duration of communication success rate got and is more in line with power line communication network The demand of network current transmission data so that power line communication network meets preset condition.
Optionally, it is adjusted in the duration of the Carrier Sense Multiple Access CSMA time slots by the power line communication network After target duration, the method further includes:Judge whether the duration of the CSMA time slots reaches preset duration;Described When the duration of CSMA time slots reaches the preset duration, judge that the data of the power line communication network within a preset period of time pass Whether transmission quality is persistently higher than predetermined quality threshold;It is passed in data of the power line communication network in the preset time period When transmission quality is persistently higher than the predetermined quality threshold, reduce the duration of the CSMA time slots;Control the power line communication network Network is based on the CSMA slot transmissions data after reducing duration.
CCO is after the duration of adjustment CSMA time slots, it is also necessary in real time (or periodically) judge power line communication network Whether the duration of the CSMA time slots of network configuration is long, when the duration of CSMA time slots reaches preset duration, when determining current CSMA The duration of gap is long, at this point, since the total duration of all power line communication network transmission datas is constant, in current electricity When the duration of the CSMA time slots of line of force communication network configuration is longer, the duration of the CSMA time slots of other power line communication networks configuration Shorter, the data transmission quality of other power line communication networks is poor, and needing to be in due course at this time reduces CSMA time slots Duration.Determining that the duration of the current CSMA time slots of power line communication network is longer, and power line communication network is in preset time Data transmission quality in section is when continuing higher, CCO with regard to the CSMA time slots appropriate for reducing power line communication network duration, with The CSMA time slots that other networks can be increased convenient for other power line communication networks, promote the data of other power line communication networks Transmission quality.
Second aspect provides a kind of data transmission device, and the data transmission device includes at least one module, described At least one module is for realizing the data transmission method described in above-mentioned first aspect or second aspect.
The third aspect, provides a kind of data transmission device, and the data transmission device includes:At least one processor, At least one network interface, memory and at least one bus, memory pass through bus and processor respectively with network interface It is connected;Processor is configured as executing the instruction stored in memory;Processor realizes above-mentioned first party by executing instruction Data transmission method described in face or second aspect.
Fourth aspect, provides a kind of power line communication network, and the power line communication network includes:Central coordinator CCO, at least one agent coordinator PCO and at least one site STA, the CCO are:Described in the third aspect or fourth aspect Data transmission device.
5th aspect, provides a kind of electric system, and the electric system includes the power line communication described in the 5th aspect Network.
6th aspect, provides a kind of computer readable storage medium, is stored in the computer readable storage medium Instruction, when the computer readable storage medium is run on computers so that computer executes first aspect or second party Method described in face.
7th aspect provides a kind of computer program product including instruction, when the computer program product is being counted When being run on calculation machine so that computer executes the method described in first aspect or second aspect.
The advantageous effect that technical solution provided by the present application is brought is:
When the networking structure of power line communication network change or power line communication network in interference signal intensity When changing, it can determine that power line communication network is unsatisfactory for preset condition by judgement, at this point it is possible to power line communication The duration of the CSMA time slots of network configuration is adjusted, so that the power line communication network after the duration of adjustment CSMA time slots is full Sufficient preset condition so that the duration of CSMA time slots can adapt to the variation of power line communication network, and disclosure satisfy that electric power The demand of the duration of line communication network transmission data, this improves the traffic-operating periods of power line communication network.
Description of the drawings
Fig. 1 is a kind of structural schematic diagram of electric system provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of PLC network provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of beacon period provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of beacon period provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of data transmission device provided in an embodiment of the present invention;
Fig. 6 is a kind of method flow diagram of data transmission method provided in an embodiment of the present invention;
Fig. 7 is a kind of signal for judging power line communication network and whether meeting preset condition provided in an embodiment of the present invention Figure;
Fig. 8 is that another kind provided in an embodiment of the present invention judges whether power line communication network meets the signal of preset condition Figure;
Fig. 9 is the structural schematic diagram of another data transmission device provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of first judgment module provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of another data transmission device provided in an embodiment of the present invention;
Figure 12 is the structural schematic diagram of another first judgment module provided in an embodiment of the present invention;
Figure 13 is the structural schematic diagram of another data transmission device provided in an embodiment of the present invention;
Figure 14 is a kind of structural schematic diagram for data transmission device that another embodiment of the embodiment of the present invention provides.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
Fig. 1 is a kind of structural schematic diagram of electric system provided in an embodiment of the present invention, as shown in Figure 1, electric system 0 is wrapped Include the ammeter 03 of management server 01, multiple PLC networks 02 and the every household installation of electrical supplier, the management server of electrical supplier 01 can be connected by PLC network 02 with ammeter 03, and then acquire the power information on each ammeter 03.
Fig. 2 is a kind of structural schematic diagram of PLC network provided in an embodiment of the present invention, as shown in Fig. 2, each PLC network 02 is made of multiple nodes, and multiple node includes a CCO 021, multiple cascade PCO 022 and multiple STA023.Its In, the management server in Fig. 1 is connected with the CCO 021 in Fig. 2, and CCO 021 is connected with multiple cascade PCO 022, Each PCO 022 and at least one STA023 in PCO 022 in multiple cascade PCO 022 from 021 farthest level-ones of CCO It is connected.Optionally, each STA023 is connected with the ammeter at least one Fig. 1 (such as by standard RS-485 lines and ammeter Connection);Alternatively, a part of STA is ammeter, each STA in another part STA is connected at least one ammeter.The PLC nets Network is the network of multi-level structure, and the layer where CCO 021 is the 0th layer, along the direction far from CCO be respectively the 1st layer, the 2nd Layer ... the equipment of .. n-th layers, n-th layer includes STA.
There are one each PLC network configurations in electric system beacon period, and any two PLC nets in electric system The beacon period of network configuration is different.Fig. 3 is a kind of schematic diagram of beacon period provided in an embodiment of the present invention, as shown in figure 3, The beacon period Q1 of PLC network A configurations is different from the beacon period Q2 that PLC network B is configured, namely is not overlapped in the time domain.Fig. 4 For a kind of structural schematic diagram of beacon period provided in an embodiment of the present invention, as shown in figure 4, the beacon of each PLC network configuration Period, Q included:Beacon slot P1 and Carrier Sense Multiple Access (Carrier Sense MultipleAccess, CSMA) time slot P2, the node in each PLC network carry out the transmission of data in the CSMA time slots P2 that the PLC network configures.
Fig. 5 is a kind of structural schematic diagram of data transmission device provided in an embodiment of the present invention, which is CCO 021 in Fig. 2, as shown in figure 5, the data transmission device includes:At least one processor 0211 (such as central processing Device), at least one network interface 0212, memory 0213 and at least one bus 0214, for realizing between these devices Connection communication, memory 0213 are connected by bus 0214 with processor 0211 respectively with network interface 0212.Processor 0211 For executing the executable module stored in memory 0213, such as computer program.Memory 0213 may include high speed with Machine accesses memory (RandomAccess Memory, RAM), it is also possible to further include non-labile memory (non- Volatile memory), a for example, at least magnetic disk storage.Pass through (the wired or nothing of at least one network interface 0212 Line) realize communication connection between the data transmission device and at least one other network element, use internet, wide area network local Net, Metropolitan Area Network (MAN) etc..In some embodiments, memory 0213 stores program V, and program V can be executed by processor 0211.
Fig. 6 is a kind of method flow diagram of data transmission method provided in an embodiment of the present invention, which uses CCO in Fig. 2, the data transmission method can execute program V to realize by the processor 0211 in Fig. 5, as shown in fig. 6, The data transmission method includes:
Step 601, CCO judge whether power line communication network meets preset condition.If CCO determines power line communication network Meet preset condition, thens follow the steps 601;If CCO determines that power line communication network is unsatisfactory for preset condition, then follow the steps 602。
It should be noted that the preset condition in the embodiment of the present invention can be varied, based on different preset conditions, CCO judge power line communication network whether meet preset condition mode it is also different, the embodiment of the present invention will judge electric power to CCO The two kinds of achievable modes whether line communication network meets preset condition are explained.
Can be in realization mode at the first, preset condition can be:The absolute value of target duration and the difference of current duration Number more than pre-determined absolute threshold value is less than x, wherein it is the integer more than or equal to 1 that pre-determined absolute threshold value, which is more than zero, x,. It should be noted that when the data transmission quality of power line communication network is higher than predetermined quality threshold, and power line communication network When being higher than default utilization rate to the utilization rate of CSMA time slots, power line communication network meets preset condition.Optionally, if power line The current CSMA time slots of communication network are 100 seconds, and power line communication network is executing the data energy transmitted needed for current business Enough end of transmissions in 60 seconds, then exist in CSMA time slots 40 seconds durations be in the free time state (namely this 40 seconds when Power line communication network does not need to transmission data in long), then CCO thinks the profit of the current CSMA time slots of power line communication network It is 60% with rate.
As shown in fig. 7, judging that the step of whether power line communication network meets preset condition may include in step 601:
Step 6011a, CCO obtains target duration.
It should be noted that when presetting corresponding in the embodiment of the present invention for each type of service of power line communication network It is long, and the corresponding duration of each type of service with transmit in the power line communication network when executing the business of this kind of type of service Data volume positive correlation.As shown in table 1, when the type of service that power line communication network executes is meter reading and upgrading, power line is logical The data transmitted in communication network are more, and therefore, the corresponding duration of type of service of meter reading and upgrading is arranged, and larger (such as 3M needs Illustrate, M is the integer more than or equal to 0, and optionally, the unit of duration is the second);When the industry that power line communication network executes When service type is Network Management and Maintenance and networking, the data transmitted in power line communication network are less, therefore, Network Management and Maintenance and group are arranged The corresponding duration of type of service of net is smaller (such as 2M);When the type of service that power line communication network executes is gathered data, The minimum data transmitted in power line communication network, therefore, the corresponding duration of type of service that gathered data is arranged are minimum (such as M).When power line communication network needs to execute the business of certain type of service, the business for the business that CCO is executed according to the needs Type determines the corresponding duration of business that the needs execute, and the corresponding duration of business for then executing the needs is as the electricity The current duration of the CSMA time slots of line of force communication network configuration, and based on when a length of current duration CSMA slot transmission data.
Table 1
Type of service Duration
Meter reading 3M
Upgrading 3M
Network Management and Maintenance 2M
Networking 2M
Gathered data M
In step 6011a, CCO works as firstly the need of what the CSMA time slots for obtaining power line communication network were being currently used Preceding duration.Optionally, when being never adjusted to the duration of the CSMA time slots of communication network, it is logical that CCO can obtain power line The target service type for the data transmitted in communication network inquires the correspondence of preset type of service and duration (such as 1 institute of table Show), determine the corresponding duration of target service type, and using the corresponding duration of target service type as current duration. Out-of-date to the duration adjustment of the CSMA time slots of communication network, CCO can directly be detected current CSMA time slots, with determination The current duration of CSMA time slots.
After obtaining the current duration that CSMA time slots are being currently used, CCO also needs to acquisition power line communication network and works as At least one group of preceding network parameters, and current duration is adjusted according at least one group of network parameters got, to To target duration.Exemplary, group network parameters include:STA in the quantity of PCO, power line communication network in power line communication network Quantity and power line communication network network level quantity, at least one group of network parameters that target duration and CCO are got And positive correlation, CCO also with current duration positive correlation.
Optionally, target duration t2=t1*[f(m)+g(n)]* h (j), wherein t1 is current duration, and m is the number of PCO Amount, f (m) are conversion quantity of the m PCO relative to unit network element, and n is the quantity of STA, and g (n) is n STA relative to unit net The conversion quantity of member, j are the quantity of network level, and h (j) is conversion quantity of the j network level relative to unit level.Example , when unit network element is equivalent to 1 STA, when unit network element is equivalent to 1.2 PCO, if sharing 100 in power line communication network The network level quantity of a STA and 50 PCO, power line communication network are that 10,10 network levels are equivalent to 15 Institutional Layers Grade, then target duration t2=t1* (100+50*1.2) * 1.5=t1*160*1.5=t1*240.
Due to the target duration and power line communication of the CCO current desired CSMA time slots of power line communication network got The group network parameters of network are related, therefore, when the networking structure of power line communication network changes, power line communication network Group network parameters can change, and the target duration that CCO is got can also change.
Step 6012a, CCO judges whether target duration and the absolute value of the difference of the current duration of CSMA time slots are more than in advance If absolute value threshold value.
CCO is after determining target duration, it is also necessary to obtain the absolute value of the difference of target duration and current duration, and Target duration is obtained with after the absolute value of the difference of current duration, judges whether the absolute value of difference is more than pre-determined absolute threshold Value.Pre-determined absolute threshold value is more than zero.
It should be noted that when the node in power line communication network is reduced, power line communication network is in CSMA time slots Middle to need the data transmitted that reduce, the data transmitted needed for power line communication network can be completed within the shorter period Data transmission, at this point, power line communication network is relatively low to the utilization rate of CSMA time slots, the target duration that CCO is determined is less than and works as Preceding duration.When power line communication network interior joint increases, power line communication network needs the data transmitted in CSMA time slots It can increase, the data transmitted needed for power line communication network can not complete data transmission in the current duration of CSMA time slots, this When, the data transmission quality of power line communication network is poor, and the target duration that CCO is determined is more than current duration.
When the networking structure of power line communication network changes greatly, power line communication network interior joint increases more or subtracts Few more, power line communication network needs the amount of the data based on CSMA slot transmissions that can vary widely, at this point, power line Target duration needed for communication network transmission data differs larger with current duration, and target duration is exhausted with the difference of current duration Pre-determined absolute threshold value is more than to value.When the variation of the networking structure of power line communication network is smaller, power line communication network needs Will the amount based on the data of CSMA slot transmissions small change can occur, at this point, needed for power line communication network transmission data Target duration differ smaller with current duration, the absolute value of the difference of target duration and current duration is less than or equal to default exhausted To being worth threshold value.
Step 6013a, it is more than in the absolute value for the difference that x judging result is target duration and current duration occur default When absolute value threshold value, CCO determines that power line communication network is unsatisfactory for preset condition.
When x is equal to 1, as long as that is to say that CCO determines that the absolute value of one and the difference of current duration is exhausted more than default To being worth the target duration of threshold value, so that it may to determine that power line communication network is unsatisfactory for preset condition.It that is to say, CCO determines electric power The current data transmission quality of line communication network and power line communication network are unsatisfactory for the utilization rate of CSMA time slots:Power line is logical The data transmission quality of communication network is higher than predetermined quality threshold, and power line communication network is higher than in advance the utilization rate of CSMA time slots If the condition of utilization threshold.
When x is more than 1, CCO, which needs to be repeated as many times, executes step 6011a and step 6012a, and is executing multiple step After 6012a, there is the result that x times judges and be more than pre-determined absolute threshold value as target duration and the absolute value of the difference of current duration When, CCO just can determine that power line communication network is currently unsatisfactory for preset condition.It that is to say, CCO is in the target repeatedly got When the long absolute value with the difference of current duration is all higher than pre-determined absolute threshold value, CCO just determines current power line communication network Operating condition it is poor, at this time determine power line communication network be unsatisfactory for preset condition.
Optionally, the value that the first counter initially records is 0, the result that CCO judges in step 6012a of every appearance When being more than pre-determined absolute threshold value for target duration and the absolute value of the difference of current duration, CCO just controls the first counter note The value of record adds one.When the value of the first counter records be x when, CCO determination occur the result that x time judges as target duration and currently The absolute value of the difference of duration is more than pre-determined absolute threshold value.
It is more than pre-determined absolute threshold there is the result that x times judges as target duration and the absolute value of the difference of current duration When value, CCO determine the duration of the CSMA time slots needed for current power line communication network transmission data differed with current duration compared with It is more, it is badly in need of being adjusted the duration of CSMA time slots at this time, to improve the data transmission quality and/or electricity of power line communication network Utilization rate of the line of force communication network to CSMA time slots.
In second of achievable mode, preset condition can be:The communication success rate of power line communication network is less than pre- The number for being set as power threshold is less than y, and y is the integer more than or equal to 1.It should be noted that when power line communication network When data transmission quality is higher than predetermined quality threshold, power line communication network meets preset condition.
As shown in figure 8, judging that the step of whether power line communication network meets preset condition may include in step 601:
Step 6011b, CCO obtains the communication success rate of power line communication network.
Exemplary, each PCO in power line communication network can be according to response (Acknowledgment, ACK) signal, really Determine the communication success rate of itself, each STA in power line communication network also can determine the communication of itself according to ack signal Success rate.
CCO needs to obtain power line communication network first when determining the current communication success rate of power line communication network In each communication success rate current PCO, and obtain each communication success rate current STA in power line communication network, so Afterwards, according to the current communication success rate of the current communication success rates of each PCO and each STA, power line communication network is determined Current communication success rate, and the communication success rate of power line communication network that CCO is determined is led to power line communication network Believe that node (including PCO and STA) number of success rate less than 1 is negatively correlated.It is exemplary, it is assumed that in power line communication network PCO and The sum of the conversion quantity of STA relative to unit network element is 240, and the weight that the weight of PCO is 1.2, STA is 1, and power line is logical It is 90% there are the communication success rate of 10 STA in 240 nodes of communication network, the communication success rate of 10 PCO is 85%, The success rate of remaining STA and remaining PCO is 100%, then the communication success rate of power line communication network is 1-[10*(1-0.9) +10*(1-0.85)*1.2]/ 240=98.8%.
It should be noted that dry when the node in power line communication network increases or in power line communication network When disturbing signal strength enhancing, number of nodes of the communication success rate less than 1 will increase in power line communication network, what CCO was determined The communication success rate of power line communication network can reduce, and the data transmission quality of power line communication network can reduce.Work as power line When interference signal intensity weakens when node in communication network is reduced or in power line communication network, in power line communication network Number of nodes of the communication success rate less than 1 will be reduced, and the communication success rate for the power line communication network that CCO is determined can increase, The data transmission quality of power line communication network can improve.
Step 6012b, CCO judge communicate success rate whether be less than be preset to power threshold.
CCO is after getting the current communication success rate of power line communication network, it is also necessary to work as power line communication network Preceding communication success rate is compared with power threshold is preset to, and is preset successfully so that whether the current communication success rate of determination is less than Rate threshold value.It that is to say, CCO will be preset to power threshold as the standard for judging communication success rate height, it is believed that less than being preset to The communication success rate of power threshold is lower communication success rate, it is believed that more than or equal to the communication success for being preset to power threshold Rate is higher communication success rate.
Step 6013b, occur the result that y times judges as power line communication network communication success rate be less than preset successfully When rate threshold value, what CCO determined power line communication network is unsatisfactory for preset condition.
When y is equal to 1, as long as that is to say that CCO determines that is less than the communication success rate for being preset to power threshold, so that it may To determine that power line communication network is unsatisfactory for preset condition.It that is to say, CCO determines the current data transmission of power line communication network Quality is unsatisfactory for:The data transmission quality of power line communication network is higher than the condition of predetermined quality threshold.
When y is more than 1, CCO, which needs to be repeated as many times, executes step 6011b and step 6012b, and is executing multiple step After 6012b, when there is communication success rate of the result that y times judges as power line communication network less than power threshold is preset to, CCO It just can determine that power line communication network is currently unsatisfactory for preset condition.It that is to say, CCO is in the power line communication network repeatedly got The communication success rate of network is all higher than when being preset to power threshold, CCO just determine the operating condition of current power line communication network compared with Difference determines that power line communication network is unsatisfactory for preset condition at this time.
Optionally, the value that the second counter initially records is 0, the result that CCO judges in step 6012b of every appearance For power line communication network communication success rate less than be preset to power threshold when, CCO just controls the value of the second counter records Add one.When the value of the second counter records is y, there is communication of the result that y times judges as power line communication network in CCO determinations Success rate, which is more than, is preset to power threshold.
The current duration for the CSMA time slots that power line communication network configures is adjusted to target duration by step 602, CCO.
Judge whether data transmission quality is less than predetermined quality threshold in different ways based on CCO in step 601, in step CCO can also adjust the duration of CSMA time slots in different ways in rapid 602.
In a first aspect, working as CCO in step 601 can realize that mode judges whether power line communication network meets using the first When preset condition, the duration for the CSMA time slots that power line communication network configures is adjusted to the last determination by CCO in step 602 The target duration gone out, so that the power line communication network after the duration of adjustment CSMA time slots meets preset condition, even if also The data transmission quality that the power line communication network after the duration of CSMA time slots must be adjusted is more than predetermined quality threshold, and adjusts Power line communication network after the duration of CSMA time slots is more than default utilization threshold to the utilization rate of CSMA time slots.
Exemplary, when the node in power line communication network increases, power line communication network needs to be based on CSMA time slots The data of transmission can be more, at this point, when adjusting by the duration of the CSMA time slots of power line communication network needed for CCO to more than is current Long target duration, to improve the data transmission quality of power line communication network;When the node in power line communication network is reduced When, power line communication network needs the data based on CSMA slot transmissions that can reduce, at this point, by power line communication network needed for CCO The duration of the CSMA time slots of network adjusts to less than the target duration of current duration, to improve power line communication network to CSMA time slots Utilization rate.
Second aspect, it is pre- when judging whether power line communication network meets using second of achievable mode in step 601 If when condition, CCO also needs to inquire the correspondence of preset communication success rate and duration before step 602, determines nearest The communication success rate once got a length of target duration when corresponding, and CCO matches power line communication network in step 602 The duration for the CSMA time slots set is adjusted to the last corresponding duration of communication success rate (namely target duration) got.It needs It is noted that in the correspondence of the preset communication success rate and duration, communication success rate is lower, and communication success rate corresponds to Duration it is longer.That is, when the communication success rate of power line communication network is relatively low, the duration for increasing CSMA time slots is needed, with The communication success rate for improving power line communication network, to promote the data transmission quality of power line communication network.
It is exemplary, the interference signal when the node in power line communication network increases or in power line communication network When enhancing, the communication success rate of power line communication network will reduce, if CCO is capable of determining that at least y less than presetting successfully The communication success rate of rate threshold value, then the judging result of step 601 is that power line communication network is unsatisfactory for preset condition.In this feelings Under condition, CCO will increase the duration of the CSMA time slots of power line communication network configuration, and the data to improve power line communication network pass Transmission quality.
It is further to note that CCO is when adjusting the duration of CSMA time slots in the embodiment of the present invention, by CSMA time slots Duration is adjusted to the last target duration determined, or when the corresponding target of the last communication success rate got It is long, so that the target duration of the CSMA time slots after adjustment is more in line with the need of power line communication network current transmission data It asks so that power line communication network meets preset condition.
Step 603, CCO control power line communication networks are based on the CSMA slot transmission data after adjustment duration.
CCO by the current duration of CSMA time slots after being adjusted to target duration, it will be able to control power line communication network base CSMA slot transmission data after adjusting duration, the data transmission quality of power line communication network is higher at this time.
Step 604, CCO judge whether the duration of CSMA time slots reaches preset duration.If the duration of CSMA time slots reaches pre- If duration thens follow the steps 605;If the duration of CSMA time slots is not up to preset duration, 604 are thened follow the steps.
CCO is after the duration of adjustment CSMA time slots, it is also necessary in real time (or periodically) judge power line communication network Whether the duration (namely target duration) of the CSMA time slots of network configuration is long, when the duration of CSMA time slots reaches preset duration, Determine that the duration of current CSMA time slots is long, at this point, since the total duration of all power line communication network transmission datas is constant, Therefore, when the duration of the CSMA time slots of current power line communication network configuration is longer, the configuration of other power line communication networks The duration of CSMA time slots is shorter, and the data transmission quality of other power line communication networks is poor, needs to be in due course at this time Reduce the duration of CSMA time slots.
Step 605, CCO judge whether the data transmission quality of power line communication network within a preset period of time is persistently higher than Predetermined quality threshold.If the data transmission quality of power line communication network within a preset period of time is persistently higher than preset quality threshold Value, thens follow the steps 606;If the data transmission quality of power line communication network within a preset period of time is not higher than persistently default Quality threshold thens follow the steps 605.
CCO is when the duration for the CSMA time slots for determining power line communication network is longer, it is also necessary to judge power line communication network Whether the data transmission quality of network within a preset period of time is persistently higher than predetermined quality threshold, namely judges power line communication network Data transmission quality whithin a period of time continues higher.
Optionally, CCO can be by judging the current of the target durations of current CSMA time slots and CSMA time slots in step 605 Whether the number that the difference of duration is less than default poor threshold value is less than z, to judge that the data transmission quality of power line communication network is It is no to be higher than predetermined quality threshold.It is preset when the difference of the current duration of the target duration and CSMA time slots of current CSMA time slots is less than The number of poor threshold value is less than z, then CCO can determine that the data transmission quality of power line communication network is higher than predetermined quality threshold; When the difference of the current duration of the target duration and CSMA time slots of current CSMA time slots be less than default poor threshold value number be more than or Equal to z, then CCO can determine that the data transmission quality of power line communication network is less than predetermined quality threshold.Wherein, z be more than Or the integer equal to 1, it is negative to preset difference threshold value.
Optionally, CCO can also be preset to by judging that the communication success rate of power line communication network is less than in step 605 Whether the number of power threshold is less than y, to judge whether the data transmission quality of power line communication network is higher than preset quality threshold Value.When the communication success rate of power line communication network is less than y less than the number for being preset to power threshold, then CCO can determine electricity The data transmission quality of line of force communication network is higher than predetermined quality threshold;When the communication success rate of power line communication network is less than in advance The number for being set as power threshold is greater than or equal to y, then CCO can determine the data transmission quality of power line communication network less than pre- If quality threshold.
Step 606, CCO reduce the duration of CSMA time slots.
Determining that the duration of the current CSMA time slots of power line communication network is longer, and power line communication network is when default Between data transmission quality in section when continuing higher, CCO with regard to the CSMA time slots appropriate for reducing power line communication network duration, In order to which other power line communication networks can increase the CSMA time slots of other networks, the number of other power line communication networks is promoted According to transmission quality.
Step 607, CCO control power line communication networks are based on the CSMA slot transmission data after reducing duration.
CCO is after the duration for reducing CSMA time slots, it will be able to after controlling power line communication network based on duration is reduced CSMA slot transmission data, at this time the data transmission quality of other power line communication networks can be promoted.
In conclusion in data transmission method provided in an embodiment of the present invention, when the networking structure of power line communication network It changes or when the intensity of interference signal in power line communication network changes, can determine that power line is logical by judgement Communication network is unsatisfactory for preset condition, at this point it is possible to the duration of the CSMA time slots of power line communication network configuration is adjusted, with So that the power line communication network after the duration of adjustment CSMA time slots meets preset condition, so that the duration energy of CSMA time slots The variation of power line communication network is enough adapted to, and disclosure satisfy that the demand of the duration of power line communication network transmission data, therefore, Improve the traffic-operating period of power line communication network.
It should be noted that the sequencing of data transmission method embodiment step provided in an embodiment of the present invention can be into The appropriate adjustment of row, step also according to circumstances can accordingly be increased and decreased, and any one skilled in the art is in this hair In the technical scope that bright embodiment discloses, the method that can readily occur in variation should all cover the protection model in the embodiment of the present invention Within enclosing, therefore repeat no more.
Fig. 9 is the structural schematic diagram of another data transmission device provided in an embodiment of the present invention, the data transmission device For the CCO in Fig. 2, as shown in figure 9, the data transmission device 90 includes:
First judgment module 901, for judging whether power line communication network meets preset condition, power line communication network Including:Central coordinator CCO, at least one agent coordinator PCO and at least one site STA;
Module 902 is adjusted, for when power line communication network is unsatisfactory for preset condition, by the load of power line communication network The duration that wave intercepts multiple access CSMA time slots is adjusted to target duration;
First control module 903, for controlling power line communication network based on the CSMA slot transmission numbers after adjustment duration According to.
In conclusion an embodiment of the present invention provides a kind of data transmission device, when the networking knot of power line communication network When structure changes or the intensity of interference signal in power line communication network changes, the first judgment module can by judgement To determine that power line communication network is unsatisfactory for preset condition, at this point, what adjustment module can configure power line communication network The duration of CSMA time slots is adjusted, so that the power line communication network after the duration of adjustment CSMA time slots, which meets, presets item Part so that the duration of CSMA time slots can adapt to the variation of power line communication network, and disclosure satisfy that power line communication network The demand of the duration of network transmission data, this improves the traffic-operating periods of power line communication network.
Figure 10 is a kind of structural schematic diagram of first judgment module provided in an embodiment of the present invention, and preset condition includes:Mesh It marks duration and the absolute value of the difference of the current duration of CSMA time slots is less than x more than the number of pre-determined absolute threshold value, preset exhausted It is the integer more than or equal to 1 to be more than zero, x to value threshold value, and as shown in Figure 10, the first judgment module 901 includes:
First acquisition unit 9011, for obtaining target duration;
First judging unit 9012, for judging it is default whether the absolute value of target duration and the difference of current duration is more than Absolute value threshold value;
First determination unit 9013, for there is difference of the result that x times judges as target duration and current duration When absolute value is more than pre-determined absolute threshold value, determine that power line communication network is unsatisfactory for preset condition.
Optionally, first acquisition unit 9011 is additionally operable to:Obtain at least one group of network parameters of power line communication network;Root Current duration is adjusted according at least one group of network parameters, obtains target duration;Wherein, group network parameters include:The number of PCO At least the one of the quantity of the network level of amount, the quantity of STA and power line communication network, target duration and power line communication network A group of network parameters and positive correlation, target duration and current duration positive correlation.
Optionally, target duration t2=t1*[f(m)+g(n)]* h (j), wherein t1 is current duration, and m is the number of PCO Amount, f (m) are conversion quantity of the m PCO relative to unit network element, and n is the quantity of STA, and g (n) is n STA relative to unit net The conversion quantity of member, j are the quantity of network level, and h (j) is conversion quantity of the j network level relative to unit level.
Optionally, adjustment module 902 is additionally operable to:When the duration of CSMA time slots is adjusted to the last target got It is long.
Figure 11 is the structural schematic diagram of another data transmission device provided in an embodiment of the present invention, as shown in figure 11, On the basis of Fig. 9, which further includes:
Determining module 904, the target service type for determining the data transmitted in power line communication network;
First enquiry module 905, the correspondence for inquiring preset type of service and duration determine target service class A length of current duration when type is corresponding.
Optionally, preset condition includes:The data transmission quality of power line communication network is less than predetermined quality threshold, Figure 12 For the structural schematic diagram of another first judgment module provided in an embodiment of the present invention, the communication success rate of power line communication network It is less than y less than the number for being preset to power threshold, y is the integer more than or equal to 1, as shown in figure 12, the first judgment module 901 Including:
Second acquisition unit 9014, the communication success rate for obtaining power line communication network, communication success rate is for anti- Reflect data transmission quality;
Second judgment unit 9015, for judging whether the communication success rate of power line communication network is less than default success rate Threshold value;
Second determination unit 9016, for there is the result that y times judges as the communication success rate of power line communication network When less than being preset to power threshold, determine that the preset condition that is unsatisfactory for of power line communication network, y are the integer more than or equal to 1.
Optionally, power line communication network includes multiple nodes, and multiple nodes include PCO and STA, second acquisition unit 9014 are additionally operable to:Obtain the communication success rate of each PCO in power line communication network;It obtains each in power line communication network The communication success rate of STA;According to the communication success rate of each PCO and the communication success rate of each STA, power line communication is determined The communication success rate of network, the communication success rate of power line communication network communicate success rate with power line communication network and are less than 1 Node number it is negatively correlated.
Figure 13 is the structural schematic diagram of another data transmission device provided in an embodiment of the present invention, preset to communicate successfully In the correspondence of rate and duration, communication success rate duration corresponding with communication success rate is negatively correlated, as shown in figure 13, in Fig. 9 On the basis of, which further includes:
Second enquiry module 906, the correspondence for inquiring preset communication success rate and duration, determines the last The communication success rate got a length of target duration when corresponding.
Figure 14 is a kind of structural schematic diagram for data transmission device that another embodiment of the present invention provides, as shown in figure 14, On the basis of Fig. 9, which further includes:
Second judgment module 907, for judging whether the duration of CSMA time slots reaches preset duration;
Third judgment module 908, for when the duration of CSMA time slots reaches preset duration, judging power line communication network Whether data transmission quality within a preset period of time is persistently higher than predetermined quality threshold;
Reduce module 909, for being persistently higher than in the data transmission quality of power line communication network within a preset period of time When predetermined quality threshold, reduce the duration of CSMA time slots;
Second control module 910, for controlling power line communication network based on the CSMA slot transmission numbers after reducing duration According to.
In conclusion an embodiment of the present invention provides a kind of data transmission device, when the networking knot of power line communication network When structure changes or the intensity of interference signal in power line communication network changes, the first judgment module can by judgement To determine that power line communication network is unsatisfactory for preset condition, at this point, what adjustment module can configure power line communication network The duration of CSMA time slots is adjusted, so that the power line communication network after the duration of adjustment CSMA time slots, which meets, presets item Part so that the duration of CSMA time slots can adapt to the variation of power line communication network, and disclosure satisfy that power line communication network The demand of the duration of network transmission data, this improves the traffic-operating periods of power line communication network.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product, the computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, computer Network or other programmable devices.The computer instruction can be stored in the readable storage medium storing program for executing of computer, Huo Zhecong One computer readable storage medium is transmitted to another computer readable storage medium, for example, the computer instruction can Pass through wired (such as coaxial cable, optical fiber, Digital Subscriber Line) from a web-site, computer, server or data center Or wireless (such as infrared, wireless, microwave etc.) mode is transmitted to another web-site, computer, server or data center. The computer readable storage medium can be any usable medium that computer can access or can comprising one or more The data storage devices such as server, the data center integrated with medium.The usable medium can be magnetic medium (for example, soft Disk, hard disk, tape), optical medium or semiconductor medium (such as solid state disk) etc..
Term "and/or" in the present invention, only a kind of incidence relation of description affiliated partner, indicates may exist three kinds Relationship, for example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.In addition, this Character "/" in text, it is a kind of relationship of "or" to typically represent forward-backward correlation object.
It should be noted that:The data transmission device that above-described embodiment provides is when executing above-mentioned data transmission method, only The example of the division of the above functional modules, in practical application, can as needed and by above-mentioned function distribution by Different function modules is completed, i.e., the internal structure of data transmission device is divided into different function modules, more than completion The all or part of function of description.In addition, data transmission device and data transmission method embodiment that above-described embodiment provides Belong to same design, specific implementation process refers to embodiment of the method, and which is not described herein again.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the alternative embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on should be included within the protection domain of the application.

Claims (22)

1. a kind of data transmission method, which is characterized in that the method includes:
Judge whether power line communication network meets preset condition, the power line communication network includes:Central coordinator CCO, At least one agent coordinator PCO and at least one site STA;
It is when the power line communication network is unsatisfactory for the preset condition, the carrier sense of the power line communication network is more The duration that road accesses CSMA time slots is adjusted to target duration;
The power line communication network is controlled based on the CSMA slot transmissions data after adjustment duration.
2. according to the method described in claim 1, it is characterized in that, the preset condition includes:The target duration with it is described The number that the absolute value of the difference of the current duration of CSMA time slots is more than pre-determined absolute threshold value is less than x, the pre-determined absolute Threshold value is more than zero, and the x is the integer more than or equal to 1,
It is described to judge whether power line communication network meets preset condition, including:
Obtain the target duration;
Judge whether the target duration and the absolute value of the difference of the current duration are more than the pre-determined absolute threshold value;
It is more than described preset absolutely there is the result that x times judges as target duration and the absolute value of the difference of the current duration When being worth threshold value, determine that the power line communication network is unsatisfactory for the preset condition.
3. according to the method described in claim 2, it is characterized in that, described obtain the target duration, including:
Obtain at least one group of network parameters of the power line communication network;
The current duration is adjusted according at least one group of network parameters, obtains the target duration;
Wherein, described group of network parameters include:The net of the quantity of the PCO, the quantity and the power line communication network of the STA The quantity of network layers grade, at least one group of network parameters of the target duration and the power line communication network and positive correlation, institute State target duration and the current duration positive correlation.
4. according to the method described in claim 3, it is characterized in that,
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) be m PCO relative to The conversion quantity of unit network element, the n are the quantity of the STA, and the g (n) is the n STA relative to the unit net The conversion quantity of member, the j are the quantity of the network level, and the h (j) is the j network levels relative to Institutional Layer The conversion quantity of grade.
5. according to the method described in claim 2, it is characterized in that, the carrier sense by the power line communication network is more The duration that road accesses CSMA time slots is adjusted to target duration, including:
The duration of the CSMA time slots is adjusted to the last target duration got.
6. according to the method described in claim 2, it is characterized in that, judging the target duration and the current duration described Difference absolute value whether be more than the pre-determined absolute threshold value before, the method further includes:
Determine the target service type for the data transmitted in the power line communication network;
The correspondence for inquiring preset type of service and duration determines a length of when the target service type is corresponding described work as Preceding duration.
7. according to the method described in claim 1, it is characterized in that, the preset condition includes:The power line communication network Communication success rate be less than and be preset to the number of power threshold and be less than y, the y is integer more than or equal to 1, and judgements is electric Whether line of force communication network meets preset condition, including:
Obtain the communication success rate of the power line communication network;
Judge the communication success rate of the power line communication network is preset to power threshold described in whether being less than;
There is the result that y times judges power threshold is preset to less than described as the communication success rate of the power line communication network When, determine the power line communication network is unsatisfactory for the preset condition.
8. described the method according to the description of claim 7 is characterized in that the power line communication network includes multiple nodes Multiple nodes include the PCO and the STA, the communication success rate for obtaining the power line communication network, including:
Obtain the communication success rate of each PCO in the power line communication network;
Obtain the communication success rate of each STA in the power line communication network;
According to the communication success rate of each PCO and the communication success rate of each STA, the power line communication is determined The communication success rate of the communication success rate of network, the power line communication network communicates successfully with the power line communication network Node number of the rate less than 1 is negatively correlated.
9. the method according to the description of claim 7 is characterized in that it is preset communication success rate and duration correspondence in, It is negatively correlated to communicate success rate duration corresponding with the communication success rate, is detectd in the carrier wave by the power line communication network The duration of multiple access CSMA time slots is listened to be adjusted to before target duration, the method further includes:
The correspondence for inquiring preset communication success rate and duration, determines that the communication success rate that the last time gets is corresponding Target duration described in Shi Changwei.
10. method according to any one of claims 1 to 9, which is characterized in that described by the power line communication network The duration of Carrier Sense Multiple Access CSMA time slots is adjusted to after target duration, and the method further includes:
Judge whether the duration of the CSMA time slots reaches preset duration;
When the duration of the CSMA time slots reaches the preset duration, judge the power line communication network in preset time period Whether interior data transmission quality is persistently higher than predetermined quality threshold;
Persistently it is higher than the preset quality in data transmission quality of the power line communication network in the preset time period When threshold value, reduce the duration of the CSMA time slots;
The power line communication network is controlled based on the CSMA slot transmissions data after reducing duration.
11. a kind of data transmission device, which is characterized in that the data transmission device includes:
First judgment module, for judging whether power line communication network meets preset condition, the power line communication network packet It includes:Central coordinator CCO, at least one agent coordinator PCO and at least one site STA;
Module is adjusted, for when the power line communication network is unsatisfactory for the preset condition, by the power line communication network The duration of the Carrier Sense Multiple Access CSMA time slots of network is adjusted to target duration;
First control module, for controlling the power line communication network based on the CSMA slot transmissions number after adjustment duration According to.
12. data transmission device according to claim 11, which is characterized in that the preset condition includes:The target The number that duration and the absolute value of the difference of the current duration of the CSMA time slots are more than pre-determined absolute threshold value is less than x, presets Absolute value threshold value is more than zero, and the x is the integer more than or equal to 1, and first judgment module includes:
First acquisition unit, for obtaining the target duration;
First judging unit, for judging it is default whether the absolute value of the target duration and the difference of the current duration is more than Absolute value threshold value;
First determination unit, for there is the result that x times judges as the absolute of target duration and the difference of the current duration When value is more than the pre-determined absolute threshold value, determine that the power line communication network is unsatisfactory for the preset condition.
13. data transmission device according to claim 12, which is characterized in that the first acquisition unit is additionally operable to:
Obtain at least one group of network parameters of the power line communication network;
The current duration is adjusted according at least one group of network parameters, obtains the target duration;
Wherein, described group of network parameters include:The net of the quantity of the PCO, the quantity and the power line communication network of the STA The quantity of network layers grade, at least one group of network parameters of the target duration and the power line communication network and positive correlation, institute State target duration and the current duration positive correlation.
14. data transmission device according to claim 13, which is characterized in that
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) be m PCO relative to The conversion quantity of unit network element, the n are the quantity of the STA, and the g (n) is the n STA relative to the unit net The conversion quantity of member, the j are the quantity of the network level, and the h (j) is the j network levels relative to Institutional Layer The conversion quantity of grade.
15. data transmission device according to claim 12, which is characterized in that the adjustment module is additionally operable to:
The duration of the CSMA time slots is adjusted to the last target duration got.
16. data transmission device according to claim 12, which is characterized in that the data transmission device further includes:
Determining module, the target service type for determining the data transmitted in the power line communication network;
First enquiry module, the correspondence for inquiring preset type of service and duration determine the target service type A length of current duration when corresponding.
17. data transmission device according to claim 11, which is characterized in that the preset condition includes:The electric power It is the integer more than or equal to 1 that the communication success rate of line communication network, which is less than the number for being preset to power threshold less than y, the y, First judgment module includes:
Second acquisition unit, the communication success rate for obtaining the power line communication network;
Second judgment unit, for judging whether the communication success rate of the power line communication network is less than the default success rate Threshold value;
Second determination unit, for being less than as the communication success rate of the power line communication network there is the result that y times judges Described when being preset to power threshold, determine the power line communication network is unsatisfactory for the preset condition.
18. data transmission device according to claim 17, which is characterized in that the power line communication network includes multiple Node, the multiple node include the PCO and the STA, and the second acquisition unit is additionally operable to:
Obtain the communication success rate of each PCO in the power line communication network;
Obtain the communication success rate of each STA in the power line communication network;
According to the communication success rate of each PCO and the communication success rate of each STA, the power line communication is determined The communication success rate of the communication success rate of network, the power line communication network communicates successfully with the power line communication network Node number of the rate less than 1 is negatively correlated.
19. data transmission device according to claim 17, which is characterized in that pair of preset communication success rate and duration In should being related to, communication success rate duration corresponding with the communication success rate is negatively correlated, and the data transmission device further includes:
Second enquiry module, the correspondence for inquiring preset communication success rate and duration, determines that the last time gets Communication success rate it is corresponding when a length of target duration.
20. according to any data transmission device of claim 11 to 19, which is characterized in that the data transmission device is also Including:
Second judgment module, for judging whether the duration of the CSMA time slots reaches preset duration;
Third judgment module, for when the duration of the CSMA time slots reaches the preset duration, judging that the power line is logical Whether the data transmission quality of communication network within a preset period of time is persistently higher than predetermined quality threshold;
Reduce module, for being persistently higher than in data transmission quality of the power line communication network in the preset time period When the predetermined quality threshold, reduce the duration of the CSMA time slots;
Second control module, for controlling the power line communication network based on the CSMA slot transmissions number after reducing duration According to.
21. a kind of power line communication network, which is characterized in that the power line communication network includes:Central coordinator CCO, extremely A few agent coordinator PCO and at least one site STA, the CCO are:Any data of claim 11 to 20 pass Defeated device.
22. a kind of electric system, which is characterized in that the electric system includes the power line communication network described in claim 21 Network.
CN201710229808.0A 2017-04-10 2017-04-10 Data transmission method and device, power line communication network and power system Active CN108696298B (en)

Priority Applications (3)

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
CN202011098785.2A CN112332889B (en) 2017-04-10 2017-04-10 Data transmission method and device, power line communication network and power system
PCT/CN2018/080714 WO2018188477A1 (en) 2017-04-10 2018-03-27 Data transmission method and apparatus, power line communication network, and power system

Applications Claiming Priority (1)

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

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202011098785.2A Division CN112332889B (en) 2017-04-10 2017-04-10 Data transmission method and device, power line communication network and power system

Publications (2)

Publication Number Publication Date
CN108696298A true CN108696298A (en) 2018-10-23
CN108696298B CN108696298B (en) 2020-11-17

Family

ID=63793121

Family Applications (2)

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

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202011098785.2A Active CN112332889B (en) 2017-04-10 2017-04-10 Data transmission method and device, power line communication network and power system

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110581745A (en) * 2019-09-12 2019-12-17 北京晓航众芯科技有限公司 method and device for correcting time synchronization and frequency deviation of communication node
CN110661551A (en) * 2019-09-29 2020-01-07 南方电网科学研究院有限责任公司 Method for adaptively adjusting beacon period time slot number

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262787B (en) * 2020-03-17 2022-04-15 北京四季豆信息技术有限公司 Data transmission method and electronic equipment
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
CN113644936B (en) * 2021-07-06 2023-04-25 珠海中慧微电子有限公司 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
CN113438656B (en) * 2021-08-26 2021-10-29 南京杰思微电子技术有限公司 Dual-mode multi-frequency networking method and system based on power line and wireless
CN113724485B (en) * 2021-09-03 2022-08-26 重庆邮电大学 Rapid intensive information acquisition method
CN113949412B (en) * 2021-09-08 2023-06-09 国网宁夏电力有限公司营销服务中心(国网宁夏电力有限公司计量中心) Optimization method of 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
CN114584274B (en) * 2022-03-08 2023-11-21 重庆邮电大学 Method for improving electricity consumption information acquisition success rate
CN116828061B (en) * 2023-08-18 2024-04-02 联桥科技有限公司 Configuration method and system for power line carrier and wireless fusion communication
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
CN103517326A (en) * 2012-06-18 2014-01-15 现代摩比斯株式会社 Congestion control device and method for inter-vehicle communication
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

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110243157A1 (en) * 2008-12-09 2011-10-06 Hirokazu Oishi Communication system and method, and communication apparatus
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
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
CN107046494B (en) * 2016-11-15 2020-04-03 贵州电网有限责任公司电力科学研究院 Time slot dividing method based on power line communication electric information acquisition system
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
CN103517326A (en) * 2012-06-18 2014-01-15 现代摩比斯株式会社 Congestion control device and method for inter-vehicle communication
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110581745A (en) * 2019-09-12 2019-12-17 北京晓航众芯科技有限公司 method and device for correcting time synchronization and frequency deviation of communication node
CN110581745B (en) * 2019-09-12 2020-11-06 北京晓航众芯科技有限公司 Method and device for correcting time synchronization and frequency deviation of communication node
CN110661551A (en) * 2019-09-29 2020-01-07 南方电网科学研究院有限责任公司 Method for adaptively adjusting beacon period time slot number

Also Published As

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

Similar Documents

Publication Publication Date Title
CN108696298A (en) Data transmission method and device, power line communication network, electric system
CN109672579B (en) Terminal equipment monitoring data acquisition strategy optimization method, device and medium
CN104469890B (en) The ad hoc network method and system of power line carrier and wireless hybrid network
CN107690176B (en) Network selection method based on Q learning algorithm
CN102958057B (en) A kind of dynamic spectrum optimization, Apparatus and system
CN104333465A (en) Heartbeat interval setting method, device and system
CN107949025B (en) Network selection method based on non-cooperative game
CN107920031A (en) Access bandwidth self-adapting regulation method and device
CN105580407A (en) Network resource deployment method and device
CN107222560A (en) A kind of multinode Hui Yuan method, device and storage medium
CN105517181A (en) Carrier wave resource processing method and device of unauthorized carrier waves and transmission node
CN104079373A (en) Method and device for determining uplink channel state information
CN108029104A (en) For configuring sounding reference symbol(SRS)Method and apparatus
CN108833227A (en) A kind of smart home communication optimization scheduling system and method based on edge calculations
CN108521288A (en) The adaptive approach in control hazard domain in power line carrier communication
CN108307412A (en) The super-intensive network interferences management method based on grouping game of user-center
Fan et al. Joint DNN partition and resource allocation for task offloading in edge–cloud-assisted IoT environments
CN108156595B (en) Preamble resource allocation method based on timing advance command in machine communication
CN104601199B (en) A kind of method and apparatus of optimization G3 PLC carrier communication network performances
CN104202798A (en) Network selection method power wireless-communication heterogenous multi-network environment
CN108540581A (en) Service system and method for servicing based on more web servers, storage medium
CN110536465A (en) Mapping method, device, equipment and the storage medium of feedback channel
Lavanya et al. Fog computing based radio access network in 5G wireless communications
CN104901903A (en) Multi-domain resource processing method and system for software defined network
CN104219059A (en) Method for selecting optimal central controller from power line network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant