CN117674909B - Dual-mode communication device and method based on power line carrier and wireless - Google Patents
Dual-mode communication device and method based on power line carrier and wireless Download PDFInfo
- Publication number
- CN117674909B CN117674909B CN202311682278.7A CN202311682278A CN117674909B CN 117674909 B CN117674909 B CN 117674909B CN 202311682278 A CN202311682278 A CN 202311682278A CN 117674909 B CN117674909 B CN 117674909B
- Authority
- CN
- China
- Prior art keywords
- signal
- detection value
- quality detection
- communication mode
- signal quality
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 161
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000005070 sampling Methods 0.000 claims abstract description 151
- 238000001514 detection method Methods 0.000 claims abstract description 121
- 238000012545 processing Methods 0.000 claims abstract description 97
- 238000013441 quality evaluation Methods 0.000 claims description 16
- 230000009977 dual effect Effects 0.000 claims description 13
- 238000004364 calculation method Methods 0.000 claims description 10
- 238000001303 quality assessment method Methods 0.000 claims description 2
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/318—Received signal strength
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/336—Signal-to-interference ratio [SIR] or carrier-to-interference ratio [CIR]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/02—Details
- H04B3/46—Monitoring; Testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Environmental & Geological Engineering (AREA)
- Power Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a device and a method for dual-mode communication based on a power line carrier and wireless, comprising the following steps: the first signal receiving assembly receives signals through a power line carrier communication mode according to a preset first sampling period and sends the signals to the first signal processing assembly; the second signal receiving assembly receives signals through a wireless communication mode according to a preset second sampling period and sends the signals to the first signal processing assembly; the first signal processing component calculates a first signal quality detection value of a corresponding signal of the first signal receiving component and a second signal quality detection value of a corresponding signal of the second signal receiving component, and preferentially sends the first signal quality detection value and the second signal quality detection value to the second signal processing component; the second signal processing component receives and combines the signals of a plurality of sampling periods sent by the first signal processing component and the signals of a plurality of sampling periods sent by the second signal processing component respectively; the preset first sampling period is the same as the preset second sampling period.
Description
Technical Field
The invention relates to the technical field of power line carriers, in particular to a device and a method for wireless dual-mode communication based on a power line carrier.
Background
Power line carrier communication (Power Line Communication, PLC for short) is a technology for communication by using a power line. The data signal is transmitted on the power line by using the transmission medium of the power line, so that the information transmission and communication are realized. The PLC technology can utilize the existing power line to communicate without additional network equipment or wiring, so that the PLC technology has the characteristics of low cost and convenient access. The method is widely applied to the fields of intelligent power grids, home automation, intelligent electrical appliances, building automatic control and the like. In a PLC communication system, a data signal is modulated into a high frequency signal, and is inserted into a power line through a modulator and demodulator. The receiving end restores the signal into the original data signal through the demodulator. The transmission rate and transmission distance of the PLC technology may be different according to different application scenarios, but may generally meet the conventional data transmission requirements.
The existing device adopting the power line carrier and wireless dual-mode communication has the defects that the signal received by adopting a single mode is good and bad due to the limitations of equipment performance, service life and service environment, and the whole quality cannot be ensured; especially, the wireless communication mode is greatly affected by the environment, the overall quality stability of signals is poor, the fluctuation is large, and the system requirements can not be met frequently.
Disclosure of Invention
The embodiment of the invention aims to provide a device and a method for dual-mode communication based on a power line carrier and wireless, which are used for respectively acquiring signals in each sampling interval based on a power line carrier communication mode and a wireless communication mode, respectively calculating signal quality detection values of the two signals, preferentially combining, solving the problem of unstable signal quality received by a single communication mode, flexibly selecting and combining signals in the sampling interval with good quality, and improving the overall signal quality.
To solve the above technical problem, a first aspect of an embodiment of the present invention provides a dual-mode communication device based on a power line carrier and wireless, including: the first signal receiving assembly, the second signal receiving assembly, the first signal processing assembly and the second signal processing assembly;
the first signal receiving component receives signals through a power line carrier communication mode according to a preset first sampling period and sends the signals to the first signal processing component;
The second signal receiving component receives the signal according to the preset second sampling period through a wireless communication mode and sends the signal to the first signal processing component;
The first signal processing component receives the signals respectively sent by the first signal receiving component and the second signal receiving component, calculates a first signal quality detection value of the signal corresponding to the first signal receiving component and a second signal quality detection value of the signal corresponding to the second signal receiving component, and preferentially sends the first signal quality detection value and the second signal quality detection value to the second signal processing component, wherein the first signal quality detection value and the second signal quality detection value are related to the signal-to-noise ratio, the signal strength, the signal power and the time delay of the signal in the current sampling period;
The second signal processing component receives and combines the signals of a plurality of sampling periods sent by the first signal processing component and the signals of a plurality of sampling periods sent by the second signal processing component respectively;
wherein the preset first sampling period is the same as the preset second sampling period.
Further, the first signal processing component includes: the device comprises a first signal quality calculating unit, a second signal quality calculating unit, a signal quality threshold comparing unit and a signal control unit;
the first signal quality calculating unit obtains the signal received by the first signal receiving component through a power line carrier communication mode, calculates the first signal quality detection value and sends the first signal quality detection value to the threshold comparing unit;
The second signal quality calculating unit obtains the signal received by the second signal receiving component through the wireless communication mode, calculates the second signal quality detection value and sends the second signal quality detection value to the threshold comparing unit;
The threshold comparison unit receives the first signal quality detection value and the second signal quality detection value respectively, compares the first signal quality detection value and the second signal quality detection value with a signal quality evaluation threshold respectively, and preferentially obtains a mode selection result and sends the mode selection result to the signal control unit when both are larger than or either one of the two is larger than the signal quality evaluation threshold; when both are smaller than the signal quality evaluation threshold, sending a signal retransmission request of the current sampling period to the signal control unit;
and when the signal control unit receives a mode selection result, a corresponding signal is sent to the second signal processing component, and when the signal control unit receives a signal retransmission request, the signal retransmission request of the current sampling interval is sent to a sender of the signal.
Further, the calculation formula of the first signal quality detection value RSRQ j 1 is as follows:
RSRQj 1=k0 1+k1 1RSSIj 1+k2 1SINRj 1+k3 1RSRPj 1-k4 1TDj 1;
Wherein j is the sequence number of the sampling period, RSSI j 1 is the signal strength value of the power line carrier communication mode acquisition signal in the j-th sampling period, k 1 1 is the weight value of the signal strength of the power line carrier communication mode acquisition signal, SINR j 1 is the signal-to-noise ratio of the power line carrier communication mode acquisition signal in the j-th sampling period, k 2 1 is the weight value of the signal-to-noise ratio of the power line carrier communication mode acquisition signal, RSRP j 1 is the signal power value of the power line carrier communication mode acquisition signal in the j-th sampling period, k 3 1 is a weight value of signal power of the power line carrier communication mode acquisition signal, TD j 1 is a time delay value of the power line carrier communication mode acquisition signal in the j-th sampling period, k 4 1 is a weight value of time delay of the power line carrier communication mode acquisition signal, and k 0 1 is a constant for avoiding that the first signal quality detection value is negative;
The calculation formula of the second signal quality detection value RSRQ j 2 is as follows:
RSRQj 2=k0 2+k1 2RSSIj 2+k2 2SINRj 2+k3 2RSRPj 2-k4 2TDj 2;
Wherein RSSI j 2 is the signal strength value of the wireless communication mode acquisition signal in the jth sampling period, k 1 2 is the weight value of the signal strength of the wireless communication mode acquisition signal, SINR j 2 is the signal-to-noise ratio of the wireless communication mode acquisition signal in the jth sampling period, k 2 2 is the weight value of the signal-to-noise ratio of the wireless communication mode acquisition signal, RSRP j 2 is the signal power value of the wireless communication mode acquisition signal in the jth sampling period, k 3 2 is a weight value of signal power of the wireless communication mode acquisition signal, TD j 2 is a time delay value of the wireless communication mode acquisition signal in the j-th sampling period, k 4 2 is a weight value of time delay of the wireless communication mode acquisition signal, and k 0 2 is a constant for avoiding that the second signal quality detection value is negative.
Further, the second signal processing component receives the signals of each sampling interval sent by the first signal processing component, and combines the signals of each sampling interval according to the sequence number of the sampling interval, wherein the sequence number of the sampling interval is related to a time sequence;
when the signals corresponding to the sequence numbers of one or more sampling intervals are empty, storing the signals of other sampling intervals into a temporary memory, and merging the signals of all the sampling intervals after the signals of the corresponding sampling spaces are received.
Accordingly, a second aspect of the embodiment of the present invention provides a method for dual-mode communication based on a power line carrier and wireless, based on the data communication between the power line carrier and the wireless dual-mode communication device, including the following steps:
receiving signals through a power line carrier communication mode according to a preset first sampling period based on a first signal receiving component and sending the signals to a first signal processing component;
receiving the signal according to the preset second sampling period by a wireless communication mode based on a second signal receiving component and sending the signal to the first signal processing component;
Based on the first signal processing component and the signals respectively sent by the first signal receiving component and the second signal receiving component, calculating a first signal quality detection value of the signal corresponding to the first signal receiving component and a second signal quality detection value of the signal corresponding to the second signal receiving component, and preferentially sending the first signal quality detection value and the second signal quality detection value to the second signal processing component, wherein the first signal quality detection value and the second signal quality detection value are related to the signal-to-noise ratio, the signal strength, the signal power and the time delay of the signal in the current sampling period;
controlling a second signal processing component to receive the signals of a plurality of sampling periods sent by the first signal processing component and combine the signals;
wherein the preset first sampling period is the same as the preset second sampling period.
Further, the calculating a first signal quality detection value of the signal corresponding to the first signal receiving component and a second signal quality detection value of the signal corresponding to the second signal receiving component, preferentially sending to the second signal processing component, includes:
Calculating a first signal quality detection value of the signal received by the power line carrier communication mode;
calculating a second signal quality detection value of the signal received by the wireless communication mode;
Comparing the first signal quality detection value and the second signal quality detection value with a signal quality evaluation threshold respectively;
preferentially sending the signal to the second signal processing component when either or both are greater than the signal quality assessment threshold;
And when both are smaller than the signal quality evaluation threshold, sending a retransmission request of the signal of the current sampling period to a sender of the signal.
Further, the calculation formula of the first signal quality detection value RSRQ j 1 is as follows:
RSRQj 1=k0 1+k1 1RSSIj 1+k2 1SINRj 1+k3 1RSRPj 1-k4 1TDj 1;
Wherein j is the sequence number of the sampling period, RSSI j 1 is the signal strength value of the power line carrier communication mode acquisition signal in the j-th sampling period, k 1 1 is the weight value of the signal strength of the power line carrier communication mode acquisition signal, SINR j 1 is the signal-to-noise ratio of the power line carrier communication mode acquisition signal in the j-th sampling period, k 2 1 is the weight value of the signal-to-noise ratio of the power line carrier communication mode acquisition signal, RSRP j 1 is the signal power value of the power line carrier communication mode acquisition signal in the j-th sampling period, k 3 1 is a weight value of signal power of the power line carrier communication mode acquisition signal, TD j 1 is a time delay value of the power line carrier communication mode acquisition signal in the j-th sampling period, k 4 1 is a weight value of time delay of the power line carrier communication mode acquisition signal, and k 0 1 is a constant for avoiding that the first signal quality detection value is negative;
The calculation formula of the second signal quality detection value RSRQ j 2 is as follows:
RSRQj 2=k0 2+k1 2RSSIj 2+k2 2SINRj 2+k3 2RSRPj 2-k4 2TDj 2;
Wherein RSSI j 2 is the signal strength value of the wireless communication mode acquisition signal in the jth sampling period, k 1 2 is the weight value of the signal strength of the wireless communication mode acquisition signal, SINR j 2 is the signal-to-noise ratio of the wireless communication mode acquisition signal in the jth sampling period, k 2 2 is the weight value of the signal-to-noise ratio of the wireless communication mode acquisition signal, RSRP j 2 is the signal power value of the wireless communication mode acquisition signal in the jth sampling period, k 3 2 is a weight value of signal power of the wireless communication mode acquisition signal, TD j 2 is a time delay value of the wireless communication mode acquisition signal in the j-th sampling period, k 4 2 is a weight value of time delay of the wireless communication mode acquisition signal, and k 0 2 is a constant for avoiding that the second signal quality detection value is negative.
Further, the combining the signals based on the second signal processing component receiving the signals of the plurality of sampling periods sent by the first signal processing component includes:
judging whether signals of a plurality of sampling intervals sent by the first signal processing component are empty or not based on the second signal processing component;
If so, waiting for the first signal processing component to retransmit the signal of the sampling interval;
if not, the signals of all sampling intervals are combined.
Accordingly, a third aspect of the embodiment of the present invention provides an electronic device, including: at least one processor; and a memory coupled to the at least one processor; the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the power line carrier and wireless dual mode communication method.
Accordingly, a fourth aspect of embodiments of the present invention provides a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the above-described dual mode wireless communication method and power line carrier based method.
The technical scheme provided by the embodiment of the invention has the following beneficial technical effects:
The signals in each sampling interval are acquired based on the power line carrier communication mode and the wireless communication mode, the signal quality detection values of the two signals are calculated respectively, and the signals are preferentially combined, so that the problem of unstable signal quality received by a single communication mode is solved, the signals in the sampling interval with good quality are flexibly selected for combination, and the overall signal quality is improved.
Drawings
Fig. 1 is a schematic diagram of a power line carrier and wireless dual-mode communication device according to an embodiment of the present invention;
Fig. 2 is a flowchart of a dual mode communication method based on a power line carrier and wireless according to an embodiment of the present invention.
Detailed Description
The objects, technical solutions and advantages of the present invention will become more apparent by the following detailed description of the present invention with reference to the accompanying drawings. It should be understood that the description is only illustrative and is not intended to limit the scope of the invention. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the present invention.
Referring to fig. 1, a first aspect of an embodiment of the present invention provides a dual-mode communication device based on a power line carrier and wireless, including: the first signal receiving assembly, the second signal receiving assembly, the first signal processing assembly and the second signal processing assembly; the first signal receiving assembly receives signals through a power line carrier communication mode according to a preset first sampling period and sends the signals to the first signal processing assembly; the second signal receiving assembly receives signals through a wireless communication mode according to a preset second sampling period and sends the signals to the first signal processing assembly; the first signal processing component receives signals respectively sent by the first signal receiving component and the second signal receiving component, calculates a first signal quality detection value of a signal corresponding to the first signal receiving component and a second signal quality detection value of a signal corresponding to the second signal receiving component, and preferentially sends the first signal quality detection value and the second signal quality detection value to the second signal processing component, wherein the first signal quality detection value and the second signal quality detection value are related to the signal-to-noise ratio, the signal strength, the signal power and the time delay of the signal in the current sampling period; the second signal processing component receives and combines the signals of a plurality of sampling periods sent by the first signal processing component and the signals of a plurality of sampling periods sent by the second signal processing component respectively; the preset first sampling period is the same as the preset second sampling period.
In a specific implementation of the embodiment of the present invention, the first signal processing component includes: the device comprises a first signal quality calculating unit, a second signal quality calculating unit, a signal quality threshold comparing unit and a signal control unit. The first signal quality calculating unit obtains a signal received by the first signal receiving component through a power line carrier communication mode, calculates a first signal quality detection value and sends the first signal quality detection value to the threshold comparing unit; the second signal quality calculating unit obtains a signal received by the second signal receiving component through a wireless communication mode, calculates a second signal quality detection value and sends the second signal quality detection value to the threshold comparing unit; the threshold comparison unit is used for respectively receiving the first signal quality detection value and the second signal quality detection value, respectively comparing the first signal quality detection value and the second signal quality detection value with the signal quality evaluation threshold, and preferentially obtaining a mode selection result when both the first signal quality detection value and the second signal quality detection value are larger than or either one of the first signal quality detection value and the second signal quality detection value is larger than the signal quality evaluation threshold, and sending the mode selection result to the signal control unit; when both are smaller than the signal quality evaluation threshold, a signal retransmission request of the current sampling period is sent to the signal control unit; when the signal control unit receives the mode selection result, a corresponding signal is sent to the second signal processing component, and when the signal control unit receives the signal retransmission request, the signal retransmission request of the current sampling interval is sent to the sender of the signal.
Specifically, the calculation formula of the first signal quality detection value RSRQ j 1 is:
RSRQj 1=k0 1+k1 1RSSIj 1+k2 1SINRj 1+k3 1RSRPj 1-k4 1TDj 1;
Wherein j is the sequence number of the sampling period, RSSI j 1 is the signal strength value of the power line carrier communication mode acquisition signal in the j-th sampling period, k 1 1 is the weight value of the signal strength of the power line carrier communication mode acquisition signal, SINR j 1 is the signal-to-noise ratio of the power line carrier communication mode acquisition signal in the j-th sampling period, k 2 1 is the weight value of the signal-to-noise ratio of the power line carrier communication mode acquisition signal, RSRP j 1 is the signal power value of the power line carrier communication mode acquisition signal in the j-th sampling period, k 3 1 is a weight value of signal power of the power line carrier communication mode acquisition signal, TD j 1 is a delay value of the power line carrier communication mode acquisition signal in the j-th sampling period, k 4 1 is a weight value of delay of the power line carrier communication mode acquisition signal, and k 0 1 is a constant for avoiding that the first signal quality detection value is negative.
Specifically, the calculation formula of the second signal quality detection value RSRQ j 2 is:
RSRQj 2=k0 2+k1 2RSSIj 2+k2 2SINRj 2+k3 2RSRPj 2-k4 2TDj 2;
Wherein RSSI j 2 is the signal strength value of the wireless communication mode acquisition signal in the jth sampling period, k 1 2 is the weight value of the signal strength of the wireless communication mode acquisition signal, SINR j 2 is the signal-to-noise ratio of the wireless communication mode acquisition signal in the jth sampling period, k 2 2 is the weight value of the signal-to-noise ratio of the wireless communication mode acquisition signal, RSRP j 2 is the signal power value of the wireless communication mode acquisition signal in the jth sampling period, k 3 2 is a weight value of signal power of the wireless communication mode acquisition signal, TD j 2 is a time delay value of the wireless communication mode acquisition signal in the j-th sampling period, k 4 2 is a weight value of time delay of the wireless communication mode acquisition signal, and k 0 2 is a constant for avoiding that the second signal quality detection value is negative.
Specifically, the second signal processing component receives the signals of each sampling interval sent by the first signal processing component, and combines the signals of each sampling interval according to the sequence number of the sampling interval, wherein the sequence number of the sampling interval is related to the time sequence; when the signals corresponding to the serial numbers of one or more sampling intervals are empty, storing the signals of other sampling intervals into a temporary memory, and merging the signals of all the sampling intervals after the signals of the corresponding sampling spaces are received.
According to the power line carrier and wireless dual-mode communication device, the signals in each sampling interval are acquired based on the power line carrier communication mode and the wireless communication mode, the signal quality detection values of the two signals are calculated respectively, and the signals are preferentially combined, so that the problem that the signal quality received by a single communication mode is unstable is solved, the signals in the sampling intervals with good quality are flexibly selected and combined, and the overall signal quality is improved.
Accordingly, referring to fig. 2, a second aspect of the embodiment of the present invention provides a dual-mode communication method based on a power line carrier and wireless, and based on the data communication between the power line carrier and the dual-mode communication device, the method includes the following steps:
Step S100, the first signal receiving component receives signals according to a preset first sampling period through the power line carrier communication mode, and sends the signals to the first signal processing component.
Step S200, the second signal receiving component receives the signal according to the preset second sampling period through the wireless communication mode, and sends the signal to the first signal processing component.
Step S300, based on the first signal processing component receiving the signals sent by the first signal receiving component and the second signal receiving component simultaneously, calculating a first signal quality detection value of the signal corresponding to the first signal receiving component and a second signal quality detection value of the signal corresponding to the second signal receiving component, and preferentially sending the first signal quality detection value and the second signal quality detection value to the second signal processing component, wherein the first signal quality detection value and the second signal quality detection value are related to the signal-to-noise ratio, the signal strength, the signal power and the time delay of the signal in the current sampling period.
Step S400, controlling the second signal processing component to receive the signals with the sampling periods sent by the first signal processing component and combine the signals.
The preset first sampling period is the same as the preset second sampling period.
Further, in step S300, calculating a first signal quality detection value of a signal corresponding to the first signal receiving component and a second signal quality detection value of a signal corresponding to the second signal receiving component, and preferentially sending the first signal quality detection value and the second signal quality detection value to the second signal processing component, where the steps include:
In step S310, a first signal quality detection value of a signal received in the power line carrier communication mode is calculated.
Specifically, the calculation formula of the first signal quality detection value RSRQ j 1 is:
RSRQj 1=k0 1+k1 1RSSIj 1+k2 1SINRj 1+k3 1RSRPj 1-k4 1TDj 1;
Wherein j is the sequence number of the sampling period, RSSI j 1 is the signal strength value of the power line carrier communication mode acquisition signal in the j-th sampling period, k 1 1 is the weight value of the signal strength of the power line carrier communication mode acquisition signal, SINR j 1 is the signal-to-noise ratio of the power line carrier communication mode acquisition signal in the j-th sampling period, k 2 1 is the weight value of the signal-to-noise ratio of the power line carrier communication mode acquisition signal, RSRP j 1 is the signal power value of the power line carrier communication mode acquisition signal in the j-th sampling period, k 3 1 is a weight value of signal power of the power line carrier communication mode acquisition signal, TD j 1 is a delay value of the power line carrier communication mode acquisition signal in the j-th sampling period, k 4 1 is a weight value of delay of the power line carrier communication mode acquisition signal, and k 0 1 is a constant for avoiding that the first signal quality detection value is negative.
Step S320 calculates a second signal quality detection value of the signal received in the wireless communication mode.
Specifically, the calculation formula of the second signal quality detection value RSRQ j 2 is:
RSRQj 2=k0 2+k1 2RSSIj 2+k2 2SINRj 2+k3 2RSRPj 2-k4 2TDj 2
Wherein RSSI j 2 is the signal strength value of the wireless communication mode acquisition signal in the jth sampling period, k 1 2 is the weight value of the signal strength of the wireless communication mode acquisition signal, SINR j 2 is the signal-to-noise ratio of the wireless communication mode acquisition signal in the jth sampling period, k 2 2 is the weight value of the signal-to-noise ratio of the wireless communication mode acquisition signal, RSRP j 2 is the signal power value of the wireless communication mode acquisition signal in the jth sampling period, k 3 2 is a weight value of signal power of the wireless communication mode acquisition signal, TD j 2 is a time delay value of the wireless communication mode acquisition signal in the j-th sampling period, k 4 2 is a weight value of time delay of the wireless communication mode acquisition signal, and k 0 2 is a constant for avoiding that the second signal quality detection value is negative.
Step S330, the first signal quality detection value and the second signal quality detection value are compared with the signal quality evaluation threshold, respectively.
Step S340, preferentially transmitting the signal to the second signal processing component when both are greater than or either is greater than the signal quality evaluation threshold.
Step S350, when both are smaller than the signal quality evaluation threshold, transmitting a retransmission request of the current sampling period signal to the transmitter of the signal.
Specifically, the step S400 of combining the signals based on the second signal processing component receiving the signals of the plurality of sampling periods sent by the first signal processing component includes the following steps:
in step S410, it is determined whether the signals of the plurality of sampling intervals sent by the first signal processing component are null based on the second signal processing component.
In step S420, if yes, the first signal processing component waits for the retransmission of the signal in the sampling interval.
Step S430, if not, combining the signals of all the sampling intervals.
The power line carrier and wireless dual-mode communication method respectively acquires signals in each sampling interval based on the power line carrier communication mode and the wireless communication mode, respectively calculates signal quality detection values of the two signals, preferentially combines the signals, solves the problem of unstable signal quality received by a single communication mode, flexibly selects signals in the sampling interval with good quality to combine, and improves the overall signal quality.
Accordingly, a third aspect of the embodiment of the present invention provides an electronic device, including: at least one processor; and a memory coupled to the at least one processor; the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to cause the at least one processor to perform the power line carrier and wireless dual mode communication method.
Accordingly, a fourth aspect of embodiments of the present invention provides a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the above-described dual mode wireless communication method and power line carrier based method.
The embodiment of the invention aims to protect a device and a method for dual-mode communication based on a power line carrier and wireless, and the device comprises the following steps: the first signal receiving assembly, the second signal receiving assembly, the first signal processing assembly and the second signal processing assembly; the first signal receiving assembly receives signals through a power line carrier communication mode according to a preset first sampling period and sends the signals to the first signal processing assembly; the second signal receiving assembly receives signals through a wireless communication mode according to a preset second sampling period and sends the signals to the first signal processing assembly; the first signal processing component receives signals respectively sent by the first signal receiving component and the second signal receiving component, calculates a first signal quality detection value of a signal corresponding to the first signal receiving component and a second signal quality detection value of a signal corresponding to the second signal receiving component, and preferentially sends the first signal quality detection value and the second signal quality detection value to the second signal processing component, wherein the first signal quality detection value and the second signal quality detection value are related to the signal-to-noise ratio, the signal strength, the signal power and the time delay of the signal in the current sampling period; the second signal processing component receives and combines the signals of a plurality of sampling periods sent by the first signal processing component and the signals of a plurality of sampling periods sent by the second signal processing component respectively; the preset first sampling period is the same as the preset second sampling period. The technical scheme has the following effects:
the power line carrier and wireless dual-mode communication method respectively acquires signals in each sampling interval based on the power line carrier communication mode and the wireless communication mode, respectively calculates signal quality detection values of the two signals, preferentially combines the signals, solves the problem of unstable signal quality received by a single communication mode, flexibly selects signals in the sampling interval with good quality to combine, and improves the overall signal quality.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the invention without departing from the spirit and scope of the invention, which is intended to be covered by the claims.
Claims (7)
1. A power line carrier and wireless dual mode communication device comprising: the first signal receiving assembly, the second signal receiving assembly, the first signal processing assembly and the second signal processing assembly;
the first signal receiving component receives signals through a power line carrier communication mode according to a preset first sampling period and sends the signals to the first signal processing component;
The second signal receiving component receives the signal according to the preset second sampling period through a wireless communication mode and sends the signal to the first signal processing component;
The first signal processing component receives the signals respectively sent by the first signal receiving component and the second signal receiving component, calculates a first signal quality detection value of the signal corresponding to the first signal receiving component and a second signal quality detection value of the signal corresponding to the second signal receiving component, and preferentially sends the first signal quality detection value and the second signal quality detection value to the second signal processing component, wherein the first signal quality detection value and the second signal quality detection value are related to the signal-to-noise ratio, the signal strength, the signal power and the time delay of the signal in the current sampling period;
the second signal processing component receives and combines the signals of a plurality of sampling periods sent by the first signal processing component respectively;
Wherein the preset first sampling period is the same as the preset second sampling period;
The first signal processing component comprises: the device comprises a first signal quality calculating unit, a second signal quality calculating unit, a signal quality threshold comparing unit and a signal control unit;
the first signal quality calculating unit obtains the signal received by the first signal receiving component through a power line carrier communication mode, calculates the first signal quality detection value and sends the first signal quality detection value to the threshold comparing unit;
The second signal quality calculating unit obtains the signal received by the second signal receiving component through the wireless communication mode, calculates the second signal quality detection value and sends the second signal quality detection value to the threshold comparing unit;
The threshold comparison unit receives the first signal quality detection value and the second signal quality detection value respectively, compares the first signal quality detection value and the second signal quality detection value with a signal quality evaluation threshold respectively, and preferentially obtains a mode selection result and sends the mode selection result to the signal control unit when both are larger than or either one of the two is larger than the signal quality evaluation threshold; when both are smaller than the signal quality evaluation threshold, sending a signal retransmission request of the current sampling period to the signal control unit;
and when the signal control unit receives a mode selection result, a corresponding signal is sent to the second signal processing component, and when the signal control unit receives a signal retransmission request, the signal retransmission request of the current sampling interval is sent to a sender of the signal.
2. The dual power line carrier and wireless communication device as set forth in claim 1, wherein,
The first signal quality detection valueThe calculation formula of (2) is as follows:
;
Where j is the sequence number of the sampling period, Acquiring a signal strength value of a signal for a power line carrier communication mode in a j-th sampling period,/>, andAcquiring a weight value of signal strength of a signal for a power line carrier communication mode,/>Obtaining the signal-to-noise ratio of the signal for the power line carrier communication mode in the j-th sampling period,/>Obtaining a weight value of a signal-to-noise ratio of a signal for a power line carrier communication mode,/>A signal power value of the signal is obtained for the power line carrier communication mode in the j-th sampling period,Acquiring a weight value of signal power of a signal for a power line carrier communication mode,/>Obtaining a time delay value of a signal for a power line carrier communication mode in a j-th sampling period,/>, andThe weight value of the delay of the signal is obtained for the power line carrier communication mode,To avoid the first signal quality detection value being a negative constant;
The second signal quality detection value The calculation formula of (2) is as follows:
Wherein, Acquiring a signal strength value of a signal for a wireless communication mode in a j-th sampling period,/>Acquiring a weight value of a signal strength of a signal for a wireless communication mode,/>Acquiring a signal-to-noise ratio of a signal for a wireless communication mode in a j-th sampling period,/>Acquiring a weight value of a signal-to-noise ratio of a signal for a wireless communication mode,/>Acquiring a signal power value of a signal for a wireless communication mode in a j-th sampling period,/>Weight values of signal power of the signal are obtained for the wireless communication mode,Obtaining a delay value of a signal for a wireless communication mode in a j-th sampling period,/>, andAcquiring a weight value of a delay of a signal for a wireless communication mode,/>To avoid that the second signal quality detection value is a negative constant.
3. The dual power line carrier and wireless communication device as set forth in claim 1, wherein,
The second signal processing component receives the signals of each sampling interval sent by the first signal processing component, and combines the signals of each sampling interval according to the sequence number of the sampling interval, wherein the sequence number of the sampling interval is related to a time sequence;
when the signals corresponding to the sequence numbers of one or more sampling intervals are empty, storing the signals of other sampling intervals into a temporary memory, and merging the signals of all the sampling intervals after the signals of the corresponding sampling spaces are received.
4. A method for dual mode communication based on a power line carrier and wireless, characterized in that the method for dual mode communication based on a power line carrier and wireless according to any one of claims 1-3 comprises the steps of:
receiving signals through a power line carrier communication mode according to a preset first sampling period based on a first signal receiving component and sending the signals to a first signal processing component;
receiving the signal according to the preset second sampling period by a wireless communication mode based on a second signal receiving component and sending the signal to the first signal processing component;
Based on the first signal processing component and the signals respectively sent by the first signal receiving component and the second signal receiving component, calculating a first signal quality detection value of the signal corresponding to the first signal receiving component and a second signal quality detection value of the signal corresponding to the second signal receiving component, and preferentially sending the first signal quality detection value and the second signal quality detection value to the second signal processing component, wherein the first signal quality detection value and the second signal quality detection value are related to the signal-to-noise ratio, the signal strength, the signal power and the time delay of the signal in the current sampling period;
the signals of a plurality of sampling periods sent by the first signal processing component are received based on the second signal processing component to be combined;
Wherein the preset first sampling period is the same as the preset second sampling period;
the calculating the first signal quality detection value of the signal corresponding to the first signal receiving component and the second signal quality detection value of the signal corresponding to the second signal receiving component, and preferentially sending the first signal quality detection value and the second signal quality detection value to the second signal processing component, includes:
Calculating a first signal quality detection value of the signal received by the power line carrier communication mode;
calculating a second signal quality detection value of the signal received by the wireless communication mode;
Comparing the first signal quality detection value and the second signal quality detection value with a signal quality evaluation threshold respectively;
preferentially sending the signal to the second signal processing component when either or both are greater than the signal quality assessment threshold;
And when both are smaller than the signal quality evaluation threshold, sending a retransmission request of the signal of the current sampling period to a sender of the signal.
5. The dual power line carrier and wireless communication method of claim 4, wherein the combining the signals based on the second signal processing component receiving a number of sampling periods transmitted by the first signal processing component comprises:
judging whether signals of a plurality of sampling intervals sent by the first signal processing component are empty or not based on the second signal processing component;
If so, waiting for the first signal processing component to retransmit the signal of the sampling interval;
if not, the signals of all sampling intervals are combined.
6. An electronic device, comprising: at least one processor; and a memory coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the power line carrier and wireless dual mode communication method of claim 4 or 5.
7. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the power line carrier and wireless dual mode communication method of claim 4 or 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311682278.7A CN117674909B (en) | 2023-12-07 | 2023-12-07 | Dual-mode communication device and method based on power line carrier and wireless |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311682278.7A CN117674909B (en) | 2023-12-07 | 2023-12-07 | Dual-mode communication device and method based on power line carrier and wireless |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117674909A CN117674909A (en) | 2024-03-08 |
CN117674909B true CN117674909B (en) | 2024-06-07 |
Family
ID=90074893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311682278.7A Active CN117674909B (en) | 2023-12-07 | 2023-12-07 | Dual-mode communication device and method based on power line carrier and wireless |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117674909B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103490796A (en) * | 2013-09-13 | 2014-01-01 | 北京师范大学 | Distribution line broadband power line carrier communication system and method |
CN105137213A (en) * | 2015-06-13 | 2015-12-09 | 许昌学院 | Data communication real-time diagnosis system and method |
CN115664464A (en) * | 2022-08-19 | 2023-01-31 | 苏州岷亚电子科技有限公司 | Broadband power line carrier (HPLC) and RF dual-mode communication system |
CN116886126A (en) * | 2023-08-03 | 2023-10-13 | 中芯奕龙(北京)电子科技有限公司 | Communication system and method based on power line broadband carrier wireless dual-mode chip |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4490425B2 (en) * | 2003-09-19 | 2010-06-23 | パナソニック株式会社 | Multi-carrier communication method, system and apparatus |
-
2023
- 2023-12-07 CN CN202311682278.7A patent/CN117674909B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103490796A (en) * | 2013-09-13 | 2014-01-01 | 北京师范大学 | Distribution line broadband power line carrier communication system and method |
CN105137213A (en) * | 2015-06-13 | 2015-12-09 | 许昌学院 | Data communication real-time diagnosis system and method |
CN115664464A (en) * | 2022-08-19 | 2023-01-31 | 苏州岷亚电子科技有限公司 | Broadband power line carrier (HPLC) and RF dual-mode communication system |
CN116886126A (en) * | 2023-08-03 | 2023-10-13 | 中芯奕龙(北京)电子科技有限公司 | Communication system and method based on power line broadband carrier wireless dual-mode chip |
Also Published As
Publication number | Publication date |
---|---|
CN117674909A (en) | 2024-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7852788B2 (en) | Method of organizing nodes of a network into groupings of nodes, computer program for implementing such a method and communication device forming a node of a network of nodes | |
EP2932613B1 (en) | Adaptive channel reuse mechanism in communication networks | |
JP4880351B2 (en) | Method for managing signal measurements in a wireless network, a station adapted to cooperate with a centralized measurement manager unit, a centralized measurement manager unit adapted to process measurements in a wireless network, and managing measurements in a wireless network system | |
US20220014325A1 (en) | Transmission method and apparatus based on direct link | |
JP2011502448A (en) | Method and apparatus for controlling traffic in a wireless communication system using shared air link traffic resources | |
CN105208635B (en) | A kind of read method of system information, dispatching method and device | |
CN102077673A (en) | Methods and apparatus for providing quality of service in a peer to peer network | |
CN109729602A (en) | A kind of link data processing method, device and computer storage medium | |
CN104765349A (en) | Method for managing smart home equipment, server and center control equipment | |
CN103856959A (en) | Wireless local area network quality monitoring method, device and system | |
CN113179509B (en) | Ad hoc network method and device based on WiFi, storage medium and wireless node | |
CN117674909B (en) | Dual-mode communication device and method based on power line carrier and wireless | |
JP2008017337A (en) | Wireless communication system, wireless base station, wireless terminal, wireless communication control method, and wireless communication control program | |
US10104571B1 (en) | System for distributing data using a designated device | |
CN102740432B (en) | Dynamic transmission power control method | |
CN110677225B (en) | Method and equipment for reporting and receiving reference signal | |
CN103458491B (en) | Communication means between a kind of WLAN interior joint and terminal and equipment | |
US10177929B1 (en) | System for distributing data to multiple devices | |
WO2023241501A1 (en) | Information sending method and apparatus, information receiving method and apparatus, and communication device and readable storage medium | |
CN112311481A (en) | Antenna correction method, base station and storage medium | |
CN112153094A (en) | Data transmission control method and device between electronic devices | |
CN105453657A (en) | Access point, station, access controller and noise emission method | |
CN101771506B (en) | Method and device for reporting parameters | |
CN113473405B (en) | Method, device, computer storage medium and terminal for realizing power adjustment | |
CN112584524B (en) | Multi-user access method and device based on downlink data transmission |
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 | ||
CP03 | Change of name, title or address |
Address after: 210049 building d17, Zidong International Creative Park, No.2, Zidong Road, Maqun street, Qixia District, Nanjing City, Jiangsu Province Patentee after: Jiangsu Sixingda Information Technology Co.,Ltd. Country or region after: China Address before: 210049 building d17, Zidong International Creative Park, No.2, Zidong Road, Maqun street, Qixia District, Nanjing City, Jiangsu Province Patentee before: Jiangsu sixingda Information Technology Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |