CN115412432A - System, method and device for adjusting signal-to-noise ratio of Ethernet - Google Patents

System, method and device for adjusting signal-to-noise ratio of Ethernet Download PDF

Info

Publication number
CN115412432A
CN115412432A CN202210831729.8A CN202210831729A CN115412432A CN 115412432 A CN115412432 A CN 115412432A CN 202210831729 A CN202210831729 A CN 202210831729A CN 115412432 A CN115412432 A CN 115412432A
Authority
CN
China
Prior art keywords
ethernet
signal
chip
noise ratio
transformer
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
CN202210831729.8A
Other languages
Chinese (zh)
Other versions
CN115412432B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202210831729.8A priority Critical patent/CN115412432B/en
Publication of CN115412432A publication Critical patent/CN115412432A/en
Application granted granted Critical
Publication of CN115412432B publication Critical patent/CN115412432B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Abstract

The application relates to a system, a method and a device for adjusting the signal-to-noise ratio of Ethernet, wherein the system comprises: a first device and a second device; the first equipment comprises a first control unit, a first Ethernet chip, a first carrier chip and a first Ethernet transformer; the first control unit is connected with a first Ethernet chip and a first carrier chip, the first Ethernet chip is connected with a first end of a first Ethernet transformer, and the first carrier chip is connected with a second end of the first Ethernet transformer; the second device comprises a second control unit, a second Ethernet chip, a second carrier chip and a second Ethernet transformer; the second control unit is connected with the second Ethernet chip and the second carrier chip, the second Ethernet chip is connected with the first end of the second Ethernet transformer, and the second carrier chip is connected with the second end of the second Ethernet transformer. By the method and the device, the real-time monitoring of the communication link and the dynamic adjustment of the signal-to-noise ratio are realized, and the dynamic adaptability and the reliability of the Ethernet are improved.

Description

System, method and device for adjusting signal-to-noise ratio of Ethernet
Technical Field
The present application relates to the field of ethernet communications, and in particular, to a system, a method, and an apparatus for adjusting an ethernet signal-to-noise ratio.
Background
With the development of the information-oriented era, people have an increasing demand for network communication, especially people do not tolerate networks that are stuck, that is, the requirement for the reliability of network transmission is more and more strict, and the current conventional ethernet device does not have a mechanism for dynamically adjusting the signal quality during operation, and only some retransmission mechanisms can be used to guarantee the transmission of information, but when the noise reaches a certain degree, the retransmission mechanisms will all fail.
Aiming at the problem that the signal quality of Ethernet equipment can not be dynamically adjusted during working in the prior art, no effective solution is provided at present.
Disclosure of Invention
The present embodiment provides a system, a method, and an apparatus for adjusting an ethernet signal-to-noise ratio, so as to solve the problem that, in the prior art, signal quality cannot be dynamically adjusted when an ethernet device operates.
In a first aspect, a system for adjusting an ethernet signal-to-noise ratio is provided in this embodiment, the system comprising: a first device and a second device;
the first equipment comprises a first control unit, a first Ethernet chip, a first carrier chip and a first Ethernet transformer;
the first control unit is connected with the first Ethernet chip and the first carrier chip, the first Ethernet chip is connected with a first end of the first Ethernet transformer, and the first carrier chip is connected with a second end of the first Ethernet transformer;
the second device comprises a second control unit, a second Ethernet chip, a second carrier chip and a second Ethernet transformer;
the second control unit is connected with the second ethernet chip and the second carrier chip, the second ethernet chip is connected with a first end of the second ethernet transformer, and the second carrier chip is connected with a second end of the second ethernet transformer;
the first control unit reads the signal-to-noise ratio data of the first Ethernet chip and inputs the read signal-to-noise ratio data to the first carrier chip for modulation; the first carrier chip loads the modulated signal to a tap of the second end of the first Ethernet transformer;
the second carrier chip receives a first signal on a tap of a second end of the second Ethernet transformer and demodulates the first signal to obtain a second signal; and the second control unit adjusts the driving parameters of the second Ethernet chip according to the second signal.
In some of these embodiments, the first device further comprises a first filter, the second device further comprises a second filter;
a first end of the first filter is connected with the first carrier chip, and a second end of the first filter is connected with a second end of the first ethernet transformer;
and the first end of the second filter is connected with the second carrier chip, and the second end of the second filter is connected with the second end of the second Ethernet transformer.
In some of these embodiments, the first device further comprises a first transformer, the second device further comprises a second transformer;
a first end of the first filter is connected with the first carrier chip, a second end of the first filter is connected with a first end of the first transformer, and a second end of the first transformer is connected with a second end of the first ethernet transformer;
the first transformer is used for converting the differential signal output by the first filter into a common-mode signal and then loading the common-mode signal to a tap of a second end of the first Ethernet transformer;
a first end of the second filter is connected to the second carrier chip, a second end of the second filter is connected to a first end of the second transformer, and a second end of the second transformer is connected to a second end of the second ethernet transformer;
the second transformer is used for converting a common mode signal on a tap on the second end of the second Ethernet transformer into a differential signal, and then inputting the differential signal to the second filter.
In some of these embodiments, the first carrier chip and the second carrier chip are wideband carrier communication carrier chips.
In some embodiments, the first control unit is further configured to read bandwidth data of the first ethernet chip, the first carrier chip sets a modulation frequency of the first carrier chip according to the bandwidth data, and the second carrier chip sets a demodulation frequency of the second carrier chip according to the bandwidth data.
In a second aspect, in this embodiment, there is provided a method for adjusting an ethernet signal-to-noise ratio, where the method is applied to the system for adjusting an ethernet signal-to-noise ratio according to the first aspect, and the method includes:
reading a second signal obtained by demodulation of a second carrier chip;
and adjusting the driving parameters of the second Ethernet chip according to the second signal.
In some embodiments, the second signal includes signal-to-noise ratio data, and the adjusting the driving parameter of the second ethernet chip according to the second signal includes:
comparing the signal-to-noise ratio data with a preset value, and increasing the driving capability of the transmission signal of the second Ethernet chip when the signal-to-noise ratio data is smaller than the preset value and is larger than the signal-to-noise ratio data of the last adjustment period;
and when the signal-to-noise ratio data is smaller than a preset value and the signal-to-noise ratio data is smaller than the signal-to-noise ratio data of the last adjustment period, setting the driving capacity of the transmitting signal of the second Ethernet chip as the driving capacity of the last adjustment period.
In some of these embodiments, the method further comprises:
receiving bandwidth data sent by a first control unit; the bandwidth data comprises an operating bandwidth of the first Ethernet chip;
and setting the demodulation frequency of the second carrier chip according to the bandwidth data.
In a third aspect, in this embodiment, there is provided a method for adjusting an ethernet signal-to-noise ratio, where the method is applied to the system for adjusting an ethernet signal-to-noise ratio according to the first aspect, and the method includes:
reading signal-to-noise ratio data of the first Ethernet chip;
inputting the signal-to-noise ratio data to a first carrier chip for modulation;
reading bandwidth data of the first Ethernet chip;
and setting the modulation frequency of the first carrier chip according to the bandwidth data.
In a fourth aspect, in this embodiment, there is provided an apparatus for adjusting an ethernet signal-to-noise ratio, where the apparatus is applied to the system for adjusting an ethernet signal-to-noise ratio according to the first aspect, and the apparatus includes:
the first reading module is used for reading a second signal obtained after demodulation of the second carrier chip;
and the adjusting module is used for adjusting the driving parameters of the second Ethernet chip according to the second signal.
In a fifth aspect, in this embodiment, there is provided an apparatus for adjusting an ethernet signal-to-noise ratio, where the apparatus is applied to the system for adjusting an ethernet signal-to-noise ratio according to the first aspect, and the apparatus includes:
the second reading module is used for reading the signal-to-noise ratio data of the first Ethernet chip;
the sending module is used for inputting the signal-to-noise ratio data to a first carrier chip for modulation;
the third reading module is used for reading the bandwidth data of the first Ethernet chip;
and the setting module is used for setting the modulation frequency of the first carrier chip according to the bandwidth data.
Compared with the related art, the system, the method and the device for adjusting the signal-to-noise ratio of the ethernet provided in this embodiment establish a dedicated channel with interactive signal-to-noise ratio on the basis of frequency division multiplexing through the setting of the dual-channel link, thereby realizing real-time monitoring of the communication link and dynamic adjustment of the signal-to-noise ratio, and improving the dynamic adaptability and reliability of the ethernet.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a system for adjusting an ethernet signal-to-noise ratio according to the present embodiment;
fig. 2 is a block diagram of another system for adjusting the signal-to-noise ratio of ethernet according to the present embodiment;
fig. 3 is a block diagram of another preferred structure of the system for adjusting the signal-to-noise ratio of the ethernet according to the embodiment;
fig. 4 is a schematic signal flow diagram of another system for adjusting an ethernet signal-to-noise ratio according to the embodiment;
fig. 5 is a flowchart of a method for adjusting the signal-to-noise ratio of the ethernet according to the present embodiment;
fig. 6 is a flowchart of a method for adjusting the signal-to-noise ratio of the ethernet according to the present embodiment;
fig. 7 is a flowchart of a method for adjusting the signal-to-noise ratio of the ethernet according to the preferred embodiment;
fig. 8 is a block diagram of an apparatus for adjusting an ethernet signal-to-noise ratio according to the present embodiment;
fig. 9 is a block diagram of an apparatus for adjusting an ethernet signal-to-noise ratio according to the present embodiment.
Detailed Description
For a clearer understanding of the objects, aspects and advantages of the present application, reference is made to the following description and accompanying drawings.
Unless defined otherwise, technical or scientific terms referred to herein shall have the same general meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The use of the terms "a" and "an" and "the" and similar referents in the context of this application do not denote a limitation of quantity, either in the singular or the plural. The terms "comprises," "comprising," "has," "having," and any variations thereof, as referred to in this application, are intended to cover non-exclusive inclusions; for example, a process, method, and system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or modules, but may include other steps or modules (elements) not listed or inherent to such process, method, article, or apparatus. Reference in this application to "connected," "coupled," and the like is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference to "a plurality" in this application means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. In general, the character "/" indicates a relationship in which the objects associated before and after are an "or". The terms "first," "second," "third," and the like in this application are used for distinguishing between similar items and not necessarily for describing a particular sequential or chronological order.
In this embodiment, a system for adjusting an ethernet signal to noise ratio is provided, and fig. 1 is a block diagram of a structure of the system for adjusting an ethernet signal to noise ratio of this embodiment, as shown in fig. 1, the system includes: a first device 110 and a second device 120; the first device 110 includes a first control unit 111, a first ethernet chip 112, a first carrier chip 113, and a first ethernet transformer 114; the second device 120 includes a second control unit 121, a second ethernet chip 122, a second carrier chip 123, and a second ethernet transformer 124.
Specifically, the first control unit 111 is connected to a first ethernet chip 112 and a first carrier chip 113, the first ethernet chip 112 is connected to a first end of a first ethernet transformer 114, and the first carrier chip 113 is connected to a second end of the first ethernet transformer 114; the second control unit 121 is connected to the second ethernet chip 122 and the second carrier chip 123, the second ethernet chip 122 is connected to a first end of the second ethernet transformer 124, and the second carrier chip 123 is connected to a second end of the second ethernet transformer 124; the first control unit 111 reads the signal-to-noise ratio data of the first ethernet chip 112, and inputs the read signal-to-noise ratio data to the first carrier chip 113 for modulation; the first carrier chip 113 loads the modulated signal to a tap of the second end of the first ethernet transformer 114; the second carrier chip 123 receives the first signal at the tap of the second end of the second ethernet transformer 124, and demodulates the first signal to obtain a second signal; the second control unit 121 adjusts the driving parameters of the second ethernet chip 122 according to the second signal.
Illustratively, the first carrier chip 113 and the second carrier chip 123 may be HPLC (broadband carrier communication) carrier chips, as shown in fig. 1, there are 2 communication channels in the system, one is communication between differential signals of a conventional ethernet, one HPLC carrier chip is stacked on one common mode communication channel formed on a tap of an ethernet transformer, although these 2 channels are on one cable at the same time, the highest operating frequency band of the HPLC carrier chip is only 12MHz, while the operating frequency of the conventional ethernet operating at 100Base-TX is mainly 33.33MHz, when the ethernet operating at 10Base-TX, its main operating frequency is 3.33M, the operating frequency band of the HPLC carrier chip may be adjusted, for example, operating at 8-12M, thereby implementing frequency division multiplexing.
In this embodiment, through the setting of the dual-channel link, on the basis of frequency division multiplexing, a dedicated channel with interactive signal-to-noise ratio is established, thereby implementing real-time monitoring of the communication link and dynamic adjustment of the signal-to-noise ratio, further implementing dynamic adjustment of signal quality of the ethernet device during operation, and improving dynamic adaptability and reliability of the ethernet.
In this embodiment, another system for adjusting an ethernet signal to noise ratio is provided, and fig. 2 is a block diagram of a structure of another system for adjusting an ethernet signal to noise ratio according to this embodiment, as shown in fig. 2, the system includes: a first device 110 and a second device 120; the first device 110 includes a first control unit 111, a first ethernet chip 112, a first carrier chip 113, a first ethernet transformer 114, a first filter 115, and a first transformer 116; the second device 120 includes a second control unit 121, a second ethernet chip 122, a second carrier chip 123, a second ethernet transformer 124, a second filter 125, and a second transformer 126.
Specifically, the first control unit 111 is connected to a first ethernet chip 112 and a first carrier chip 113, the first ethernet chip 112 is connected to a first end of a first ethernet transformer 114, the first carrier chip 113 is connected to a first filter 115, the first filter 115 is connected to a first transformer 116, and the first transformer 116 is connected to a second end of the first ethernet transformer 114, that is, the first transformer 116 is connected to a tap of the second end of the first ethernet transformer 114. The second control unit 121 is connected to the second ethernet chip 122 and the second carrier chip 123, the second ethernet chip 122 is connected to a first end of the second ethernet transformer 124, the second carrier chip 123 is connected to the second filter 125, the second filter 125 is connected to the second transformer 126, and the second transformer 126 is connected to a second end of the second ethernet transformer 124, that is, the second transformer 126 is connected to a tap of the second end of the second ethernet transformer 124.
The first control unit 111 reads the snr data of the first ethernet chip 112, inputs the read snr data to the first carrier chip 113 for modulation, the first carrier chip 113 inputs the modulated signal to the first filter 115 for filtering, a differential signal output by the first filter 115 passes through the first transformer 116, is impedance-converted into a common-mode signal, the common-mode signal is loaded to a tap of the first ethernet transformer 114, and is transmitted to the second transformer 126 of the second device 120 through a network cable. The second transformer 126 receives the first signal at the tap of the second end of the second ethernet transformer 124, converts the first signal into a differential signal, the differential signal is filtered by the second filter 125, and then input to the second carrier chip 123 for demodulation to obtain a second signal, and the second control unit 121 adjusts the driving parameter of the second ethernet chip 122 according to the second signal.
Illustratively, the first device 110 and the second device 120 are connected by a network cable, and the first control unit 111 and the second control unit 121 are MAC chips or SOC chips. First ethernet chip 112 and second ethernet chip 122 are PHY chips. First carrier chip 113 and second carrier chip 123 may be HPLC (broadband carrier communication) carrier chips.
Take the example where the second device 120 sends data to the first device 110 and then adjusts the device driver of the second device 120 according to the link status. As shown in fig. 2, after the first device 110 and the second device 120 are successfully connected for the first time, the second device 120 starts to perform data interaction with the first device 110, taking the example that data is sent to the first device 110 by the second device 120 in a single direction (when there is no data, idle frames are exchanged by ethernet), at this time, the MAC chip of the first device 110 may read the signal-to-noise ratio raw data of the PHY chip of the first device 110 through the SMI interface, and calculate a corresponding signal-to-noise ratio according to a formula, for example, may be calculated according to D =10 × log10Q/32768, where D is the calculated signal-to-noise ratio, and Q is the signal-to-noise ratio raw data. After the calculation result is obtained, the MAC chip of the first device 110 sends the data to the HPLC carrier chip through a serial port (UART), the HPLC carrier chip repackages the signal quality index information (the packet may conform to the standard of 1901.1), modulates and sends the data after packetizing, and after the HPLC carrier chip of the second device 120 receives the modulated signal, the HPLC carrier chip of the second device 120 demodulates and sends the demodulated signal to the MAC chip at the second device 120 end through the serial port, and after the MAC chip at the second device 120 end receives the signal-to-noise ratio, the MAC chip at the second device 120 end adopts different driving adjustments according to the threshold value to adjust the driving parameters of the second ethernet chip 122.
In this embodiment, through the setting of the dual-channel link, on the basis of frequency division multiplexing, a dedicated channel with interactive signal-to-noise ratio is established, thereby implementing real-time monitoring of the communication link and dynamic adjustment of the signal-to-noise ratio, further implementing dynamic adjustment of signal quality of the ethernet device during operation, and improving dynamic adaptability and reliability of the ethernet.
The present embodiment is described and illustrated below by means of preferred embodiments.
Fig. 3 is a block diagram of a preferred structure of another system for adjusting an ethernet signal-to-noise ratio according to this embodiment, as shown in fig. 3, the system includes: device a and device B, wherein the system comprises: device a and device B; the device a includes a first MAC chip 311, a first PHY chip 312, a first HPLC chip 313, a first ethernet transformer 314, a first low-pass filter 315, and a first transformer 316; device B includes a second MAC chip 321, a second PHY chip 322, a second HPLC chip 323, a second ethernet transformer 324, a second low pass filter 325, and a second transformer 326.
Specifically, the first MAC chip 311 is connected to the first PHY chip 312 and the first HPLC chip 313, the first PHY chip 312 is connected to a first end of the first ethernet transformer 314, the first HPLC chip 313 is connected to the first low-pass filter 315, the first low-pass filter 315 is connected to the first transformer 316, and the first transformer 316 is connected to a second end of the first ethernet transformer 314, that is, the first transformer 316 is connected to a tap of the second end of the first ethernet transformer 314. The second MAC chip 321 is connected to the second PHY chip 322 and the second HPLC chip 323, the second PHY chip 322 is connected to a first end of the second ethernet transformer 324, the second HPLC chip 323 is connected to the second low pass filter 325, the second low pass filter 325 is connected to the second transformer 326, and the second transformer 326 is connected to a second end of the second ethernet transformer 324, that is, the second transformer 326 is connected to a tap of the second end of the second ethernet transformer 324. Device a and device B also include RJ45 interfaces.
The first MAC chip 311 reads the snr data of the first PHY chip 312, inputs the read snr data to the first HPLC chip 313 for modulation, the first HPLC chip 313 inputs the modulated signal to the first low-pass filter 315 for filtering, impedance-converts a differential signal output by the first low-pass filter 315 into a common-mode signal through the first transformer 316, loads the common-mode signal to a tap of the first ethernet transformer 314, transmits the common-mode signal to the second transformer 326 of the device B through a network cable to receive the first signal on the tap of the second end of the second ethernet transformer 324, converts the first signal into a differential signal, inputs the differential signal to the second HPLC chip 323 for demodulation after the differential signal is filtered by the second low-pass filter 325 to obtain a second signal, and the second MAC chip 321 adjusts the driving parameter of the second PHY chip 322 according to the second signal.
The device a and the device B each include a MAC/SOC chip, a PHY chip, an ethernet transformer, an HPLC (broadband carrier communication) chip, a low-pass filter, a transformer, and other related modules, where the MAC/SOC chip and the PHY chip are connected by a media-independent interface, such as MII/RMII, and the PHY chip is connected by an RJ45 interface after the ethernet transformer is connected according to a conventional connection method, and the device a and the device B are connected by a network cable. Taking device a as an example, the first HPLC chip 313 is connected to the first MAC chip 311 through a serial port (UART), and the signal modulated by the first HPLC chip 313 passes through the first low-pass filter 315 and the first transformer 316 and then is superimposed on the tap of the first ethernet transformer 314 to form a common mode path, the first low-pass filter 315 outputs a differential signal, the impedance is converted into a common mode signal through the first transformer 316, and the common mode signal is applied to the tap of the first ethernet transformer 314, so that the common mode level of the differential signal of the first ethernet transformer 314 changes accordingly. Taking device B as an example of a device for dynamically adjusting the Signal-to-noise ratio of the ethernet, the Signal flows of device a and device B are shown by dashed arrows in fig. 4, where SQI (Signal Quality Index) is a Signal Quality indicator, data is network Data sent by device B to device a, and an exemplary SQI may adopt a Signal-to-noise ratio.
As shown in fig. 3, 2 communication paths exist on a network cable, one is communication between differential signals of a conventional ethernet, and one HPLC carrier chip is stacked on a common-mode communication path formed on a tap of an ethernet transformer, although the 2 paths are simultaneously on one cable, the highest working frequency band of the HPLC carrier chip is only 12MHz, while the working frequency point of the conventional ethernet working at 100Base-TX is mainly 33.33MHz, and the main working frequency point of the ethernet working at 10Base-TX is 3.33M, at this moment, the working frequency band of the HPLC carrier chip can be adjusted, for example, working at 8-12M, thereby implementing frequency division multiplexing.
In the preferred embodiment, through the setting of the dual-channel link, on the basis of frequency division multiplexing, a dedicated channel with interactive signal-to-noise ratio is established, thereby realizing the real-time monitoring of the communication link and the dynamic adjustment of the signal-to-noise ratio, and improving the dynamic adaptability and reliability of the Ethernet.
In this embodiment, a method for adjusting an ethernet signal to noise ratio is provided, the method is applied to the system for adjusting an ethernet signal to noise ratio shown in fig. 2, fig. 5 is a flowchart of the method for adjusting an ethernet signal to noise ratio according to this embodiment, and as shown in fig. 2 and fig. 5, the flowchart includes the following steps:
step S510, a second signal obtained by demodulation by the second carrier chip 123 is read.
Specifically, the second transformer 126 receives a first signal at a tap of the second end of the second ethernet transformer 124, converts the first signal into a differential signal, the differential signal is filtered by the second filter 125 and then input to the second carrier chip 123 for demodulation to obtain a second signal, and the second control unit 121 reads the second signal demodulated by the second carrier chip 123.
In step S520, the driving parameters of the second ethernet chip 122 are adjusted according to the second signal.
Specifically, the second control unit 121 adjusts the driving parameter of the second ethernet chip 122 according to the second signal.
In this embodiment, through the setting of the dual-channel link, on the basis of frequency division multiplexing, a dedicated channel with interactive signal-to-noise ratio is established, thereby implementing real-time monitoring of the communication link and dynamic adjustment of the signal-to-noise ratio, further implementing dynamic adjustment of signal quality of the ethernet device during operation, and improving dynamic adaptability and reliability of the ethernet.
In some embodiments, the second control unit 121 compares the snr data with a preset value, and increases the driving capability of the transmission signal of the second ethernet chip 122 when the snr data is smaller than the preset value and the snr data is greater than the snr data of the previous adjustment period; when the snr data is smaller than the predetermined value and the snr data is smaller than the snr data of the previous adjustment period, the driving capability of the transmission signal of the second ethernet chip 122 is set to the driving capability of the previous adjustment period.
In some embodiments, the second control unit 121 receives bandwidth data sent by the first control unit 111, the bandwidth data including an operating bandwidth of the first ethernet chip 112, and the second control unit 121 sets a demodulation frequency of the second carrier chip 123 according to the bandwidth data.
In this embodiment, a method for adjusting an ethernet signal to noise ratio is provided, where the method is applied to a system for adjusting an ethernet signal to noise ratio shown in fig. 2, fig. 6 is a flowchart of a method for adjusting an ethernet signal to noise ratio according to this embodiment, and as shown in fig. 2 and fig. 6, the flowchart includes the following steps:
step S610, reading the snr data of the first ethernet chip 112.
Specifically, the first control unit 111 reads the signal-to-noise ratio data of the first ethernet chip 112, which reflects the signal quality of the signal transmitted by the second device 120 received by the first device 110.
In step S620, the snr data is input to the first carrier chip 113 for modulation.
Specifically, the first control unit 111 inputs the signal-to-noise ratio data to the first carrier chip 113 for modulation.
In step S630, the bandwidth data of the first ethernet chip 112 is read.
Specifically, the first control unit 111 reads bandwidth data of the first ethernet chip 112.
In step S640, the modulation frequency of the first carrier chip 113 is set according to the bandwidth data.
Specifically, the first control unit 111 sets the modulation frequency of the first carrier chip 113 according to the bandwidth data.
In this embodiment, through the setting of the dual-channel link, on the basis of frequency division multiplexing, a dedicated channel with interactive signal-to-noise ratio is established, thereby implementing real-time monitoring of the communication link and dynamic adjustment of the signal-to-noise ratio, further implementing dynamic adjustment of signal quality of the ethernet device during operation, and improving dynamic adaptability and reliability of the ethernet.
The present embodiment is described and illustrated below by means of preferred embodiments.
Fig. 7 is a flowchart of a method for adjusting the signal-to-noise ratio of ethernet according to the preferred embodiment, and as shown in fig. 7, the method includes the following steps:
in step S701, the device is powered on and started.
In step S702, the chip Link status is read.
Specifically, the connection state of the PHY chip and/or the HPLC chip may be read.
Step S703, judging whether the PHY chip is Link up; if so, go to step S704, otherwise, go to step S702.
Step S704, judging whether the PHY chip and the HPLC chip are both Link up; if both PHY chip and HPLC chip are Link up, step S705 and step S708 are executed, otherwise, step S716 is executed.
Step S705 reads the SNR.
Step S706, judging whether the SNR is read; if so, go to step S707, otherwise, go to step S705.
Step S707, the current SNR is sent to the peer device.
Step S708, receiving the opposite terminal SNR sent by the opposite terminal device, and recording the current opposite terminal SNR.
Step S709, judging whether the SNR of the opposite end is smaller than a preset value Q; if yes, go to step S710; otherwise, go to step S708;
step S710, judging whether the flag Tag is 0; if yes, go to step S712; otherwise, step S711 is executed.
Step S711, the current configuration is maintained.
Step S712, determining whether the Flag is 0; if yes, go to step S713; otherwise, step S714 is performed.
Step S713, saving the current configuration and adding the drive of the TX end of one level, and letting Flag =1, step S702 is executed.
Step S714, comparing the SNR of the opposite ends separated by two times.
Step S715, judging whether the SNR of the current opposite end is reduced compared with the SNR of the last opposite end; if yes, go to step S717; if not, step S713 is executed.
Step S716, judging Link states of the PHY chip and the HPLC chip; if the HPLC chip Link up and the PHY chip Link down, executing step S717; if the HPLC chip and the PHY chip are both Link down, then step S718 is executed; if the HPLC chip Link down and the PHY chip Link up are present, step S719 is performed.
In step S717, tag =1 is set, the last configuration is resumed, and step S702 is executed.
Step S718, clear Flag bits Tag and Flag, and restore the default configuration.
Specifically, the Flag bits Tag and Flag may be cleared by setting the Flag bits Tag and Flag to 0.
Step S719, the current configuration is maintained.
The present preferred embodiment is described in detail below.
After the device is powered on and started, the link state is started to be read, after PHY link up is read, whether the HPLC is on the link is further checked, if the HPLC does not have the link, the current configuration is kept, no adjustment is made, if the HPLC is the link up, the device at the local end reads the SNR, and after the SNR is read, the value is calculated and is sent to the device at the opposite end through a channel of the HPLC. 2 flag bits, tag and flag are set. Meanwhile, the local terminal equipment can also start receiving the SNR sent by the opposite terminal, when the SNR value sent by the opposite terminal is received, the equipment can record and calculate according to a preset rule, whether the current SNR value meets the requirement Q of a threshold value or not is judged, if the current SNR calculation result is smaller than Q, whether a Flag Tag is 0 or not is checked, if the Flag Tag is 0, whether another Flag is 0 or not is continuously checked, if the Flag is 0, on the premise that the MAC/SOC stores the existing configuration, the TX driving capability of the primary local terminal is increased, the Flag is recorded as 1, and after the driving is changed, the equipment can read the link state again and obtain the SNR. When the PHY and the HPLC are read again after the drive is adjusted and both link up is achieved, the local end equipment judges whether the SNR is met again after receiving the SNR, if the SNR is not met, tag and Flag are checked, wherein the Tag is 0 after the cycle, and the Flag is 1, the MAC/SOC compares the current SNR with the SNR before the adjustment under the condition, if the comparison result is reduced, the increase of the drive is indicated to bring more noise or interference, the equipment restores to the last configuration, records that the Tag is 1, and keeps the current configuration after the Tag is 1, so that the process is prevented from being circulated again; however, if the SNR is increased, the reliability of the current link can be improved by increasing the driving, so the MAC/SOC is increased by one step. This is repeated until the SNR meets the threshold Q requirement.
The above situations are all situations where no disconnection occurs after the adjustment driving, and we see that the disconnection occurs after the adjustment, when power is turned on and the TX driving capability of the primary end is increased, and Flag is recorded as 1, and when the link state is read after the adjustment, PHY link down + HPLC link up occurs, which indicates that the adjustment driving greatly reduces the signal-to-noise ratio of PHY communication instead, and thus a link cannot be established, so that the last configuration should be restored and Tag =1 is recorded in this situation, and reconnection is waited.
After explaining the above logic we will find that there is also a PHY link down + HPLC link down situation, which does not occur with PHY drive adjustment, because HPLC is OFDM modulated, the anti-attenuation and anti-noise capabilities are much larger than PHY, and both are frequency division multiplexed. This occurs basically if the peer device is suddenly powered down or the network cable is unplugged, in which case we can think that all connections are resumed and all the configuration in the original logic needs to be cleared.
In this embodiment, a device for adjusting an ethernet signal-to-noise ratio is also provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description already made is omitted for brevity. The terms "module," "unit," "subunit," and the like as used below may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 8 is a block diagram of a structure of an apparatus for adjusting an ethernet signal-to-noise ratio according to the embodiment, and as shown in fig. 8, the apparatus includes:
a first reading module 810, configured to read a second signal obtained after demodulation by a second carrier chip;
and an adjusting module 820, configured to adjust a driving parameter of the second ethernet chip according to the second signal.
Fig. 9 is a block diagram of a structure of an apparatus for adjusting an ethernet signal-to-noise ratio according to the embodiment, and as shown in fig. 9, the apparatus includes:
a second reading module 910, configured to read signal-to-noise ratio data of the first ethernet chip;
a sending module 920, configured to input the snr data to a first carrier chip for modulation;
a third reading module 930, configured to read bandwidth data of the first ethernet chip;
the setting module 940 is configured to set a modulation frequency of the first carrier chip according to the bandwidth data.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the above modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
There is also provided in this embodiment an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, reading a second signal obtained after demodulation of a second carrier chip;
and S2, adjusting the driving parameters of the second Ethernet chip according to the second signal.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
q1, reading the signal-to-noise ratio data of the first Ethernet chip;
q2, inputting the signal-to-noise ratio data to a first carrier chip for modulation;
q3, reading the bandwidth data of the first Ethernet chip;
and Q4, setting the modulation frequency of the first carrier chip according to the bandwidth data.
It should be noted that, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementations, and details are not described again in this embodiment.
In addition, in combination with the method for adjusting the signal-to-noise ratio of ethernet provided in the foregoing embodiment, a storage medium may also be provided in this embodiment. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, performs the steps of any one of the above-described embodiments of the method for adjusting an ethernet signal to noise ratio.
It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to be limiting. All other embodiments, which can be derived by a person skilled in the art from the examples provided herein without inventive step, shall fall within the scope of protection of the present application.
It is obvious that the drawings are only examples or embodiments of the present application, and it is obvious to those skilled in the art that the present application can be applied to other similar cases according to the drawings without creative efforts. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference throughout this application to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly or implicitly understood by one of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the patent protection. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (11)

1. A system for adjusting ethernet signal to noise ratio, the system comprising: a first device and a second device;
the first equipment comprises a first control unit, a first Ethernet chip, a first carrier chip and a first Ethernet transformer;
the first control unit is connected with the first Ethernet chip and the first carrier chip, the first Ethernet chip is connected with a first end of the first Ethernet transformer, and the first carrier chip is connected with a second end of the first Ethernet transformer;
the second device comprises a second control unit, a second Ethernet chip, a second carrier chip and a second Ethernet transformer;
the second control unit is connected with the second ethernet chip and the second carrier chip, the second ethernet chip is connected with a first end of the second ethernet transformer, and the second carrier chip is connected with a second end of the second ethernet transformer;
the first control unit reads the signal-to-noise ratio data of the first Ethernet chip and inputs the read signal-to-noise ratio data to the first carrier chip for modulation; the first carrier chip loads the modulated signal to a tap of the second end of the first Ethernet transformer;
the second carrier chip receives a first signal on a tap of a second end of the second Ethernet transformer and demodulates the first signal to obtain a second signal; and the second control unit adjusts the driving parameters of the second Ethernet chip according to the second signal.
2. The system for adjusting ethernet signal to noise ratio of claim 1, wherein said first device further comprises a first filter, and said second device further comprises a second filter;
a first end of the first filter is connected with the first carrier chip, and a second end of the first filter is connected with a second end of the first ethernet transformer;
and the first end of the second filter is connected with the second carrier chip, and the second end of the second filter is connected with the second end of the second Ethernet transformer.
3. The system for adjusting ethernet signal to noise ratio of claim 2, wherein said first device further comprises a first transformer, and said second device further comprises a second transformer;
a first end of the first filter is connected with the first carrier chip, a second end of the first filter is connected with a first end of the first transformer, and a second end of the first transformer is connected with a second end of the first ethernet transformer;
the first transformer is used for converting the differential signal output by the first filter into a common-mode signal and then loading the common-mode signal to a tap of a second end of the first Ethernet transformer;
a first end of the second filter is connected with the second carrier chip, a second end of the second filter is connected with a first end of the second transformer, and a second end of the second transformer is connected with a second end of the second ethernet transformer;
the second transformer is used for converting a common mode signal on a tap on the second end of the second Ethernet transformer into a differential signal, and then inputting the differential signal to the second filter.
4. The system for adjusting ethernet signal to noise ratio of claim 2, wherein said first carrier chip and said second carrier chip are wideband carrier communication carrier chips.
5. The system according to claim 2, wherein the first control unit is further configured to read bandwidth data of the first ethernet chip, the first carrier chip sets a modulation frequency of the first carrier chip according to the bandwidth data, and the second carrier chip sets a demodulation frequency of the second carrier chip according to the bandwidth data.
6. A method for adjusting ethernet signal to noise ratio, wherein the method is applied to the system for adjusting ethernet signal to noise ratio of any one of claims 1 to 5, the method comprising:
reading a second signal obtained after demodulation of a second carrier chip;
and adjusting the driving parameters of the second Ethernet chip according to the second signal.
7. The method according to claim 6, wherein the second signal includes snr data, and the adjusting the driving parameter of the second ethernet chip according to the second signal includes:
comparing the signal-to-noise ratio data with a preset value, and increasing the driving capability of a transmitting signal of the second Ethernet chip when the signal-to-noise ratio data is smaller than the preset value and is larger than the signal-to-noise ratio data of the last adjustment period;
and when the signal-to-noise ratio data is smaller than a preset value and the signal-to-noise ratio data is smaller than the signal-to-noise ratio data of the last adjustment period, setting the driving capacity of the transmitting signal of the second Ethernet chip to be the driving capacity of the last adjustment period.
8. The method of adjusting ethernet signal-to-noise ratio of claim 6 or 7, wherein the method further comprises:
receiving bandwidth data sent by a first control unit; the bandwidth data comprises an operating bandwidth of the first Ethernet chip;
and setting the demodulation frequency of the second carrier chip according to the bandwidth data.
9. A method for adjusting ethernet signal to noise ratio, wherein the method is applied to the system for adjusting ethernet signal to noise ratio of any one of claims 1 to 5, and the method comprises:
reading signal-to-noise ratio data of the first Ethernet chip;
inputting the signal-to-noise ratio data to a first carrier chip for modulation;
reading bandwidth data of the first Ethernet chip;
and setting the modulation frequency of the first carrier chip according to the bandwidth data.
10. An apparatus for adjusting ethernet signal to noise ratio, which is applied to the system for adjusting ethernet signal to noise ratio of any one of claims 1 to 5, the apparatus comprising:
the first reading module is used for reading a second signal obtained after demodulation of the second carrier chip;
and the adjusting module is used for adjusting the driving parameters of the second Ethernet chip according to the second signal.
11. An apparatus for adjusting ethernet signal to noise ratio, which is applied to the system for adjusting ethernet signal to noise ratio of any one of claims 1 to 5, the apparatus comprising:
the second reading module is used for reading the signal-to-noise ratio data of the first Ethernet chip;
the sending module is used for inputting the signal-to-noise ratio data to a first carrier chip for modulation;
a third reading module, configured to read bandwidth data of the first ethernet chip;
and the setting module is used for setting the modulation frequency of the first carrier chip according to the bandwidth data.
CN202210831729.8A 2022-07-15 2022-07-15 System, method and device for adjusting signal-to-noise ratio of Ethernet Active CN115412432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210831729.8A CN115412432B (en) 2022-07-15 2022-07-15 System, method and device for adjusting signal-to-noise ratio of Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210831729.8A CN115412432B (en) 2022-07-15 2022-07-15 System, method and device for adjusting signal-to-noise ratio of Ethernet

Publications (2)

Publication Number Publication Date
CN115412432A true CN115412432A (en) 2022-11-29
CN115412432B CN115412432B (en) 2023-08-22

Family

ID=84156801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210831729.8A Active CN115412432B (en) 2022-07-15 2022-07-15 System, method and device for adjusting signal-to-noise ratio of Ethernet

Country Status (1)

Country Link
CN (1) CN115412432B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101641923A (en) * 2006-08-09 2010-02-03 Lg电子株式会社 Method of estimating signal-to-noise ratio, method of adjusting feedback information transmission, adaptive modulation and coding method using the same, and transceiver thereof
EP2464177A1 (en) * 2010-12-10 2012-06-13 HTC Corporation Electronic apparatus and power adjustment method thereof
CA2812387A1 (en) * 2012-04-11 2013-10-11 Research In Motion Limited Radio receiver with reconfigurable baseband channel filter
CN104901787A (en) * 2014-03-07 2015-09-09 富士通株式会社 Signal transmission device and multi-carrier communication system
CN108702178A (en) * 2016-08-05 2018-10-23 华为技术有限公司 Adjust method, Network Management System, Cable Modem Terminal System and the cable modem of power
CN110336647A (en) * 2019-08-15 2019-10-15 深圳市烽云技术有限公司 A kind of wireless self-networking Adaptive Anti-jamming dispatching method and device
CN111614439A (en) * 2020-05-20 2020-09-01 北京邮电大学 Information transmission method, system and device and electronic equipment
CN114401062A (en) * 2021-12-31 2022-04-26 北京升哲科技有限公司 Signal-to-noise ratio adjusting method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101641923A (en) * 2006-08-09 2010-02-03 Lg电子株式会社 Method of estimating signal-to-noise ratio, method of adjusting feedback information transmission, adaptive modulation and coding method using the same, and transceiver thereof
EP2464177A1 (en) * 2010-12-10 2012-06-13 HTC Corporation Electronic apparatus and power adjustment method thereof
CA2812387A1 (en) * 2012-04-11 2013-10-11 Research In Motion Limited Radio receiver with reconfigurable baseband channel filter
CN104901787A (en) * 2014-03-07 2015-09-09 富士通株式会社 Signal transmission device and multi-carrier communication system
CN108702178A (en) * 2016-08-05 2018-10-23 华为技术有限公司 Adjust method, Network Management System, Cable Modem Terminal System and the cable modem of power
CN110336647A (en) * 2019-08-15 2019-10-15 深圳市烽云技术有限公司 A kind of wireless self-networking Adaptive Anti-jamming dispatching method and device
CN111614439A (en) * 2020-05-20 2020-09-01 北京邮电大学 Information transmission method, system and device and electronic equipment
CN114401062A (en) * 2021-12-31 2022-04-26 北京升哲科技有限公司 Signal-to-noise ratio adjusting method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115412432B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
US6931659B1 (en) Cable modem having a wireless communication function
JP3821424B2 (en) Dynamic communication channel switching for computer networks
US7240224B1 (en) Inline power based device communications
JP3530931B2 (en) Home network
JP4462840B2 (en) Wireless capability discovery and protocol negotiation methods and wireless devices including them
US5862141A (en) Variable bitrate radio modem system to enhance data transmission and reduce error rates
US7283481B2 (en) Auto detection of copper and fiber mode
JP6988005B2 (en) High-speed audio data transmission method and equipment
EP1357708A2 (en) Auto-selection of SGMII or serdes pass-through modes
WO2001022635A1 (en) Communication method and communication device
AU3673601A (en) Method to establish a home network in multiple physical layers
WO2009073961A1 (en) Data communication method for a set of hard real- time applications
WO2008085870A2 (en) Wireless link to transmit digital audio data between devices in a manner controlled dynamically to adapt to variable wireless error rates
US7804857B2 (en) Transceiver and communication method for digital multi-carrier communication
Lansford et al. The design and implementation of HomeRF: A radio frequency wireless networking standard for the connected home
WO2016153652A1 (en) Detecting playback buffer underrun at sink device to improve streaming media quality over bluetooth
US7177283B2 (en) Transmitting and receiving circuit and transmitting and receiving method
JP2001156685A (en) Power line communication system
CN115412432A (en) System, method and device for adjusting signal-to-noise ratio of Ethernet
JP2686392B2 (en) Modem
JP2003046540A (en) Radio communication system and radio communication method
JP2003264485A (en) Power-line carrier communication equipment, and power line communication system
JP2003264479A (en) Variable communication system
CN114710240B (en) Link self-adaption method under TDMA point-to-point scene and application
JP4060761B2 (en) Optical transmission device and electronic device including the same

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