CN107612777A - A kind of optical fiber switch detection instrument and method - Google Patents

A kind of optical fiber switch detection instrument and method Download PDF

Info

Publication number
CN107612777A
CN107612777A CN201710875051.2A CN201710875051A CN107612777A CN 107612777 A CN107612777 A CN 107612777A CN 201710875051 A CN201710875051 A CN 201710875051A CN 107612777 A CN107612777 A CN 107612777A
Authority
CN
China
Prior art keywords
optical fiber
fiber switch
information
optical
virtual port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710875051.2A
Other languages
Chinese (zh)
Other versions
CN107612777B (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710875051.2A priority Critical patent/CN107612777B/en
Publication of CN107612777A publication Critical patent/CN107612777A/en
Application granted granted Critical
Publication of CN107612777B publication Critical patent/CN107612777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of optical fiber switch detection instrument and method, for connecting optical fiber switch, its structure includes integrated circuit platform, is configured with CPU, internal memory, is worked for HBA cards and virtual port;HBA cards, above-mentioned CPU is connected, and be supplied to optical fiber switch WWN information, i.e. global unique identification information;Virtual port controller, for obtaining the WWN information of HBA cards and cloning, the WWN information after clone is then distributed to optical fiber switch.A kind of optical fiber switch detection instrument and method of the present invention compared with prior art, solves demand of the enterprise to the shortage of FC interchanger specialty detection instruments, saves human cost and improves operating efficiency, cost is relatively low, it is practical, it is applied widely, it is easy to spread.

Description

A kind of optical fiber switch detection instrument and method
Technical field
The present invention relates to network communication equipment technical field, specifically a kind of optical fiber switch detection instrument and side Method.
Background technology
Enterprise-level FC interchangers, i.e. optical fiber switch a part indispensable as high-end storage, with day crescent Different speed development.From 24 FC port of more low side to high-end 512 FC port, from low rate 8Gbps at a high speed 32Gbps, the production and detection band of increasing interface and increasingly faster speed to enterprise come how more efficient detection exchanges The problem of machine.
Detection means is interconnected using the LOOP of artificial FC cables mostly at present, artificial observation port state, is so both expended Substantial amounts of manpower and time do not accomplish the test of accurate specialty again, easily ignore the hardware problem of interchanger.
Based on this, a kind of new optical fiber switch detection technique that can be rapidly completed detection is needed badly.
The content of the invention
The present invention technical assignment be directed to above weak point, there is provided it is a kind of can multi-exchange simultaneously detect optical fiber friendship Change planes detection instrument and method.
The present invention provides a kind of optical fiber switch detection instrument, and for connecting optical fiber switch, its structure includes,
Integrated circuit platform, CPU, internal memory are configured with, are worked for HBA cards and virtual port;
HBA cards, above-mentioned CPU is connected, and be supplied to optical fiber switch WWN information, i.e. global unique identification information;
Virtual port controller, for obtaining the WWN information of HBA cards and cloning, then the WWN information after clone is distributed to Optical fiber switch.
The CPU is RISC CPU, i.e. Jing Ke Cao Neng CPU, and the CPU is also connected with ethernet port, serial ports, wherein Ethernet port is used to realizing the communication of terminal computer and optical fiber switch, and serial ports realizes optical fiber switch and terminal computer Telnet communicates.
After the virtual port controller obtains the WWN information of HBA cards, WWN information is sent out based on Fibre Channel agreement It is sent in the optical fiber switch of interconnection, the WWN information is divided into two kinds of WWPN and WWNN, i.e. port number information and node number information.
The virtual port controller connects QSFP interfaces by optical-fibre channel, and the QSFP interfaces are used to connect optical fiber exchange Machine simultaneously distributes WWN information.
The optical-fibre channel is configured with six, and four optical fiber switch cables are configured to connect QSFP in every optical-fibre channel Four ports of interface.
Node and port resource pond are formed in virtual port controller, to place clone 6 WWNN and 24 WWPN, when having detected that optical fiber switch connects and when running, all WWNN are sequentially assigned to each and are connected with optical fiber In the optical-fibre channel of interchanger, when there is any access 4 ports in the optical-fibre channel that each is distributed WWNN, virtual port Controller gives each port from resource pool distribution WWPN, is not distributed then without equipment access.
A kind of optical fiber switch detection method, its implementation process are:
Optical fiber switch detection instrument is configured first, and the instrument includes the internal memory, CPU, HBA card, virtual port control being linked in sequence Device processed, virtual port controller provide optical-fibre channel to connect some optical fiber switch, and the CPU is also connected to ethernet port And serial ports;
HBA cards send WWN information and give virtual port controller, and the WWN information is global unique identification information;
The WWN information that virtual port controller clone receives, and connected optical fiber switch is sequentially assigned to, make optical fiber Interchanger and detection instrument proper communication;
Sense command is sent to optical fiber switch, while completes the detection of more optical fiber switch.
WWN information is sent to interconnection by the virtual port controller by Fibre Channel agreement from optical-fibre channel In optical fiber switch, the optical-fibre channel is configured with six, and four optical fiber switch cables are configured to connect in every optical-fibre channel Four ports of optical fiber switch are can access, four ports are integrated in QSFP interfaces.
The WWN information that the HBA cards provide is divided into two kinds of WWPN and WWNN, i.e. port number information and node number information, empty Intending the WWN information of port controller clone includes 6 WWNN information and 24 WWPN information.
The process that the virtual port controller distributes to WWN information optical fiber switch is:
Node and port resource pond are formed first in virtual port controller, to place clone 6 WWNN and 24 WWPN;
When having detected that optical fiber switch connects and when running, all WWNN are sequentially assigned to each and are connected with optical fiber friendship In the optical-fibre channel changed planes, do not distributed then without optical fiber switch access;
When there is any optical fiber switch to access in 4 ports in each optical-fibre channel for having distributed WWNN, virtual port Controller gives each port from resource pool distribution WWPN, is not distributed then without optical fiber switch access.
Compared to the prior art a kind of optical fiber switch detection instrument and method of the present invention, has the advantages that:
A kind of optical fiber switch detection instrument and method of the present invention, solves shortage of the enterprise to FC interchanger specialty detection instruments Demand, save human cost and simultaneously improve operating efficiency, so that 48 mouth switchs detect as an example, manually port uses FC in turn The time that cable loop is interconnected and observed about 30min, interconnected using detection instrument and send detection subcommand time about 15min, the working time nearly 50% is saved, operating efficiency is lifted, and cost is relatively low, practical, applied widely, is easy to Promote.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Accompanying drawing 1 detects instrument for the optical fiber switch of the present invention and realizes schematic diagram.
Embodiment
In order that those skilled in the art more fully understand the solution of the present invention, with reference to embodiment to this Invention is described in further detail.Obviously, described embodiment is only part of the embodiment of the present invention, rather than all Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art institute under the premise of creative work is not made The every other embodiment obtained, belongs to the scope of protection of the invention.
As shown in Figure 1, the present invention provides a kind of optical fiber switch detection instrument, and for connecting optical fiber switch, it is tied Structure includes,
Integrated circuit platform, CPU, internal memory are configured with, are worked for HBA cards and virtual port;
HBA cards, above-mentioned CPU is connected, and be supplied to optical fiber switch WWN information, i.e. global unique identification information;
Virtual port controller, for obtaining the WWN information of HBA cards and cloning, then the WWN information after clone is distributed to Optical fiber switch.
The CPU is RISC CPU, i.e. Jing Ke Cao Neng CPU, and the CPU is also connected with ethernet port, serial ports, wherein Ethernet port is used to realizing the communication of terminal computer and optical fiber switch, and serial ports realizes optical fiber switch and terminal computer Telnet communicates.
After the virtual port controller obtains the WWN information of HBA cards, WWN information is sent out based on Fibre Channel agreement It is sent in the optical fiber switch of interconnection, the WWN information is divided into two kinds of WWPN and WWNN, i.e. port number information and node number information.
The virtual port controller connects QSFP interfaces by optical-fibre channel, and the QSFP interfaces are used to connect optical fiber exchange Machine simultaneously distributes WWN information.
Present invention design virtual port controller, the controller can obtain the given FC port WWN information of HBA cards, It is virtual and clone more virtual WWN based on WWN information, then virtual WWN information is respectively allocated to connect The passage of QSFP optical modules.
The virtual port controller is the design of software and hardware combining, and master-plan can use a similar small-sized industrial computer Structure, its main innovation part be its software function realize.The function of virtual port controller mainly realizes WWNN and WWPN The access and interconnection of hardware, realize the simulation of WWNN passages and be identified.Each passage incoming fiber optic module MTP-LC mono- divides four Cable, therefore passage has a hardware module to be responsible for interconnecting with MTP-LC and VP, realizes WWPN distribution.
The clone that virtual port controller is realized, clone's identical mode with router mac address can be used, passes through this Machine or the WWN information got clone one and meet regular but not consistent WWPN and WWNN.
The optical-fibre channel is configured with six, and four optical fiber switch cables are configured to connect QSFP in every optical-fibre channel Four ports of interface.
Node and port resource pond are formed in virtual port controller, to place clone 6 WWNN and 24 WWPN, when having detected that optical fiber switch connects and when running, all WWNN are sequentially assigned to each and are connected with optical fiber In the optical-fibre channel of interchanger, when there is any access 4 ports in the optical-fibre channel that each is distributed WWNN, virtual port Controller gives each port from resource pool distribution WWPN, is not distributed then without equipment access.
A kind of optical fiber switch detection method, its implementation process are:
Optical fiber switch detection instrument is configured first, and the instrument includes the internal memory, CPU, HBA card, virtual port control being linked in sequence Device processed, virtual port controller provide optical-fibre channel to connect some optical fiber switch, and the CPU is also connected to ethernet port And serial ports;
HBA cards send WWN information and give virtual port controller, and the WWN information is global unique identification information;
The WWN information that virtual port controller clone receives, and connected optical fiber switch is sequentially assigned to, make optical fiber Interchanger and detection instrument proper communication;
Sense command is sent to optical fiber switch, while completes the detection of more optical fiber switch, specific sense command can use Any sense command of prior art.
WWN information is sent to interconnection by the virtual port controller by Fibre Channel agreement from optical-fibre channel In optical fiber switch, the optical-fibre channel is configured with six, and four optical fiber switch cables are configured to connect in every optical-fibre channel Four ports of optical fiber switch are can access, four ports are integrated in QSFP interfaces.
The WWN information that the HBA cards provide is divided into two kinds of WWPN and WWNN, i.e. port number information and node number information, empty Intending the WWN information of port controller clone includes 6 WWNN information and 24 WWPN information.
The process that the virtual port controller distributes to WWN information optical fiber switch is:
Node and port resource pond are formed first in virtual port controller, to place clone 6 WWNN and 24 WWPN;
When having detected that optical fiber switch connects and when running, all WWNN are sequentially assigned to each and are connected with optical fiber friendship In the optical-fibre channel changed planes, do not distributed then without optical fiber switch access;
When there is any optical fiber switch to access in 4 ports in each optical-fibre channel for having distributed WWNN, virtual port Controller gives each port from resource pool distribution WWPN, is not distributed then without optical fiber switch access.
The detection instrument that this method provides interconnects with interchanger, can be achieved mutual with most 24 optical fiber switch modules Even, HBA cards are responsible for port identification with virtual port controller and virtual WWNN, WWPN distribute.This tests switch ports themselves thing Reason state, mainly check that this 24 port port status leds of interchanger are shown correctly.
Data transmission test, data transfer sense command is sent to interchanger by serial ports, interchanger and detection instrument are mutual Data sending object is formed after even and receives object, detection instrument RISC CPU can enter row data communication and perform work, and this surveys Try the performance of interchanger.Test result is shown in terminal computer
Interchanger self-checking, self-test order is sent by serial ports and realizes self-test to interchanger, interchanger.Test result is in terminal Computer is shown.
Ethernet port exists as a kind of communication mode, can be substituted for each other with serial ports, realizes communication to interchanger simultaneously Carry out the execution of sense command.
By embodiment above, the those skilled in the art can readily realize the present invention.Herein Apply specific case to be set forth the principle and embodiment of the present invention, the explanation of above example is only intended to help Understand the method and its core concept of the present invention.It should be pointed out that for those skilled in the art, do not taking off On the premise of from the principle of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls into this In invention scope of the claims.

Claims (10)

1. a kind of optical fiber switch detects instrument, it is characterised in that for connecting optical fiber switch, its structure includes,
Integrated circuit platform, CPU, internal memory are configured with, are worked for HBA cards and virtual port;
HBA cards, above-mentioned CPU is connected, and be supplied to optical fiber switch WWN information, i.e. global unique identification information;
Virtual port controller, for obtaining the WWN information of HBA cards and cloning, then the WWN information after clone is distributed to Optical fiber switch.
A kind of 2. optical fiber switch detection instrument according to claim 1, it is characterised in that the CPU is RISC CPU, That is Jing Ke Cao Neng CPU, the CPU are also connected with ethernet port, serial ports, and wherein ethernet port is used to realize terminal computer With the communication of optical fiber switch, serial ports realizes that optical fiber switch communicates with the Telnet of terminal computer.
A kind of 3. optical fiber switch detection instrument according to claim 1 or 2, it is characterised in that the virtual port control After device processed obtains the WWN information of HBA cards, WWN information is sent in the optical fiber switch of interconnection based on Fibre Channel agreement, The WWN information is divided into two kinds of WWPN and WWNN, i.e. port number information and node number information.
A kind of 4. optical fiber switch detection instrument according to claim 3, it is characterised in that the virtual port controller QSFP interfaces are connected by optical-fibre channel, the QSFP interfaces are used to connect optical fiber switch and distribute WWN information.
5. a kind of optical fiber switch detection instrument according to claim 4, it is characterised in that the optical-fibre channel is configured with Six, every optical-fibre channel is interior to configure four optical fiber switch cables to connect the four of QSFP interfaces ports.
6. a kind of optical fiber switch detection instrument according to claim 5, it is characterised in that in virtual port controller Node and port resource pond are formed, to place clone 6 WWNN and 24 WWPN, when having detected optical fiber switch connection And when running, all WWNN are sequentially assigned to each and are connected with the optical-fibre channel of optical fiber switch, when each point When there is any access 4 ports in optical-fibre channel with WWNN, virtual port controller is from resource pool distribution WWPN to each Individual port, do not distributed then without equipment access.
7. a kind of optical fiber switch detection method, it is characterised in that its implementation process is:
Optical fiber switch detection instrument is configured first, and the instrument includes the internal memory, CPU, HBA card, virtual port control being linked in sequence Device processed, virtual port controller provide optical-fibre channel to connect some optical fiber switch, and the CPU is also connected to ethernet port And serial ports;
HBA cards send WWN information and give virtual port controller, and the WWN information is global unique identification information;
The WWN information that virtual port controller clone receives, and connected optical fiber switch is sequentially assigned to, make optical fiber Interchanger and detection instrument proper communication;
Sense command is sent to optical fiber switch, while completes the detection of more optical fiber switch.
A kind of 8. optical fiber switch detection method according to claim 7, it is characterised in that the virtual port controller WWN information is sent in the optical fiber switch of interconnection from optical-fibre channel by Fibre Channel agreement, the optical-fibre channel is matched somebody with somebody Six are equipped with, four optical fiber switch cables are configured to connect the four of accessible optical fiber switch ends in every optical-fibre channel Mouthful, four ports are integrated in QSFP interfaces.
A kind of 9. optical fiber switch detection method according to claim 8, it is characterised in that the WWN that the HBA cards provide Information is divided into two kinds of WWPN and WWNN, i.e. port number information and node number information, the WWN packets of virtual port controller clone Include 6 WWNN information and 24 WWPN information.
A kind of 10. optical fiber switch detection method according to claim 9, it is characterised in that the virtual port control The process that device distributes to WWN information optical fiber switch is:
Node and port resource pond are formed first in virtual port controller, to place clone 6 WWNN and 24 WWPN;
When having detected that optical fiber switch connects and when running, all WWNN are sequentially assigned to each and are connected with optical fiber friendship In the optical-fibre channel changed planes, do not distributed then without optical fiber switch access;
When there is any optical fiber switch to access in 4 ports in each optical-fibre channel for having distributed WWNN, virtual port Controller gives each port from resource pool distribution WWPN, is not distributed then without optical fiber switch access.
CN201710875051.2A 2017-09-25 2017-09-25 Optical fiber switch detection tool and method Active CN107612777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710875051.2A CN107612777B (en) 2017-09-25 2017-09-25 Optical fiber switch detection tool and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710875051.2A CN107612777B (en) 2017-09-25 2017-09-25 Optical fiber switch detection tool and method

Publications (2)

Publication Number Publication Date
CN107612777A true CN107612777A (en) 2018-01-19
CN107612777B CN107612777B (en) 2020-09-22

Family

ID=61057810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710875051.2A Active CN107612777B (en) 2017-09-25 2017-09-25 Optical fiber switch detection tool and method

Country Status (1)

Country Link
CN (1) CN107612777B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880948A (en) * 2018-08-17 2018-11-23 成都成电光信科技股份有限公司 A kind of equipment test verifying system and method based on FC network

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1689273A (en) * 2001-12-21 2005-10-26 北方电讯网络有限公司 Method for automated connection discovery in optical networks
US20050238353A1 (en) * 2004-04-23 2005-10-27 Mcglaughlin Edward C Fibre channel transparent switch for mixed switch fabrics
US20060230220A1 (en) * 2005-04-06 2006-10-12 Yoshiko Yasuda Fibre channel switch system, information processing system, and login procedure
US7660302B2 (en) * 2006-06-15 2010-02-09 Qlogic, Corporation Method and system for inter-fabric routing
CN101741831A (en) * 2008-11-10 2010-06-16 国际商业机器公司 Dynamic physical and virtual multipath input/output method, system and device
CN102171973A (en) * 2008-10-20 2011-08-31 国际商业机器公司 Redundant intermediary switch solution for detecting and managing fibre channel over Ethernet (FCOE) switch failures
CN103501254A (en) * 2013-10-23 2014-01-08 北京旋极信息技术股份有限公司 Multipurpose avionics relay network topology configuration management method and multipurpose avionics relay network topology configuration management system
CN104113450A (en) * 2014-07-16 2014-10-22 云南电力试验研究院(集团)有限公司电力研究院 Tester of optical fiber switch of automatic intelligent substation

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1689273A (en) * 2001-12-21 2005-10-26 北方电讯网络有限公司 Method for automated connection discovery in optical networks
US20050238353A1 (en) * 2004-04-23 2005-10-27 Mcglaughlin Edward C Fibre channel transparent switch for mixed switch fabrics
US20060230220A1 (en) * 2005-04-06 2006-10-12 Yoshiko Yasuda Fibre channel switch system, information processing system, and login procedure
US7660302B2 (en) * 2006-06-15 2010-02-09 Qlogic, Corporation Method and system for inter-fabric routing
CN102171973A (en) * 2008-10-20 2011-08-31 国际商业机器公司 Redundant intermediary switch solution for detecting and managing fibre channel over Ethernet (FCOE) switch failures
CN102171973B (en) * 2008-10-20 2014-07-09 国际商业机器公司 Redundant intermediary switch solution for detecting and managing fibre channel over Ethernet (FCOE) switch failures
CN101741831A (en) * 2008-11-10 2010-06-16 国际商业机器公司 Dynamic physical and virtual multipath input/output method, system and device
CN103501254A (en) * 2013-10-23 2014-01-08 北京旋极信息技术股份有限公司 Multipurpose avionics relay network topology configuration management method and multipurpose avionics relay network topology configuration management system
CN104113450A (en) * 2014-07-16 2014-10-22 云南电力试验研究院(集团)有限公司电力研究院 Tester of optical fiber switch of automatic intelligent substation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880948A (en) * 2018-08-17 2018-11-23 成都成电光信科技股份有限公司 A kind of equipment test verifying system and method based on FC network
CN108880948B (en) * 2018-08-17 2023-12-26 成都成电光信科技股份有限公司 Equipment test verification system and method based on FC network

Also Published As

Publication number Publication date
CN107612777B (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US20090148116A1 (en) Communication apparatus for communication between housing slots, wiring change unit and wiring method
CN103563324B (en) Identifier code scheme for multiple connector
CN109547365A (en) A kind of unmanned Combat Command System data exchange system based on SRIO
CN110290227A (en) Dynamic allocation method, system and the storage medium of IC bus address
CN102176685A (en) Optical fiber connection automatic identification and management system
CN103532785A (en) Full load test method for Ethernet switch
CN103972909B (en) TSC systems and its RS485 communication means based on FPGA
CN102447590B (en) Method, device and system for testing exchange board circuit
CN104135448B (en) Include the interchanger of polymorphic type Ethernet coffret
CN106950670B (en) A kind of wildcard fiber optic tap module and pre-terminated system with upset generic polar
CN107612777A (en) A kind of optical fiber switch detection instrument and method
CN107167887B (en) A kind of polarity management method of wildcard fiber optic tap module
CN103067795B (en) Multi-chassis cascading system, Cluster Central Chassis and realize the method for exchanges data
CN103840879B (en) A kind of optical fiber office is to recognition methods, device and system
CN103560908B (en) A kind of centralized-control intelligent ODN electronic label machine disc managing circuit
CN104104594B (en) VSU protocol massages are sent and method of reseptance, equipment and system
CN106161169A (en) A kind of multi-host network exchange system
CN103716258B (en) High-density line card, switching device, cluster system and electric signal type configuration method
CN205829626U (en) Optic communication test system and optic communication test terminal
CN202551086U (en) Ethernet switch
CN214177314U (en) Photoelectric integrated fiber jumping device for optical distribution equipment
CN205123775U (en) Network switching device with data diagnosis and memory function
CN107343228A (en) A kind of communication system of cluster interconnection
CN209375605U (en) A kind of polymorphic type photoswitch control device and system
CN106685588A (en) Adapter, data transmission system and method

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
TA01 Transfer of patent application right

Effective date of registration: 20200820

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 450000 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601

Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant