CN114553695B - Chip configuration method and device - Google Patents

Chip configuration method and device Download PDF

Info

Publication number
CN114553695B
CN114553695B CN202210103547.9A CN202210103547A CN114553695B CN 114553695 B CN114553695 B CN 114553695B CN 202210103547 A CN202210103547 A CN 202210103547A CN 114553695 B CN114553695 B CN 114553695B
Authority
CN
China
Prior art keywords
optical module
configuration
interface
type information
phy chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210103547.9A
Other languages
Chinese (zh)
Other versions
CN114553695A (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.)
New H3C Technologies Co Ltd Hefei Branch
Original Assignee
New H3C Technologies Co Ltd Hefei Branch
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 New H3C Technologies Co Ltd Hefei Branch filed Critical New H3C Technologies Co Ltd Hefei Branch
Priority to CN202210103547.9A priority Critical patent/CN114553695B/en
Publication of CN114553695A publication Critical patent/CN114553695A/en
Application granted granted Critical
Publication of CN114553695B publication Critical patent/CN114553695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Abstract

The application provides a chip configuration method and device. The method is applied to a driving module in the routing equipment and comprises the following steps: when the PHY chip of any interface on the routing equipment needs to be initialized and configured, if the optical module of the interface is detected to be in an in-place state and no LOS alarm event occurs, judging whether a bus for accessing the optical module fails or not; if yes, polling the acquired pieces of configuration type information, and executing the following operations when one piece of configuration type information is polled: initializing and configuring the PHY chip according to configuration information corresponding to the configuration type information which is currently polled, and judging whether related state information meets preset conditions or not; if yes, determining that the currently polled configuration type information is matched with the optical module type of the optical module, and ending the flow; if not, deleting the configuration content of the PHY chip, and continuing to poll the next piece of configuration type information. The method and the device can improve the network communication quality.

Description

Chip configuration method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for configuring a chip.
Background
In the initialization process of any interface on the routing device, the driver module in the routing device generally needs to perform initialization configuration on the PHY chip of the interface according to configuration information corresponding to the type of the optical module of the interface.
Upon failure of a bus (e.g., inter-Integrated Circuit, I2C) bus, management data input/Output (MDIO) bus, etc.) for accessing the optical module, the driver module will not be able to obtain the optical module type of the optical module of the interface, and thus the PHY chip cannot be configured for initialization.
Currently, in this case, the driver module generally performs an initialization configuration on the PHY chip according to configuration information corresponding to a default optical module type. However, in this configuration manner, once the default optical module type is inconsistent with the optical module type actually used by the optical module, there is still a problem that the interface cannot be in an on (UP) state, so that traffic cannot be normally transmitted, and network communication quality is further affected.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a chip configuration method and a device.
According to a first aspect of embodiments of the present application, there is provided a chip configuration method, the method being applied to a driver module in a routing device, the method including:
when the PHY chip of any interface on the routing equipment needs to be initialized and configured, if the optical module of the interface is detected to be in an in-place state and a Loss of Signal (LOS) alarm event does not occur, judging whether a bus for accessing the optical module fails or not;
when the judgment result is yes, polling the acquired pieces of configuration type information, and executing the following operations when one piece of configuration type information is polled each time:
initializing and configuring the PHY chip according to configuration information corresponding to the configuration type information which is currently polled, and judging whether state information associated with the configuration type information which is currently polled meets preset conditions or not; when the judgment result is yes, determining that the currently polled configuration type information is matched with the optical module type of the optical module, and ending the flow; deleting the configuration content of the PHY chip when the judgment result is negative, and continuing to poll the next piece of configuration type information until the currently polled configuration type information is determined to be matched with the optical module type of the optical module;
wherein, when the plurality of pieces of configuration type information include a plurality of optical module types supported by the interface, the state information includes an interface state of the interface; when the plurality of configuration type information includes a plurality of configuration modes supported by the PHY chip, the state information includes link states of a plurality of high-speed serial deserializers (Serdes) links between the PHY chip and the optical module.
According to a second aspect of embodiments of the present application, there is provided a chip configuration apparatus, the apparatus being applied to a driving module in a routing device, the apparatus comprising:
the judging unit is used for judging whether a bus for accessing the optical module fails or not if the optical module of any interface is in an in-place state and no LOS alarm event occurs when the PHY chip of the interface on the routing equipment needs to be initialized and configured;
the first configuration unit is used for polling the acquired pieces of configuration type information when the judging result of the judging unit is yes, and executing the following operations when one piece of configuration type information is polled each time:
initializing and configuring the PHY chip according to configuration information corresponding to the configuration type information which is currently polled, and judging whether state information associated with the configuration type information which is currently polled meets preset conditions or not; when the judgment result is yes, determining that the currently polled configuration type information is matched with the optical module type of the optical module, and ending the flow; deleting the configuration content of the PHY chip when the judgment result is negative, and continuing to poll the next piece of configuration type information until the currently polled configuration type information is determined to be matched with the optical module type of the optical module;
wherein, when the plurality of pieces of configuration type information include a plurality of optical module types supported by the interface, the state information includes an interface state of the interface; when the plurality of configuration type information includes a plurality of configuration modes supported by the PHY chip, the state information includes link states of a plurality of Serdes links between the PHY chip and the optical module.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
in this embodiment of the present application, when a driver module in a routing device needs to perform initialization configuration on a PHY chip of any interface on the routing device, once it is detected that an optical module of the interface is in an in-place state and no LOS alarm event occurs, the driver module first determines whether a bus for accessing the optical module fails.
Then, under the condition that the judgment result is yes, the acquired pieces of configuration type information are polled, and when one piece of configuration type information is polled, the following operation is executed: initializing and configuring the PHY chip according to configuration information corresponding to the configuration type information which is currently polled, and judging whether state information associated with the configuration type information which is currently polled meets preset conditions or not; when the judgment result is yes, determining that the currently polled configuration type information is matched with the optical module type of the optical module, namely, the interface is in an UP state, and ending the flow; and deleting the configuration content of the PHY chip when the judgment result is negative, and continuing to poll the next piece of configuration type information until the currently polled configuration type information is determined to be matched with the optical module type of the optical module.
Here, when the plurality of pieces of configuration type information include a plurality of optical module types supported by the interface, the state information includes an interface state of the interface; when the plurality of pieces of configuration type information includes a plurality of configuration modes supported by the PHY chip, the state information includes link states of a plurality of Serdes links between the PHY chip and the optical module.
Therefore, through the configuration flow, the interface can be ensured to be in an UP state, so that the service flow can be normally transmitted, and the network communication quality is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flow chart of a chip configuration method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a chip configuration device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. The word "if" or "if" as used herein may be interpreted as "at … …" or "at … …", depending on the context.
Next, embodiments of the present application will be described in detail.
The embodiment of the application provides a chip configuration method, which is applied to a driving module in a routing device, as shown in fig. 1, and the method comprises the following steps:
s11, when the PHY chip of any interface on the routing equipment needs to be initialized and configured, if the optical module of the interface is detected to be in an in-place state and no LOS alarm event occurs, judging whether a bus for accessing the optical module fails or not; when the judgment result is yes, executing a step S12; if the determination result is negative, step S13 is executed.
S12, polling the acquired pieces of configuration type information, and executing the following operations when one piece of configuration type information is polled: initializing and configuring the PHY chip according to configuration information corresponding to the configuration type information which is currently polled, and judging whether state information associated with the configuration type information which is currently polled meets preset conditions or not; when the judgment result is yes, determining that the currently polled configuration type information is matched with the optical module type of the optical module, and ending the flow; and deleting the configuration content of the PHY chip when the judgment result is negative, and continuing to poll the next piece of configuration type information until the currently polled configuration type information is determined to be matched with the optical module type of the optical module.
In this step, when the plurality of pieces of configuration type information include a plurality of optical module types supported by the interface, the above-mentioned state information includes an interface state of the interface.
When the plurality of configuration type information includes a plurality of configuration modes supported by the PHY chip, the state information includes link states of a plurality of Serdes links between the PHY chip and the optical module.
S13, acquiring the type of the optical module and the corresponding configuration information of the optical module, and initializing and configuring the PHY chip according to the acquired configuration information.
Specifically, in this step S11, the above-described driving module may determine whether the bus for accessing the optical module has failed by:
accessing an optical module register of an optical module;
if the access result is that the access is successful, determining that the bus for accessing the optical module is not failed;
if the access result is that the access fails, determining that the bus for accessing the optical module fails.
It should be noted that, a specific access procedure of the driving module to access the optical module register of the optical module is a prior art, and will not be described in detail herein.
Specifically, in the step S12, the pieces of configuration type information may be acquired by the driving module when the PHY chip needs to be configured in an initializing manner; the driving module may be acquired when it is determined that the bus for accessing the optical module is faulty.
In addition, in the step S12, in a case where the state information includes an interface state of the interface, the driving module may determine whether the interface state of the interface is an UP state when determining whether the state information associated with the currently polled configuration type information satisfies a preset condition.
In the case that the state information includes link states of a plurality of Serdes links between the PHY chip and the optical module, the driving module may determine whether a total number of link states of the plurality of Serdes links, which are UP states, is identical to a total number of Serdes links corresponding to the currently polled configuration mode when determining whether the state information associated with the currently polled configuration type information satisfies a preset condition.
The above chip configuration method will be described in detail with reference to the following embodiments
Example 1
Assuming that the driver module 11 in a certain routing device (e.g., the routing device 1) in a certain network needs to perform initialization configuration on the PHY chip 121 of a certain interface (e.g., the interface 12) on the routing device 1, the driver module 11 accesses the optical module register of the optical module 122 when detecting that the optical module 122 of the interface 12 is in a bit state and no LOS alarm event occurs.
If the access result is that the access is successful, the driving module 11 determines that the optical module 122 has not failed, in which case, the driving module 11 performs the existing configuration procedure, that is, acquires the optical module type of the optical module 122 and the configuration information corresponding thereto, and performs the initialization configuration on the PHY chip 121 according to the acquired configuration information.
Here, the optical module type of the optical module 122 may be an optical module type packaged according to a protocol such as Small Form-factor pluggable transceiver (SFP), small Form-factor pluggable transceiver (Quad Small Form-factor Pluggable transceiver, QSFP), and C-Form-factor pluggable transceiver (C Form-factor Pluggable transceiver, CFP). For example, the optical module 122 has an optical module type of 100G BASE-LR4 or the like.
If the access result is that the access fails, the driving module 11 determines that the optical module 122 fails, in which case the driving module 11 starts to poll the acquired plurality of optical module types supported by the interface 12, and performs the following operations when one optical module type is polled: initializing and configuring the PHY chip according to configuration information corresponding to the type of the currently polled optical module, and judging whether the interface state of the interface 12 is an UP state or not; when the judgment result is yes, determining that the type of the optical module currently polled is matched with the type of the optical module 122, and ending the flow; and deleting the configuration content of the PHY chip when the judgment result is negative, and continuing to poll the next optical module type until the currently polled optical module type is determined to be matched with the optical module type of the optical module 122.
For example, assuming that the optical module type of the optical module 122 is 100G BASE-LR4, assuming that the interface 12 supports 3 optical module types, and assuming that when the driving module 11 polls the 2 nd optical module type, after initializing the PHY chip 121 according to the configuration information corresponding to the 2 nd optical module type, it is found that the 2 nd optical module type is consistent (i.e. matched) with the optical module type of the optical module 122, at this time, it is indicated that the interface 12 is in an UP state, and can normally transmit traffic, and the driving module 11 does not continuously poll the 3 rd optical module type any more.
Example two
Taking the routing device 1 in the first embodiment as an example, when the driver module 11 needs to perform the initialization configuration on the PHY chip 121 of the interface 12 on the routing device 1, it detects that the optical module 122 of the interface 12 is in a bit state and no LOS alarm event occurs, and at this time, the driver module 11 accesses the optical module register of the optical module 122.
If the access result is that the access is successful, the driving module 11 determines that the optical module 122 has not failed, in which case, the driving module 11 performs the existing configuration procedure, that is, acquires the optical module type of the optical module 122 and the configuration information corresponding thereto, and performs the initialization configuration on the PHY chip 121 according to the acquired configuration information.
Here, the optical module type of the optical module 122 may be the same as that mentioned in the above-described embodiment one.
If the access result is an access failure, the driving module 11 determines that the optical module 122 is malfunctioning, in which case the driving module 11 starts to poll the acquired plurality of configuration modes supported by the PHY chip 121, and performs the following operations each time one configuration mode is polled: initializing and configuring the PHY chip according to configuration information corresponding to the currently polled configuration mode, and judging whether the total number value of the link states of the plurality of Serdes links between the PHY chip 121 and the optical module 122, which is the UP state, is consistent with the total number value of the Serdes links corresponding to the currently polled configuration mode; when the judgment result is yes, determining that the currently polled configuration mode is matched with the optical module type of the optical module 122, and ending the flow; and if the judgment result is negative, deleting the configuration content of the PHY chip 121, and continuing to poll the next optical module type until the currently polled configuration mode is determined to be matched with the optical module type of the optical module 122.
For example, assuming that the configuration modes supported by the PHY chip include a CAUI-4 mode and a CAUI-10 mode, these configuration modes are both additional unit interface modes, and assuming that when the driver module 11 polls the CAUI-4 mode, after initializing the PHY chip 121 according to configuration information corresponding to the CAUI-4 mode, it is found that the total number of link states of the Serdes links between the PHY chip 121 and the optical module 122 is 4, and the total number of the Serdes links corresponding to the CAUI-4 mode is identical (i.e., 4), this indicates that the CAUI-4 mode matches with the optical module type (e.g., 100G BASE-LR 4) of the optical module 122, i.e., the interface 12 is in the UP state, and traffic can be normally transmitted without further polling.
As can be seen from the above technical solutions, in the embodiments of the present application, when a driver module in a routing device needs to perform initialization configuration on a PHY chip of any interface on the routing device, once an optical module of the interface is detected to be in an in-place state and no LOS alarm event occurs, the driver module will first determine whether a bus for accessing the optical module fails.
Then, under the condition that the judgment result is yes, the acquired pieces of configuration type information are polled, and when one piece of configuration type information is polled, the following operation is executed: initializing and configuring the PHY chip according to configuration information corresponding to the configuration type information which is currently polled, and judging whether state information associated with the configuration type information which is currently polled meets preset conditions or not; when the judgment result is yes, determining that the currently polled configuration type information is matched with the optical module type of the optical module, namely, the interface is in an UP state, and ending the flow; and deleting the configuration content of the PHY chip when the judgment result is negative, and continuing to poll the next piece of configuration type information until the currently polled configuration type information is determined to be matched with the optical module type of the optical module.
Here, when the plurality of pieces of configuration type information include a plurality of optical module types supported by the interface, the state information includes an interface state of the interface; when the plurality of pieces of configuration type information includes a plurality of configuration modes supported by the PHY chip, the state information includes link states of a plurality of Serdes links between the PHY chip and the optical module.
Therefore, through the configuration flow, the interface can be ensured to be in an UP state, so that the service flow can be normally transmitted, and the network communication quality is improved.
Based on the same inventive concept, the present application further provides a chip configuration device, where the device is applied to a driving module in a routing device, and a schematic structural diagram of the device is shown in fig. 2, and specifically includes:
a judging unit 21, configured to, when it is required to perform initialization configuration on a PHY chip of any interface on the routing device, judge whether a bus for accessing the optical module has a fault if it is detected that the optical module of the interface is in an in-place state and no LOS alarm event occurs;
a first configuration unit 22, configured to, when the determination result of the determination unit 21 is yes, poll the acquired pieces of configuration type information, and when one piece of configuration type information is polled, perform the following operations:
initializing and configuring the PHY chip according to configuration information corresponding to the configuration type information which is currently polled, and judging whether state information associated with the configuration type information which is currently polled meets preset conditions or not; when the judgment result is yes, determining that the currently polled configuration type information is matched with the optical module type of the optical module, and ending the flow; deleting the configuration content of the PHY chip when the judgment result is negative, and continuing to poll the next piece of configuration type information until the currently polled configuration type information is determined to be matched with the optical module type of the optical module;
wherein, when the plurality of pieces of configuration type information include a plurality of optical module types supported by the interface, the state information includes an interface state of the interface; when the plurality of configuration type information includes a plurality of configuration modes supported by the PHY chip, the state information includes link states of a plurality of Serdes links between the PHY chip and the optical module.
Preferably, the judging unit 21 is specifically configured to judge whether a bus for accessing the optical module is faulty by:
accessing an optical module register of the optical module;
if the access result is that the access is successful, determining that the bus for accessing the optical module is not failed;
and if the access result is that the access fails, determining that a bus for accessing the optical module fails.
Preferably, the apparatus further comprises:
a second configuration unit (not shown in fig. 2) configured to obtain the optical module type of the optical module and the configuration information corresponding to the optical module when the determination result of the determination unit 21 is no, and perform initialization configuration on the PHY chip according to the obtained configuration information.
Preferably, when the state information includes an interface state of the interface, the first configuration unit 22 is specifically configured to determine whether the interface state of the interface is an UP state.
Preferably, when the status information includes link statuses of a plurality of Serdes links between the PHY chip and the optical module, the first configuration unit 22 is specifically configured to determine whether a total number of the plurality of Serdes links whose link statuses are UP status matches a total number of Serdes links corresponding to a currently polled configuration mode.
As can be seen from the above technical solutions, in the embodiments of the present application, when a driver module in a routing device needs to perform initialization configuration on a PHY chip of any interface on the routing device, once an optical module of the interface is detected to be in an in-place state and no LOS alarm event occurs, the driver module will first determine whether a bus for accessing the optical module fails.
Then, under the condition that the judgment result is yes, the acquired pieces of configuration type information are polled, and when one piece of configuration type information is polled, the following operation is executed: initializing and configuring the PHY chip according to configuration information corresponding to the configuration type information which is currently polled, and judging whether state information associated with the configuration type information which is currently polled meets preset conditions or not; when the judgment result is yes, determining that the currently polled configuration type information is matched with the optical module type of the optical module, namely, the interface is in an UP state, and ending the flow; and deleting the configuration content of the PHY chip when the judgment result is negative, and continuing to poll the next piece of configuration type information until the currently polled configuration type information is determined to be matched with the optical module type of the optical module.
Here, when the plurality of pieces of configuration type information include a plurality of optical module types supported by the interface, the state information includes an interface state of the interface; when the plurality of pieces of configuration type information includes a plurality of configuration modes supported by the PHY chip, the state information includes link states of a plurality of Serdes links between the PHY chip and the optical module.
Therefore, through the configuration flow, the interface can be ensured to be in an UP state, so that the service flow can be normally transmitted, and the network communication quality is improved.
The foregoing description of the preferred embodiments of the present invention is not intended to limit the invention to the precise form disclosed, and any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A chip configuration method, wherein the method is applied to a driving module in a routing device, the method comprising:
when the physical layer PHY chip of any interface on the routing equipment needs to be initialized and configured, if the optical module of the interface is detected to be in an in-place state and no LOSs of signal (LOS) alarm event occurs, judging whether a bus for accessing the optical module fails or not;
when the judgment result is yes, polling the acquired pieces of configuration type information, and executing the following operations when one piece of configuration type information is polled each time:
initializing and configuring the PHY chip according to configuration information corresponding to the configuration type information which is currently polled, and judging whether state information associated with the configuration type information which is currently polled meets preset conditions or not; when the judgment result is yes, determining that the currently polled configuration type information is matched with the optical module type of the optical module, and ending the flow; deleting the configuration content of the PHY chip when the judgment result is negative, and continuing to poll the next piece of configuration type information until the currently polled configuration type information is determined to be matched with the optical module type of the optical module;
wherein, when the plurality of pieces of configuration type information include a plurality of optical module types supported by the interface, the state information includes an interface state of the interface; when the plurality of pieces of configuration type information include a plurality of configuration modes supported by the PHY chip, the state information includes link states of a plurality of high-speed serializer-deserializer Serdes links between the PHY chip and the optical module.
2. The method of claim 1, wherein determining whether a bus for accessing the optical module is malfunctioning is performed by:
accessing an optical module register of the optical module;
if the access result is that the access is successful, determining that the bus for accessing the optical module is not failed;
and if the access result is that the access fails, determining that a bus for accessing the optical module fails.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
after judging whether the bus for accessing the optical module fails, if not, acquiring the type of the optical module and the corresponding configuration information of the optical module, and carrying out initialization configuration on the PHY chip according to the acquired configuration information.
4. The method according to claim 1, wherein when the status information includes an interface status of the interface, determining whether status information associated with the currently polled configuration type information satisfies a preset condition, specifically includes:
and judging whether the interface state of the interface is an UP state or not.
5. The method according to claim 1, wherein when the status information includes link states of a plurality of Serdes links between the PHY chip and the optical module, determining whether status information associated with configuration type information currently polled satisfies a preset condition specifically includes:
and judging whether the total number value of the link states of the plurality of Serdes links, which are the UP states, is consistent with the total number value of the Serdes links corresponding to the currently polled configuration mode.
6. A chip configuration apparatus, the apparatus being applied to a driving module in a routing device, the apparatus comprising:
the judging unit is used for judging whether a bus for accessing the optical module fails or not if the optical module of any interface is in an in-place state and no LOSs of signal (LOS) alarm event occurs when the physical layer (PHY) chip of the interface on the routing equipment needs to be initialized and configured;
the first configuration unit is used for polling the acquired pieces of configuration type information when the judging result of the judging unit is yes, and executing the following operations when one piece of configuration type information is polled each time:
initializing and configuring the PHY chip according to configuration information corresponding to the configuration type information which is currently polled, and judging whether state information associated with the configuration type information which is currently polled meets preset conditions or not; when the judgment result is yes, determining that the currently polled configuration type information is matched with the optical module type of the optical module, and ending the flow; deleting the configuration content of the PHY chip when the judgment result is negative, and continuing to poll the next piece of configuration type information until the currently polled configuration type information is determined to be matched with the optical module type of the optical module;
wherein, when the plurality of pieces of configuration type information include a plurality of optical module types supported by the interface, the state information includes an interface state of the interface; when the plurality of pieces of configuration type information include a plurality of configuration modes supported by the PHY chip, the state information includes link states of a plurality of high-speed serializer-deserializer Serdes links between the PHY chip and the optical module.
7. The device according to claim 6, wherein the judging unit is configured to judge whether a bus for accessing the optical module is malfunctioning by:
accessing an optical module register of the optical module;
if the access result is that the access is successful, determining that the bus for accessing the optical module is not failed;
and if the access result is that the access fails, determining that a bus for accessing the optical module fails.
8. The apparatus according to claim 6 or 7, characterized in that the apparatus further comprises:
and the second configuration unit is used for acquiring the optical module type of the optical module and the corresponding configuration information thereof when the judging result of the judging unit is negative, and carrying out initialization configuration on the PHY chip according to the acquired configuration information.
9. The apparatus according to claim 6, wherein when the state information includes an interface state of the interface, the first configuration unit is specifically configured to determine whether the interface state of the interface is an UP state.
10. The apparatus of claim 6, wherein when the status information includes link states of a plurality of Serdes links between the PHY chip and the optical module, the first configuration unit is specifically configured to determine whether a total number of the link states of the plurality of Serdes links that are UP states matches a total number of Serdes links corresponding to a currently polled configuration mode.
CN202210103547.9A 2022-01-27 2022-01-27 Chip configuration method and device Active CN114553695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210103547.9A CN114553695B (en) 2022-01-27 2022-01-27 Chip configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210103547.9A CN114553695B (en) 2022-01-27 2022-01-27 Chip configuration method and device

