CN115314180A - Power line communication method, system, equipment and medium based on carrier aggregation - Google Patents

Power line communication method, system, equipment and medium based on carrier aggregation Download PDF

Info

Publication number
CN115314180A
CN115314180A CN202211231215.5A CN202211231215A CN115314180A CN 115314180 A CN115314180 A CN 115314180A CN 202211231215 A CN202211231215 A CN 202211231215A CN 115314180 A CN115314180 A CN 115314180A
Authority
CN
China
Prior art keywords
carrier
initial
target
sub
line data
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
CN202211231215.5A
Other languages
Chinese (zh)
Other versions
CN115314180B (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.)
Jiangmen Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
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 Jiangmen Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Jiangmen Power Supply Bureau of Guangdong Power Grid Co Ltd
Priority to CN202211231215.5A priority Critical patent/CN115314180B/en
Publication of CN115314180A publication Critical patent/CN115314180A/en
Application granted granted Critical
Publication of CN115314180B publication Critical patent/CN115314180B/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
    • H04L5/0058Allocation criteria
    • H04L5/0064Rate requirement of the data, e.g. scalable bandwidth, data priority
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N10/00Quantum computing, i.e. information processing based on quantum-mechanical phenomena
    • G06N10/60Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/0001Arrangements for dividing the transmission path
    • H04L5/0003Two-dimensional division
    • H04L5/0005Time-frequency
    • H04L5/0007Time-frequency the frequencies being orthogonal, e.g. OFDM(A), DMT
    • H04L5/001Time-frequency the frequencies being orthogonal, e.g. OFDM(A), DMT the frequencies being arranged in component carriers
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Biophysics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Mathematical Analysis (AREA)
  • Quality & Reliability (AREA)
  • Computational Mathematics (AREA)
  • Power Engineering (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • Physiology (AREA)
  • Computational Linguistics (AREA)
  • Biomedical Technology (AREA)
  • Genetics & Genomics (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a power line communication method, system, device and medium based on carrier aggregation, which determine a carrier communication channel and a plurality of corresponding initial subcarriers based on user line data when receiving the user line data. And accessing the line topological structure corresponding to the user line data into a carrier communication channel, and judging whether the user line data is smaller than a preset structure threshold value. And if so, carrying out quantum coding on the initial sub-carrier and then carrying out carrier screening to obtain a target sub-carrier corresponding to the carrier communication channel. If not, carrying out quantum coding after carrier screening is carried out on the initial subcarriers to obtain target subcarriers corresponding to the carrier communication channels. Based on the user line data and the corresponding line topology structure, the processing sequence of the initial subcarriers is correspondingly adjusted and the carrier aggregation is carried out, so that the flexibility is high, the frequency spectrum resources can be fully utilized, and the stability of the communication effect can be ensured during the multi-access communication.

Description

Power line communication method, system, equipment and medium based on carrier aggregation
Technical Field
The present invention relates to the field of power line communication technologies, and in particular, to a power line communication method, system, device, and medium based on carrier aggregation.
Background
With the application of new energy technology and distributed energy access technology becoming more and more extensive, the requirement of the communication rate of power line communication of power system equipment real-time monitoring, electric vehicle charging and discharging, automatic payment and other power internet of things services is increasing day by day.
At present, the power line communication method mainly adopts an orthogonal frequency division multiplexing technology and a fixed frequency band for carrier aggregation, so that the anti-interference capability and the rate of the power line communication are improved. However, in practical power transmission line applications, both the access of users and the channel environment affect the quality of carrier communication.
Therefore, in the conventional power line communication method, carrier communication in a fixed frequency band and fixed subcarriers are used, and when multiple access communication is performed, stability of a communication effect is poor due to low flexibility and low accuracy.
Disclosure of Invention
The invention provides a power line communication method, a power line communication system, a power line communication device and a power line communication medium based on carrier aggregation, which solve the technical problem that the stability of a communication effect is poor easily caused by low flexibility and low accuracy when multiple access communication is performed by using carrier communication of a fixed frequency band and fixed subcarriers in the conventional power line communication method.
The invention provides a power line communication method based on carrier aggregation, which comprises the following steps:
when receiving subscriber line data, determining a carrier communication channel and a corresponding plurality of initial subcarriers based on the subscriber line data;
accessing a line topology structure corresponding to the user line data to the carrier communication channel, and judging whether the user line data is smaller than a preset structure threshold value;
if yes, carrying out quantum coding on the initial sub-carrier and then carrying out carrier screening to obtain a target sub-carrier corresponding to the carrier communication channel;
if not, carrying out quantum coding after carrier screening on the initial sub-carriers to obtain target sub-carriers corresponding to the carrier communication channels;
and carrying out carrier aggregation on the target sub-carrier based on the user line data to obtain a target sub-band corresponding to the user line data.
Optionally, the step of determining, when subscriber line data is received, a carrier communication channel and a corresponding plurality of initial subcarriers based on the subscriber line data includes:
when receiving subscriber line data, determining a carrier communication channel based on the subscriber line data;
dividing the carrier communication channel into a plurality of subcarrier channels by adopting orthogonal frequency division multiplexing;
and respectively carrying out carrier modulation on the subcarrier channels by adopting a dynamic resource allocation mode to obtain corresponding initial subcarriers.
Optionally, the step of performing carrier screening after performing quantum coding on the initial subcarriers to obtain target subcarriers corresponding to the carrier communication channel includes:
initializing a population based on the initial subcarriers and respectively carrying out quantum state coding on population individuals to obtain corresponding initial population individuals;
respectively carrying out quantum state measurement on the initial population individuals and combining with a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals;
determining corresponding intermediate population individuals based on the individual evaluation results and preset individual standards;
acquiring channel environment change data corresponding to the carrier communication channel;
determining corresponding target population individuals and counting the evolution times in real time based on the channel environment change data and the change data corresponding to the intermediate population individuals;
judging whether the evolution times meet a preset maximum evolution threshold or not;
if so, taking the initial sub-carrier corresponding to the target population individual corresponding to the maximum value of the individual evaluation result at the current moment as a plurality of target sub-carriers corresponding to the carrier communication channel;
and if not, taking the target population individuals at the current moment as the initial population individuals, and skipping to execute the step of respectively carrying out quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
Optionally, the step of performing quantum coding after the initial subcarrier is subjected to carrier screening to obtain a target subcarrier corresponding to the carrier communication channel includes:
acquiring channel environment change data corresponding to the carrier communication channel;
determining a corresponding intermediate subcarrier based on the channel environment change data and the change data corresponding to the initial subcarrier;
initializing a population based on the intermediate subcarriers and respectively carrying out quantum state coding on population individuals to obtain corresponding initial population individuals;
respectively carrying out quantum state measurement on the initial population individuals and combining with a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals;
determining corresponding target population individuals and counting the evolution times in real time based on the individual evaluation results and preset individual standards;
judging whether the evolution times meet a preset maximum evolution threshold value or not;
if yes, the intermediate sub-carrier corresponding to the target population individual corresponding to the maximum value of the individual evaluation result at the current moment is used as a plurality of target sub-carriers corresponding to the carrier communication channel;
and if not, taking the target population individuals at the current moment as the initial population individuals, and skipping to execute the step of respectively carrying out quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
Optionally, the step of obtaining individual evaluation results corresponding to the initial population individuals by performing quantum state measurement on the initial population individuals respectively and combining a preset evaluation function includes:
respectively carrying out quantum state measurement on the initial population individuals to obtain individual states corresponding to the initial population individuals;
taking the number of user subcarriers and the user rate corresponding to the individual state as the number of user subcarriers and the user rate corresponding to the initial population;
and substituting the number of the user subcarriers and the user rate into a preset evaluation function, and calculating to obtain an individual evaluation result corresponding to the initial population individual.
Optionally, the subscriber line data includes spectrum resource bandwidths required by a plurality of users; the step of performing carrier aggregation on the target sub-carrier based on the user line data to obtain a target sub-band corresponding to the user line data includes:
carrying out carrier aggregation on the target sub-carrier based on the frequency spectrum resource bandwidth to obtain a corresponding initial sub-band;
adopting a multiplication value of a subcarrier bandwidth corresponding to the initial subband and a preset decision variable to construct a target function corresponding to the initial subband;
and determining a target sub-band corresponding to the user line data according to the target function and preset aggregation data.
Optionally, the preset aggregated data includes function standard data and communication standard data; the step of determining a target sub-band corresponding to the user line data according to the target function and preset aggregation data includes:
judging whether the target function meets the function standard data or not;
if so, taking the initial sub-band corresponding to the target function as an intermediate sub-band;
if not, skipping to execute the step of carrying out carrier aggregation on the target sub-carrier based on the frequency spectrum resource bandwidth to obtain a corresponding initial sub-band;
judging whether the communication data corresponding to the intermediate sub-band meets the communication standard data;
if yes, the intermediate sub-band is used as a target sub-band corresponding to the user line data;
if not, skipping to execute the step of determining the carrier communication channel and the corresponding plurality of initial subcarriers based on the user line data.
The invention also provides a power line communication system based on carrier aggregation, which comprises:
a carrier communication channel and initial subcarrier determining module, configured to determine, when user line data is received, a carrier communication channel and a plurality of corresponding initial subcarriers based on the user line data;
a subscriber line data judgment module, configured to access a line topology structure corresponding to the subscriber line data to the carrier communication channel, and judge whether the subscriber line data is smaller than a preset structure threshold;
a target subcarrier obtaining first module, configured to perform carrier screening after performing quantum coding on the initial subcarrier if the target subcarrier is obtained, to obtain a target subcarrier corresponding to the carrier communication channel;
a second module for obtaining a target subcarrier, configured to perform carrier screening on the initial subcarrier and then perform quantum coding to obtain a target subcarrier corresponding to the carrier communication channel if the initial subcarrier is not the target subcarrier;
and the target sub-band obtaining module is used for carrying out carrier aggregation on the target sub-carrier based on the user line data to obtain a target sub-band corresponding to the user line data.
The invention further provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of implementing any one of the above power line communication methods based on carrier aggregation.
The present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed, implements any of the carrier aggregation-based power line communication methods described above.
According to the technical scheme, the invention has the following advantages:
the invention determines a carrier communication channel and a corresponding plurality of initial sub-carriers based on subscriber line data when the subscriber line data is received. And accessing the line topological structure corresponding to the user line data into a carrier communication channel, and judging whether the user line data is smaller than a preset structure threshold value. And if so, carrying out quantum coding on the initial sub-carrier and then carrying out carrier screening to obtain a target sub-carrier corresponding to the carrier communication channel. And if not, carrying out quantum coding after carrier screening is carried out on the initial sub-carriers to obtain target sub-carriers corresponding to the carrier communication channels. And carrying out carrier aggregation on the target sub-carrier based on the user line data to obtain a target sub-band corresponding to the user line data. The problem that the stability of a communication effect is poor due to low flexibility and low accuracy when multiple access communication is performed because a carrier communication with a fixed frequency band and a fixed subcarrier are used in an existing power line communication method is solved. Based on the user line data and the corresponding line topology structure, the processing sequence of the initial subcarriers is correspondingly adjusted and the carrier aggregation is carried out, so that the flexibility is high, the frequency spectrum resources can be fully utilized, and the stability of the communication effect can be ensured during the multi-access communication.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive labor.
Fig. 1 is a flowchart illustrating steps of a power line communication method based on carrier aggregation according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a power line communication method based on carrier aggregation according to a second embodiment of the present invention;
fig. 3 is a block diagram of a structure of a power line communication system based on carrier aggregation according to a third embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a power line communication method, a system, equipment and a medium based on carrier aggregation, which are used for solving the technical problems that the stability of a communication effect is poor easily caused by low flexibility and low accuracy when multiple access communication is performed by using carrier communication of a fixed frequency band and fixed subcarriers in the conventional power line communication method.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a power line communication method based on carrier aggregation according to an embodiment of the present invention.
The invention provides a power line communication method based on carrier aggregation, which comprises the following steps:
step 101, when receiving subscriber line data, determining a carrier communication channel and a plurality of corresponding initial subcarriers based on the subscriber line data.
The subscriber line data is data information including a spectrum resource bandwidth required by a plurality of users, the number of subscriber lines, and a line topology corresponding to each user. The carrier communication channel is a channel having a bandwidth that satisfies a spectrum resource bandwidth required by each user in the subscriber line data.
The initial subcarrier is a subcarrier channel obtained by dividing and modulating a carrier communication channel by adopting an orthogonal frequency division multiplexing technology.
In the carrier communication channel, a plurality of subcarriers are respectively integrated together to form a corresponding subband channel, and when the allocation is carried out, the subcarriers in the same subband are adjusted and allocated to the same user according to the same modulation mode, namely the subcarriers are allocated as a unit.
Since the sub-band channel is determined by the sub-carrier with the worst quality, in order to secure the error rate of information transmission, the system performance is degraded when the sub-band is too large, and when it is too largeLWhen the sub-carriers are aggregated into a sub-band, the resource allocation quantity is reduced toN/L. For quantum genetic algorithm, the most complicated process is the ranking of target evaluation, and the complexity of rapid ranking is adopted as
Figure 936376DEST_PATH_IMAGE001
After sub-band channel division, complexity is reduced to
Figure 478740DEST_PATH_IMAGE002
. In addition, the sub-band division also compresses the search space of the algorithm, and before the sub-band division, the search space is
Figure 358972DEST_PATH_IMAGE003
After the sub-bands are divided, the search space is reduced to
Figure 983857DEST_PATH_IMAGE004
. The reduction of the search space correspondingly reduces the number of iterations and the population number required by the algorithm. The sub-band division greatly reduces the complexity of the algorithm.
In the embodiment of the present invention, when subscriber line data is received, a carrier communication channel is determined based on the subscriber line data. The method comprises the steps of dividing sub-band channels corresponding to carrier communication channels into a plurality of sub-carrier channels by adopting orthogonal frequency division multiplexing, respectively carrying out carrier modulation on the sub-carrier channels by adopting a dynamic resource allocation mode, selecting an allocation frequency and a modulation mode for selecting sub-carriers based on the quality of the channels, grading the channel quality, adopting high modulation when the quality is good, adopting low modulation when the quality is poor, not using channels with poor quality, and taking the sub-carriers obtained by modulation as initial sub-carriers.
Step 102, a line topology structure corresponding to the user line data is accessed to a carrier communication channel, and whether the user line data is smaller than a preset structure threshold value is judged.
The line topology structure refers to the connection condition between the line and the device corresponding to each user in the user line data. The preset configuration threshold refers to a critical value set for the number of devices and subscriber lines included in the subscriber line data.
In the embodiment of the invention, because the power line channel has faults and local lines are accessed or connected out due to sudden change, and the occurrence probability of the faults is low, the line topology structure corresponding to the user line data is accessed into the carrier communication channel, and the influence on the communication channel after the line topology structure is accessed into the carrier communication channel is judged. Because the carrier communication channel has the borrowing condition, when the receiving routes or equipment are few and the influence on the whole environment of the channel is not great, the initial sub-carrier can be subjected to quantum coding and then to carrier screening, namely the influenced channel is locally adjusted. When the topology of the outgoing route is complex or the amount of the equipment is large, the quantum coding is required to be performed after the carrier screening is performed on the initial sub-carriers.
And 103, if so, carrying out quantum coding on the initial subcarriers and then carrying out carrier screening to obtain target subcarriers corresponding to the carrier communication channels.
The target subcarrier is a subcarrier obtained by performing quantum coding and carrier screening on the initial subcarrier.
In the embodiment of the invention, when the user line data and the equipment corresponding to the user line data are smaller than the preset structural threshold, firstly, the population is initialized based on the initial subcarrier and the population individuals are respectively subjected to quantum state coding to obtain the corresponding initial population individuals. Then, quantum state measurement is carried out on the initial population individuals respectively, a preset evaluation function is combined, individual evaluation results corresponding to the initial population individuals are obtained, and corresponding intermediate population individuals are determined based on the individual evaluation results and preset individual standards. And then, acquiring channel environment change data corresponding to the carrier communication channel, determining corresponding target population individuals based on the channel environment change data and change data corresponding to the intermediate population individuals, and counting the evolution times in real time. And finally, judging whether the evolution times meet a preset maximum evolution threshold, and if so, taking the initial sub-carriers corresponding to the target population individuals corresponding to the maximum individual evaluation result at the current moment as a plurality of target sub-carriers corresponding to the carrier communication channel. And if not, taking the target population individuals at the current moment as initial population individuals, and skipping to perform the steps of respectively performing quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
And step 104, if not, carrying out quantum coding after carrier screening is carried out on the initial sub-carriers to obtain target sub-carriers corresponding to the carrier communication channels.
In the embodiment of the invention, when the user line data and the equipment corresponding to the user line data are greater than the preset structural threshold, first, channel environment change data corresponding to a carrier communication channel are collected, and corresponding intermediate subcarriers are determined based on the channel environment change data and the change data corresponding to the initial subcarriers. Then, initializing the population based on the intermediate subcarriers and respectively carrying out quantum state coding on the population individuals to obtain corresponding initial population individuals, and respectively carrying out quantum state measurement on the initial population individuals and combining with a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals. And then, determining corresponding target population individuals and counting the evolution times in real time based on the individual evaluation results and preset individual standards. And finally, judging whether the evolution times meet a preset maximum evolution threshold, if so, taking the intermediate subcarriers corresponding to the target population individuals corresponding to the maximum individual evaluation result at the current moment as a plurality of target subcarriers corresponding to the carrier communication channel. And if not, taking the target population individuals at the current moment as initial population individuals, and skipping to perform the steps of respectively performing quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
And 105, carrying out carrier aggregation on the target sub-carrier based on the user line data to obtain a target sub-band corresponding to the user line data.
The target sub-band refers to the sub-band which meets communication standard data and is obtained after carrier aggregation is carried out by adopting target sub-carriers
In the embodiment of the invention, the carrier aggregation is carried out on the target sub-carrier based on the frequency spectrum resource bandwidth to obtain the corresponding initial sub-band. And constructing a target function corresponding to the initial sub-band by adopting a multiplication value of the sub-carrier bandwidth corresponding to the initial sub-band and a preset decision variable, and determining the target sub-band corresponding to the user line data based on the target function and preset aggregation data.
In the embodiment of the invention, the carrier communication channel and the corresponding plurality of initial subcarriers are determined based on the subscriber line data when the subscriber line data is received. And accessing the line topological structure corresponding to the user line data into a carrier communication channel, and judging whether the user line data is smaller than a preset structure threshold value. If yes, carrying out quantum coding on the initial sub-carrier and then carrying out carrier screening to obtain a target sub-carrier corresponding to the carrier communication channel. If not, carrying out quantum coding after carrier screening is carried out on the initial subcarriers to obtain target subcarriers corresponding to the carrier communication channels. And carrying out carrier aggregation on the target sub-carrier based on the user line data to obtain a target sub-band corresponding to the user line data. The technical problem that the stability of a communication effect is poor due to low flexibility and low accuracy when multiple access communication is performed by using carrier communication of a fixed frequency band and fixed subcarriers in the conventional power line communication method is solved. Based on the user line data and the corresponding line topology structure, the processing sequence of the sub-carriers is correspondingly adjusted and the carrier aggregation is carried out, so that the flexibility is high, the frequency spectrum resources can be fully utilized, and the stability of the communication effect can be ensured during the multi-access communication.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a power line communication method based on carrier aggregation according to a second embodiment of the present invention.
Step 201, when receiving subscriber line data, determining a carrier communication channel and a plurality of corresponding initial subcarriers based on the subscriber line data.
Further, step 201 may comprise the following sub-steps S11-S13:
and S11, when the user line data is received, determining a carrier communication channel based on the user line data.
In the embodiment of the invention, when the user line data is received, the frequency spectrum resource bandwidth required by each user in the user line data is acquired, and the carrier communication channel which meets the frequency spectrum resource bandwidth required by each user in the user line data is selected by combining the bandwidth conditions of the existing multiple carrier communication channels.
And S12, dividing a carrier communication channel into a plurality of subcarrier channels by adopting orthogonal frequency division multiplexing.
In the embodiment of the invention, the carrier communication channels are divided by the OFDM technology, so that a plurality of subcarrier channels are obtained.
And S13, respectively carrying out carrier modulation on the subcarrier channels by adopting a dynamic resource allocation mode to obtain corresponding initial subcarriers.
In the embodiment of the invention, a dynamic resource allocation mode, namely a modulation mode for selecting allocation frequency and selecting subcarriers based on the quality of a subcarrier channel, is adopted to grade the quality of the subcarrier channel, high modulation is adopted for the subcarrier channel with good quality, low modulation is adopted for the subcarrier channel with poor quality, and the subcarrier channel with poor quality is not used. And respectively taking all the subcarrier channels obtained by modulation as initial subcarriers.
Step 202, a line topology structure corresponding to the subscriber line data is accessed to a carrier communication channel, and whether the subscriber line data is smaller than a preset structure threshold value is judged.
In the embodiment of the invention, a plurality of line topological structures corresponding to the user line data are respectively accessed into the carrier communication channel, and whether the number of the accessed user lines and the equipment are smaller than the preset structure threshold value is judged.
And 203, if so, performing carrier screening after performing quantum coding on the initial subcarriers to obtain target subcarriers corresponding to the carrier communication channels.
Further, step 203 may comprise the following sub-steps S21-S28:
and S21, initializing the population based on the initial subcarrier and respectively carrying out quantum state coding on the population individuals to obtain the corresponding initial population individuals.
The initial population individuals refer to population individuals in an individual population constructed on the basis of subcarriers by adopting a quantum genetic algorithm.
Assuming that a system has N initial subcarriers and K users, each initial population includes N chromosomes corresponding to N intermediate subcarriers to be allocated. Wherein one chromosome contains
Figure 404474DEST_PATH_IMAGE005
A gene, which is used to indicate to which user the subcarrier is. Each chromosome contains two different quantum states, the probabilities of being in these two quantum states are denoted by α and β, respectively, and thus the initial population of individuals can be expressed as:
Figure 814727DEST_PATH_IMAGE006
wherein, the first and the second end of the pipe are connected with each other,
Figure 115127DEST_PATH_IMAGE007
denotes the firsttGeneration by generationjThe number of individuals in the initial population is,
Figure 40358DEST_PATH_IMAGE008
is shown astGeneration by generationNSEach gene is in [0 ]]The probability of a quantum state is,
Figure 202349DEST_PATH_IMAGE009
first, thetGeneration by generationNSEach gene is in [ 1]]Probability of quantum state.
In the embodiment of the invention, an individual population is constructed based on the initial subcarrier by adopting a quantum genetic algorithm, and quantum state coding is respectively carried out on population individuals in the population, so that corresponding initial population individuals are obtained.
And S22, respectively carrying out quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
The preset evaluation function is as follows:
Figure 450796DEST_PATH_IMAGE010
wherein the content of the first and second substances,
Figure 672830DEST_PATH_IMAGE011
representing the total sending rate corresponding to the initial population of individuals,
Figure 275237DEST_PATH_IMAGE012
indicating the number of subcarriers allocated equally by the user,
Figure 303236DEST_PATH_IMAGE013
representing the user rate. The right of the formula for the merit function represents the system service fairness index SFI. The SFI varies in the range of [0,1]The proportional fairness is incremented from 0 to 1. Since a smaller evaluation function generally indicates a more suitable evaluation function, a minus sign is added.
The individual evaluation result refers to evaluation data obtained by substituting the number of user subcarriers corresponding to the initial population and the user rate into a preset evaluation function.
In the embodiment of the invention, quantum state measurement is carried out on the initial population individuals, a random variable is generated between [0 and 1], and the random variable is adopted to measure the quantum superposition state of the initial population individuals respectively, so that the quantum superposition state is collapsed from one state to another specific state. And after determining the individual state corresponding to the initial population individual, taking the number of the user subcarriers corresponding to the individual state and the user rate as the number of the user subcarriers corresponding to the initial population individual and the user rate. And substituting the number of user subcarriers and the user rate corresponding to each initial population into a preset evaluation function respectively, thereby obtaining individual evaluation results corresponding to the initial population.
And S23, determining corresponding intermediate population individuals based on the individual evaluation results and preset individual standards.
The preset individual standard refers to a critical value which needs to be met by an individual evaluation result corresponding to the population individual and is set in advance based on communication needs. The intermediate population individuals are initial population individuals which are screened out to meet preset individual standards through quantum state measurement and individual evaluation.
In the embodiment of the invention, after the individual evaluation results corresponding to the initial population individuals are obtained, the individual evaluation results are compared with the preset individual standard, and the initial population individuals corresponding to the individual evaluation results meeting the preset individual standard are taken as the intermediate population individuals.
And S24, collecting channel environment change data corresponding to the carrier communication channel.
The channel environment change data refers to data that a carrier communication channel acquires a change in the channel environment of the carrier communication channel after accessing a line topology structure corresponding to user line data.
In the embodiment of the invention, before the circuit topological structure is not accessed, the artificial noise interference of the carrier communication channel is stable, the corresponding channel environment is kept balanced, the channel environment of the carrier communication channel is correspondingly changed along with the access of the circuit topological structure, and finally a new balanced environment is achieved.
And S25, determining corresponding target population individuals and counting the evolution times in real time based on the channel environment change data and the change data corresponding to the intermediate population individuals.
The target population individuals refer to the population individuals left after the initial population individuals are subjected to quantum genetic algorithm and carrier wave screening. The number of evolutionary events refers to the number of times that all target population individuals are obtained.
In the embodiment of the invention, a self-learning module is adopted to learn and count resource allocation, and a channel change rule corresponding to channel environment change data and change data corresponding to intermediate population individuals are mastered, so that the intermediate population individuals, which accord with the channel change rule, of the change data after channel mutation are screened, the intermediate population individuals which accord with the channel change rule are taken as target population individuals, and the evolution times are counted in real time.
And S26, judging whether the evolution times meet a preset maximum evolution threshold value.
The preset maximum evolution threshold value refers to that the maximum iteration number required to be met by the evolution number is preset based on communication needs or the optimal individual fitness value of ten continuous generations is unchanged.
In the embodiment of the invention, each time all target population individuals corresponding to the individual population are obtained, the evolution times are counted in real time, namely, the evolution times are accumulated once, and after the evolution times are counted, the evolution times are compared with a preset maximum evolution threshold.
And S27, if so, taking the initial sub-carrier corresponding to the target population individual corresponding to the maximum value of the individual evaluation result at the current time as a plurality of target sub-carriers corresponding to the carrier communication channel.
In the embodiment of the invention, when the evolution times are equal to the maximum evolution threshold, the target population individual corresponding to the maximum evaluation result of the individual at the current moment is selected, and all initial subcarriers corresponding to the target population individual are used as a plurality of target subcarriers corresponding to the carrier communication channel.
And S28, if not, taking the target population individuals at the current moment as initial population individuals, and skipping to execute the steps of respectively carrying out quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
In the embodiment of the invention, when the evolution frequency is less than the maximum evolution threshold, all target population individuals at the current moment are taken as initial population individuals, the steps of respectively carrying out quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals are skipped to be executed, the individual states corresponding to the target population individuals are calculated and evaluated, the target population individuals are re-determined until the evolution frequency is equal to the maximum evolution threshold, and a plurality of initial subcarriers corresponding to the target population individuals corresponding to the maximum individual evaluation result in the target population individuals at the current moment are taken as a plurality of target subcarriers corresponding to a given channel, so that a plurality of target subcarriers corresponding to the given channel are obtained.
And step 204, if not, carrying out quantum coding after carrier screening is carried out on the initial subcarriers to obtain target subcarriers corresponding to the carrier communication channels.
Further, step 204 may comprise the following sub-steps S31-S38:
and S31, collecting channel environment change data corresponding to the carrier communication channel.
In the embodiment of the invention, before the circuit topological structure is not accessed, the artificial noise interference of the carrier communication channel is stable, the corresponding channel environment is kept balanced, the channel environment of the carrier communication channel is correspondingly changed along with the access of the circuit topological structure, and finally a new balanced environment is achieved.
And S32, determining corresponding intermediate subcarriers based on the channel environment change data and the change data corresponding to the initial subcarriers.
The intermediate sub-carrier is an initial sub-carrier which is screened out based on the change data corresponding to the initial sub-carrier and the change data meets the channel change rule corresponding to the channel environment change data.
In the embodiment of the invention, a self-learning module is adopted to learn and count resource allocation, and a channel change rule corresponding to channel environment change data and change data corresponding to initial subcarriers are mastered, so that the initial subcarriers which accord with the channel change rule after channel mutation are screened, and the initial subcarriers which accord with the channel change rule are used as intermediate subcarriers.
And S33, initializing the population based on the intermediate subcarriers and respectively carrying out quantum state coding on the population individuals to obtain corresponding initial population individuals.
In the embodiment of the invention, an individual population is constructed based on intermediate carriers by adopting a quantum genetic algorithm, and quantum state coding is carried out on population individuals in the population, so that corresponding initial population individuals are obtained.
And S34, respectively carrying out quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
In the embodiment of the invention, quantum state measurement is carried out on the initial population individuals, a random variable is generated between [0 and 1], and the random variable is adopted to measure the quantum superposition state of the initial population individuals respectively, so that the quantum superposition state is collapsed from one state to another specific state. And after determining the individual state corresponding to the initial population individual, taking the number of the user sub-carriers and the user rate corresponding to the individual state as the number of the user sub-carriers and the user rate corresponding to the initial population individual. And respectively substituting the user subcarrier number and the user rate corresponding to each initial population into the preset evaluation function to obtain an individual evaluation result corresponding to the initial population.
And S35, determining corresponding target population individuals and counting the evolution times in real time based on the individual evaluation results and preset individual standards.
In the embodiment of the invention, after the individual evaluation results corresponding to each initial population individual are obtained, the individual evaluation results are respectively compared with the preset individual standard, the initial population individual corresponding to the individual evaluation result meeting the preset individual standard is taken as the target population individual, and the evolution times are counted in real time.
And S36, judging whether the evolution times meet a preset maximum evolution threshold value.
In the embodiment of the invention, each time all target population individuals corresponding to the individual population are obtained, the evolution times are counted in real time, namely, the evolution times are accumulated once, and after the evolution times are counted, the evolution times are compared with the preset maximum evolution threshold value.
And S37, if so, taking the intermediate sub-carrier corresponding to the target population individual corresponding to the maximum value of the individual evaluation result at the current moment as a plurality of target sub-carriers corresponding to the carrier communication channel.
In the embodiment of the invention, when the evolution times are equal to the maximum evolution threshold, the target population individual corresponding to the maximum value of the evaluation result of the individual at the current moment is selected, and all the intermediate subcarriers corresponding to the target population individual are used as a plurality of target subcarriers corresponding to the carrier communication channel.
And S38, if not, taking the target population individuals at the current moment as initial population individuals, and skipping to execute the steps of respectively carrying out quantum state measurement on the initial population individuals and combining with a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
In the embodiment of the invention, when the evolution frequency is less than the maximum evolution threshold, all target population individuals at the current moment are taken as initial population individuals, the steps of measuring the quantum state of the initial population individuals respectively and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals are skipped to perform, the individual states corresponding to the target population individuals are calculated and evaluated, the target population individuals are re-determined until the evolution frequency is equal to the maximum evolution threshold, and a plurality of intermediate subcarriers corresponding to the target population individuals corresponding to the maximum value of the individual evaluation results in the target population individuals at the current moment are taken as a plurality of target subcarriers corresponding to a given channel, so that a plurality of target subcarriers corresponding to the given channel are obtained.
Further, the substeps S22 and the substep S34 further include the following steps S221 to S223:
and S221, quantum state measurement is respectively carried out on the initial population individuals to obtain individual states corresponding to the initial population individuals.
The individual states refer to two quantum states corresponding to the individuals in the population, and the individual states comprise a first individual state and a second individual state, wherein the first individual state refers to the quantum state corresponding to the quantum state measurement result of 1. The second state refers to a quantum state corresponding to a quantum state measurement result of 0.
In the embodiment of the invention, a random variable is generated in a preset random number interval, namely a random variable is generated between [0 and 1], and the random variable is adopted to measure the quantum superposition state of the initial population individuals respectively, so that the quantum superposition state collapses from one state to another specific state. And comparing the random variables with the squares of the probability amplitudes corresponding to the individuals of the initial population respectively, if the random variables are greater than the squares of the probability amplitudes corresponding to the individuals of the initial population, setting the individual state corresponding to the individuals of the initial population as a first individual state, namely setting the quantum state measurement result as 1, and setting the individual state corresponding to the individuals of the initial population as the first individual state. If the random variable is less than or equal to the square of the probability amplitude corresponding to the initial population individuals, the individual states corresponding to the initial population individuals are set to be second individual states, namely the quantum state measurement result is 0, and the individual states corresponding to the initial population individuals are set to be the second individual states.
S222, taking the number of the user sub-carriers and the user rate corresponding to the individual state as the number of the user sub-carriers and the user rate corresponding to the initial population.
The individual state refers to the individual state containing the number of user subcarriers and the change situation of the user rate, and the number of the user subcarriers refers to the number of the subcarriers averagely allocated by the user. The user rate is an average value of a sum of a corresponding minimum rate and a maximum rate when the user uses subcarriers. For example: and 3 users, wherein if a certain section of given channel is averagely allocated, the average value of the given channel is calculated as the number of the user subcarriers, and the average value of the sum of the minimum rate and the maximum rate of each user of the 3 users is recorded as the user rate.
In the embodiment of the invention, after the individual state corresponding to the initial population individual is determined, the number of the user subcarriers corresponding to the individual state and the user rate are used as the number of the user subcarriers corresponding to the initial population individual and the user rate.
And S223, substituting the number of the user subcarriers and the user rate into a preset evaluation function, and calculating to obtain an individual evaluation result corresponding to the initial population.
In the embodiment of the invention, after the individual state corresponding to the initial population individual is determined, the number of the user sub-carriers and the user rate corresponding to the individual state are used as the number of the user sub-carriers and the user rate corresponding to the initial population individual. And substituting the number of user subcarriers and the user rate corresponding to each initial population into a preset evaluation function respectively, thereby obtaining individual evaluation results corresponding to the initial population.
And 205, performing carrier aggregation on the target sub-carrier based on the frequency spectrum resource bandwidth to obtain a corresponding initial sub-band.
In the embodiment of the invention, the initial sub-band division can be carried out with equal bandwidth division, and the number of sub-carriers of each sub-band is the same when the bandwidth division is carried out with equal bandwidth division. And equal non-uniform bandwidth division can be carried out, and the non-uniform bandwidth division determines and divides the number of target sub-carriers in each sub-band by adopting a preset sub-band model based on the real-time state of the channel. The spectrum resource bandwidths required by a plurality of users and contained in the user demand data are based on the spectrum resource bandwidths, and the spectrum aggregation algorithm is adopted through a preset sub-band model to respectively select the target sub-carriers meeting the corresponding requirements from the target sub-carriers and aggregate the target sub-carriers into the corresponding initial sub-bands.
Continuously adjusting the combined target sub-carrier to reach the maximum communication rate by adopting a preset sub-band model, wherein the preset sub-band model is as follows:
Figure 422502DEST_PATH_IMAGE014
Figure 799126DEST_PATH_IMAGE015
Figure 636632DEST_PATH_IMAGE016
Figure 202742DEST_PATH_IMAGE017
wherein the content of the first and second substances,arepresenting decision variables, objective functionsf(a)Which may be a maximum or a minimum, the decision variables are constrained by a function g (a), D representing the set of decision variables.
For example: the method for aggregating the target sub-carriers by adopting the spectrum aggregation algorithm in the sub-band model comprises the following steps:
a1, sequencing frequency spectrum resource bandwidths required by user services of N users from small to large, and constructing a bandwidth set
Figure 691361DEST_PATH_IMAGE018
In which
Figure 989618DEST_PATH_IMAGE019
For the userkThe bandwidth of the spectrum resources required by the service,
Figure 563688DEST_PATH_IMAGE020
and B is a spectrum resource bandwidth set required by user services of N users.
A2、
Figure 933490DEST_PATH_IMAGE021
In order to sequence the target sub-carriers from low frequency to high frequency, an obtained idle frequency band set is constructed, wherein
Figure 761768DEST_PATH_IMAGE022
Represents the firstiA plurality of idle frequency bands, wherein each idle frequency band is provided with a plurality of idle frequency bands,
Figure 736985DEST_PATH_IMAGE023
for idle frequency bandiThe boundary of the low frequency of (c),
Figure 345820DEST_PATH_IMAGE024
for idle frequency bandiOf high frequency boundary, wherein
Figure 456996DEST_PATH_IMAGE025
Figure 654628DEST_PATH_IMAGE026
The total number of idle frequency bands which can be provided for users in a single spectrum span is represented; if the right boundary of the spectrum span falls within
Figure 622584DEST_PATH_IMAGE027
Jumping to A3; if the right boundary of the spectrum span falls within
Figure 656399DEST_PATH_IMAGE028
In, jump to A5.
A3, when the right boundary of the spectrum span falls into the idle frequency band
Figure 554954DEST_PATH_IMAGE027
When it is used, it is sized to
Figure 420142DEST_PATH_IMAGE029
Is removed from the spectrum span, thus leaving the spectrum spanvAn idle frequency band for spectrum aggregation in the spectrum span;
Figure 496682DEST_PATH_IMAGE027
it can be used by the next spectrum span to jump to A4. It should be noted here that the idle frequency band
Figure 267061DEST_PATH_IMAGE022
Can use the bandwidth of
Figure 454460DEST_PATH_IMAGE030
To indicate that the position of the movable member,i=1,2,…,V+1。
a4, in span, willVThe idle frequency bands are in sequenceBefore secondary calculationrSum of +1 idle band bandwidth aggregations
Figure 439733DEST_PATH_IMAGE031
Thereby obtaining a set
Figure 939372DEST_PATH_IMAGE032
r=1,2,3,…
Figure 947779DEST_PATH_IMAGE033
Jump to A6.
A5, in span, will
Figure 1186DEST_PATH_IMAGE026
Before the idle frequency bands are sequentially calculatedrSum of +1 idle band bandwidth aggregations
Figure 27917DEST_PATH_IMAGE031
Thereby obtaining a set
Figure 446260DEST_PATH_IMAGE032
r=1,2,3,…
Figure 738701DEST_PATH_IMAGE034
Jump to A6.
A6, respectively connecting each element in M with M from left to right according to the size of the aggregation bandwidth
Figure 782749DEST_PATH_IMAGE019
And (5) comparing one by one. When all the elements in M are compared, in
Figure 414719DEST_PATH_IMAGE035
If there is an equation
Figure 66280DEST_PATH_IMAGE036
Jumping to A7; in that
Figure 298547DEST_PATH_IMAGE035
If there is no equation
Figure 631439DEST_PATH_IMAGE036
Then jump to A8.
A7, if existing, satisfies equation
Figure 370113DEST_PATH_IMAGE036
Aggregate bandwidth of
Figure 458155DEST_PATH_IMAGE037
Meanwhile, the corresponding matched users can be foundkThen will be
Figure 662871DEST_PATH_IMAGE037
Corresponding idle frequency band allocation
Figure 48722DEST_PATH_IMAGE019
To just meet its business needs, in the aggregateBMFAfter the handle is used
Figure 452021DEST_PATH_IMAGE019
Figure 648647DEST_PATH_IMAGE037
Figure 589927DEST_PATH_IMAGE022
And removing to obtain an updated set, and jumping to A9.
A8, in the spectrum span, the first one of M is larger than
Figure 264622DEST_PATH_IMAGE038
Aggregated band bandwidth of
Figure 788008DEST_PATH_IMAGE037
Is assigned to the firstkIndividual cognitive users, i.e. with aggregated bands
Figure 404803DEST_PATH_IMAGE037
Cognitive users with the closest bandwidthkTo minimize wasted idle spectrum resources, wherein
Figure 318532DEST_PATH_IMAGE039
k=1,2,…,N. Within the set B, M, F, will be used
Figure 49115DEST_PATH_IMAGE019
Figure 692586DEST_PATH_IMAGE037
Figure 965436DEST_PATH_IMAGE022
And removing to obtain an updated set, and jumping to A9.
A9, if there is still B after update
Figure 881308DEST_PATH_IMAGE019
There are still M after update
Figure 960122DEST_PATH_IMAGE037
While satisfying the conditions
Figure 395783DEST_PATH_IMAGE035
If yes, the algorithm is executed again, and the step is switched to A2; if any of the above conditions is not met, the algorithm ends.
And step 206, constructing a target function corresponding to the initial sub-band by using a multiplication value of the sub-carrier bandwidth corresponding to the initial sub-band and a preset decision variable.
The target function expression is:
Figure 88801DEST_PATH_IMAGE040
wherein the content of the first and second substances,aa decision variable is represented in the form of,
Figure 305019DEST_PATH_IMAGE041
the representation of the objective function is shown as,Bwhich represents the bandwidth of the original sub-band,Nindicating the number of subcarriers contained in the original subband.
The preset decision variables refer to decision variables randomly selected from a preset decision variable set.
In the embodiment of the invention, the target function corresponding to the initial subband is constructed by multiplying the residual value of the bandwidth of the initial subband and the corresponding subcarrier number by the preset multiplication value of the decision variable.
And step 207, determining a target sub-band corresponding to the user line data according to the target function and the preset aggregation data.
Further, the preset aggregated data includes function standard data and communication standard data, and step 207 may include the following sub-steps S41 to S46:
and S41, judging whether the target function meets the function standard data.
The function standard data means that the objective function satisfies
Figure 125207DEST_PATH_IMAGE042
Or
Figure 477691DEST_PATH_IMAGE043
In the embodiment of the present invention, when (A) is usedDFf) When expressing the optimal combination strategy, the domain can be usedDShow if
Figure 607190DEST_PATH_IMAGE044
To describe all feasible solutions, thenFEach element in the set is a solution of the optimal combination problem, and if the target function meets the preset function condition, the corresponding feasible solution is obtained at the moment
Figure 982808DEST_PATH_IMAGE045
Referred to as the optimal solution to the problem. Namely, the combination when the rate is the fastest is taken as the optimum combination based on the communication rate detection result.
And S42, if so, taking the initial sub-band corresponding to the target function as an intermediate sub-band.
In the embodiment of the present invention, if the objective function meets the preset function standard data, the initial subband corresponding to the objective function meeting the function standard data is taken as the intermediate subband corresponding to the user.
S43, if not, skipping to execute the step of carrying out carrier aggregation on the target sub-carrier based on the frequency spectrum resource bandwidth to obtain the corresponding initial sub-band.
In the embodiment of the invention, if the target function does not meet the preset function standard data, the step of performing carrier aggregation on the target subcarriers based on the frequency spectrum resource bandwidth is skipped to obtain the corresponding initial subbands, that is, the carrier aggregation is performed again on the target subcarriers corresponding to a plurality of target population individuals corresponding to the current moment based on the frequency spectrum resource bandwidth by adopting a frequency spectrum aggregation algorithm through a subband model, and the corresponding target function is constructed, and the step is repeated until the constructed target function meets the preset function standard data.
And S44, judging whether the communication data corresponding to the middle sub-band meets the communication standard data.
The communication data is data such as packet loss rate, delay rate, verification information transmission integrity and the like to be transmitted only by the intermediate slave in the communication process. The communication standard data is a critical value corresponding to each type of data included in communication data based on communication needs. For example: detecting the rising edge and the falling edge of the electric pulse signal corresponding to the middle sub-band, and counting the pulse width; and comparing the pulse width count with the previous pulse width count to obtain a pulse width count historical minimum value, further calculating the optical communication code rate, namely the communication rate corresponding to the target sub-band according to the pulse width count historical minimum value, and comparing the communication rate with a preset communication rate standard.
In the embodiment of the present invention, the communication data corresponding to the intermediate sub-band is compared with the corresponding communication standard data.
And S45, if so, taking the middle sub-band as a target sub-band corresponding to the user line data.
In the embodiment of the invention, if the communication data corresponding to the intermediate sub-band meets the communication standard data, the intermediate sub-band is taken as the target sub-band, and the sub-carriers in the same sub-band are adjusted and distributed to the same user according to the same modulation mode. The time division multiple access technology is adopted to distinguish users with different addresses, multiple access connection is completed on the basis of the users, and after the user connection is completed, full-band carrier communication is performed by combining broadband PLC, narrow-band PLC, cross-band PLC and power line power frequency communication.
And S46, if not, skipping and executing the step of determining the carrier communication channel and the corresponding plurality of initial subcarriers based on the user line data.
In the embodiment of the invention, if the communication data corresponding to the intermediate sub-band does not meet the communication standard data, skipping executes the step of determining the carrier communication channel and the corresponding multiple initial sub-carriers based on the user line data, and re-performs carrier screening and aggregation on the initial sub-carriers until the communication rate corresponding to the target sub-band meets the preset communication standard.
In the embodiment of the invention, when the user line data is received, the carrier communication channel and the corresponding plurality of initial subcarriers are determined based on the user line data. And accessing a line topological structure corresponding to the user line data into a carrier communication channel, judging whether the user line data is smaller than a preset structure threshold value, and if so, carrying out quantum coding on the initial sub-carrier and then carrying out carrier screening to obtain a target sub-carrier corresponding to the carrier communication channel. If not, carrying out quantum coding after carrier screening is carried out on the initial subcarriers to obtain target subcarriers corresponding to the carrier communication channels. And carrying out carrier aggregation on the target sub-carrier based on the frequency spectrum resource bandwidth to obtain a corresponding initial sub-band, constructing a target function corresponding to the initial sub-band by adopting a multiplication value of the sub-carrier bandwidth corresponding to the initial sub-band and a preset decision variable, and determining the target sub-band corresponding to the user line data based on the target function and preset aggregation data. By fully utilizing the frequency band resource of the carrier communication channel, the accuracy and the flexibility of the multiple access communication are improved. The quantum genetic algorithm is adopted to replace the traditional genetic algorithm, the population quantity and the iteration times of the quantum genetic algorithm are less than those of the traditional genetic algorithm, the probability of trapping in the local optimal solution is low, the algorithm operation speed is improved, and the error of the algorithm result in application is reduced.
Referring to fig. 3, fig. 3 is a block diagram of a power line communication system based on carrier aggregation according to a third embodiment of the present invention.
The embodiment of the invention provides a power line communication system based on carrier aggregation, which comprises:
a carrier communication channel and initial subcarrier determining module 301, configured to determine a carrier communication channel and a corresponding plurality of initial subcarriers based on the subscriber line data when the subscriber line data is received.
The subscriber line data determining module 302 is configured to access a line topology structure corresponding to the subscriber line data to a carrier communication channel, and determine whether the subscriber line data is smaller than a preset structure threshold.
A target subcarrier obtaining first module 303, configured to perform carrier screening after performing quantum coding on the initial subcarrier if the target subcarrier is obtained, so as to obtain a target subcarrier corresponding to the carrier communication channel.
A second target subcarrier obtaining module 304, configured to, if no, perform quantum coding after performing carrier screening on the initial subcarriers, to obtain target subcarriers corresponding to the carrier communication channel.
A target subband obtaining module 305, configured to perform carrier aggregation on the target subcarriers based on the user line data, to obtain a target subband corresponding to the user line data.
Optionally, the carrier communication channel and initial subcarrier determining module 301 includes:
and the carrier communication channel determining module is used for determining the carrier communication channel based on the subscriber line data when the subscriber line data is received.
And the subcarrier channel obtaining module is used for dividing the carrier communication channel into a plurality of subcarrier channels by adopting orthogonal frequency division multiplexing.
And the initial subcarrier obtaining module is used for respectively carrying out carrier modulation on the subcarrier channels by adopting a dynamic resource allocation mode to obtain corresponding initial subcarriers.
Optionally, the target subcarrier obtaining first module 303 includes:
the initial population obtaining module is used for initializing the population based on the initial subcarriers and respectively carrying out quantum state coding on the population individuals to obtain corresponding initial population individuals.
And the individual evaluation result obtaining first module is used for respectively carrying out quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
And the intermediate population individual determining module is used for determining corresponding intermediate population individuals based on the individual evaluation result and a preset individual standard.
The first module for collecting the environment change data is used for collecting the channel environment change data corresponding to the carrier communication channel.
And the target population individual determination first module is used for determining corresponding target population individuals and counting the evolution times in real time based on the channel environment change data and the change data corresponding to the intermediate population individuals.
The first module for judging the evolution times is used for judging whether the evolution times meets a preset maximum evolution threshold value.
And the evolution times meet a threshold value first sub-module, and if so, the initial sub-carriers corresponding to the target population individuals corresponding to the maximum value of the individual evaluation result at the current moment are used as a plurality of target sub-carriers corresponding to the carrier communication channel.
And the first submodule is used for taking the target population individuals at the current moment as initial population individuals if the evolution times do not meet the threshold value, and skipping to carry out the steps of respectively carrying out quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
Optionally, the second module 304 for obtaining target subcarriers includes:
and the environment change data acquisition second module is used for acquiring channel environment change data corresponding to the carrier communication channel.
And the intermediate subcarrier determining module is used for determining corresponding intermediate subcarriers based on the channel environment change data and the change data corresponding to the initial subcarriers.
And the initial population obtaining second module is used for initializing the population based on the intermediate subcarriers and respectively carrying out quantum state coding on the population individuals to obtain corresponding initial population individuals.
And the individual evaluation result obtaining second module is used for respectively carrying out quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
And the target population individual and statistical evolution frequency determining module is used for determining corresponding target population individuals and counting the evolution frequency in real time based on the individual evaluation result and the preset individual standard.
And the second evolution frequency judging module is used for judging whether the evolution frequency meets a preset maximum evolution threshold value or not.
And the second submodule, in which the evolution times meet the threshold, is used for taking the intermediate subcarriers corresponding to the target population individuals corresponding to the maximum individual evaluation result at the current moment as a plurality of target subcarriers corresponding to the carrier communication channel if the evolution times meet the threshold.
And the second submodule is used for taking the target population individuals at the current moment as initial population individuals if the evolution times do not meet the threshold value, and skipping to carry out the steps of respectively carrying out quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
Optionally, the first module for obtaining the individual evaluation result or the second module for obtaining the individual evaluation result may perform the following steps:
quantum state measurement is respectively carried out on the initial population individuals to obtain individual states corresponding to the initial population individuals;
taking the number of user sub-carriers and the user rate corresponding to the individual state as the number of user sub-carriers and the user rate corresponding to the initial population;
and substituting the number of user subcarriers and the user rate into a preset evaluation function, and calculating to obtain an individual evaluation result corresponding to the initial population.
Optionally, the subscriber line data includes spectrum resource bandwidths required by a plurality of users, and the target subband obtaining module 305 includes:
and the initial sub-band obtaining module is used for carrying out carrier aggregation on the target sub-carrier based on the frequency spectrum resource bandwidth to obtain a corresponding initial sub-band.
And the target function construction module is used for constructing a target function corresponding to the initial sub-band by adopting a multiplication value of the sub-carrier bandwidth corresponding to the initial sub-band and a preset decision variable.
And the target sub-band obtaining sub-module is used for determining a target sub-band corresponding to the user line data according to the target function and the preset aggregation data.
Optionally, the preset aggregation data includes function standard data and communication standard data, and the target subband obtaining sub-module may perform the following steps:
judging whether the target function meets function standard data or not;
if so, taking the initial sub-band corresponding to the target function as an intermediate sub-band;
if not, skipping to execute the step of carrying out carrier aggregation on the target sub-carrier based on the frequency spectrum resource bandwidth to obtain a corresponding initial sub-band;
judging whether the communication data corresponding to the middle sub-band meets communication standard data;
if yes, the intermediate sub-band is used as a target sub-band corresponding to the user line data;
if not, skipping to execute the step of determining the carrier communication channel and the corresponding plurality of initial sub-carriers based on the user line data.
An embodiment of the present invention further provides an electronic device, where the electronic device includes: the computer system comprises a memory and a processor, wherein a computer program is stored in the memory; the computer program, when executed by the processor, causes the processor to perform the power line communication method based on carrier aggregation as in any of the embodiments described above.
The memory may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. The memory has a storage space for program code for performing any of the method steps of the above-described method. For example, the memory space for the program code may comprise respective program codes for implementing the various steps in the above method, respectively. The program code can be read from and written to one or more computer program products. These computer program products comprise a program code carrier such as a hard disk, a Compact Disc (CD), a memory card or a floppy disk. The program code may be compressed, for example, in a suitable form. The code, when executed by a computing processing device, causes the computing processing device to perform the steps of the carrier aggregation based power line communication method described above.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the power line communication method based on carrier aggregation according to any one of the above embodiments.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, 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.
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 invention 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 invention, which is substantially or partly contributed 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 causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. 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 examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention 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 of the embodiments of the present invention.

Claims (10)

1. A power line communication method based on carrier aggregation is characterized by comprising the following steps:
when user line data is received, determining a carrier communication channel and a plurality of corresponding initial subcarriers based on the user line data;
accessing a line topology structure corresponding to the user line data to the carrier communication channel, and judging whether the user line data is smaller than a preset structure threshold value;
if so, carrying out quantum coding on the initial sub-carrier and then carrying out carrier screening to obtain a target sub-carrier corresponding to the carrier communication channel;
if not, carrying out quantum coding after carrier screening on the initial subcarriers to obtain target subcarriers corresponding to the carrier communication channels;
and carrying out carrier aggregation on the target sub-carrier based on the user line data to obtain a target sub-band corresponding to the user line data.
2. The carrier aggregation-based power line communication method according to claim 1, wherein the step of determining a carrier communication channel and a corresponding plurality of initial subcarriers based on subscriber line data when the subscriber line data is received comprises:
when receiving subscriber line data, determining a carrier communication channel based on the subscriber line data;
dividing the carrier communication channel into a plurality of subcarrier channels by adopting orthogonal frequency division multiplexing;
and respectively carrying out carrier modulation on the subcarrier channels by adopting a dynamic resource allocation mode to obtain corresponding initial subcarriers.
3. The power line communication method based on carrier aggregation according to claim 1, wherein the step of performing carrier screening after performing quantum coding on the initial subcarriers to obtain target subcarriers corresponding to the carrier communication channels comprises:
initializing a population based on the initial subcarriers and respectively carrying out quantum state coding on population individuals to obtain corresponding initial population individuals;
respectively carrying out quantum state measurement on the initial population individuals and combining with a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals;
determining corresponding intermediate population individuals based on the individual evaluation results and preset individual standards;
collecting channel environment change data corresponding to the carrier communication channel;
determining corresponding target population individuals and counting the evolution times in real time based on the channel environment change data and the change data corresponding to the intermediate population individuals;
judging whether the evolution times meet a preset maximum evolution threshold value or not;
if so, taking the initial sub-carrier corresponding to the target population individual corresponding to the maximum value of the individual evaluation result at the current moment as a plurality of target sub-carriers corresponding to the carrier communication channel;
and if not, taking the target population individuals at the current moment as the initial population individuals, and skipping to execute the step of respectively carrying out quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
4. The power line communication method based on carrier aggregation according to claim 1, wherein the step of performing quantum coding after the initial sub-carriers are subjected to carrier screening to obtain target sub-carriers corresponding to the carrier communication channels comprises:
acquiring channel environment change data corresponding to the carrier communication channel;
determining a corresponding intermediate subcarrier based on the channel environment change data and the change data corresponding to the initial subcarrier;
initializing a population based on the intermediate subcarriers and respectively carrying out quantum state coding on population individuals to obtain corresponding initial population individuals;
respectively carrying out quantum state measurement on the initial population individuals and combining with a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals;
determining corresponding target population individuals and counting the evolution times in real time based on the individual evaluation results and preset individual standards;
judging whether the evolution times meet a preset maximum evolution threshold value or not;
if so, taking the intermediate sub-carrier corresponding to the target population individual corresponding to the maximum value of the individual evaluation result at the current moment as a plurality of target sub-carriers corresponding to the carrier communication channel;
if not, taking the target population individuals at the current moment as the initial population individuals, and skipping to execute the steps of respectively carrying out quantum state measurement on the initial population individuals and combining a preset evaluation function to obtain individual evaluation results corresponding to the initial population individuals.
5. The power line communication method based on carrier aggregation according to claim 3 or 4, wherein the step of performing quantum state measurement on the initial population individuals respectively and obtaining individual evaluation results corresponding to the initial population individuals by combining a preset evaluation function includes:
quantum state measurement is respectively carried out on the initial population individuals to obtain individual states corresponding to the initial population individuals;
taking the number of user subcarriers and the user rate corresponding to the individual state as the number of user subcarriers and the user rate corresponding to the initial population;
and substituting the number of the user subcarriers and the user rate into a preset evaluation function, and calculating to obtain an individual evaluation result corresponding to the initial population individual.
6. The carrier aggregation-based power line communication method according to claim 1, wherein the subscriber line data includes spectrum resource bandwidths required by a plurality of users; the step of performing carrier aggregation on the target subcarrier based on the user line data to obtain a target subband corresponding to the user line data includes:
carrying out carrier aggregation on the target sub-carrier based on the frequency spectrum resource bandwidth to obtain a corresponding initial sub-band;
adopting a multiplication value of a subcarrier bandwidth corresponding to the initial subband and a preset decision variable to construct a target function corresponding to the initial subband;
and determining a target sub-band corresponding to the user line data according to the target function and preset aggregation data.
7. The carrier aggregation-based power line communication method according to claim 6, wherein the preset aggregation data includes function standard data and communication standard data; the step of determining the target sub-band corresponding to the user line data according to the target function and preset aggregation data includes:
judging whether the target function meets the function standard data or not;
if so, taking the initial sub-band corresponding to the target function as an intermediate sub-band;
if not, skipping to execute the step of carrying out carrier aggregation on the target sub-carrier based on the frequency spectrum resource bandwidth to obtain a corresponding initial sub-band;
judging whether the communication data corresponding to the intermediate sub-band meets the communication standard data;
if yes, the intermediate sub-band is used as a target sub-band corresponding to the user line data;
and if not, skipping to execute the step of determining a carrier communication channel and a plurality of corresponding initial subcarriers based on the user line data.
8. A power line communication system based on carrier aggregation, comprising:
a carrier communication channel and initial subcarrier determining module, configured to determine, when user line data is received, a carrier communication channel and a plurality of corresponding initial subcarriers based on the user line data;
a subscriber line data judgment module, configured to access a line topology structure corresponding to the subscriber line data to the carrier communication channel, and judge whether the subscriber line data is smaller than a preset structure threshold;
a target subcarrier obtaining first module, configured to perform carrier screening after performing quantum coding on the initial subcarrier if the target subcarrier is obtained, to obtain a target subcarrier corresponding to the carrier communication channel;
a second module for obtaining a target subcarrier, configured to perform carrier screening on the initial subcarrier and then perform quantum coding to obtain a target subcarrier corresponding to the carrier communication channel if the initial subcarrier does not correspond to the target subcarrier;
and the target sub-band obtaining module is used for carrying out carrier aggregation on the target sub-carrier based on the user line data to obtain a target sub-band corresponding to the user line data.
9. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to perform the steps of the power line communication method based on carrier aggregation according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program when executed implements the carrier aggregation-based power line communication method according to any one of claims 1 to 7.
CN202211231215.5A 2022-10-10 2022-10-10 Power line communication method, system, equipment and medium based on carrier aggregation Active CN115314180B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211231215.5A CN115314180B (en) 2022-10-10 2022-10-10 Power line communication method, system, equipment and medium based on carrier aggregation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211231215.5A CN115314180B (en) 2022-10-10 2022-10-10 Power line communication method, system, equipment and medium based on carrier aggregation

Publications (2)

Publication Number Publication Date
CN115314180A true CN115314180A (en) 2022-11-08
CN115314180B CN115314180B (en) 2023-01-20

Family

ID=83867418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211231215.5A Active CN115314180B (en) 2022-10-10 2022-10-10 Power line communication method, system, equipment and medium based on carrier aggregation

Country Status (1)

Country Link
CN (1) CN115314180B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI20031702A0 (en) * 2003-11-21 2003-11-21 Nokia Corp Allocation of multiple carriers for multiple users in a communication system
US20130308570A1 (en) * 2012-05-17 2013-11-21 Beijing University Of Posts And Telecommunications Method for joint optimization of schedule and resource allocation based on the genetic algorithm
CN109067508A (en) * 2018-07-13 2018-12-21 国网四川省电力公司技能培训中心 A kind of broadband power line communication sub-carrier wave distribution method based on quantum algorithm
CN112636787A (en) * 2020-11-24 2021-04-09 国网天津市电力公司 Broadband power line carrier communication physical layer resource slicing method and device for concurrent multi-service of power internet of things
CN113517911A (en) * 2021-07-22 2021-10-19 南京信息工程大学滨江学院 Power line communication system and communication method based on multi-carrier aggregation technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI20031702A0 (en) * 2003-11-21 2003-11-21 Nokia Corp Allocation of multiple carriers for multiple users in a communication system
US20130308570A1 (en) * 2012-05-17 2013-11-21 Beijing University Of Posts And Telecommunications Method for joint optimization of schedule and resource allocation based on the genetic algorithm
CN109067508A (en) * 2018-07-13 2018-12-21 国网四川省电力公司技能培训中心 A kind of broadband power line communication sub-carrier wave distribution method based on quantum algorithm
CN112636787A (en) * 2020-11-24 2021-04-09 国网天津市电力公司 Broadband power line carrier communication physical layer resource slicing method and device for concurrent multi-service of power internet of things
CN113517911A (en) * 2021-07-22 2021-10-19 南京信息工程大学滨江学院 Power line communication system and communication method based on multi-carrier aggregation technology

