CN113852451A - Channel allocation method, data transmission method and related device for power carrier communication - Google Patents

Channel allocation method, data transmission method and related device for power carrier communication Download PDF

Info

Publication number
CN113852451A
CN113852451A CN202111114319.3A CN202111114319A CN113852451A CN 113852451 A CN113852451 A CN 113852451A CN 202111114319 A CN202111114319 A CN 202111114319A CN 113852451 A CN113852451 A CN 113852451A
Authority
CN
China
Prior art keywords
channel
descending
sequence
users
user
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
CN202111114319.3A
Other languages
Chinese (zh)
Other versions
CN113852451B (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.)
Guangdong Power Grid Co Ltd
Jiangmen Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Jiangmen Power Supply Bureau of Guangdong Power Grid 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 Guangdong Power Grid Co Ltd, Jiangmen Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN202111114319.3A priority Critical patent/CN113852451B/en
Publication of CN113852451A publication Critical patent/CN113852451A/en
Application granted granted Critical
Publication of CN113852451B publication Critical patent/CN113852451B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0048Allocation of pilot signals, i.e. of signals known to the receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0058Allocation criteria
    • H04L5/006Quality of the received signal, e.g. BER, SNR, water filling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0058Allocation criteria
    • H04L5/0064Rate requirement of the data, e.g. scalable bandwidth, data priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/542Systems for transmission via power distribution lines the information being in digital form

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a channel allocation method, a data transmission method and a related device for power line carrier communication, wherein the channel allocation method comprises the following steps: a communication controller receives user request information sent by a user; the user request information is arranged in a descending order according to the size of the data set, and all transmission channels are arranged in a descending order according to the transmission rate; allocating transmission channels in the descending channel sequence to users in the descending user sequence according to the sequence, namely a first allocation channel; judging whether the unallocated residual transmission channels exist in the descending channel sequence, if so, performing descending arrangement on all users according to the predicted data transmission delay; and distributing the rest transmission channels in the descending channel sequence to users in the descending time delay sequence, namely a second distribution channel according to the sequence, and returning to the judging step until the transmission channels are distributed completely. The method and the device can solve the technical problem that the data value cannot be quickly acquired due to the fact that the prior art has obvious convergence time delay caused by the influence of different factors.

Description