Publications (2)

Publication Number Publication Date
CN114553695A CN114553695A (en) 2022-05-27
CN114553695B true CN114553695B (en) 2024-02-09

Family

ID=81673462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210103547.9A Active CN114553695B (en) 2022-01-27 2022-01-27 Chip configuration method and device

Country Status (1)

Country Link
CN (1) CN114553695B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527639A (en) * 2009-04-08 2009-09-09 中兴通讯股份有限公司 Optic electric interface automatic switching method and device thereof
CN103701723A (en) * 2013-12-19 2014-04-02 上海斐讯数据通信技术有限公司 Structure and method for being self-adapted to Ethernet gigabit optical module and electrical module for COMBO interface
CN106936653A (en) * 2015-12-30 2017-07-07 华为数字技术(苏州)有限公司 A kind of recognition methods of optical mode block type and device
CN107529100A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 EPON mode switching method and device, passive optical network equipment and system
CN111835569A (en) * 2020-07-17 2020-10-27 上海博达数据通信有限公司 Optical interface rate and mode self-adapting method, system and storage medium
CN113630187A (en) * 2021-07-25 2021-11-09 苏州浪潮智能科技有限公司 PHY initialization method, system, equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917226B (en) * 2010-08-23 2016-03-02 中兴通讯股份有限公司 A kind of method and optical line terminal carrying out fiber fault diagnosis in EPON

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527639A (en) * 2009-04-08 2009-09-09 中兴通讯股份有限公司 Optic electric interface automatic switching method and device thereof
WO2010115329A1 (en) * 2009-04-08 2010-10-14 中兴通讯股份有限公司 Photoelectric interface automatic switching method and device
CN103701723A (en) * 2013-12-19 2014-04-02 上海斐讯数据通信技术有限公司 Structure and method for being self-adapted to Ethernet gigabit optical module and electrical module for COMBO interface
CN106936653A (en) * 2015-12-30 2017-07-07 华为数字技术(苏州)有限公司 A kind of recognition methods of optical mode block type and device
CN107529100A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 EPON mode switching method and device, passive optical network equipment and system
CN111835569A (en) * 2020-07-17 2020-10-27 上海博达数据通信有限公司 Optical interface rate and mode self-adapting method, system and storage medium
CN113630187A (en) * 2021-07-25 2021-11-09 苏州浪潮智能科技有限公司 PHY initialization method, system, equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
40/100GbE technologies and related activities of IEEE standardization;Osamu Ishida;《2009 Conference on Optical Fiber Communication》;全文 *
一种新型的100G光接口协议转换器的设计与实现;周开雄;黄鑫;史朝翔;常建新;高猛;;光通信技术(第10期);全文 *

Also Published As

Publication number Publication date
CN114553695A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
EP2449417B1 (en) Method and arrangement handling pluggable modules and operating modes in a media converter system and pluggable module therefore
US8326988B2 (en) Systems and methods for data alignment
US5754552A (en) Automatic communication protocol detection system and method for network systems
EP3206361A1 (en) Controller area network (can) message filtering
EP0925666B1 (en) Method and system for identifying an error condition due to a faulty cable connection in an ethernet network
WO2020135331A1 (en) Method and apparatus for obtaining baud rate
US20050074027A1 (en) Apparatus and method for enabling intelligent Fibre-Channel connectivity over transport
EP3886339B1 (en) Optical communication apparatus, optical line terminal, and optical communication processing method
TWI535251B (en) Method and system for low-latency networking
US20050207360A1 (en) Configuring a transmission mode between devices
CN110912944B (en) CAN equipment safety test system and test method
TW201419773A (en) Read optical power link service for link health diagnostics
US9853723B2 (en) Optical network system
CN110601919A (en) Loopback detection method and system
KR20080041688A (en) Method for transmitting messages via redundant channels
CN114553695B (en) Chip configuration method and device
US7746949B2 (en) Communications apparatus, system and method of creating a sub-channel
US7839765B2 (en) Advertising port state changes in a network
KR20070068844A (en) Ethernet switch or router for unshielded twisted pair/optic combination network and method of frame processing therefor
US10148454B2 (en) 128 gigabit fibre channel speed negotiation
Cisco Troubleshooting the Cisco 10000 ESR
EP2775678B1 (en) Diagnostic port for inter-switch and node link testing in electrical, optical and remote loopback modes
EP1758306A1 (en) The method and the device for transmitting the control signal of the resilient packet ring media access control
CN112825501A (en) Signal degradation processing method, device and system
EP4068721B1 (en) Controller area network 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