CN104378314A - Method for correcting state of photoelectric multiplex port of switchboard - Google Patents

Method for correcting state of photoelectric multiplex port of switchboard Download PDF

Info

Publication number
CN104378314A
CN104378314A CN201410619064.XA CN201410619064A CN104378314A CN 104378314 A CN104378314 A CN 104378314A CN 201410619064 A CN201410619064 A CN 201410619064A CN 104378314 A CN104378314 A CN 104378314A
Authority
CN
China
Prior art keywords
state
photoelectric
multiplexing port
photoelectric multiplexing
switch
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.)
Pending
Application number
CN201410619064.XA
Other languages
Chinese (zh)
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410619064.XA priority Critical patent/CN104378314A/en
Publication of CN104378314A publication Critical patent/CN104378314A/en
Pending legal-status Critical Current

Links

Landscapes

  • Switches Operated By Changes In Physical Conditions (AREA)
  • Electronic Switches (AREA)

Abstract

The invention provides a method for correcting the state of a photoelectric multiplex port of a switchboard. The correcting method comprises the following steps that a CPU of the switchboard reads a state register of the photoelectric multiplex port continuously to obtain state information of the photoelectric multiplex port; contents, indicating the state of the photoelectric multiplex port, in a switchboard port configuration page are changed according to the state information. According to the method, the state information of the photoelectric multiplex port is obtained continuously, the contents, indicating the state of the photoelectric multiplex port, in the switchboard port configuration page are corrected according to the state information, and therefore the phenomenon that an error occurs during port configuration due to the fact that the actual state of the photoelectric multiplex port does not conform to the state of the photoelectric multiplex port in the switchboard port configuration page is avoided.

Description

The correcting method of switch photoelectric multiplexing port state
Technical field
The present invention relates to the technical field of switch ports themselves state information, especially about the correcting method of the state information of the photoelectric multiplexing port of switch.
Background technology
In order to adapt to market, while not increasing cost, both supported light mouth as far as possible, and also supported the requirement of electric mouth, switch creates photoelectric multiplexing mouth, like this, therefore can not increase exchange chip or PHY chip more.
When the light mouth of the photoelectric multiplexing mouth of switch is connected upper with electric mouth simultaneously, this moment because light is preferential, so light mouth UP.When DOWN falls light mouth, automatically switch to electric mouth UP, but, port status in the now switch ports themselves configuration page is still designated as light mouth UP, in this situation, need this electric mouth of DOWN and UP again artificially, it is light mouth UP state or electric mouth UP state that switch just can go to detect this photoelectric multiplexing mouth again.Because the port status in the switch ports themselves configuration page still thinks light mouth UP, if now operated the electric mouth function of port, but system can think it is now light mouth, then configuration can not be successful, What is more is interpreted as the configuration of light mouth, cause configuration failure, and then cause whole switch to go wrong.
Summary of the invention
The technical problem that the present invention need solve overcomes the deficiencies in the prior art, provides a kind of correcting method of switch photoelectric multiplexing port state.
In order to solve the above problems, the present invention devises a kind of correcting method of switch photoelectric multiplexing port state, and it comprises the following steps the status register that switch CPU constantly reads photoelectric multiplexing port, obtains the state information of described photoelectric multiplexing port; According to described state information, change the content that switch ports themselves configuration page middle finger shows described photoelectric multiplexing port state.
Improve further as the present invention, switch CPU removes with fixing frequency the status register constantly reading photoelectric multiplexing port.
Improve further as the present invention, described state information comprises described photoelectric multiplexing port and is in the information of electric mouth up state or is in the information of light mouth up state.
Improve further as the present invention, further comprising the steps of: after the state information obtaining described photoelectric multiplexing port, described state information is existed in the region in CPU.
Improving further as the present invention, by safeguarding that the process of the described switch ports themselves configuration page reads the described state information existed in CPU, then according to described state information, changing the content that switch ports themselves configuration page middle finger shows described photoelectric multiplexing port state.
The present invention is by constantly going the state information getting photoelectric multiplexing port, according to this state information, switch ports themselves is configured page middle finger and show that the content correction of described photoelectric multiplexing port state is come, avoid occurring that described in the virtual condition of photoelectric multiplexing port and the switch ports themselves configuration page, photoelectric multiplexing port state is inconsistent, thus cause and occur mistake when port arrangement.
Embodiment
Technical scheme of the present invention is understood better in order to make relevant technical staff in the field, below in conjunction with execution mode, technical scheme in embodiment of the present invention is clearly and completely described, obviously, described execution mode is only the present invention's part execution mode, instead of whole execution modes.
The invention provides a kind of correcting method of switch photoelectric multiplexing port state, the content that switch ports themselves configuration page middle finger shows described photoelectric multiplexing port state can be corrected in time, keep the virtual condition of photoelectric multiplexing port consistent with the port status information that switch ports themselves configures in the page, avoid occurring configuration error.
The correcting method of switch photoelectric multiplexing port state of the present invention, first, remove with fixing frequency the status register constantly reading photoelectric multiplexing port by CPU, in status register, acquire the state information of described photoelectric multiplexing port, be in electric mouth up state or light mouth up state on earth to obtain now photoelectric multiplexing port.In the present embodiment, fixing frequency can reach one second several thousand up to ten thousand times or higher, e.g., 50000 times/second, 100000 times/second.
After the state information obtaining described photoelectric multiplexing port, described state information is existed in the fixed area in CPU.By safeguarding that the process of the described switch ports themselves configuration page goes reading to there is described state information in CPU, then according to described state information, change the content that switch ports themselves configuration page middle finger shows described photoelectric multiplexing port state.Such as: when the light mouth of the photoelectric multiplexing mouth of switch is connected upper with electric mouth simultaneously, because light is preferential, so photoelectric multiplexing port state is light mouth UP, i.e. the light port communications of photoelectric multiplexing port, electric mouth DOWN falls and does not communicate; When DOWN falls light mouth, photoelectric multiplexing port can automatically switch to electric mouth UP, and namely photoelectric multiplexing port automatically switches to electric port communications.Because CPU of the present invention constantly reads the status register of this photoelectric multiplexing port, the state getting photoelectric multiplexing port is this moment electric mouth UP, again according to this state information, safeguard the content that the process of the described switch ports themselves configuration page can correct switch ports themselves configuration page middle finger and shows described photoelectric multiplexing port state, make switch ports themselves configuration page middle finger show the practical communication state consistency of described photoelectric multiplexing port state and this photoelectric multiplexing port, namely this photoelectric multiplexing port is in light mouth UP or electric mouth UP.
The present invention is by constantly going the state information getting photoelectric multiplexing port, according to this state information, switch ports themselves is configured page middle finger and show that the content correction of described photoelectric multiplexing port state is come, avoid occurring that described in the virtual condition of photoelectric multiplexing port and the switch ports themselves configuration page, photoelectric multiplexing port state is inconsistent, thus cause and occur mistake when port arrangement.
Below only have expressed one embodiment of the present invention, it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (5)