Channel allocation method, data transmission method and related device for power carrier communication
Technical Field
The present application relates to the field of communications technologies, and in particular, to a channel allocation method, a data transmission method, and a related apparatus for power line carrier communications.
Background
The intelligent power grid analyzes massive power metering data through technologies such as big data, internet of things, data communication and artificial intelligence, and obtains the maximum value of the data, so that the performance of a power system is improved, and diversified demands of power users are met. With the commercial advance of the smart grid and the exponential growth of the power metering terminals such as the low-voltage power consumption smart metering terminal, the power metering terminal generates huge amount of power metering data at the tail end (user side) of a power line, wherein the huge amount of power metering data comprises smart meter data of residential users and industrial and commercial users, energy data of a low-voltage transformer area and the like. To obtain the maximum value of these metrology data, they need to be computationally processed quickly and with high performance. The traditional mode is that a metering terminal is accessed into a 3G/4G communication module, and massive data are transmitted to a remote cloud computing center through a cellular communication network for data processing. On one hand, however, the 3G/4G communication mode causes the data transmission rate to dynamically change with the change of the wireless transmission environment, and it is difficult to ensure that all data can be quickly and reliably transmitted to the cloud computing center; on the other hand, the manner of transmitting mass data to the cloud computing center causes the data to experience long network transmission delay, and it is difficult to quickly acquire the maximum value of the data.
Generally, in order to obtain the maximum value of data, a machine learning model driven by the data needs to be accurately obtained, and the training of the model needs to rely on the data collected by a plurality of power metering terminals in a low-voltage transformer area, that is, data of multiple users needs to be aggregated. The time interval from the receipt of the first user's data set to the receipt of the last user's data set is the primary delay in data aggregation. Data aggregation delay is a main technical factor affecting the model training duration and efficiency. In addition, the size of the data set of the power metering terminal user has heterogeneity due to different positions and different data acquisition objects.
Disclosure of Invention
The application provides a channel allocation method, a data transmission method and a related device for power line carrier communication, which are used for solving the technical problem that data value cannot be quickly acquired due to obvious convergence time delay caused by the influence of different factors in the prior art.
In view of this, a first aspect of the present application provides a channel allocation method for power carrier communication, including:
the power line carrier communication controller receives user request information sent by a plurality of users, wherein the user request information comprises data set size and user identification;
performing descending order arrangement on all the user request information according to the size of the data set, and simultaneously performing descending order arrangement on all the transmission channels according to the transmission rate to respectively obtain a descending user sequence and a descending channel sequence;
allocating the transmission channels in the descending channel sequence to the users in the descending user sequence in sequence to enable the users to obtain a first allocation channel;
judging whether the descending channel sequence has residual unallocated transmission channels, if so, performing descending arrangement on all users according to the predicted data transmission delay to obtain a descending delay sequence;
and distributing the residual transmission channels in the descending channel sequence to users in the descending time delay sequence according to the sequence, enabling the users to obtain a second distribution channel, and returning to the step of judging whether the residual transmission channels which are not distributed exist in the descending channel sequence until the transmission channels in the descending channel sequence are distributed completely.
Optionally, the determining whether there are unallocated remaining transmission channels in the descending channel sequence, if yes, performing descending order arrangement on all users according to the predicted data transmission delay to obtain the descending delay sequence, includes:
judging whether the descending channel sequence has residual unallocated transmission channels, if so, calculating the predicted data transmission delay according to the size of the data set and the channel transmission rate of the first allocated channel;
and performing descending order arrangement on all users according to the predicted data transmission delay to obtain a descending order delay sequence.
The second aspect of the present application provides a data transmission method for power line carrier communication, including:
a user sends user request information to the power line carrier communication controller;
a user acquires an allocation channel allocated by a power carrier communication controller, wherein the allocation channel comprises a channel identifier;
and judging whether the number of the channel identifiers is greater than 0, if so, sending the target data set to an edge server through the distribution channel by the user, prompting the edge server to carry out data aggregation and calculation processing, and if not, discarding the target data set by the user.
A third aspect of the present application provides a channel allocation apparatus for power line carrier communication, including:
the receiving module is used for receiving user request information sent by a plurality of users by the power line carrier communication controller, wherein the user request information comprises data set size and user identification;
the sorting module is used for performing descending sorting on all the user request information according to the size of the data set, and performing descending sorting on all the transmission channels according to the transmission rate to respectively obtain a descending user sequence and a descending channel sequence;
a first allocation module, configured to allocate transmission channels in the descending channel sequence to users in the descending user sequence in sequence, so that the users obtain a first allocation channel;
the judging module is used for judging whether the unallocated residual transmission channels exist in the descending channel sequence, if so, all users are subjected to descending arrangement according to the predicted data transmission delay to obtain a descending delay sequence;
and the second allocation module is used for allocating the residual transmission channels in the descending channel sequence to the users in the descending time delay sequence in sequence, so that the users obtain the second allocation channel and return to the judgment module until the transmission channels in the descending channel sequence are allocated completely.
Optionally, the determining module is specifically configured to:
judging whether the descending channel sequence has residual unallocated transmission channels, if so, calculating the predicted data transmission delay according to the size of the data set and the channel transmission rate of the first allocated channel;
and performing descending order arrangement on all users according to the predicted data transmission delay to obtain a descending order delay sequence.
A fourth aspect of the present application provides a data transmission device for power line carrier communication, including:
the sending module is used for sending user request information to the power line carrier communication controller by a user;
the acquisition module is used for acquiring an allocation channel allocated by the power carrier communication controller by a user, wherein the allocation channel comprises a channel identifier;
and the judging module is used for judging whether the number of the channel identifiers is greater than 0, if so, the user sends the target data set to the edge server through the distribution channel to prompt the edge server to carry out data aggregation and calculation processing, and if not, the user discards the target data set.
A fifth aspect of the present application provides a channel allocation device for power carrier communication, the device comprising a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the channel allocation method for power carrier communication according to the first aspect according to instructions in the program code.
A sixth aspect of the present application provides a computer-readable storage medium for storing program code for executing the channel allocation method for power carrier communication of the first aspect.
A seventh aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the channel allocation method for power carrier communication of the first aspect.
According to the technical scheme, the embodiment of the application has the following advantages:
the application provides a channel allocation method for power carrier communication, which comprises the following steps: the power line carrier communication controller receives user request information sent by a plurality of users, wherein the user request information comprises data set size and user identification; performing descending order arrangement on all user request information according to the size of the data set, and simultaneously performing descending order arrangement on all transmission channels according to the transmission rate to respectively obtain a descending user sequence and a descending channel sequence; allocating the transmission channels in the descending channel sequence to users in the descending user sequence in sequence to enable the users to obtain a first allocation channel; judging whether the unallocated residual transmission channels exist in the descending channel sequence, if so, performing descending arrangement on all users according to the predicted data transmission delay to obtain a descending delay sequence; and distributing the residual transmission channels in the descending channel sequence to the users in the descending time delay sequence according to the sequence, enabling the users to obtain a second distribution channel, and returning to the step of judging whether the residual transmission channels which are not distributed exist in the descending channel sequence until the transmission channels in the descending channel sequence are completely distributed.
According to the channel allocation method for power carrier communication, when a channel is allocated to each user sending a request, the size of a data set of each user is analyzed in a targeted manner, descending order arrangement is carried out according to the size of the data set, and then transmission channels arranged in descending order are sequentially allocated to the users, so that the users with large data sets can be allocated to the transmission channels with high transmission rate, and convergence delay is relieved from the root; under the condition of more transmission channels, a plurality of transmission channels can be allocated to users, the secondary allocation of the channels is based on data transmission delay, the data transmission delay still exists, the users with larger delay can be preferentially allocated with the transmission channels with higher transmission rate, the allocation of the transmission channels for two times ensures the reasonable utilization of the transmission channels with high rate, the data transmission efficiency of the users is also ensured, and the delay problem caused by data set isomerism or different channel rates can be overcome. Therefore, the method and the device can solve the technical problem that the data value cannot be quickly acquired due to obvious convergence time delay caused by the influence of different factors in the prior art.
Drawings
Fig. 1 is a schematic flowchart of a channel allocation method for power line carrier communication according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a data transmission method of power line carrier communication according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a channel allocation apparatus for power line carrier communication according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a data transmission apparatus for power line carrier communication according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a multi-user multi-channel transmission system according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
For easy understanding, please refer to fig. 1, an embodiment of a channel allocation method for power carrier communication provided in the present application includes:
step 101, the power line carrier communication controller receives user request information sent by a plurality of users, wherein the user request information comprises a data set size and a user identifier.
When a plurality of users send user request information at the same time, the power line carrier communication controller needs to reasonably distribute channels, fully utilizes the transmission rates of different transmission channels, and can meet the data transmission requirements of the users. The data set size is used for the analysis process of the transport channel allocation, and the user identification is used for allocating the corresponding transport channel to a specific user.
And 102, performing descending order arrangement on all user request information according to the size of the data set, and performing descending order arrangement on all transmission channels according to the transmission rate to respectively obtain a descending user sequence and a descending channel sequence.
After descending order arrangement, the queue heads of the descending user sequence and the descending channel sequence are respectively the largest data set and the channel with the fastest transmission rate. Recording the descending user sequence as U ═ U1,U2,......,UM-1,UMWhere M is the number of users sending requests, and Um={Sm,u,n},SmRepresenting the data set size of the mth user, u being a user identifier, n being an allocation channel, and the initial value being null; s1≥S2≥...SM-1≥SM
The descending channel sequence is denoted as Ch ═ Ch1,Ch2,......,ChN-1,ChNN is the number of transmission channels, each of which includes a transmission rate, a channel identifier, and an identifier of whether or not it has been allocated, denoted Chn={Vn,c,r},VnThe transmission rate of the nth transmission channel, c is a channel identifier, r is whether the transmission channel is allocated with an identifier, and the initial value is F, namely no; v1≥V2≥...≥VN-1≥VN. In a multi-user multi-channel transmission system, please refer to fig. 5 for the relationship among channels, users and power carrier communication controllers.
And 103, distributing the transmission channels in the descending channel sequence to users in the descending user sequence in sequence to enable the users to obtain a first distribution channel.
No matter what relation is between the number of transmission channels N and the number of requested users M, channel allocation corresponding to one time can be performed in descending order; if the number of the transmission channels is less than the number N of the users and less than M, users without the distribution channels exist, the users do not carry out distribution operation, and the value of the distribution channels N is always null; if the number of the transmission channels is larger than or equal to the number N of the users and is larger than or equal to M, each requesting user can be ensured to obtain one transmission channel in the first channel allocation process, and the transmission rate of the first allocation channel allocated by the user with a larger data set is faster, so that the data transmission efficiency is ensured, and the time delay is reduced.
And 104, judging whether the unallocated residual transmission channels exist in the descending channel sequence, if so, performing descending arrangement on all users according to the predicted data transmission delay to obtain the descending delay sequence.
If the number of the transmission channels is larger than or equal to the number N of the users and is larger than or equal to M, after the first channel allocation is completed, the unallocated residual transmission channels inevitably exist in the descending channel sequence, namely, the residual transmission channels are from the M +1 th transmission channel to the N transmission channels. In order to further reduce the convergence delay, a plurality of channels can be allocated to users with heavy transmission loads, so the second channel allocation process is based on the predicted data transmission delay, and the prediction refers to the delay condition of the data transmission process of each user on the basis of the first allocated channel. Performing descending arrangement on all users according to the expected data transmission delay to obtain a descending delay sequence; for use in the analysis of the second channel allocation.
Further, step 104 includes:
and judging whether the unallocated residual transmission channels exist in the descending channel sequence, and if so, calculating the predicted data transmission delay according to the size of the data set and the channel transmission rate of the first allocation channel.
And performing descending order arrangement on all users according to the predicted data transmission delay to obtain a descending order delay sequence.
The expected data transmission delay is not estimated but calculated from the size of each user data set and the first allocation channel that has been allocated. And analyzing again according to the result of the first channel allocation, and performing targeted second channel allocation operation, so that the channel allocation process is more reliable and reasonable.
And 105, distributing the residual transmission channels in the descending channel sequence to users in the descending time delay sequence in sequence, enabling the users to obtain a second distribution channel, and returning to the step of judging whether the residual transmission channels which are not distributed exist in the descending channel sequence until the transmission channels in the descending channel sequence are distributed completely.
In the second channel allocation process, the user with the expected larger data transmission delay can be allocated to the channel which is positioned at the front in the descending channel sequence, namely the channel with the faster transmission rate; and after the distribution is finished, judging whether the descending channel sequence has residual transmission channels again, if so, continuing to calculate the predicted data transmission delay, and further distributing the channels until all the channels in the descending channel sequence are completely distributed.
According to the channel allocation method for power carrier communication, when a channel is allocated to each user sending a request, the size of a data set of each user is analyzed in a targeted manner, descending order arrangement is carried out according to the size of the data set, and then transmission channels in descending order arrangement are sequentially allocated to the users, so that the users with large data sets can be allocated to the transmission channels with high transmission rate, and convergence delay is relieved from the root; under the condition of more transmission channels, a plurality of transmission channels can be allocated to users, the secondary allocation of the channels is based on data transmission delay, the data transmission delay still exists, the users with larger delay can be preferentially allocated with the transmission channels with higher transmission rate, the allocation of the transmission channels for two times ensures the reasonable utilization of the transmission channels with high rate, the data transmission efficiency of the users is also ensured, and the delay problem caused by data set isomerism or different channel rates can be overcome. Therefore, the technical problem that the data value cannot be quickly acquired due to obvious convergence time delay caused by different factors in the prior art can be solved.
For ease of understanding, referring to fig. 2, the present application provides an embodiment of a data transmission method for power carrier communication, including:
step 201, a user sends user request information to a power line carrier communication controller;
step 202, a user acquires an allocation channel allocated by a power line carrier communication controller, wherein the allocation channel comprises a channel identifier;
step 203, judging whether the number of the channel identifiers is greater than 0, if so, sending the target data set to the edge server through the distribution channel by the user, prompting the edge server to carry out data aggregation and calculation processing, and if not, discarding the target data set by the user.
After a user sends user request information to the power line carrier communication controller, the power line carrier communication controller performs transmission channel allocation by using the method in the embodiment of the channel allocation method for power line carrier communication, and after acquiring an allocation channel, the user needs to judge whether the allocation is successful or not. When judging that the distribution channel exists currently through the channel identifier, the data transmission can be carried out by adopting the distribution channel; when a plurality of distribution channels exist in the same user, the data set can be rapidly transmitted to the edge server, so that the data can be conveniently gathered and uniformly calculated. For users not allocated to the transmission channel, the target data set is directly discarded without transmission operation.
For ease of understanding, referring to fig. 3, the present application further provides an embodiment of a channel allocation apparatus for power carrier communication, including:
a receiving module 301, configured to receive, by a power line carrier communication controller, user request information sent by multiple users, where the user request information includes a data set size and a user identifier;
a sorting module 302, configured to sort all user request information in a descending order according to the size of the data set, and at the same time sort all transmission channels in a descending order according to the transmission rate, so as to obtain a descending user sequence and a descending channel sequence, respectively;
a first allocating module 303, configured to allocate transmission channels in the descending channel sequence to users in the descending user sequence in sequence, so that the users obtain a first allocated channel;
a judging module 304, configured to judge whether there are remaining unallocated transmission channels in the descending channel sequence, and if yes, perform descending order arrangement on all users according to the predicted data transmission delay to obtain a descending delay sequence;
the second allocating module 305 is configured to allocate the remaining transmission channels in the descending order channel sequence to the users in the descending order delay sequence in sequence, so that the users obtain the second allocated channel, and return to the determining module until the transmission channels in the descending order channel sequence are allocated completely.
Further, the determining module 304 is specifically configured to:
judging whether the unallocated residual transmission channels exist in the descending channel sequence, if so, calculating the predicted data transmission delay according to the size of the data set and the channel transmission rate of the first allocation channel;
and performing descending order arrangement on all users according to the predicted data transmission delay to obtain a descending order delay sequence.
For ease of understanding, referring to fig. 4, the present application further provides an embodiment of a data transmission apparatus for power carrier communication, including:
a sending module 401, configured to send user request information to the power line carrier communication controller by a user;
an obtaining module 402, configured to obtain, by a user, an allocation channel allocated by a power line carrier communication controller, where the allocation channel includes a channel identifier;
a determining module 403, configured to determine whether the number of the channel identifiers is greater than 0, if so, send the target data set to the edge server through the allocation channel, so as to prompt the edge server to perform data aggregation and calculation processing, and if not, discard the target data set.
The application also provides a channel allocation device for power line carrier communication, which comprises a processor and a memory;
the memory is used for storing the program codes and transmitting the program codes to the processor;
the processor is configured to execute a channel allocation method of power carrier communication in the channel allocation method embodiment of power carrier communication according to instructions in the program code.
A sixth aspect of the present application provides a computer-readable storage medium for storing program code for executing a channel allocation method for power carrier communication in a channel allocation method embodiment for power carrier communication.
A seventh aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform a channel allocation method for power carrier communication in a channel allocation method embodiment for power carrier communication.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for executing all or part of the steps of the method described in the embodiments of the present application through a computer device (which may be a personal computer, a server, or a network device). And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1. A channel allocation method for power carrier communication is characterized by comprising the following steps:
the power line carrier communication controller receives user request information sent by a plurality of users, wherein the user request information comprises data set size and user identification;
performing descending order arrangement on all the user request information according to the size of the data set, and simultaneously performing descending order arrangement on all the transmission channels according to the transmission rate to respectively obtain a descending user sequence and a descending channel sequence;
allocating the transmission channels in the descending channel sequence to the users in the descending user sequence in sequence to enable the users to obtain a first allocation channel;
judging whether the descending channel sequence has residual unallocated transmission channels, if so, performing descending arrangement on all users according to the predicted data transmission delay to obtain a descending delay sequence;
and distributing the residual transmission channels in the descending channel sequence to users in the descending time delay sequence according to the sequence, enabling the users to obtain a second distribution channel, and returning to the step of judging whether the residual transmission channels which are not distributed exist in the descending channel sequence until the transmission channels in the descending channel sequence are distributed completely.
2. The channel allocation method for power line carrier communication according to claim 1, wherein the determining whether the remaining unallocated transmission channels exist in the descending channel sequence, and if yes, performing descending order arrangement on all users according to the expected data transmission delay to obtain a descending delay sequence comprises:
judging whether the descending channel sequence has residual unallocated transmission channels, if so, calculating the predicted data transmission delay according to the size of the data set and the channel transmission rate of the first allocated channel;
and performing descending order arrangement on all users according to the predicted data transmission delay to obtain a descending order delay sequence.
3. The data transmission method of power carrier communication is characterized by comprising the following steps:
a user sends user request information to the power line carrier communication controller;
a user acquires an allocation channel allocated by a power carrier communication controller, wherein the allocation channel comprises a channel identifier;
and judging whether the number of the channel identifiers is greater than 0, if so, sending the target data set to an edge server through the distribution channel by the user, prompting the edge server to carry out data aggregation and calculation processing, and if not, discarding the target data set by the user.
4. A channel allocation apparatus for power line carrier communication, comprising:
the receiving module is used for receiving user request information sent by a plurality of users by the power line carrier communication controller, wherein the user request information comprises data set size and user identification;
the sorting module is used for performing descending sorting on all the user request information according to the size of the data set, and performing descending sorting on all the transmission channels according to the transmission rate to respectively obtain a descending user sequence and a descending channel sequence;
a first allocation module, configured to allocate transmission channels in the descending channel sequence to users in the descending user sequence in sequence, so that the users obtain a first allocation channel;
the judging module is used for judging whether the unallocated residual transmission channels exist in the descending channel sequence, if so, all users are subjected to descending arrangement according to the predicted data transmission delay to obtain a descending delay sequence;
and the second allocation module is used for allocating the residual transmission channels in the descending channel sequence to the users in the descending time delay sequence in sequence, so that the users obtain the second allocation channel and return to the judgment module until the transmission channels in the descending channel sequence are allocated completely.
5. The apparatus according to claim 4, wherein the determining module is specifically configured to:
judging whether the descending channel sequence has residual unallocated transmission channels, if so, calculating the predicted data transmission delay according to the size of the data set and the channel transmission rate of the first allocated channel;
and performing descending order arrangement on all users according to the predicted data transmission delay to obtain a descending order delay sequence.
6. A data transmission device for power line carrier communication, comprising:
the sending module is used for sending user request information to the power line carrier communication controller by a user;
the acquisition module is used for acquiring an allocation channel allocated by the power carrier communication controller by a user, wherein the allocation channel comprises a channel identifier;
and the judging module is used for judging whether the number of the channel identifiers is greater than 0, if so, the user sends the target data set to the edge server through the distribution channel to prompt the edge server to carry out data aggregation and calculation processing, and if not, the user discards the target data set.
7. A channel allocation device for power carrier communication, the device comprising a processor and a memory;
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the channel allocation method of power carrier communication according to any one of claims 1-2 according to instructions in the program code.
8. A computer-readable storage medium for storing program code for performing the channel allocation method for power carrier communication according to any one of claims 1-2.
9. A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of channel allocation for power carrier communication of any of claims 1-2.
CN202111114319.3A 2021-09-23 2021-09-23 Channel allocation method, data transmission method and related device for power carrier communication Active CN113852451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111114319.3A CN113852451B (en) 2021-09-23 2021-09-23 Channel allocation method, data transmission method and related device for power carrier communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111114319.3A CN113852451B (en) 2021-09-23 2021-09-23 Channel allocation method, data transmission method and related device for power carrier communication

