CN114302000A - Method, device, equipment and storage medium for PHY negotiation degradation - Google Patents

Method, device, equipment and storage medium for PHY negotiation degradation Download PDF

Info

Publication number
CN114302000A
CN114302000A CN202111409248.XA CN202111409248A CN114302000A CN 114302000 A CN114302000 A CN 114302000A CN 202111409248 A CN202111409248 A CN 202111409248A CN 114302000 A CN114302000 A CN 114302000A
Authority
CN
China
Prior art keywords
negotiation
phy
capability
determining
negotiation capability
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
CN202111409248.XA
Other languages
Chinese (zh)
Other versions
CN114302000B (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.)
3onedata Co ltd
Original Assignee
3onedata 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 3onedata Co ltd filed Critical 3onedata Co ltd
Priority to CN202111409248.XA priority Critical patent/CN114302000B/en
Publication of CN114302000A publication Critical patent/CN114302000A/en
Application granted granted Critical
Publication of CN114302000B publication Critical patent/CN114302000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method, a device, equipment and a storage medium for PHY negotiation degradation, which are used for determining the connection state of a port of a PHY; when the connection is disconnected, negotiation needs to be carried out to change the communication mode, so that the PHY can finish the communication effect; when the connection state is disconnected, the upper limit of the transmission rate can be determined by determining the negotiation capability of the local terminal and the opposite terminal; determining the differential line state of the port; the differential line state of the port is also a main factor influencing the transmission rate, and the upper limit of the transmission rate can be determined; determining a transmission rate based on the negotiation capability and the differential line state; the PHY communicates based on the transmission rate; and finally, determining the transmission rate by combining the negotiation capability and the differential line state, and finally realizing rate reduction by configuring the self-negotiation declaration capability of the local terminal, thereby solving the technical problem that the conventional reduction method is easy to generate error reduction, and realizing the technical effect that the new automatic negotiation reduction method can effectively and accurately finish negotiation.

Description

Method, device, equipment and storage medium for PHY negotiation degradation
Technical Field
The invention belongs to the technical field of PHY (physical layer), and particularly relates to a method, a device, equipment and a storage medium for PHY negotiation degradation.
Background
Currently, 1000BAST-T needs to use 4 pairs of differential pairs for data transmission, while 10/100BAST-T needs only 2 pairs of differential pairs to complete. When two interconnected PHYs support gigabit rate and the result after auto-negotiation is gigabit, if the network cable connecting the two PHYs is a hundred-megabyte network cable, only two pairs of differential lines are connected, and at this time, the port cannot transmit.
Prior art when the PHY starts up, the PHY announces its own capabilities of 1000BASE-T, 100BASE-TX and 10BASE-T, and the peer advertises the same. If the connection cannot be established at the announced 1000BASE-T within a programmable number of connection attempts, auto-negotiation degradation will be triggered and the PHY will attempt to establish the connection with the second highest announcement capability (100 BASE-TX). If the inability to establish a connection according to the advertised 100BASE-TX within a programmable number of connection attempts would again trigger an auto-negotiation degradation, the PHY would attempt to establish a connection with the third highest advertised capability (10 BASE-T). If 10BASE-T fails to establish a connection within the programmable link attempt, the entire process begins anew.
Although the prior art solution may solve the problem that a 1000M port cannot transmit using a quad core, it introduces other problems: if two 1000BAST-T ports are connected with an 8-wire connection, the ports will establish connections at an undesirable rate if the ports trigger auto-negotiation degradation if the cable contact is poor for a short period of time or the user operates the ports several times in a short period of time. There is a problem that error degradation is liable to occur.
Disclosure of Invention
In order to overcome the above disadvantages of the prior art, an object of the present invention is to provide a PHY negotiation degradation method, which aims to solve the technical problem that error degradation is easy to occur in the existing degradation method.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a method of PHY negotiation degradation, comprising:
determining a connection state of a port of the PHY;
when the connection state is disconnected, determining the local terminal negotiation capability and the opposite terminal negotiation capability;
determining the differential line state of the port;
determining a transmission rate based on the negotiation capability and the differential line state;
the PHY communicates based on the transmission rate.
Further, the step of determining the differential line state of the port includes:
performing cable diagnosis on four pairs of differential lines of the port;
generating a maintaining state under the condition that the four pairs of differential lines are normal;
generating a degraded state under the condition that one or two pairs of disconnected differential lines exist in the four pairs of differential lines;
the maintain state and the fall state are differential line states.
Further, when the connection status is disconnected, the step of determining the home terminal negotiation capability and the peer terminal negotiation capability includes:
when the connection state is disconnected, acquiring the register information of the PHY;
and determining the local terminal negotiation capability and the opposite terminal negotiation capability according to the register information.
Further, the local terminal negotiation capability and the opposite terminal negotiation capability comprise non-negotiation capability, ten-megabyte negotiation capability, hundred-megabyte negotiation capability and giga negotiation capability; the step of determining the home terminal negotiation capability and the opposite terminal negotiation capability according to the register information comprises the following steps:
determining opposite terminal setting information according to the register information, wherein the negotiation capability corresponds to the opposite terminal setting information;
determining local terminal setting information according to the register information, wherein the local terminal negotiation capability corresponds to the local terminal setting information;
determining that no negotiation capability exists under the condition that no setting information exists;
and when the setting information is ten megabits, hundred megabits and gigabytes, determining that the corresponding home terminal negotiation capability and the opposite terminal negotiation capability are ten megabits negotiation capability, hundred megabits negotiation capability and gigabytes negotiation capability.
Further, the step of determining the transmission rate based on the negotiation capability and the differential line state includes:
when the negotiation capability is the gigabit negotiation capability and the differential line state is the maintenance state, determining the gigabit transmission rate;
and when the negotiation capability is ten-megabyte negotiation capability, hundred-megabyte negotiation capability or giga negotiation capability and the state of the differential line is in a degraded state or a maintained state, determining the negotiation capability or the transmission rate as ten-megabyte.
Further, the step of determining the transmission rate based on the negotiation capability and the differential line state includes:
and when the negotiation capability is the situation without negotiation capability, determining to keep the original rate.
Further, after the step of determining the connection status of the port of the PHY, the method further includes:
when the connection state is on, the connection state of the port of the PHY is continuously detected.
Correspondingly, a PHY negotiation degradation device is also disclosed, which includes:
a determining module, configured to determine a connection status of a port of the PHY;
the negotiation module is used for determining the local terminal negotiation capability and the opposite terminal negotiation capability under the condition that the connection state is disconnected;
the differential module is used for determining the differential line state of the port;
the rate module is used for determining the transmission rate based on the negotiation capability and the differential line state;
and the communication module is used for the PHY to communicate based on the transmission rate.
Correspondingly, a PHY negotiation degradation device is also disclosed, which includes a memory, a processor, and a PHY negotiation degradation program stored on the memory and operable on the processor, the PHY negotiation degradation program being configured to implement the steps of the method for PHY negotiation degradation as described above.
Correspondingly, a storage medium is also disclosed, on which a PHY negotiation degradation program is stored, which when executed by a processor implements the steps of the method for PHY negotiation degradation as described above.
Compared with the prior art, the invention has the beneficial effects that:
the PHY negotiation degradation method provided by the invention determines the connection state of the port of the PHY; only when the connection is disconnected, negotiation needs to be carried out to change the communication mode, so that the PHY can finish the communication effect; when the connection state is disconnected, determining the local terminal negotiation capability and the opposite terminal negotiation capability; the upper limit of the transmission rate can be determined by determining the local terminal negotiation capability and the opposite terminal negotiation capability; determining the differential line state of the port; the differential line state of the port is also a main factor influencing the transmission rate, for the gigabit rate, four pairs of differential lines are needed for data transmission, and only two pairs of differential lines are needed for ten or hundred megabytes, so that the upper limit of the transmission rate can be determined through the differential line state of the port; determining a transmission rate based on the negotiation capability and the differential line state; the PHY communicates based on the transmission rate; and finally, determining the transmission rate by combining the negotiation capability and the differential line state, and finally realizing rate reduction by configuring the self-negotiation declaration capability of the local terminal, so that the technical problem that the conventional reduction method is easy to generate error reduction is solved, and the technical effect that the new automatic negotiation reduction method can effectively and accurately finish negotiation is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a PHY negotiation degradation device in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for PHY negotiation degradation according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
So that the manner in which the above recited objects, features and advantages of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to the embodiments thereof which are illustrated in the appended drawings. It should be noted that the embodiments of the present invention and features of the embodiments may be combined with each other without conflict. In the following description, numerous specific details are set forth to provide a thorough understanding of the present invention, and the described embodiments are merely a subset of the embodiments of the present invention, rather than a complete embodiment. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Fig. 1 is a schematic structural diagram of a PHY negotiation degradation device of a hardware operating environment according to an embodiment of the present invention.
The PHY negotiation degradation device of the embodiment of the present invention may be a terminal device with a storage function.
As shown in fig. 1, the PHY negotiation degradation device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the PHY negotiation degradation apparatus shown in fig. 1 does not constitute a limitation of the terminal, and may include more or fewer components than those shown, or combine some components, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a PHY negotiation degrader therein.
In the PHY negotiation degradation device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 mainly includes an input unit such as a keyboard including a wireless keyboard and a wired keyboard, and is used to connect to the client and perform data communication with the client; and the processor 1001 may be configured to invoke the PHY negotiation degradation procedure stored in the memory 1005 and perform operations in the method for PHY negotiation degradation in any of the embodiments described below.
Based on the above hardware structure, the embodiment of the PHY negotiation degradation method of the present invention is provided.
Referring to fig. 2, an embodiment of the present invention provides a PHY negotiation degradation method, including:
step S100, determining the connection state of the port of the PHY;
further, after the step of determining the connection state of the port of the PHY in step S100, the method further includes:
in step S110, when the connection state is on, the connection state of the port of the PHY is continuously detected.
Specifically, phy (port Physical layer), which may be referred to as a port Physical layer, is a common abbreviation for an OSI model Physical layer; in this embodiment, connection states of ports of the PHY are mainly determined, where the connection states include disconnection and connection, and when the connection state is disconnection, it indicates that the ports and the opposite end are not connected and cannot communicate with each other, and at this time, processing such as negotiation degradation is required; when the connection state is on, it indicates that the connection between the port and the opposite end has been established for normal communication, so only the connection state needs to be continuously detected.
Step S200, determining the local terminal negotiation capability and the opposite terminal negotiation capability under the condition that the connection state is disconnected;
specifically, in this embodiment, the home terminal negotiation capability and the peer terminal negotiation capability are mainly determined when the connection state is disconnected; the local terminal negotiation capability and the opposite terminal negotiation capability are the transmission rate capabilities of the local terminal and the opposite terminal, and the local terminal negotiation capability and the opposite terminal negotiation capability can be one or more of ten megabytes, hundred megabytes or gigabytes, namely, the local terminal and the opposite terminal can realize the transmission capabilities of ten megabytes, hundred megabytes and gigabytes.
Step S300, determining the differential line state of the port;
specifically, in this embodiment, a differential line state of the port is determined, the differential line of the port is also a main factor that affects a transmission rate, for a gigabit rate, four pairs of differential lines are required for data transmission, and ten or hundred megabytes only require two pairs of differential lines, so that the differential line state in this embodiment is used to indicate that several pairs of differential lines of the current port are normally on; therefore, the upper limit of the transmission rate can be determined through the differential line state of the port; in the specific operation process, when the opposite end of the local end has ten-megabyte, hundred-megabyte and giga transmission capacities and only two pairs of differential lines are conducted, the degradation is triggered to be reduced from giga transmission to hundred-megabyte and ten-megabyte transmission; the method and the device achieve the purpose of reducing the price by acquiring the negotiation capability and the difference line state of the local terminal and the opposite terminal and realizing the price reduction by configuring the self-negotiation declaration capability of the local terminal, and compared with the effect that whether the connection is successful or not within the specified time in the prior art, the method and the device trigger the price reduction, and achieve the effect of accurately judging the price reduction opportunity and preventing misjudgment.
Step S400, determining the transmission rate based on the negotiation capability and the differential line state;
specifically, in this embodiment, the transmission rate is determined based on the negotiation capability and the differential line state; the negotiation capability is used for judging the transmission capability of the opposite terminal, such as one or more of ten megabits, hundred megabits and gigabytes, the state of the differential line is used for judging the transmission capability of the transmission cable, because the requirements of the differential line of the gigabytes, the hundred megabits and the ten megabits are different, four pairs of differential lines are needed for transmission when the gigabytes are transmitted, and only two pairs of differential lines are needed for transmission when the ten megabits or the hundred megabits are transmitted, so the transmission rate can be accurately determined only by combining two parameters of the negotiation capability and the state of the differential line, wherein the negotiation capability and the state of the differential line are independently obtained and determined through the two steps of S200 and S300, and the two are not necessarily linked with each other, therefore, when the opposite terminal equipment or the connection cable is sent and changed, only the negotiation capability and the state of the differential line are required to be re-obtained to determine the transmission rate, the technical problem that the existing degradation method is prone to error and degrade is solved, the technical effect of effectively and accurately completing negotiation according to the negotiation capability and the differential line state of the port is realized.
In step S500, the PHY performs communication based on the transmission rate.
Specifically, in this embodiment, the PHY communicates with the peer based on the transmission rate.
Further, in step S300, the step of determining the differential line state of the port includes:
step S310, cable diagnosis is carried out on four pairs of differential lines of the port;
step S320, generating a maintaining state under the condition that the four pairs of differential lines are normal;
step S330, generating a degraded state under the condition that one or two pairs of disconnected differential lines exist in the four pairs of differential lines;
in step S340, the maintaining state and the falling state are differential line states.
Specifically, in this embodiment, a specific generation process of the states of the differential lines is mainly disclosed, and the port of the gigabit PHY is provided with four pairs of differential lines as a default, so that cable diagnosis needs to be performed on the four pairs of differential lines to judge the state of each pair of differential lines, and since gigabit transmission needs four pairs of differential lines to be completed, ten-megabyte and hundred-megabyte transmission can be completed only by two pairs of differential lines; therefore, in the case where the four pairs of differential lines are normal, a maintenance state is generated, wherein the maintenance state is even a state of maintaining giga-transfer; when one or two pairs of the four pairs of differential lines are disconnected, ten-megabyte and hundred-megabyte transmission can be carried out only through the two pairs of differential lines, so that a degradation state is generated, and the default gigabit transmission is degraded into the ten-megabyte transmission or the hundred-megabyte transmission; the differential line state thus includes a maintenance state and a degraded state, respectively, to indicate that the PHY can maintain giga transfers or degrade to ten or hundred mega transfers over the transmission cable.
Further, in step S200, when the connection status is disconnected, the step of determining the home terminal negotiation capability and the peer terminal negotiation capability includes:
step S210, when the connection state is disconnected, the register information of the PHY is acquired;
step S220, according to the register information, the local terminal negotiation capability and the opposite terminal negotiation capability are determined.
Specifically, this embodiment mainly discloses a process of determining a home terminal negotiation capability and an opposite terminal negotiation capability, where the PHY home terminal auto-negotiation capability is automatically stored in a register, and the PHY home terminal auto-negotiation capability is automatically obtained and stored in a register, so that only the register information of the PHY needs to be obtained to determine the home terminal negotiation capability and the opposite terminal negotiation capability; more specifically, the register of the PHY for storing the peer negotiation capability is often fixed, for example, in the register 5 and the register 10, when the register information is read, the register information can be read in a targeted manner according to the storage rule of the current PHY, so that the technical effect of greatly increasing the speed of obtaining the peer negotiation capability is achieved.
Further, the local terminal negotiation capability and the opposite terminal negotiation capability comprise non-negotiation capability, ten-megabyte negotiation capability, hundred-megabyte negotiation capability and giga negotiation capability; step S220, determining the home terminal negotiation capability and the peer terminal negotiation capability according to the register information, includes:
step S221, determining setting information of a local terminal and an opposite terminal according to the register information, wherein the negotiation capability corresponds to the setting information;
step S222, determining that no negotiation capability exists under the condition of no setting information;
in step S223, when the setting information is ten megabits, hundred megabits, and gigabytes, the ten megabits negotiation capability, hundred megabits negotiation capability, and gigabytes negotiation capability are determined.
Specifically, the setting information in this embodiment is information indicating whether a corresponding bit in the register is set, and the home terminal negotiation capability and the peer terminal negotiation capability are determined by the setting information; the home terminal negotiation capability and the opposite terminal negotiation capability are both stored in corresponding bits in the register, when the corresponding bits are set, the opposite terminal is represented to comprise the corresponding negotiation capability, for example, when the bits corresponding to the gigabit negotiation capability in the register are set, the opposite terminal is represented to have the gigabit negotiation capability, otherwise, if the bits corresponding to the gigabit negotiation capability in the register are not set, the opposite terminal is represented not to have the gigabit negotiation capability; similarly, the bit judgment corresponding to the ten million and the hundred million is similar; . And finally, determining which negotiation capability the local terminal and the opposite terminal have according to the setting information of the memory information, and providing a basis for subsequently determining the transmission rate.
Further, in step S400, the step of determining the transmission rate based on the negotiation capability and the differential line state includes:
step S410, when the negotiation capability is gigabit negotiation capability and the differential line state is maintenance state, determining the transmission rate as gigabit;
step S420, when the negotiation capability is a ten megabyte negotiation capability, a hundred megabyte negotiation capability, or a giga negotiation capability, and the differential line state is a degraded state or a maintained state, the ten megabyte negotiation capability or the hundred megabyte transmission rate is determined.
Further, in step S400, the step of determining the transmission rate based on the negotiation capability and the differential line state includes:
step S430, determining to maintain the original rate when the negotiation capability is not the negotiation capability.
Specifically, in this embodiment, a transmission rate is determined based on a negotiation capability and a differential line state, where the transmission rate needs to satisfy both the negotiation capability and the differential line state, the negotiation capability is a communication capability of an opposite terminal, and the differential line state is a transmission capability of a line; therefore, the negotiation capability corresponding to the gigabit transmission rate is the gigabit negotiation capability, and the state of the corresponding differential line is the maintaining state, namely the condition that the four pairs of differential lines are all conducted; the negotiation capability corresponding to the ten-megabyte and hundred-megabyte transmission rates is ten-megabyte or hundred-megabyte negotiation capability, the corresponding differential line state is a degraded state or a maintained state, namely, the ten-megabyte or hundred-megabyte transmission rates can be realized only by connecting more than two pairs of differential lines; if the negotiation capability is the situation without negotiation capability, the connection line is not connected or the PHY port is not connected with the opposite terminal due to line faults and the like, and the situation that no connection is natural or no data transmission exists is shown, so the original rate is kept;
in summary, according to the present application, a port of a PHY detects a combination of a local negotiation capability and an opposite negotiation capability of a differential line state, and determines what transmission rate the PHY and the opposite can achieve by combining two parameters, and separately obtains the negotiation capability and the differential line state, so that even if the differential line state or the negotiation capability changes during a use process, transmission is not interrupted, and re-negotiation is performed according to a new differential line state or negotiation capability, and transmission rate is re-determined for transmission, thereby achieving an effect of effectively negotiating a reduction using the differential line state as an independent parameter of negotiation.
Correspondingly, a PHY negotiation degradation device is also disclosed, which includes:
a determining module, configured to determine a connection status of a port of the PHY;
the negotiation module is used for determining the negotiation capability of the opposite terminal under the condition that the connection state is disconnected;
the differential module is used for determining the differential line state of the port;
the rate module is used for determining the transmission rate based on the negotiation capability and the differential line state;
and the communication module is used for the PHY to communicate based on the transmission rate.
Correspondingly, a storage medium is also disclosed, on which a PHY negotiation degradation program is stored, which when executed by a processor implements the steps of the method for PHY negotiation degradation as described above.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for PHY negotiation degradation, comprising:
determining a connection state of a port of the PHY;
when the connection state is disconnected, determining the local terminal negotiation capability and the opposite terminal negotiation capability;
determining the differential line state of the port;
determining a transmission rate based on the negotiation capability and the differential line state;
the PHY communicates based on the transmission rate.
2. The method of claim 1, wherein the step of determining differential line states of the ports comprises:
performing cable diagnosis on the four pairs of differential lines of the port;
generating a maintaining state under the condition that the four pairs of differential lines are normal;
generating a degraded state when one or two pairs of the four pairs of differential lines are disconnected;
the maintain state and the fall state are the differential line states.
3. The PHY negotiation degradation method of claim 1, wherein the step of determining the home negotiation capability and the peer negotiation capability when the connection status is disconnected comprises:
when the connection state is disconnected, acquiring the register information of the PHY;
and determining the local terminal negotiation capability and the opposite terminal negotiation capability according to the register information.
4. The method of PHY negotiation degradation of claim 1, wherein the home negotiation capability and the peer negotiation capability comprise a no negotiation capability, a ten megabyte negotiation capability, a hundred megabyte negotiation capability, and a giga negotiation capability; the step of determining the home terminal negotiation capability and the opposite terminal negotiation capability according to the register information comprises the following steps:
determining opposite terminal setting information according to the register information, wherein the opposite terminal negotiation capability corresponds to the opposite terminal setting information;
determining local terminal setting information according to the register information, wherein the local terminal negotiation capability corresponds to the local terminal setting information;
determining that no negotiation capability exists under the condition that no setting information exists;
and when the setting information is ten megabits, hundred megabits and gigabytes, determining that the corresponding home terminal negotiation capability and the opposite terminal negotiation capability are ten megabits negotiation capability, hundred megabits negotiation capability and gigabytes negotiation capability.
5. The method of claim 4, wherein the step of determining the transmission rate based on the negotiation capability and the differential line state comprises:
when the negotiation capability is a gigabit negotiation capability and the differential line state is a maintenance state, determining the gigabit transmission rate;
and when the negotiation capability is ten-megabyte negotiation capability, hundred-megabyte negotiation capability or giga negotiation capability and the differential line state is a degraded state or a maintained state, determining the negotiation capability or the hundred-megabyte transmission rate.
6. The method of claim 4, wherein the step of determining the transmission rate based on the negotiation capability and the differential line state comprises:
and when the negotiation capability is the situation without negotiation capability, determining to maintain the original rate.
7. The method for PHY negotiation degradation of claim 1, wherein the step of determining the connection status of the port of the PHY is followed by further comprising:
and when the connection state is on, continuously detecting the connection state of the port of the PHY.
8. A PHY negotiation degradation apparatus, comprising:
a determining module, configured to determine a connection status of a port of the PHY;
a negotiation module, configured to determine a home terminal negotiation capability and an opposite terminal negotiation capability when the connection state is disconnected;
the differential module is used for determining the differential line state of the port;
a rate module for determining a transmission rate based on the negotiation capability and the differential line state;
and the communication module is used for the PHY to communicate based on the transmission rate.
9. A PHY negotiation degradation device comprising a memory, a processor, and a PHY negotiation degradation program stored on the memory and operable on the processor, the PHY negotiation degradation program configured to implement the steps of the method of PHY negotiation degradation of any of claims 1 to 7.
10. A storage medium having stored thereon a PHY negotiation degradation program, the PHY negotiation degradation program when executed by a processor implementing the steps of the method of PHY negotiation degradation according to any of claims 1 to 7.
CN202111409248.XA 2021-11-24 2021-11-24 PHY negotiation degradation method, device, equipment and storage medium Active CN114302000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111409248.XA CN114302000B (en) 2021-11-24 2021-11-24 PHY negotiation degradation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111409248.XA CN114302000B (en) 2021-11-24 2021-11-24 PHY negotiation degradation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114302000A true CN114302000A (en) 2022-04-08
CN114302000B CN114302000B (en) 2023-10-20

Family

ID=80966508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111409248.XA Active CN114302000B (en) 2021-11-24 2021-11-24 PHY negotiation degradation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114302000B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6687754B1 (en) * 1998-08-27 2004-02-03 Intel Corporation Method of detecting a device in a network
WO2006128370A1 (en) * 2005-05-30 2006-12-07 Huawei Technologies Co., Ltd. A method for banding the transmission line and the device thereof
CN1881979A (en) * 2005-05-31 2006-12-20 杭州华为三康技术有限公司 Ethernet physical layer low-speed transmission realizing method and its applied network apparatus
CN1946086A (en) * 2006-10-27 2007-04-11 杭州华为三康技术有限公司 Transmission method and device for supporting non-standard speed rate
US20070192505A1 (en) * 2006-02-13 2007-08-16 Teranetics, Inc. Auto-sequencing transmission speed of a data port
CN101197831A (en) * 2007-12-14 2008-06-11 中兴通讯股份有限公司 Self-negotiation method for implementing high speed communication equipment velocity
CN101267204A (en) * 2007-03-16 2008-09-17 阿尔特拉公司 Protocol-agnostic automatic rate negotiation for high-speed serial interface in a programmable logic device
CN101778025A (en) * 2005-08-25 2010-07-14 杭州华三通信技术有限公司 Ethernet transmission device and method suitable for transmission rate lower than 1 kilomega
WO2017100006A1 (en) * 2015-12-09 2017-06-15 Qualcomm Incorporated Capacitively coupling differential data lines of a usb2 physical layer interface transceiver (phy) to one or more components of a high speed module in response to a transition of the phy into high speed mode
CN108738079A (en) * 2017-04-18 2018-11-02 中国移动通信有限公司研究院 A kind of transmission rate machinery of consultation and device
CN109617853A (en) * 2018-10-10 2019-04-12 中域高科(武汉)信息技术有限公司 A kind of gigabit network interface auto-negotiation device and method based on FPGA
US20190280929A1 (en) * 2014-12-03 2019-09-12 Intel Corporation Technologies for autonegotiating 10g and 1g serial communications over copper cable
CN112653591A (en) * 2020-11-24 2021-04-13 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for balancing speed of line concentration cable

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6687754B1 (en) * 1998-08-27 2004-02-03 Intel Corporation Method of detecting a device in a network
WO2006128370A1 (en) * 2005-05-30 2006-12-07 Huawei Technologies Co., Ltd. A method for banding the transmission line and the device thereof
CN1881979A (en) * 2005-05-31 2006-12-20 杭州华为三康技术有限公司 Ethernet physical layer low-speed transmission realizing method and its applied network apparatus
CN101778025A (en) * 2005-08-25 2010-07-14 杭州华三通信技术有限公司 Ethernet transmission device and method suitable for transmission rate lower than 1 kilomega
US20070192505A1 (en) * 2006-02-13 2007-08-16 Teranetics, Inc. Auto-sequencing transmission speed of a data port
CN1946086A (en) * 2006-10-27 2007-04-11 杭州华为三康技术有限公司 Transmission method and device for supporting non-standard speed rate
CN101267204A (en) * 2007-03-16 2008-09-17 阿尔特拉公司 Protocol-agnostic automatic rate negotiation for high-speed serial interface in a programmable logic device
CN101197831A (en) * 2007-12-14 2008-06-11 中兴通讯股份有限公司 Self-negotiation method for implementing high speed communication equipment velocity
US20190280929A1 (en) * 2014-12-03 2019-09-12 Intel Corporation Technologies for autonegotiating 10g and 1g serial communications over copper cable
WO2017100006A1 (en) * 2015-12-09 2017-06-15 Qualcomm Incorporated Capacitively coupling differential data lines of a usb2 physical layer interface transceiver (phy) to one or more components of a high speed module in response to a transition of the phy into high speed mode
CN108738079A (en) * 2017-04-18 2018-11-02 中国移动通信有限公司研究院 A kind of transmission rate machinery of consultation and device
CN109617853A (en) * 2018-10-10 2019-04-12 中域高科(武汉)信息技术有限公司 A kind of gigabit network interface auto-negotiation device and method based on FPGA
CN112653591A (en) * 2020-11-24 2021-04-13 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for balancing speed of line concentration cable

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
何建超;: "以太网端口自协商技术分析", 光通信技术, no. 08 *
徐东;许向众;彭建朝;: "基于嵌入式FPGA的10M/100M以太网自动协商模块设计与实现", 微计算机信息, no. 10 *
陈松: "一种速率自适应技术的设计", 信息安全与通信保密 *

Also Published As

Publication number Publication date
CN114302000B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
US6516352B1 (en) Network interface system and method for dynamically switching between different physical layer devices
EP0766434B1 (en) A method and system for performing auto-negotiation for a group of interface devices
JP4370222B2 (en) Method for identifying bad lanes and exchanging the capacity of the width of two CSI agents connected through a link
US20030221026A1 (en) Automatic power saving facility for network devices
JP3745162B2 (en) Link control state machine
US20020133631A1 (en) Auto-negotiation method for high speed link in gigabit Ethernet using 1000 Base-T standard and apparatus thereof
US7639675B1 (en) Ethernet automatic media selection logic
US20050259685A1 (en) Dual speed interface between media access control unit and physical unit
US8670335B2 (en) Reduced power transmission
US20050270988A1 (en) Mechanism of dynamic upstream port selection in a PCI express switch
US20050165959A1 (en) Method and apparatus for performing wire speed auto-negotiation
US8009571B2 (en) Method and system for PHY loop detection
US20220292035A1 (en) Equalization Time Configuration Method, Chip, and Communications System
US20150326504A1 (en) Apparatus and method for encoding mdio into sgmii transmissions
US8295194B2 (en) Wired network connection establishing method and network device for performing the method
US7292596B1 (en) Method and apparatus for automatic crossover and parallel detect
US7668194B2 (en) Dual speed interface between media access control unit and physical unit
KR100487551B1 (en) Improved method of parallel detection for ethernet protocol
US10673701B2 (en) PHY ability auto-negotiation system
CN101958888A (en) Configuration method of port negotiation capacity, communication port and communication device
CN111343019A (en) Reconnection method, reconnection device and storage medium
CN114302000B (en) PHY negotiation degradation method, device, equipment and storage medium
US6917973B2 (en) Managing access to a network
CN115509333A (en) Server collaborative power-on and power-off device, method, system and medium
JP2002016664A (en) Loopback test method and device

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