1. a correcting method for switch photoelectric multiplexing port state, is characterized in that, comprises the following steps:
Switch CPU constantly reads the status register of photoelectric multiplexing port, obtains the state information of described photoelectric multiplexing port;
According to described state information, change the content that switch ports themselves configuration page middle finger shows described photoelectric multiplexing port state.
2. the correcting method of switch photoelectric multiplexing port state according to claim 1, is characterized in that, switch CPU removes with fixing frequency the status register constantly reading photoelectric multiplexing port.
3. the correcting method of switch photoelectric multiplexing port state according to claim 1, is characterized in that, described state information comprises described photoelectric multiplexing port and is in the information of electric mouth up state or is in the information of light mouth up state.
4. the correcting method of switch photoelectric multiplexing port state according to claim 1, is characterized in that, further comprising the steps of:
After the state information obtaining described photoelectric multiplexing port, described state information is existed in the region in CPU.
5. the correcting method of switch photoelectric multiplexing port state according to claim 4, is characterized in that,
By safeguarding that the process of the described switch ports themselves configuration page reads the described state information existed in CPU, then according to described state information, change the content that switch ports themselves configuration page middle finger shows described photoelectric multiplexing port state.
CN201410619064.XA 2014-11-05 2014-11-05 Method for correcting state of photoelectric multiplex port of switchboard Pending CN104378314A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410619064.XA CN104378314A (en) 2014-11-05 2014-11-05 Method for correcting state of photoelectric multiplex port of switchboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410619064.XA CN104378314A (en) 2014-11-05 2014-11-05 Method for correcting state of photoelectric multiplex port of switchboard

Publications (1)

Publication Number Publication Date
CN104378314A true CN104378314A (en) 2015-02-25

Family

ID=52556978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410619064.XA Pending CN104378314A (en) 2014-11-05 2014-11-05 Method for correcting state of photoelectric multiplex port of switchboard

Country Status (1)

Country Link
CN (1) CN104378314A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016202068A1 (en) * 2015-06-19 2016-12-22 中兴通讯股份有限公司 Method of configuring attribute and device utilizing same
CN113300770A (en) * 2021-05-19 2021-08-24 深圳凡维泰科技服务有限公司 Photoelectric port multiplexing device for 4G/5G TDD/FDD base station
CN113612704A (en) * 2021-07-13 2021-11-05 华东计算技术研究所(中国电子科技集团公司第三十二研究所) COMBO interface based on mimic switch and mimic switch

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1534932A (en) * 2003-03-27 2004-10-06 华为技术有限公司 Method of supporting multi kilomega ethernet terminal photoelectric multiplex
CN1725762A (en) * 2004-07-23 2006-01-25 杭州华为三康技术有限公司 Implementation method of Ethernet photoelectric interface duplex
US20080025724A1 (en) * 2006-07-26 2008-01-31 Nec Corporation PON system, station side device and redundant method used for the same
CN100531025C (en) * 2005-12-15 2009-08-19 杭州华三通信技术有限公司 Optronic multiplex interface state indicating device and method and its inferface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1534932A (en) * 2003-03-27 2004-10-06 华为技术有限公司 Method of supporting multi kilomega ethernet terminal photoelectric multiplex
CN1725762A (en) * 2004-07-23 2006-01-25 杭州华为三康技术有限公司 Implementation method of Ethernet photoelectric interface duplex
CN100531025C (en) * 2005-12-15 2009-08-19 杭州华三通信技术有限公司 Optronic multiplex interface state indicating device and method and its inferface
US20080025724A1 (en) * 2006-07-26 2008-01-31 Nec Corporation PON system, station side device and redundant method used for the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016202068A1 (en) * 2015-06-19 2016-12-22 中兴通讯股份有限公司 Method of configuring attribute and device utilizing same
CN106330488A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 Method and device for configuring attribute
CN113300770A (en) * 2021-05-19 2021-08-24 深圳凡维泰科技服务有限公司 Photoelectric port multiplexing device for 4G/5G TDD/FDD base station
CN113612704A (en) * 2021-07-13 2021-11-05 华东计算技术研究所(中国电子科技集团公司第三十二研究所) COMBO interface based on mimic switch and mimic switch

Similar Documents

Publication Publication Date Title
CN104378314A (en) Method for correcting state of photoelectric multiplex port of switchboard
WO2011139666A3 (en) Method, apparatus and system for switching traffic streams among multiple frequency bands
RU2014108863A (en) NETWORK INTERACTION METHOD FOR MULTI-NODE CELL, MODULATING FREQUENCY STRIP BLOCK, REMOTE RF UNIT AND SYSTEM
MX361265B (en) Method for transmitting synchronization signal for direct communication between terminals in wireless communication system, and apparatus therefor.
MX2022013569A (en) Communication system, control device, communication terminal, communication device, and communication method.
WO2010085738A3 (en) Circuit and method for mapping of data symbols and reference signals for coordinated multi-point systems
NO20074418L (en) Method of connecting frames in communication system
PH12015501167A1 (en) Handover in a soft cell network
EP3545630A4 (en) Synchronization error reduction in common public radio interface (cpri) passive optical networks (pons)
WO2012141524A3 (en) Cell reselection method for increasing random access success rate in wireless access system
WO2013127414A8 (en) Technique for bundling in link aggregation
EA201491774A1 (en) COLLISION DEVICE FOR CAMCORDERS
SG11202010895YA (en) Radio link failure (rlf) procedure with generic cell group management
EP4018253A4 (en) Spinnable frames for spectacles
CN104661299B (en) The method and system that TDD system synchronizes
WO2015195499A3 (en) Reduced-latency processing of voice-over-lte calls
CN104025701A (en) Method and device for switching clocks, and distributed indoor system using repeater as relay
CN105791257A (en) Method for acquiring aggregation port authentication configuration through port
WO2017192138A3 (en) User equipment (ue) and methods for reception of packets on a split radio bearer
CN103500128A (en) NVRAM data backup method
CN104184573A (en) Implementation method for LTE-Advanced wireless signal synchronization and tracking
EP3777970A4 (en) Defibrillator operating method for reducing time taken from powering-on up to electrical shock indication, and defibrillator using operating method
CN104580820A (en) Television line and field signal timing sequence adjusting method
CN105281234A (en) Direct current power transmission engineering valve group overhauling automation isolation realization method
CN110602573B (en) Equipment configuration recovery method, HGU (hybrid gas insulated switchgear) end, SFU (Small form factor Unit) end and split optical modem

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150225