Publications (2)

Publication Number Publication Date
CN113852451A true CN113852451A (en) 2021-12-28
CN113852451B CN113852451B (en) 2023-06-27

Family

ID=78978821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111114319.3A Active CN113852451B (en) 2021-09-23 2021-09-23 Channel allocation method, data transmission method and related device for power carrier communication

Country Status (1)

Country Link
CN (1) CN113852451B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1808951A (en) * 2005-01-19 2006-07-26 大唐移动通信设备有限公司 Channel priority queuing method in multi-carrier communication system
CN103458470A (en) * 2013-07-25 2013-12-18 北京邮电大学 QoS-based transmission method in cognitive relay system
CN105721127A (en) * 2016-02-01 2016-06-29 国网新疆电力公司电力科学研究院 Power line channel communication resource allocation method based on minimum required rates of users
CN107566060A (en) * 2017-09-12 2018-01-09 河南工业大学 A kind of adaptive channel allocation method in intelligent grid communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1808951A (en) * 2005-01-19 2006-07-26 大唐移动通信设备有限公司 Channel priority queuing method in multi-carrier communication system
CN103458470A (en) * 2013-07-25 2013-12-18 北京邮电大学 QoS-based transmission method in cognitive relay system
CN105721127A (en) * 2016-02-01 2016-06-29 国网新疆电力公司电力科学研究院 Power line channel communication resource allocation method based on minimum required rates of users
CN107566060A (en) * 2017-09-12 2018-01-09 河南工业大学 A kind of adaptive channel allocation method in intelligent grid communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
万庆涛;马冠一;: "多用户OFDM比例公平资源分配算法", 计算机工程与应用, no. 34 *

Also Published As

Publication number Publication date
CN113852451B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN111246586B (en) Method and system for distributing smart grid resources based on genetic algorithm
CN104901989B (en) A kind of Site Service offer system and method
CN113515351B (en) Resource scheduling implementation method based on energy consumption and QoS (quality of service) cooperative optimization
CN109981744B (en) Data distribution method and device, storage medium and electronic equipment
US20180052789A1 (en) Direct Memory Access Transmission Control Method and Apparatus
CN103761146B (en) A kind of method that MapReduce dynamically sets slots quantity
CN103763740B (en) Method and device for balancing loads of single boards
CN107483981B (en) Resource Calculation monitoring distribution method, storage medium, electronic equipment and system is broadcast live
CN109548161A (en) A kind of method, apparatus and terminal device of wireless resource scheduling
CN111328146B (en) Service scheduling method for optimizing transmission rate weight based on genetic algorithm
CN108132840B (en) Resource scheduling method and device in distributed system
GB2611621A (en) Method of federated learning, electronic device, and storage medium
CN104811467A (en) Comprehensive effect data handling method
WO2015090044A1 (en) Data scanning method and device
CN113852451A (en) Channel allocation method, data transmission method and related device for power carrier communication
CN110380825A (en) A kind of control method and device of transmission rate
CN109254844A (en) A kind of triangle calculation method of Large Scale Graphs
CN105451350A (en) Combined unicast and multicast mechanism-based resource allocation method
CN105517163B (en) The method for virtualizing the reversed resource allocation of base station parallel task
CN110781878B (en) Target area determination method and device, storage medium and electronic device
CN108737223B (en) Health consultation method, device, platform and storage medium based on load balancing
CN113760496A (en) Container scheduling method and scheduler
CN114641078A (en) Dynamic adjustment method, device, storage medium and equipment for resource allocation
CN112714037A (en) Method, device and equipment for evaluating guarantee performance of online service quality
CN107277862B (en) Video transmission scheduling method in mobile cloud computing environment

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