Also Published As

Publication number Publication date
CN115314180B (en) 2023-01-20

Similar Documents

Publication Publication Date Title
EP2806594B1 (en) Method and device for evaluating the stability of a telecommunication line
CN110365503B (en) Index determination method and related equipment thereof
CN108319974B (en) Data processing method, data processing device, storage medium and electronic device
CN107026750A (en) A kind of user's online QoE evaluation methods and device
Rodriguez et al. Determining a non-intrusive voice quality model using machine learning and signal analysis in time
CN113852970B (en) Multi-dimensional spectrum prediction method, system, device and medium based on graph neural network
CN115314180B (en) Power line communication method, system, equipment and medium based on carrier aggregation
CN109934675A (en) Package recommendation method, apparatus and system for new networking user
CN109688065B (en) Parameter processing method and device and storage medium
EP3391589B1 (en) Autonomic method for managing a computing system
CN115314181B (en) Power line carrier communication method, system, equipment and medium
EP3391635B1 (en) Autonomic method for modifying an decision tree algorithm operating on a multi-terminal telecommunications system
CN112801231A (en) Decision model training method and device for business object classification
CN105095049B (en) Method and apparatus for monitoring application operation
CN112672426B (en) Anti-interference frequency point allocation method based on online learning
EP3391295B1 (en) Autonomic method for managing a computing system
CN115914004A (en) Link detection method and device, storage medium and computer equipment
CN111209105A (en) Capacity expansion processing method, capacity expansion processing device, capacity expansion processing equipment and readable storage medium
CN114630443A (en) Inner loop value adjusting method and device, storage medium and electronic device
CN103905488A (en) Mobile terminal advertisement putting method and equipment
Bateni et al. Towards an efficient algorithmic framework for pricing cellular data service
CN104170325A (en) Method and server for determining home network quality
CN117651288B (en) Signal transmission method, device and equipment of intelligent outdoor television and storage medium
Xiao et al. Adaptive video streaming via deep reinforcement learning from user trajectory preferences
Jøsang et al. Bayesian reputation systems

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