CN101527639B - Optic electric interface automatic switching method and device thereof - Google Patents

Optic electric interface automatic switching method and device thereof Download PDF

Info

Publication number
CN101527639B
CN101527639B CN 200910131586 CN200910131586A CN101527639B CN 101527639 B CN101527639 B CN 101527639B CN 200910131586 CN200910131586 CN 200910131586 CN 200910131586 A CN200910131586 A CN 200910131586A CN 101527639 B CN101527639 B CN 101527639B
Authority
CN
China
Prior art keywords
optical module
throne
module
interface
optic electric
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 200910131586
Other languages
Chinese (zh)
Other versions
CN101527639A (en
Inventor
文林
赵帮银
梁成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN 200910131586 priority Critical patent/CN101527639B/en
Priority to PCT/CN2009/073601 priority patent/WO2010115329A1/en
Publication of CN101527639A publication Critical patent/CN101527639A/en
Application granted granted Critical
Publication of CN101527639B publication Critical patent/CN101527639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems

Abstract

The invention discloses an optic electric interface automatic switching method and a device thereof; wherein, the method comprises: Ethernet optic electric interface automatic switching and detecting task is set up and started, the types of an eutopic optical module are detected periodically; according to the detected types of the eutopic optical module, opto-electrical attribute switch is carried out on a physical interface where the eutopic optical module is positioned. The invention is simple and flexible in configuration and easy to expand and maintain, needs not to increase additional hardware cost, has little increment of software cost, and can improve the capability and number of the optic electric interfaces provided by communication equipment.

Description

Method and device that optic electric interface automaticallyes switch
Technical field
The present invention relates to communication technical field, relate in particular to method and device that a kind of optic electric interface automaticallyes switch.
Background technology
Communication apparatus need provide light mouth and electricity mouthful two kinds of interface types simultaneously in order to satisfy the requirement of transmission at present.
The way of existing communication apparatus is to use two PHY (physical interface transceiver) chip that light mouth and electricity mouthful are provided respectively, or uses a PHY chip that possesses the photoelectricity attribute simultaneously, carries out photoelectricity through software and switches light mouth and electricity mouthful are provided.
As shown in Figure 1, Fig. 1 is the design sketch map that uses the corresponding a kind of media interface type of each interface in the prior art.Though this scheme provides the support of optic electric interface, cost increases.Simultaneously owing to do not know the quantity of needed light mouth and electricity in the equipment operation network mouthful, there are the latent defect of waste or deficiency in the light mouth that causes designing and electricity mouthful quantity in real network.
As shown in Figure 2, Fig. 2 is the design sketch map that uses the corresponding two kinds of interface types of each interface in the prior art, uses software administration to carry out the optic electric interface conversion, thereby the optic electric interface support is provided.Though this scheme cost does not improve; But because the interface that the panel of switching equipment can hold sum is certain; And an interface can only use a kind of interface type to be connected with other equipment, and the actual interface sum that causes this equipment to be connected with other equipment has reduced half the.
In a word, the employed design of existing equipment does not fully take into account the optic electric interface sum that uses with other apparatus interconnections and changes, and so just can't satisfy the interface variation needs in the real network.
Summary of the invention
In view of above-mentioned analysis, the present invention aims to provide method and the device that a kind of optic electric interface automaticallyes switch, and is uncertain in order to solve the optic electric interface sum that exists in the prior art, thereby can't satisfy the problem of the interface variation needs in the real network.
The object of the invention is mainly realized through following technical scheme:
The invention provides the method that a kind of optic electric interface automaticallyes switch, said method comprises:
Steps A: create and startup Ethernet optic electric interface automatic switchover detection task, regularly detect the type of optical module on the throne;
Step B: according to the type of the optical module on the throne that detects, the physical interface that this optical module on the throne is belonged to carries out the switching of photoelectricity attribute.
Further, said steps A specifically comprises:
Create and startup Ethernet optic electric interface automatic switchover detection task;
A plurality of physical interfaces are carried out poll successively, judge whether current physical interface has optical module on the throne:, judge that this optical module on the throne is normal optical module or electric light module, execution in step B then if current physical interface has optical module on the throne; If current physical interface does not have optical module on the throne, then continue poll.
Further, said step B specifically comprises:
If this optical module on the throne is the electric light module, the attribute configuration of physical interface that then will this optical module on the throne place becomes electricity mouthful; If this optical module on the throne is the normal optical module, the attribute configuration of physical interface that then will this optical module on the throne place is the light mouth.
The device that the present invention also provides a kind of optic electric interface to automatically switch, said device comprises: optic electric interface Auto-Sensing module and photoelectricity attribute handover module, wherein,
Said optic electric interface Auto-Sensing module is used for creating and startup Ethernet optic electric interface automatic switchover detection task, regularly detect the type of optical module on the throne, and the type notification of the optical module on the throne that will detect is given said photoelectricity attribute handover module;
Said photoelectricity attribute handover module is used for the type according to the optical module on the throne that receives, and the physical interface that this optical module on the throne is belonged to carries out the switching of photoelectricity attribute.
Further, said optic electric interface Auto-Sensing module specifically comprises: detecting unit and notice transmitting element, wherein,
Said detecting unit; Be used for creating and startup Ethernet optic electric interface automatic switchover detection task; A plurality of physical interfaces are carried out poll; Judge whether current physical interface has optical module on the throne:, judge that then this optical module on the throne is normal optical module or electric light module, and trigger said notice transmitting element if current physical interface has optical module on the throne; If current physical interface does not have optical module on the throne, then continue poll;
Said notice transmitting element is used for giving said luminous point attribute handover module with the type notification of this optical module on the throne.
Further, said luminous point attribute handover module specifically comprises: notice receiving element and switch unit, wherein,
Said notice receiving element is used to receive the notice of the type of this optical module on the throne, and triggers said switch unit;
Said switch unit, if this optical module on the throne is the electric light module, said switch unit is used for the attribute configuration of the physical interface at this optical module on the throne place is become the electricity mouth; If this optical module on the throne is the normal optical module, the attribute configuration that said switch unit is used for the physical interface at this optical module on the throne place is the light mouth.
Beneficial effect of the present invention is following:
Adopt this technical scheme of the present invention, the configuration simple and flexible is prone to expansion and safeguards, need not increase extra hardware, and is also little to the software cost increase, improved ability and quantity that communication apparatus provides optic electric interface.
Other features and advantages of the present invention will be set forth in specification subsequently, and from specification, becoming of part is obvious, perhaps understands through embodiment of the present invention.The object of the invention can be realized through the structure that in the specification of being write, claims and accompanying drawing, is particularly pointed out and obtained with other advantages.
Description of drawings
Fig. 1 is in the prior art, uses the design sketch map of the corresponding a kind of media interface type of each interface;
Fig. 2 is in the prior art, uses the design sketch map of the corresponding two kinds of interface types of each interface;
Fig. 3 is the schematic flow sheet of the said method of the embodiment of the invention;
Fig. 4 is the structural representation of the said device of the embodiment of the invention.
Embodiment
Specifically describe preferential embodiment of the present invention below in conjunction with accompanying drawing, wherein, accompanying drawing constitutes the application's part, and is used to explain principle of the present invention with embodiments of the invention.For clear and simplification purpose, when it possibly make theme of the present invention smudgy, with specifying in detail of known function and structure in the omission device described herein.
At first combine 3 pairs of said methods of the embodiment of the invention of accompanying drawing to be described in detail.
As shown in Figure 3, Fig. 3 is the schematic flow sheet of the said method of the embodiment of the invention, specifically can may further comprise the steps:
Step 301: create Ethernet optic electric interface automatic switchover detection task, the switching of Ethernet optic electric interface is detected, the detecting time of task can require according to the actual performance of equipment to be provided with;
Step 302: start photoelectricity attribute handover process, prepare to carry out optic electric interface and switch;
Step 303: in optic electric interface Auto-Sensing process, the physical interface that is polled to has been judged whether that optical module is on the throne;
Step 304: whether optical module on the throne? If, execution in step 305, otherwise forward step 303 to;
Step 305: the type that reads the optical module on the throne that inserts this physical interface;
Is step 306: current optical module on the throne normal optical module or electric light module? If the electric light module, then execution in step 307; If the normal optical module, then execution in step 308;
Step 307: physical interface attribute configuration that will this optical module on the throne place becomes electricity mouthful;
Step 308: physical interface attribute configuration that will this optical module on the throne place is the light mouth.
Be elaborated below in conjunction with 4 pairs of said devices of the embodiment of the invention of accompanying drawing.
As shown in Figure 4, Fig. 4 is the structural representation of the said device of the embodiment of the invention, specifically can comprise: optic electric interface Auto-Sensing module and photoelectricity attribute handover module, wherein,
Optic electric interface Auto-Sensing module creation also starts a regularly detection task, and the type of detecting optical module on the throne notifies photoelectricity attribute handover module docking port type to switch then in task; Photoelectricity attribute handover module is according to the optical module type on the throne of optic electric interface Auto-Sensing module notice, and the physical interface that this optical module on the throne is belonged to carries out the switching of photoelectricity attribute, and suitable interface type is provided.
Wherein, said optic electric interface automatic detecting unit specifically comprises: detecting unit and notice transmitting element; Said photoelectricity attribute handover module specifically comprises: notice receiving element and switch unit.
At first, detecting unit is created Ethernet optic electric interface automatic switchover detection task, and the switching of Ethernet optic electric interface is detected, and the detecting time of task can require according to the actual performance of equipment to be provided with; A plurality of physical interfaces are carried out poll; Judge that whether optical module is arranged on the current physical interface is on the throne; If when having optical module on the throne on the current physical interface; Type-normal optical module of judging current optical module on the throne still is the electric light module, and the type notification of current optical module on the throne is given the notice receiving element of said photoelectricity attribute handover module by the notice transmitting element; If do not have optical module on the throne on the current physical interface, then continue poll.The notice receiving element receives the notice of the type of current optical module on the throne, and triggers said switch unit; If current optical module on the throne is the electric light module, the attribute configuration of the physical interface that switch unit will this optical module on the throne place becomes electricity mouthful; If current optical module on the throne is the normal optical module, the attribute configuration of the physical interface that said switch unit will this optical module on the throne place is the light mouth.
In a word; Method and device that the embodiment of the invention provides a kind of optic electric interface to automatically switch; On existing communication apparatus basis, increased the optic electric interface automatic shifting function, not only can guarantee on limited device panel, to provide a plurality of optic electric interfaces; And the actual quantity of optic electric interface can change according to the demand at scene, and is convenient, flexible.Because the embodiment of the invention realizes on existing hardware device basis; Do not increase extra cost; Cost increase to software is also little, but effectively reaches the purpose that the equipment optic electric interface is provided flexibly, adapts to the uncertain requirement of engineering site optic electric interface quantity.
The above; Be merely the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.

Claims (2)

1. the method that automaticallyes switch of an optic electric interface is characterized in that said method comprises:
Steps A: create and startup Ethernet optic electric interface automatic switchover detection task, regularly detect the type of optical module on the throne; Said steps A specifically comprises: create and startup Ethernet optic electric interface automatic switchover detection task; A plurality of physical interfaces are carried out repeating query successively, judge whether current physical interface has optical module on the throne:, judge that this optical module on the throne is normal optical module or electric light module, execution in step B then if current physical interface has optical module on the throne; If current physical interface does not have optical module on the throne, then continue repeating query; Step B: according to the type of the optical module on the throne that detects, the physical interface that this optical module on the throne is belonged to carries out the switching of photoelectricity attribute; Said step B specifically comprises: if this optical module on the throne is the electric light module, the attribute configuration of physical interface that then will this optical module on the throne place becomes electricity mouthful; If this optical module on the throne is the normal optical module, the attribute configuration of physical interface that then will this optical module on the throne place is the light mouth.
2. the device that automaticallyes switch of an optic electric interface is characterized in that said device comprises: optic electric interface Auto-Sensing module and photoelectricity attribute handover module, wherein,
Said optic electric interface Auto-Sensing module is used for creating and startup Ethernet optic electric interface automatic switchover detection task, regularly detect the type of optical module on the throne, and the type notification of the optical module on the throne that will detect is given said photoelectricity attribute handover module; Said optic electric interface Auto-Sensing module specifically comprises: detecting unit and notice transmitting element; Wherein, said detecting unit is used for creating and startup Ethernet optic electric interface automatic switchover detection task; A plurality of physical interfaces are carried out repeating query; Judge whether current physical interface has optical module on the throne:, judge that then this optical module on the throne is normal optical module or electric light module, and trigger said notice transmitting element if current physical interface has optical module on the throne; If current physical interface does not have optical module on the throne, then continue repeating query; Said notice transmitting element is used for giving said photoelectricity attribute handover module with the type notification of this optical module on the throne; Said photoelectricity attribute handover module is used for the type according to the optical module on the throne that receives, and the physical interface that this optical module on the throne is belonged to carries out the switching of photoelectricity attribute; Said photoelectricity attribute handover module specifically comprises: notice receiving element and switch unit, and wherein, said notice receiving element is used to receive the notice of the type of this optical module on the throne, and triggers said switch unit; Said switch unit, if this optical module on the throne is the electric light module, said switch unit is used for the attribute configuration of the physical interface at this optical module on the throne place is become the electricity mouth; If this optical module on the throne is the normal optical module, the attribute configuration that said switch unit is used for the physical interface at this optical module on the throne place is the light mouth.
CN 200910131586 2009-04-08 2009-04-08 Optic electric interface automatic switching method and device thereof Active CN101527639B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 200910131586 CN101527639B (en) 2009-04-08 2009-04-08 Optic electric interface automatic switching method and device thereof
PCT/CN2009/073601 WO2010115329A1 (en) 2009-04-08 2009-08-28 Photoelectric interface automatic switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910131586 CN101527639B (en) 2009-04-08 2009-04-08 Optic electric interface automatic switching method and device thereof

Publications (2)

Publication Number Publication Date
CN101527639A CN101527639A (en) 2009-09-09
CN101527639B true CN101527639B (en) 2012-05-23

Family

ID=41095347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910131586 Active CN101527639B (en) 2009-04-08 2009-04-08 Optic electric interface automatic switching method and device thereof

Country Status (2)

Country Link
CN (1) CN101527639B (en)
WO (1) WO2010115329A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527639B (en) * 2009-04-08 2012-05-23 中兴通讯股份有限公司 Optic electric interface automatic switching method and device thereof
CN103701723A (en) * 2013-12-19 2014-04-02 上海斐讯数据通信技术有限公司 Structure and method for being self-adapted to Ethernet gigabit optical module and electrical module for COMBO interface
CN103701724A (en) * 2013-12-19 2014-04-02 上海斐讯数据通信技术有限公司 Self-adaptive method and system of upper connection port photoelectric module on OLT (optical line terminal) equipment
CN106330488A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 Method and device for configuring attribute
CN105553789A (en) * 2015-11-30 2016-05-04 国家电网公司 PTN packet transport device and method for automatic switch of optic electric interfaces thereof
CN112230189A (en) * 2020-09-15 2021-01-15 北京无线电测量研究所 Special radar array plane remote debugging device and method
CN114006653B (en) * 2021-10-29 2023-03-21 锐捷网络股份有限公司 Equipment compatible with different types of optical modules, control method thereof and storage medium
CN114553695B (en) * 2022-01-27 2024-02-09 新华三技术有限公司合肥分公司 Chip configuration method and device

Citations (3)

* 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
CN1674547A (en) * 2005-02-20 2005-09-28 黄炜 Optical/electric interface module space multiplexing method and apparatus used for Ethernet SFP interface
CN101072073A (en) * 2007-07-17 2007-11-14 武汉烽火网络有限责任公司 Self-defined Ethernet optronic interface performance test method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141347B (en) * 2007-05-24 2012-12-19 中兴通讯股份有限公司 Multi-path ethernet signal gathering apparatus and method
CN101527639B (en) * 2009-04-08 2012-05-23 中兴通讯股份有限公司 Optic electric interface automatic switching method and device thereof

Patent Citations (3)

* 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
CN1674547A (en) * 2005-02-20 2005-09-28 黄炜 Optical/electric interface module space multiplexing method and apparatus used for Ethernet SFP interface
CN101072073A (en) * 2007-07-17 2007-11-14 武汉烽火网络有限责任公司 Self-defined Ethernet optronic interface performance test method and device

Also Published As

Publication number Publication date
CN101527639A (en) 2009-09-09
WO2010115329A1 (en) 2010-10-14

Similar Documents

Publication Publication Date Title
CN101527639B (en) Optic electric interface automatic switching method and device thereof
CN100470523C (en) Thermal-plug controller and controlling method
US20190116480A1 (en) Method and apparatus for a network and device discovery
CN102064962B (en) Method for implementing input and output assemblies of ATS (Automatic Train Supervision) system based on named pipeline communication
CN101609440B (en) Bus system and method for recovering bus from lock state
CN101582797B (en) Management board and two-unit standby system and method
CN102638735B (en) Optical node device and business switching method thereof
CN103139033B (en) Single main communications control bus main equipment redundancy switching method
CN1889373A (en) Method for realizing master and spare conversion of distributing connection equipment
CN102354261A (en) Remote control system for power supply switches of machine room servers
CN105306352A (en) Industrial field bus protocol gateway device
CN103227758B (en) A kind of fiber optic Ethernet switch and control method
CN113131518A (en) MLPE photovoltaic system and MLPE equipment detection method thereof
CN102968184B (en) A kind of KVM long-distance management system
CN102231700B (en) Exchange card switching information transmission method and exchange card hot backup system
CN102253872A (en) Method for implementing redundant management module in compact peripheral component interconnect (CPCI) blade server
CN105426171A (en) Synchronization and switching method and system for multiple two-out-of-two systems
CN101782802A (en) Standby power-saving system and method for starting and disconnecting power supply of computer
CN103901997A (en) Operating state control method and device
CN101895797A (en) Method and device for realizing all-fiber protection
CN1303495C (en) Power source monitoring and management method for detecting single non interrupted power system and multiple service units
CN102970078B (en) A kind of optical fiber network system and adopt this system to carry out the method for asynchronous communication transfer of data
CN102830789A (en) Low-power-consumption standby method for jointed display system
CN207021988U (en) A kind of control circuit of express delivery cabinet
CN102207530A (en) Method of detecting hot swap equipment and system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant