CN117240355A - Optical module rate self-adaptive adjustment method, device, equipment and readable storage medium - Google Patents
Optical module rate self-adaptive adjustment method, device, equipment and readable storage medium Download PDFInfo
- Publication number
- CN117240355A CN117240355A CN202311509928.8A CN202311509928A CN117240355A CN 117240355 A CN117240355 A CN 117240355A CN 202311509928 A CN202311509928 A CN 202311509928A CN 117240355 A CN117240355 A CN 117240355A
- Authority
- CN
- China
- Prior art keywords
- optical module
- sgmii
- rate
- sfp
- sfp optical
- 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
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 370
- 238000000034 method Methods 0.000 title claims abstract description 68
- 239000013307 optical fiber Substances 0.000 claims abstract description 139
- 238000001514 detection method Methods 0.000 claims abstract description 51
- 238000004891 communication Methods 0.000 claims abstract description 36
- 230000003044 adaptive effect Effects 0.000 claims description 28
- 230000006978 adaptation Effects 0.000 claims description 6
- 239000000835 fiber Substances 0.000 claims description 6
- 239000000523 sample Substances 0.000 claims 1
- 238000004590 computer program Methods 0.000 description 14
- 238000003780 insertion Methods 0.000 description 11
- 230000037431 insertion Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 6
- 238000012795 verification Methods 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000004806 packaging method and process Methods 0.000 description 3
- 125000004122 cyclic group Chemical group 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Optical Communication System (AREA)
Abstract
The application discloses an optical module rate self-adaptive adjustment method, a device, equipment and a readable storage medium, which relate to the technical field of optical fiber communication and are applied to an SGMII SFP optical module; if a plugging detection signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected, checking whether the network connection state of the SGMII SFP optical module is in an on-line state; if yes, the working speed of the SGMII SFP optical module is kept to be a first speed; and if not, adjusting the working rate of the SGMII SFP optical module to be a second rate. The application solves the problem of poor adjustment convenience of the SGMII SFP optical module working rate in the prior art.
Description
Technical Field
The present application relates to the field of optical fiber communications technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for adaptively adjusting an optical module rate.
Background
The optical module is one of important devices in optical fiber communication, in the process of realizing optical fiber communication, the optical modules at two ends need to be transmitted symmetrically at the same speed, and an external switch needs to be externally hung with a network controller to realize normal communication between the optical module and the external switch, so that an SGMII SFP (Small Form-factor Pluggsable, small-sized hot-pluggable optical transceiver integrated module) optical module supporting an SGMII (Serial Gigabit Media IndependentInterface, high-speed serial independent interface) interface function needs to be used for adjusting the working speed.
At present, two modes of adjusting the working rate of the SGMII SFP optical module exist, one is that an external switch sets RS0 and RS1 registers by using an SFP8472 protocol to adjust the working rate of the SGMII SFP optical module, the SGMII SFP optical module sets different working rates by reading values in the RS0 and RS1 registers, and the other is that the external switch sets different working rates by using a slave address which is simulated by a controller in the SGMII SFP optical module, however, both modes of adjusting the working rate of the SGMII SFP optical module need firmware support of external switch equipment, and the working rate of the SGMII SFP optical module needs to be manually adjusted by means of manpower, so that the adjustment convenience of the working rate of the SGMII SFP optical module is poor.
Disclosure of Invention
The application mainly aims to provide a self-adaptive adjustment method and device for the optical module rate, electronic equipment and a readable storage medium, and aims to solve the technical problem that the adjustment convenience of the SGMII SFP optical module working rate in the prior art is poor.
In order to achieve the above objective, the present application provides an optical module rate adaptive adjustment method, which is applied to an SGMII SFP optical module, and the optical module rate adaptive adjustment method includes:
initializing the working rate of the SGMII SFP optical module to be a first rate;
if a plugging detection signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected, checking whether the network connection state of the SGMII SFP optical module is in an on-line state;
if yes, keeping the working rate of the SGMII SFP optical module to be the first rate;
and if not, adjusting the working rate of the SGMII SFP optical module to be a second rate.
Optionally, the SGMII SFP optical module includes a controller, an ethernet chip, and a laser driving and limiting amplifier, and the step of initializing the working rate of the SGMII SFP optical module to a first rate includes:
And configuring the working rate of the Ethernet chip to be the first rate based on the controller, and configuring the working rate of the laser driving and limiting amplifier to be the first rate so as to initialize the working rate of the SGMII SFP optical module to be the first rate.
Optionally, the step of checking whether the network connection state of the SGMII SFP optical module is in an on-line state if a socket detection signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected includes:
if a splicing detection signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected, acquiring a level state of the splicing detection signal and a level state of the optical fiber energy signal;
and if the level state of the plugging detection signal is a high level state and the level state of the optical fiber energy signal is a high level state, checking whether the network connection state of the SGMII SFP optical module is in an on-line state.
Optionally, the SGMII SFP optical module includes a controller, and the step of obtaining the level state of the splice detection signal and the level state of the optical fiber energy signal includes:
And acquiring the level state of the plugging detection signal and the level state of the optical fiber energy signal based on a communication bus of the controller.
Optionally, before the step of adjusting the working rate of the SGMII SFP optical module to the second rate, the optical module rate adaptive adjustment method further includes:
if the network connection state of the SGMII SFP optical module is verified to be not in the online state, adding one to the connection state judgment times;
checking whether the connection state judgment times are larger than a preset judgment times threshold value or not;
if yes, executing the step of adjusting the working rate of the SGMII SFP optical module to be a second rate;
and if not, returning to the step of executing the network connection state of the SGMII SFP optical module if the splicing detection signal between the SGMII SFP optical module and the external switch is detected and the optical fiber energy signal between the SGMII SFP optical module and the external optical fiber is detected, and checking whether the network connection state of the SGMII SFP optical module is in an on-line state.
Optionally, after the step of adjusting the working rate of the SGMII SFP optical module to the second rate, the optical module rate adaptive adjustment method further includes:
checking whether the network connection state of the SGMII SFP optical module is in an online state;
If yes, keeping the working rate of the SGMII SFP optical module to be the second rate;
if not, resetting the working rate of the SGMII SFP optical module to be the first rate.
Optionally, before the step of resetting the working rate of the SGMII SFP optical module to the first rate, the optical module rate adaptive adjustment method further includes:
if the network connection state of the SGMII SFP optical module is verified to be not in the on-line state, verifying whether the level state of the optical fiber energy signal is a low level state;
if yes, executing the step of resetting the working rate of the SGMII SFP optical module to the first rate;
if not, keeping the working rate of the SGMII SFP optical module to be the second rate.
The application also provides an optical module rate self-adaptive adjusting device which is applied to the SGMII SFP optical module and comprises:
the initialization module is used for initializing the working rate of the SGMII SFP optical module to be a first rate;
the checking module is used for checking whether the network connection state of the SGMII SFP optical module is in an on-line state or not if the plugging detection signal between the SGMII SFP optical module and an external switch is detected and the optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected;
The maintaining module is used for maintaining the working rate of the SGMII SFP optical module to be the first rate if the network connection state of the SGMII SFP optical module is checked to be in an on-line state;
and the adjusting module is used for adjusting the working rate of the SGMII SFP optical module to be a second rate if the network connection state of the SGMII SFP optical module is verified to be not in the on-line state.
The application also provides an electronic device, which is entity equipment, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the optical module rate adaptation method as described above.
The present application also provides a readable storage medium, which is a computer readable storage medium, and the computer readable storage medium stores a program for implementing the optical module rate adaptive adjustment method, where the program for implementing the optical module rate adaptive adjustment method is executed by a processor to implement the steps of the optical module rate adaptive adjustment method as described above.
The application also provides a computer program product comprising a computer program which when executed by a processor implements the steps of the optical module rate adaptation method as described above.
The application provides a self-adaptive adjustment method for the speed of an optical module, which comprises the steps of firstly initializing the working speed of an SGMII SFP optical module to be a first speed, then when an insertion detection signal between the SGMII SFP optical module and an external switch and an optical fiber energy signal between the SGMII SFP optical module and the external optical fiber are detected, indicating that the SGMII SFP optical module is inserted on a port of the external switch and the external optical fiber, determining whether the SGMII SFP optical module can realize optical fiber communication through the external switch and the external optical fiber under the first speed by checking whether the network connection state of the SGMII SFP optical module is in an on-line state, and if the network connection state of the SGMII SFP optical module is in the on-line state, determining that the working speed of the SGMII SFP optical module can realize optical fiber communication under the first speed through the external switch and the external optical fiber, and if the network connection state of the SGMII SFP optical module is not in the on-line state, determining that the working speed of the SGMIP optical module can not realize optical fiber communication under the first speed by the SGMII SFP optical module under the first speed, thereby realizing the automatic adjustment of the prior art.
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.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a fiber optic communication system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of an embodiment of a method for adaptive adjustment of optical module rate according to the present application;
fig. 3 is a schematic flow chart of a second embodiment of an adaptive adjustment method for optical module rate according to the present application;
fig. 4 is a schematic flow chart of a second embodiment of the adaptive adjustment method for optical module rate according to the present application;
fig. 5 is a schematic block diagram of an optical module rate adaptive adjustment device according to an embodiment of the present application;
fig. 6 is a schematic device structure diagram of a hardware operating environment related to an optical module rate adaptive adjustment device in an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Reference numerals illustrate:
Detailed Description
In order to make the above objects, features and advantages of the present application more comprehensible, the following description of the embodiments accompanied with the accompanying drawings will be given in detail. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Example 1
The optical module is one of important devices in optical fiber communication, and has many types, and from the packaging perspective, the optical module comprises SFP (Small Form-Factor Pluggsable, small Form Factor, small packaging Module), GBIC (Gigabit Interface Converter ), XFP (10 Gigabit Small Form, factor plug, 10G Small packaging Pluggable optical module), QSFP+ (Quad Small Form-Factor plug, four-channel Small Pluggable optical module), and from the speed perspective, the SFP speed can reach 4Gbps, the XFP speed can reach 10Gbps, and the QSFP+ speed can reach 40Gbps. The types of optical modules required in different networks are also different, so that in order to meet the requirements of various systems, the types of optical modules will be more and more, and the performance will be higher and higher.
In the process of realizing optical fiber communication, the optical modules at two ends need to be transmitted symmetrically at the same speed, and an external switch needs to be hung with a network controller to realize normal communication between the optical modules and the external switch, so that the SGMII SFP optical module supporting the SGMII interface function needs to be used for adjusting the working speed.
At present, two modes of adjusting the working rate of the SGMII SFP optical module exist, one is that an external switch sets RS0 and RS1 registers by using an SFP8472 protocol to adjust the working rate of the SGMII SFP optical module, the SGMII SFP optical module sets different working rates by reading values in the RS0 and RS1 registers, and the other is that the external switch sets different working rates by using a slave address which is simulated by a controller in the SGMII SFP optical module, however, both modes of adjusting the working rate of the SGMII SFP optical module need firmware support of external switch equipment, and the working rate of the SGMII SFP optical module needs to be manually adjusted by means of manpower, so that the adjustment convenience of the working rate of the SGMII SFP optical module is poor.
As an example, referring to fig. 1, fig. 1 is a schematic structural diagram of an optical fiber communication system provided in this example, where the optical fiber communication system includes an optical module 100, an external optical fiber 200, and an external switch 300, the optical module 100 includes an optical transmitting module 101, an optical receiving module 102, a laser driving and limiting amplifier 103, an MCU (Micro Control Unit ) controller 104, an ethernet MAC (Media Access Control, medium access control sublayer protocol) chip 105, and an SFP golden finger interface 106, the optical transmitting module 101 and the optical receiving module 102 are connected to the laser driving and limiting amplifier 103 through a high-speed signal line, the laser driving and limiting amplifier 103 is connected to the MCU controller 104 through an I2C (Inter-Integrated Circuit, integrated circuit) bus, the laser driving and limiting amplifier 103 is connected to the ethernet MAC chip 105 through a 1000BASE-X/100BASE-FX bus, the MCU controller 104 is connected to the ethernet MAC chip 105 and the SFP golden finger interface 106 through an I2C bus, the ethernet MAC chip 105 is connected to the SFP golden finger interface 106 through a high-speed signal line, and the SFP MAC chip 105 includes an SFP signal line state register 151 and an SFP signal register state register 151. The present example is not limited to the structure of the optical fiber communication system, and the optical module rate adaptive adjustment method mentioned below is not limited to the optical fiber communication system.
Based on this, the present application proposes an optical module rate adaptive adjustment method of the first embodiment, which is applied to an SGMII SFP optical module, please refer to fig. 2, and includes:
step S10, initializing the working rate of the SGMII SFP optical module to be a first rate;
it should be noted that, the first rate is a default operation rate of the SGMII SFP optical module, the first rate may be set to 1000M rate, and it is understood that, after initializing the operation rate of the SGMII SFP optical module to the first rate, the operation rate of the SGMII SFP optical module is configured to be the first rate.
Further, the SGMII SFP optical module includes a controller, an ethernet chip, and a laser driving and limiting amplifier, and the step of initializing the working rate of the SGMII SFP optical module to a first rate includes:
step S11, configuring the working rate of the ethernet chip to the first rate based on the controller, and configuring the working rate of the laser driver and the limiting amplifier to the first rate, so as to initialize the working rate of the SGMII SFP optical module to the first rate.
It should be noted that, when the operation rate of the ethernet chip is configured to be the first rate based on the controller, the mode selection register of the ethernet chip needs to be set to the SGMII MAC interface to the 1000BASE-X mode through the I2C bus, and when the operation rate of the laser driver and the limiting amplifier is configured to be the first rate, the laser driver and the limiting amplifier needs to be set to the required emission light power at the first rate through the I2C bus, for example, the laser driver and the limiting amplifier needs to be set to the required emission light power of-6 dbm at the 1000M rate.
Step S20, if a plugging detection signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected, checking whether a network connection state of the SGMII SFP optical module is in an on-line state;
it should be noted that, the insertion detection Signal refers to an SD (Signal Detect) Signal between the SGMII SFP optical module and an external optical fiber, where the insertion detection Signal is used to characterize whether the SGMII SFP optical module is inserted in the external switch, and the optical fiber energy Signal is used to characterize whether the SGMII SFP optical module is inserted in the external optical fiber, so that whether a Signal is generated on an SD Signal pin of a controller in the SGMII SFP optical module can be detected to Detect the insertion detection Signal, and a setting condition of an optical fiber energy Signal status register in an ethernet chip in the SGMII SFP optical module can be detected to Detect the optical fiber energy Signal.
As an example, the step of verifying whether the network connection state of the SGMII SFP optical module is in an on-line state includes: and based on the controller in the SGMII SFP optical module, detecting whether a LINK state register in an Ethernet chip connected with the controller is in an UP state through I2C bus polling so as to check whether the network connection state of the SGMII SFP optical module is in an online state.
Step S30, if yes, keeping the working rate of the SGMII SFP optical module to be the first rate;
it can be understood that if the network connection state of the SGMII SFP optical module is on-line, which indicates that the SGMII SFP optical module has been successfully plugged into the external switch and onto the external optical fiber, that is, the rate set by the SGMII SFP optical module matches the rate of the external switch and the rates of other optical modules connected to the external optical fiber, at this time, the SGMII SFP optical module can implement optical fiber communication through the external switch and the external optical fiber at the first rate.
And step S40, if not, adjusting the working rate of the SGMII SFP optical module to be a second rate.
It should be noted that, the second rate is smaller than the first rate, the first rate may be set to 1000M rate, and the second rate may be set to 100M rate.
It can be understood that if the network connection state of the SGMII SFP optical module is not in the on-line state, which indicates that the SGMII SFP optical module is not successfully plugged into the external switch or the external optical fiber, the SGMII SFP optical module cannot implement optical fiber communication through the external switch and the external optical fiber at the first rate.
The embodiment of the application provides a self-adaptive adjustment method for the speed of an optical module, which comprises the steps of firstly initializing the working speed of an SGMII SFP optical module to be a first speed, then when an insertion detection signal between the SGMII SFP optical module and an external switch and an optical fiber energy signal between the SGMII SFP optical module and the external optical fiber are detected, indicating that the SGMII SFP optical module is inserted on a port of the external switch and the external optical fiber, determining whether the network connection state of the SGMII SFP optical module is in an on-line state or not by checking whether the network connection state of the SGMII SFP optical module is in the on-line state or not, if the network connection state of the SGMII SFP optical module is in the on-line state, determining that the SGMII SFP optical module can realize optical fiber communication through the external switch and the external optical fiber at the first speed, and if the network connection state of the SGMII SFP optical module is in the on-line state, keeping the working speed of the SGMII SFP optical module to be the first speed, and if the network connection state of the SGMII SFP optical module is not in the on-line state, determining that the network connection state of the SGMII SFP optical module can realize optical fiber communication at the first speed, and automatically adjusting the working speed of the SGMIP optical module to be in the on-line state or not.
In one possible implementation manner, the step of checking whether the network connection state of the SGMII SFP optical module is in an on-line state if a socket detection signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected includes:
step S21, if a plugging detection signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected, acquiring a level state of the plugging detection signal and a level state of the optical fiber energy signal;
it should be noted that, the level state of the splicing detection signal is used to indicate whether the external switch can normally send signals to the SGMII SFP optical module, and the level state of the fiber energy signal is used to indicate whether the external fiber can normally send signals to the SGMII SFP optical module.
Further, the SGMII SFP optical module includes a controller, and the step of obtaining the level state of the splice detection signal and the level state of the optical fiber energy signal includes:
step S211, acquiring a level state of the plugging detection signal and a level state of the optical fiber energy signal based on a communication bus of the controller.
It should be noted that the communication bus may be an I2C bus.
As an example, the step of obtaining the level state of the plugging detection signal and the level state of the optical fiber energy signal based on the communication bus of the controller may be obtaining the level state of the plugging detection signal and the level state of the optical fiber energy signal in real time based on the communication bus of the controller, or may be periodically obtaining the level state of the plugging detection signal and the level state of the optical fiber energy signal based on the communication bus of the controller, which is not limited in this example.
Step S22, if the level state of the insertion detection signal is a high level state and the level state of the optical fiber energy signal is a high level state, checking whether the network connection state of the SGMII SFP optical module is in an on-line state.
It should be noted that, when the level state of the insertion detection signal is a high level state, the SGMII SFP optical module is inserted into a port of an external switch at this time, and the external switch may normally send a signal to the SGMII SFP optical module, and when the level state of the insertion detection signal is a low level state, the SGMII SFP optical module is inserted into a port of the external switch at this time, but the external switch cannot normally send a signal to the SGMII SFP optical module; when the level state of the optical fiber energy signal is in a high level state, an external optical fiber is spliced on the laser of the SGMII SFP optical module, the external optical fiber can normally send signals to the SGMII SFP optical module, and when the level state of the optical fiber energy signal is in a low level state. At this time, no external optical fiber is spliced on the laser of the SGMII SFP optical module or the spliced external optical fiber cannot normally send signals to the SGMII SFP optical module.
In this embodiment, whether the external switch can normally send signals to the SGMII SFP optical module and whether the external optical fiber can normally send signals to the SGMII SFP optical module are determined by acquiring the level state of the insertion detection signal and the level state of the optical fiber energy signal, if the level state of the insertion detection signal is a high level state and the level state of the optical fiber energy signal is a high level state, it is indicated that the SGMII SFP optical module is inserted into a port of the external switch and the external optical fiber, and the external switch and the external optical fiber can normally send signals to the SGMII SFP optical module, at this time, it is only required to normally check whether the network connection state of the SGMII SFP optical module is in an up state, thereby assisting the SGMII SFP optical module to implement a process of automatically adjusting the working rate by determining the level states of the insertion detection signal and the optical fiber energy signal, so as to improve the convenience of adjusting the working rate of the SGMII SFP optical module while ensuring the compatibility between the SGMII SFP optical module and the external switch and the external optical fiber.
In a possible implementation manner, before the step of adjusting the working rate of the SGMII SFP optical module to the second rate, the optical module rate adaptive adjustment method further includes:
Step S41, if the network connection state of the SGMII SFP optical module is verified to be not in the on-line state, adding one to the connection state judgment times;
it should be noted that, the connection state judgment times refer to times of continuously judging that the network connection state of the SGMII SFP optical module is not in the on-line state, and if a result of judging that the network connection state of the SGMII SFP optical module is in the on-line state occurs in the process of cyclic verification, the connection state judgment times need to be cleared.
Step S42, checking whether the connection state judgment times are larger than a preset judgment times threshold value;
it should be noted that, the person skilled in the art may set the preset number of times threshold according to the actual requirement, if the preset number of times threshold is set to be more than 10, the operation efficiency of the method flow will be affected, so that the preset number of times threshold is set to be any number from 0 to 10 preferentially.
Step S43, if yes, executing the step of adjusting the working rate of the SGMII SFP optical module to be a second rate;
step S44, if not, returning to the step of executing the network connection state of the SGMII SFP optical module if the socket detection signal between the SGMII SFP optical module and the external switch is detected and the optical fiber energy signal between the SGMII SFP optical module and the external optical fiber is detected, and checking whether the network connection state of the SGMII SFP optical module is in the on-line state.
In this embodiment, if it is verified that the network connection state of the SGMII SFP optical module is not in the on-line state, the connection state judgment number for characterizing the number of times for continuously judging that the network connection state of the SGMII SFP optical module is not in the on-line state is increased by one, and it is verified whether the connection state judgment number is greater than a preset judgment number threshold, if the connection state judgment number is greater than the preset judgment number threshold, the step of adjusting the working rate of the SGMII SFP optical module to be the second rate is performed, and if the connection state judgment number is not greater than the preset judgment number threshold, a cyclic verification process is required, so that the verification accuracy of the network connection state of the SGMII SFP optical module is ensured by obtaining a plurality of continuous identical verification results.
Example two
In another embodiment of the present application, the same or similar content as that of the first embodiment may be referred to the description above, and will not be repeated. On this basis, referring to fig. 3, after the step of adjusting the working rate of the SGMII SFP optical module to the second rate, the method for adaptively adjusting the optical module rate further includes:
Step A10, checking whether the network connection state of the SGMII SFP optical module is in an online state;
as an example, the step of verifying whether the network connection state of the SGMII SFP optical module is in an on-line state includes: and detecting the register state of Link in an Ethernet chip connected with the controller through I2C bus polling based on the controller in the SGMII SFP optical module so as to check whether the network connection state of the SGMII SFP optical module is in an on-line state.
Step A20, if yes, keeping the working rate of the SGMII SFP optical module to be the second rate;
it can be understood that if the network connection state of the SGMII SFP optical module is on-line, which indicates that the SGMII SFP optical module has been successfully plugged into the external switch and onto the external optical fiber, that is, the rate set by the SGMII SFP optical module matches the rate of the external switch and the rates of other optical modules connected to the external optical fiber, at this time, the SGMII SFP optical module can implement optical fiber communication through the external switch and the external optical fiber at the second rate.
And step A30, if not, resetting the working rate of the SGMII SFP optical module to be the first rate.
It can be understood that if the network connection state of the SGMII SFP optical module is not in the on-line state, which indicates that the SGMII SFP optical module is not successfully plugged into the external switch or the external optical fiber, the SGMII SFP optical module cannot implement optical fiber communication through the external switch and the external optical fiber at the second rate.
In this embodiment, after the working rate of the SGMII SFP optical module is adjusted to the second rate, it is also required to determine whether the SGMII SFP optical module can implement optical fiber communication through the external switch and the external optical fiber by checking whether the network connection state of the SGMII SFP optical module is in the on-line state, if the network connection state of the SGMII SFP optical module is in the on-line state, it is determined that the SGMII SFP optical module can implement optical fiber communication through the external switch and the external optical fiber at the second rate, the working rate of the SGMII SFP optical module is kept to be the second rate, if the network connection state of the SGMII SFP optical module is not in the on-line state, it is determined that the SGMII SFP optical module cannot implement optical fiber communication through the external switch and the external optical fiber at the second rate, and if the network connection state of the SGMII SFP optical module is in the on-line state, thereby the working rate of the SGMII SFP optical module is reset to be the first rate, and the SGMII SFP self-adaptive rate of the sgmip optical module is improved while the process of automatically adjusting the working rate of the SGMII SFP optical module is implemented.
In a possible implementation manner, before the step of resetting the working rate of the SGMII SFP optical module to the first rate, the optical module rate adaptive adjustment method further includes:
step A31, if the network connection state of the SGMII SFP optical module is not in the on-line state, checking whether the level state of the optical fiber energy signal is a low level state;
step A32, if yes, executing the step of resetting the working rate of the SGMII SFP optical module to the first rate;
it can be understood that when the level state of the optical fiber energy signal is a low level state, it indicates that the external optical fiber has been removed from the SGMII SFP optical module or that the spliced external optical fiber cannot normally transmit signals to the SGMII SFP optical module, and at this time, the operating rate of the SGMII SFP optical module is reset to 1000M so as to readjust the operating rate of the SGMII SFP optical module.
And step A33, if not, keeping the working rate of the SGMII SFP optical module to be the second rate.
It is understood that when the level state of the fiber optic energy signal is not a low level state. The method includes that a laser of the SGMII SFP optical module is spliced on an external optical fiber, the external optical fiber can normally send signals to the SGMII SFP optical module, but an external switch or other optical modules at the far end connected with the external optical fiber support neither a first rate nor a second rate, and when the working rate of the SGMII SFP optical module is fixed to be the second rate.
In this embodiment, when the network connection state of the SGMII SFP optical module is not in the on-line state, it needs to check whether the level state of the optical fiber energy signal is in a low level state, if it is checked that the level state of the optical fiber energy signal is in a low level state, the working rate of the SGMII SFP optical module is reset to be the first rate, so as to readjust the working rate of the SGMII SFP optical module, if it is checked that the level state of the optical fiber energy signal is not in a low level state, it is indicated that the laser of the SGMII SFP optical module has been plugged onto an external optical fiber, and the external optical fiber can normally transmit signals to the SGMII SFP optical module, but the external switch or a remote other optical module connected to the external optical fiber does not support the first rate or the second rate, at this time, the working rate of the SGMII SFP optical module is fixed to be the second rate, thereby improving the flexibility of SGMII SFP optical module rate adjustment while realizing the process of automatically adjusting the working rate of the SGMII SFP optical module.
For example, to facilitate understanding of the technical concept or technical principle of the present application, please refer to fig. 4, fig. 4 provides a schematic flowchart of optical module rate adaptive adjustment, which specifically includes the following steps:
1. Initializing and configuring the optical module into a 1000M rate mode (the first rate), and continuously polling and detecting the signal state of the optical module by the MCU controller after entering a main program;
2. if the SD signal (the splicing detection signal) and the FESS optical fiber energy signal are detected at the same time, the detection of the network connection LINK state is continued;
3. if the network connection LINK state is UP (the above-mentioned on-line state), the optical module works at 1000M rate at this time;
4. if the network connection LINK state is not UP for more than 5 times, setting the optical module to be in a 100M rate mode (the second rate);
5. repeating the network connection LINK state and 5 times of timeout detection steps, if the network connection LINK state is UP, the optical module works at 100M rate at this time, if the network connection LINK state is not UP, the level state of the FESS optical fiber energy signal is detected, if no signal (the optical fiber energy signal is in a low level state), the optical module is set to 1000M rate mode, continuously enters the main program, repeats the detection steps, and if the signal (the optical fiber energy signal is in a high level state), the optical module operates in 100M rate mode.
It should be noted that the foregoing examples are only for understanding the present application, and do not limit the method for adaptive adjustment of the optical module rate of the present application, and more forms of simple transformation based on the technical concept are all within the scope of the present application.
Example III
The embodiment of the invention also provides an optical module rate self-adaptive adjustment device, which is applied to an SGMII SFP optical module, referring to FIG. 5, and comprises:
an initialization module 10, configured to initialize the working rate of the SGMII SFP optical module to a first rate;
a checking module 20, configured to check whether a network connection state of the SGMII SFP optical module is in an on-line state if a socket detection signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected;
a maintaining module 30, configured to maintain the working rate of the SGMII SFP optical module at the first rate if it is verified that the network connection state of the SGMII SFP optical module is in an online state;
and the adjusting module 40 is configured to adjust the working rate of the SGMII SFP optical module to the second rate if it is verified that the network connection state of the SGMII SFP optical module is not in the on-line state.
Optionally, the SGMII SFP optical module includes a controller, an ethernet chip, and a laser driving and limiting amplifier, and the initialization module 10 is further configured to:
And configuring the working rate of the Ethernet chip to be the first rate based on the controller, and configuring the working rate of the laser driving and limiting amplifier to be the first rate so as to initialize the working rate of the SGMII SFP optical module to be the first rate.
Optionally, the verification module 20 is further configured to:
if a splicing detection signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected, acquiring a level state of the splicing detection signal and a level state of the optical fiber energy signal;
and if the level state of the plugging detection signal is a high level state and the level state of the optical fiber energy signal is a high level state, checking whether the network connection state of the SGMII SFP optical module is in an on-line state.
Optionally, the verification module 20 is further configured to:
and acquiring the level state of the plugging detection signal and the level state of the optical fiber energy signal based on a communication bus of the controller.
Optionally, the optical module rate adaptive adjustment device further includes:
if the network connection state of the SGMII SFP optical module is verified to be not in the online state, adding one to the connection state judgment times;
Checking whether the connection state judgment times are larger than a preset judgment times threshold value or not;
if yes, executing the step of adjusting the working rate of the SGMII SFP optical module to be a second rate;
and if not, returning to the step of executing the network connection state of the SGMII SFP optical module if the splicing detection signal between the SGMII SFP optical module and the external switch is detected and the optical fiber energy signal between the SGMII SFP optical module and the external optical fiber is detected, and checking whether the network connection state of the SGMII SFP optical module is in an on-line state.
Optionally, the optical module rate adaptive adjustment device further includes:
checking whether the network connection state of the SGMII SFP optical module is in an online state;
if yes, keeping the working rate of the SGMII SFP optical module to be the second rate;
if not, resetting the working rate of the SGMII SFP optical module to be the first rate.
Optionally, the optical module rate adaptive adjustment device further includes:
if the network connection state of the SGMII SFP optical module is verified to be not in the on-line state, verifying whether the level state of the optical fiber energy signal is a low level state;
if yes, executing the step of resetting the working rate of the SGMII SFP optical module to the first rate;
If not, keeping the working rate of the SGMII SFP optical module to be the second rate.
The self-adaptive adjusting device for the optical module rate can solve the technical problem of poor adjusting convenience of the SGMII SFP optical module working rate in the prior art by adopting the self-adaptive adjusting method for the optical module rate in the first embodiment or the second embodiment. Compared with the prior art, the beneficial effects of the optical module rate self-adaptive adjustment device provided by the embodiment of the invention are the same as those of the optical module rate self-adaptive adjustment method provided by the embodiment, and other technical features of the optical module rate self-adaptive adjustment device are the same as those disclosed by the method of the previous embodiment, and are not repeated herein.
Example IV
The embodiment of the invention provides electronic equipment, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the optical module rate adaptive adjustment method of the first embodiment.
Referring now to fig. 6, a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistant: personal digital assistants), PADs (Portable Application Description: tablet computers), PMPs (Portable Media Player: portable multimedia players), vehicle terminals (e.g., car navigation terminals), and the like, as well as stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 6 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 6, the electronic apparatus may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.) that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access Memory (RAM: random Access Memory) 1004. In the RAM1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1001, the ROM1002, and the RAM1004 are connected to each other by a bus 1005. An input/output (I/O) interface 1006 is also connected to the bus. In general, the following systems may be connected to the I/O interface 1006: input devices 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, and the like; an output device 1008 including, for example, a liquid crystal display (LCD: liquid Crystal Display), a speaker, a vibrator, and the like; storage device 1003 including, for example, a magnetic tape, a hard disk, and the like; and communication means 1009. The communication means 1009 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While electronic devices having various systems are shown in the figures, it should be understood that not all of the illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. The above-described functions defined in the method of the embodiment of the present disclosure are performed when the computer program is executed by the processing device 1001.
The electronic equipment provided by the invention adopts the self-adaptive adjustment method for the optical module rate in the embodiment, and can solve the technical problem of poor adjustment convenience for the SGMII SFP optical module working rate in the prior art. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the invention are the same as those of the optical module rate self-adaptive adjustment method provided by the embodiment, and other technical features in the electronic device are the same as those disclosed by the method of the previous embodiment, and are not described in detail herein.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the description of the above embodiments, particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Example five
An embodiment of the present invention provides a computer readable storage medium having computer readable program instructions stored thereon, where the computer readable program instructions are configured to execute the optical module rate adaptive adjustment method in the first embodiment.
The computer readable storage medium according to the embodiments of the present invention may be, for example, a usb disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access Memory (RAM: random Access Memory), a Read-Only Memory (ROM: read Only Memory), an erasable programmable Read-Only Memory (EPROM: erasable Programmable Read Only Memory or flash Memory), an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this embodiment, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wire, fiber optic cable, RF (Radio Frequency), and the like, or any suitable combination of the foregoing.
The above-described computer-readable storage medium may be contained in an electronic device; or may exist alone without being assembled into an electronic device.
The computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to: initializing the working rate of the SGMII SFP optical module to be a first rate; if a plugging detection signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected, checking whether the network connection state of the SGMII SFP optical module is in an on-line state; if yes, keeping the working rate of the SGMII SFP optical module to be the first rate; and if not, adjusting the working rate of the SGMII SFP optical module to be a second rate.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN: local Area Network) or a wide area network (WAN: wide Area Network), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. Wherein the name of the module does not constitute a limitation of the unit itself in some cases.
The readable storage medium provided by the application is a computer readable storage medium, and the computer readable storage medium stores computer readable program instructions for executing the optical module rate self-adaptive adjustment method, so that the technical problem of poor adjustment convenience of the SGMII SFP optical module working rate in the prior art can be solved. Compared with the prior art, the beneficial effects of the computer readable storage medium provided by the embodiment of the present application are the same as those of the optical module rate adaptive adjustment method provided by the first embodiment or the second embodiment, and are not described in detail herein.
Example six
The embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program realizes the steps of the optical module rate self-adaptive adjustment method when being executed by a processor.
The computer program product provided by the application can solve the technical problem of poor adjustment convenience of the SGMII SFP optical module working rate in the prior art. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present application are the same as the beneficial effects of the optical module rate adaptive adjustment method provided by the first embodiment or the second embodiment, and are not described in detail herein.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein, or any application, directly or indirectly, within the scope of the application.
Claims (10)
1. The adaptive adjustment method for the optical module rate is characterized by being applied to an SGMII SFP optical module, and comprises the following steps:
initializing the working rate of the SGMII SFP optical module to be a first rate;
if a plugging detection signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected, checking whether the network connection state of the SGMII SFP optical module is in an on-line state;
if yes, keeping the working rate of the SGMII SFP optical module to be the first rate;
and if not, adjusting the working rate of the SGMII SFP optical module to be a second rate.
2. The method for adaptively adjusting the rate of an optical module as set forth in claim 1, wherein said SGMII SFP optical module comprises a controller, an ethernet chip, and a laser driver and limiter amplifier, and said initializing the operation rate of said SGMII SFP optical module to a first rate comprises:
And configuring the working rate of the Ethernet chip to be the first rate based on the controller, and configuring the working rate of the laser driving and limiting amplifier to be the first rate so as to initialize the working rate of the SGMII SFP optical module to be the first rate.
3. The method for adaptively adjusting the rate of an optical module according to claim 1, wherein the step of checking whether the network connection state of the SGMII SFP optical module is in an on-line state if a socket probe signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected comprises:
if a splicing detection signal between the SGMII SFP optical module and an external switch is detected and an optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected, acquiring a level state of the splicing detection signal and a level state of the optical fiber energy signal;
and if the level state of the plugging detection signal is a high level state and the level state of the optical fiber energy signal is a high level state, checking whether the network connection state of the SGMII SFP optical module is in an on-line state.
4. The method for adaptively adjusting the rate of an optical module as in claim 3, wherein said SGMII SFP optical module comprises a controller, and said step of obtaining the level state of said splice detection signal and the level state of said fiber energy signal comprises:
and acquiring the level state of the plugging detection signal and the level state of the optical fiber energy signal based on a communication bus of the controller.
5. The method for adaptively adjusting the rate of an optical module as in claim 1, wherein before said step of adjusting the operation rate of said SGMII SFP optical module to a second rate, said method for adaptively adjusting the rate of an optical module further comprises:
if the network connection state of the SGMII SFP optical module is verified to be not in the online state, adding one to the connection state judgment times;
checking whether the connection state judgment times are larger than a preset judgment times threshold value or not;
if yes, executing the step of adjusting the working rate of the SGMII SFP optical module to be a second rate;
and if not, returning to the step of executing the network connection state of the SGMII SFP optical module if the splicing detection signal between the SGMII SFP optical module and the external switch is detected and the optical fiber energy signal between the SGMII SFP optical module and the external optical fiber is detected, and checking whether the network connection state of the SGMII SFP optical module is in an on-line state.
6. The method for adaptively adjusting the rate of an optical module as set forth in claim 1, wherein after said step of adjusting the working rate of said SGMII SFP optical module to a second rate, said method for adaptively adjusting the rate of an optical module further comprises:
checking whether the network connection state of the SGMII SFP optical module is in an online state;
if yes, keeping the working rate of the SGMII SFP optical module to be the second rate;
if not, resetting the working rate of the SGMII SFP optical module to be the first rate.
7. The method for adaptively adjusting the rate of an optical module as in claim 6, wherein before said step of resetting the operating rate of said SGMII SFP optical module to said first rate, said method for adaptively adjusting the rate of an optical module further comprises:
if the network connection state of the SGMII SFP optical module is verified to be not in the on-line state, verifying whether the level state of the optical fiber energy signal is a low level state;
if yes, executing the step of resetting the working rate of the SGMII SFP optical module to the first rate;
if not, keeping the working rate of the SGMII SFP optical module to be the second rate.
8. An optical module rate adaptive adjustment device, which is applied to an SGMII SFP optical module, comprising:
the initialization module is used for initializing the working rate of the SGMII SFP optical module to be a first rate;
the checking module is used for checking whether the network connection state of the SGMII SFP optical module is in an on-line state or not if the plugging detection signal between the SGMII SFP optical module and an external switch is detected and the optical fiber energy signal between the SGMII SFP optical module and an external optical fiber is detected;
the maintaining module is used for maintaining the working rate of the SGMII SFP optical module to be the first rate if the network connection state of the SGMII SFP optical module is checked to be in an on-line state;
and the adjusting module is used for adjusting the working rate of the SGMII SFP optical module to be a second rate if the network connection state of the SGMII SFP optical module is verified to be not in the on-line state.
9. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the optical module rate adaptation method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that the readable storage medium is a computer readable storage medium, on which a program for realizing the optical module rate adaptation method is stored, the program for realizing the optical module rate adaptation method being executed by a processor to realize the steps of the optical module rate adaptation method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311509928.8A CN117240355B (en) | 2023-11-14 | 2023-11-14 | Optical module rate self-adaptive adjustment method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311509928.8A CN117240355B (en) | 2023-11-14 | 2023-11-14 | Optical module rate self-adaptive adjustment method, device, equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117240355A true CN117240355A (en) | 2023-12-15 |
CN117240355B CN117240355B (en) | 2024-02-02 |
Family
ID=89086439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311509928.8A Active CN117240355B (en) | 2023-11-14 | 2023-11-14 | Optical module rate self-adaptive adjustment method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117240355B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040184810A1 (en) * | 2003-03-18 | 2004-09-23 | Spilman Antony K. | Rate adaptive optical communication system and method thereof |
US20060067710A1 (en) * | 2004-09-30 | 2006-03-30 | Chien-Chang Liu | Mechanism to select bandwidth in an optical receiver circuit |
CN101039148A (en) * | 2007-02-07 | 2007-09-19 | 华为技术有限公司 | Optical module and method and network equipment for supporting GE optical connector and FE optical connector |
CN103152103A (en) * | 2013-02-19 | 2013-06-12 | 青岛海信宽带多媒体技术有限公司 | Optical module and adaptive regulation method for rate mode of clock and data recovery (CDR) chip of optical module |
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 |
CN105703836A (en) * | 2012-10-09 | 2016-06-22 | 青岛海信宽带多媒体技术有限公司 | Optical module of optical network unit |
CN108365888A (en) * | 2018-02-01 | 2018-08-03 | 四川泰瑞创通讯技术股份有限公司 | The device of test light module performance |
CN110880952A (en) * | 2019-10-23 | 2020-03-13 | 浪潮思科网络科技有限公司 | Switch interface rate self-adaptive tuning system, method, equipment and medium |
CN111541958A (en) * | 2020-04-21 | 2020-08-14 | 深圳市三旺通信股份有限公司 | Optical interface rate self-adaption method, equipment, device and readable storage medium |
CN111835569A (en) * | 2020-07-17 | 2020-10-27 | 上海博达数据通信有限公司 | Optical interface rate and mode self-adapting method, system and storage medium |
CN115714941A (en) * | 2023-01-05 | 2023-02-24 | 北京工蜂电子技术有限公司 | Optical interface rate self-adaption method, device, medium and equipment of network communication equipment |
-
2023
- 2023-11-14 CN CN202311509928.8A patent/CN117240355B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040184810A1 (en) * | 2003-03-18 | 2004-09-23 | Spilman Antony K. | Rate adaptive optical communication system and method thereof |
US20060067710A1 (en) * | 2004-09-30 | 2006-03-30 | Chien-Chang Liu | Mechanism to select bandwidth in an optical receiver circuit |
CN101039148A (en) * | 2007-02-07 | 2007-09-19 | 华为技术有限公司 | Optical module and method and network equipment for supporting GE optical connector and FE optical connector |
CN105703836A (en) * | 2012-10-09 | 2016-06-22 | 青岛海信宽带多媒体技术有限公司 | Optical module of optical network unit |
CN103152103A (en) * | 2013-02-19 | 2013-06-12 | 青岛海信宽带多媒体技术有限公司 | Optical module and adaptive regulation method for rate mode of clock and data recovery (CDR) chip of optical module |
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 |
CN108365888A (en) * | 2018-02-01 | 2018-08-03 | 四川泰瑞创通讯技术股份有限公司 | The device of test light module performance |
CN110880952A (en) * | 2019-10-23 | 2020-03-13 | 浪潮思科网络科技有限公司 | Switch interface rate self-adaptive tuning system, method, equipment and medium |
CN111541958A (en) * | 2020-04-21 | 2020-08-14 | 深圳市三旺通信股份有限公司 | Optical interface rate self-adaption method, equipment, device and readable storage medium |
CN111835569A (en) * | 2020-07-17 | 2020-10-27 | 上海博达数据通信有限公司 | Optical interface rate and mode self-adapting method, system and storage medium |
CN115714941A (en) * | 2023-01-05 | 2023-02-24 | 北京工蜂电子技术有限公司 | Optical interface rate self-adaption method, device, medium and equipment of network communication equipment |
Non-Patent Citations (1)
Title |
---|
吴楚雄;施海锋;: "光纤通道速率自适应设计", 舰船电子工程, no. 05 * |
Also Published As
Publication number | Publication date |
---|---|
CN117240355B (en) | 2024-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108733005B (en) | Method and device for controlling linkage of intelligent equipment | |
US8897313B2 (en) | Out-of-band signaling support over standard optical SFP | |
CN110086889B (en) | Terminal device debugging method and device | |
US9529743B2 (en) | Flexible PCIe routing | |
EP2916508A1 (en) | Data packet processing method, electronic device, and storage medium | |
US9098645B2 (en) | Increasing data transmission rate in an inter-integrated circuit (‘I2C’) system | |
US8954634B2 (en) | Operating a demultiplexer on an inter-integrated circuit (‘I2C’) bus | |
US10474604B2 (en) | Transmitting universal serial bus (USB) data over alternate mode connection | |
CN117240355B (en) | Optical module rate self-adaptive adjustment method, device, equipment and readable storage medium | |
CN109992556B (en) | I2C driving method and device | |
CN111857546B (en) | Method, network adapter and computer program product for processing data | |
CN108667902B (en) | Remote control system, method, device and equipment of iOS equipment | |
US8832341B2 (en) | Dynamically determining a primary or slave assignment based on receiving a power signal from the cable at the port of a device | |
CN111352357B (en) | Robot control method and device and terminal equipment | |
CN115733893B (en) | Touch screen networking monitoring method, device, equipment and readable storage medium | |
CN112199310B (en) | Converter, VR control system and stability detection method of VR control system | |
CN117498938B (en) | Optical module transmitting/receiving device, control method, electronic device, and readable storage medium | |
CN117055966B (en) | HDMI-based hot plug detection and processing method, device and storage medium | |
CN112486826B (en) | Test method, test device, electronic equipment and computer readable medium | |
US20240061964A1 (en) | Bmc platform offload to a remote application | |
CN118740257A (en) | Optical module configuration method, optical module configuration device, electronic device, storage medium and program product | |
CN113821248B (en) | Service method of vehicle-end software, vehicle-end software and related equipment thereof | |
CN110851150B (en) | Method and apparatus for installing applications | |
CN114489702B (en) | Method, device, medium and electronic equipment for installing operating system | |
US10148353B2 (en) | Optical cable signaling system |
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 | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Adaptive speed adjustment method, device, equipment, and readable storage medium for optical modules Granted publication date: 20240202 Pledgee: Chengdu SME financing Company Limited by Guarantee Pledgor: TRIXON COMMUNICATION TECHNOLOGY Corp.,Ltd. Registration number: Y2024980029459 |