CN112436885B - Optical fiber link mutual backup method and system based on KVM (keyboard video mouse) seat - Google Patents

Optical fiber link mutual backup method and system based on KVM (keyboard video mouse) seat Download PDF

Info

Publication number
CN112436885B
CN112436885B CN202110110617.9A CN202110110617A CN112436885B CN 112436885 B CN112436885 B CN 112436885B CN 202110110617 A CN202110110617 A CN 202110110617A CN 112436885 B CN112436885 B CN 112436885B
Authority
CN
China
Prior art keywords
optical fiber
processing module
optical
abnormal
receiving node
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
CN202110110617.9A
Other languages
Chinese (zh)
Other versions
CN112436885A (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.)
Beijing Digibird Technology Co ltd
Original Assignee
Beijing Digibird 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 Beijing Digibird Technology Co ltd filed Critical Beijing Digibird Technology Co ltd
Priority to CN202110110617.9A priority Critical patent/CN112436885B/en
Publication of CN112436885A publication Critical patent/CN112436885A/en
Application granted granted Critical
Publication of CN112436885B publication Critical patent/CN112436885B/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/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The invention belongs to the technical field of electronic information, aims to solve the problem that the normal work of a system cannot be ensured when a host or an optical fiber link or an optical module in a photoelectric seat fails, and particularly relates to a KVM-seat-based optical fiber link mutual backup method and a KVM-seat-based optical fiber link mutual backup system; the method specifically comprises the following steps: a sending node in the input unit and a first processing module in the switching unit detect the bidirectional transmission state of the first group of optical fiber links; a receiving node in the output unit and the first processing module detect the bidirectional transmission state of the second group of optical fiber links; when a receiving node in the output unit detects that the transmission state of the first group of optical fiber links and/or the second group of optical fiber links is abnormal, starting a standby optical fiber link between the input unit and the first processing module and/or starting a standby optical fiber link between the input unit and the second processing module of the switching unit; the invention can realize the normal work of seamless switching under the condition of optical fiber link failure, optical module failure or host failure.

Description

Optical fiber link mutual backup method and system based on KVM (keyboard video mouse) seat
Technical Field
The invention belongs to the technical field of electronic information, and particularly relates to a fiber link mutual backup method and system based on a KVM (keyboard, video and mouse) seat.
Background
The KVM seating system mainly comprises a sending node, a receiving node and a photoelectric matrix, wherein the sending node is connected with equipment which can be controlled by a keyboard and a mouse, such as a computer and the like; the receiving nodes are connected with a display, a plurality of receiving nodes form a seat, a keyboard and mouse are connected to one of the receiving nodes, and a set of keyboard and mouse is used for controlling and managing signal sources on a plurality of screens; the photoelectric matrix is mainly responsible for switching data paths between the transmitting node and the receiving node. In the existing photoelectric matrix KVM seat system, in order to ensure the stability of the system, a dual-machine mutual backup method is adopted, in the method, a sending node and a receiving node are dual optical ports, the two optical ports are respectively connected to a main photoelectric seat host and a standby photoelectric seat host through optical fibers, and when the main photoelectric seat host fails, the main photoelectric seat host is automatically switched to the standby photoelectric seat host, so that the normal functions of the seats are ensured; in the scheme of mutual backup of dual photoelectric seat hosts, only the main photoelectric seat host is backed up, automatic switching can be triggered only when the host fails, the scene of optical fiber link failure or optical module failure cannot be processed, and a transmitting node and a receiving node need to clearly distinguish a main optical fiber interface and a standby optical fiber interface, so that inconvenience is brought to field wiring implementation.
Disclosure of Invention
In order to solve the problem that the normal operation of the system cannot be guaranteed when the host, the optical fiber link or the optical module in the photoelectric seat fails, the invention provides a fiber link mutual backup method and a fiber link mutual backup system based on a KVM seat.
The invention provides a fiber link mutual backup method based on a KVM (keyboard video mouse) seat, which is applied to a distributed KVM seat system.
Step S100, the sending node in the input unit and the first processing module in the switching unit detect the bidirectional transmission state of the first group of optical fiber links.
Step S200, the receiving node in the output unit and the first processing module in the switching unit detect the bidirectional transmission state of the second group of optical fiber links.
Step S300, when a receiving node in the output unit detects that the transmission state of the first group of optical fiber links and/or the second group of optical fiber links is abnormal, starting a backup optical fiber link between the input unit and the first processing module of the switching unit and/or starting a backup optical fiber link between the input unit and the second processing module of the switching unit; the first processing module is a first photoelectric matrix host; the second processing module is a second photoelectric matrix host.
In some preferred embodiments, step S100 specifically includes the following steps: step S110, a first input module in a first processing module judges whether the first direction is abnormal or not based on the first direction transmission state of a first optical fiber in a first group of optical fiber links, if so, a sending node transmits abnormal information to the first input module through a second direction of the first optical fiber; the first direction of the first optical fiber is the direction from the first processing module to the sending node, and the second direction of the first optical fiber is the direction from the sending node to the first processing module.
Step S120, a first input module in the first processing module judges whether the second direction is abnormal or not based on the optical fiber transmission state of the first optical fiber in the second direction; if the first direction abnormal information exists, the first input module transmits the second direction abnormal information of the first optical fiber to a first output module in the first processing module according to a preset switching logic rule; if no abnormity exists, the first input module transmits first direction abnormal information to the first output module based on the optical fiber abnormal state of the first direction of the first optical fiber reported by the sending node and the preset switching logic rule.
In some preferred embodiments, step S200 specifically includes the following steps: step S210, the first output module judges whether the first direction is abnormal or not based on the optical fiber transmission state of the first direction of the third optical fiber in the second group of optical fiber links, and if the first direction is abnormal, the first output module transmits abnormal information to the receiving node through the second direction of the third optical fiber; the first direction of the third optical fiber is the direction from the receiving node to the first processing module, and the second direction of the third optical fiber is the direction from the first processing module to the receiving node.
Step S220, the receiving node judges whether the second direction is abnormal or not based on the optical fiber transmission state of the third optical fiber in the second direction, if not, the receiving node makes a first relevant measure based on the optical fiber abnormal state of the third optical fiber in the first direction reported by the first output module; if the optical fiber is abnormal, the receiving node makes a second relevant measure based on the optical fiber abnormal state of the third optical fiber in the second direction; the first relevant measure is that an optical port switching request is sent to the first processing module through a fourth optical port, and the receiving node and the sending node are controlled to be switched to the second optical port and the fourth optical port respectively; and the second relevant measure is to send an optical port switching request to the first processing module through the third optical port and the fourth optical port, and control the receiving node and the sending node to be switched to the second optical port and the fourth optical port respectively.
In some preferred embodiments, step S300 specifically includes the following steps: step S310, the sending node judges whether the first direction is abnormal or not based on the optical fiber transmission state of the first direction of the second optical fiber in the first group of optical fiber links, if so, the sending node transmits abnormal information to a second input module in the first processing module through the second direction of the second optical fiber; the first direction of the second optical fiber is the direction from the first processing module to the sending node, and the second direction of the second optical fiber is the direction from the sending node to the first processing module.
Step S320, the second input module judges whether the second direction is abnormal or not based on the optical fiber transmission state of the second direction of the second optical fiber; if the first direction of the first optical fiber is abnormal, the first input module transmits first direction abnormal information of the first optical fiber to a first output module in the first processing module according to a preset switching logic rule; and if no abnormity exists, the second input module transmits the abnormal information of the first direction to the second output module based on the optical fiber abnormal state of the first direction of the second optical fiber reported by the sending node and the preset switching logic rule.
Step S330, the second output module judges whether the first direction is abnormal or not based on the optical fiber transmission state of the first direction of the fourth optical fiber in the second group of optical fiber links, and if the first direction is abnormal, the second output module transmits abnormal information to the receiving node through the second direction of the fourth optical fiber; the first direction of the fourth optical fiber is the direction from the receiving node to the first processing module, and the second direction of the fourth optical fiber is the direction from the first processing module to the receiving node.
Step S340, the receiving node judges whether the second direction is abnormal or not based on the optical fiber transmission state of the fourth optical fiber in the second direction, if not, the receiving node makes a third relevant measure based on the optical fiber abnormal state of the fourth optical fiber in the first direction reported by the second output module; if the optical fiber is abnormal, the receiving node makes a fourth relevant measure based on the optical fiber abnormal state of the fourth optical fiber in the second direction; the third relevant measure is that an optical port switching request is sent to the first processing module through a fourth optical port, and the receiving node and the sending node are controlled to be switched to a fifth optical port and a sixth optical port respectively; the fourth relevant measure is that an optical port switching request is sent to the first processing module through a fourth optical port and a sixth optical port, and the receiving node and the sending node are controlled to be switched to a fifth optical port and a sixth optical port respectively; the fifth optical port is communicated with the second processing module in the switching unit through a third group of optical fiber links, and the sixth optical port is communicated with the second processing module in the switching unit through a fourth group of optical fiber links.
The invention provides a KVM (keyboard, video and mouse) -seat-based optical fiber link mutual backup system, which comprises one or more input units, a switching unit and one or more output units, wherein the switching unit is used for sending processed audio and video signals to the output units through optical fiber links, the switching unit comprises a first processing module and a second processing module, and the first processing module and the second processing module are synchronously arranged.
A first group of optical fiber links are arranged between the first processing module and the input unit, and a second group of optical fiber links are arranged between the first processing module and the output unit; and a third group of optical fiber links are arranged between the second group of processing modules and the input unit, and a fourth group of optical fiber links are arranged between the second group of processing modules and the output unit.
The input unit and the first processing module can perform bidirectional optical fiber state detection on the first group of optical fiber links; the output unit and the first processing module can perform bidirectional optical fiber state detection on the second group of optical fiber links.
The output unit may trigger optical port switching in the first group of optical fiber links and the second group of optical fiber links to achieve communication between the input unit and the output unit and a standby optical fiber link of the first processing module, or trigger the third group of optical fiber links and the fourth group of optical fiber links to achieve communication between the input unit and the output unit and the second processing module, based on the optical fiber link states of the first group of optical fiber links and the second group of optical fiber links detected by the input unit and the first processing module.
In some preferred embodiments, the first group of optical fiber links includes a first optical fiber and a second optical fiber, one end of each of the first optical fiber and the second optical fiber is in communication connection with a first optical port and a second optical port of the input unit, respectively, and the other end of each of the first optical fiber and the second optical fiber is in communication connection with the first processing module.
The second group of optical fiber links comprise a third optical fiber and a fourth optical fiber, one end of the third optical fiber and one end of the fourth optical fiber are respectively in communication connection with a third optical port and a fourth optical port arranged on the output unit, and the other end of the third optical fiber and the other end of the fourth optical fiber are in communication connection with the first processing module.
In some preferred embodiments, the input unit includes a sending node, where the sending node may determine whether there is an abnormality in a first direction based on an optical fiber transmission state in the first direction of the first optical fiber, and if there is an abnormality, the sending node transmits abnormality information to a first input module in the first processing module through a second direction of the first optical fiber; the first direction of the first optical fiber is a direction from the first processing module to the sending node, and the second direction of the first optical fiber is a direction from the sending node to the first processing module.
The first input module in the first processing module may determine whether there is an abnormality in the second direction based on the optical fiber transmission state in the second direction of the first optical fiber; if the first processing module is abnormal, the first input module transmits second direction abnormal information of the first optical fiber to a first output module in the first processing module according to a preset switching logic rule; and if no abnormity exists, the first input module transmits first direction abnormal information to the first output module based on the optical fiber abnormal state of the first direction of the first optical fiber reported by the sending node and a preset switching logic rule.
In some preferred embodiments, the output unit comprises a receiving node; the first output module judges whether the first direction is abnormal or not based on the optical fiber transmission state of the third optical fiber in the first direction, and if the first direction is abnormal, the first output module transmits abnormal information to the receiving node through the second direction of the third optical fiber; the first direction of the third optical fiber is a direction from the receiving node to the first processing module, and the second direction of the third optical fiber is a direction from the first processing module to the receiving node.
The receiving node judges whether the second direction is abnormal or not based on the optical fiber transmission state of the third optical fiber in the second direction, and if not, the receiving node makes a first relevant measure based on the optical fiber abnormal state of the third optical fiber in the first direction reported by the first output module; and if the third optical fiber is abnormal, the receiving node makes a second relevant measure based on the optical fiber abnormal state in the second direction of the third optical fiber.
The first relevant measure is to send an optical port switching request to the first processing module through a fourth optical port, and control the receiving node and the sending node to be switched to the second optical port and the fourth optical port respectively.
And the second relevant measure is to send an optical port switching request to the first processing module through a third optical port and a fourth optical port, and control the receiving node and the sending node to be switched to the second optical port and the fourth optical port respectively.
In some preferred embodiments, the sending node determines whether there is an abnormality in the first direction based on the optical fiber transmission state in the first direction of the second optical fiber, and if there is an abnormality, the sending node transmits abnormality information to the second input module through the second direction of the second optical fiber; the first direction of the second optical fiber is a direction from the first processing module to the sending node, and the second direction of the second optical fiber is a direction from the sending node to the first processing module.
A second input module in the first processing module judges whether the second direction is abnormal or not based on the optical fiber transmission state of the second direction of the second optical fiber; if the second direction of the second optical fiber is abnormal, the second input module transmits second direction abnormal information of the second optical fiber to the second output module according to a preset switching logic rule; and if no abnormity exists, the second input module transmits first direction abnormal information to the second output module based on the optical fiber abnormal state of the first direction of the second optical fiber reported by the sending node and a preset switching logic rule.
In some preferred embodiments, the second output module may determine whether there is an abnormality in the first direction based on the optical fiber transmission state in the first direction of the fourth optical fiber, and if there is an abnormality, the second output module transmits abnormality information to the receiving node through the second direction of the fourth optical fiber; the first direction of the fourth optical fiber is a direction from the receiving node to the first processing module, and the second direction of the fourth optical fiber is a direction from the first processing module to the receiving node.
The receiving node judges whether the second direction is abnormal or not based on the optical fiber transmission state of the fourth optical fiber in the second direction, and if not, the receiving node makes a third relevant measure based on the optical fiber abnormal state of the fourth optical fiber in the first direction reported by the second output module; if the optical fiber is abnormal, the receiving node makes a fourth relevant measure based on the optical fiber abnormal state of the fourth optical fiber in the second direction; the third relevant measure is that an optical port switching request is sent to the first processing module through a fourth optical port, and the receiving node and the sending node are controlled to be switched to a fifth optical port and a sixth optical port respectively; the fourth relevant measure is to send an optical port switching request to the first processing module through a fourth optical port and a sixth optical port, and control the receiving node and the sending node to be switched to a fifth optical port and a sixth optical port respectively.
The third group of optical fiber links comprises a fifth optical fiber, one end of the fifth optical fiber is in communication connection with the fifth optical port, and the other end of the fifth optical fiber is in communication connection with the second processing module; and the fourth group of optical fiber links comprise sixth optical fibers, one end of each sixth optical fiber is in communication connection with the sixth optical port, and the other end of each sixth optical fiber is in communication connection with the second processing module.
1) According to the technical scheme provided by the invention, in the photoelectric seat host seat mutual backup system, each working node (including a host) can automatically detect the states of an optical fiber link and an optical module and collect the states to a receiving node in real time, once the receiving node finds that the optical fiber link is abnormal or the optical module is abnormal, the receiving node automatically sends a request for switching the optical fiber link to a backup optical fiber link to the host, or simultaneously sends a request for switching the optical fiber link to the backup optical fiber link to the main host and the standby host, and as long as one optical fiber link with the receiving node is normal, the host can automatically switch the receiving node and the sending node establishing a link relation with the receiving node to the backup optical fiber link through a switching command, so that the normal function of a seat is ensured.
2) According to the technical scheme provided by the invention, the receiving node and the sending node do not need to distinguish the primary optical fiber interface and the standby optical fiber interface, the corresponding optical ports in the receiving node and the sending node can be randomly connected to two photoelectric seat hosts, and the photoelectric seat hosts can dynamically set the primary optical fiber interface and the standby optical fiber interface of the receiving node and the sending node according to the self primary and standby properties.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings.
FIG. 1 is a block diagram of a fiber link interworking method based on KVM agents according to an embodiment of the present invention.
FIG. 2 is a schematic diagram illustrating a primary standby system starting process in the KVM agent based fiber link mutual standby method according to the present invention.
FIG. 3 is a schematic diagram illustrating a secondary standby system starting process in the KVM agent based fiber link mutual standby method according to the present invention.
Detailed Description
In order to make the embodiments, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and are not intended to limit the scope of the present invention.
The invention is further described with reference to the following detailed description of embodiments with reference to the accompanying drawings.
Referring to fig. 1, fig. 2 and fig. 3, fig. 1 is a schematic frame flow diagram of an embodiment of a fiber link mutual backup method based on a KVM agent in the present invention, fig. 2 is a schematic start-up flow diagram of a primary standby system in the fiber link mutual backup method based on the KVM agent in the present invention, and fig. 3 is a schematic start-up flow diagram of a secondary standby system in the fiber link mutual backup method based on the KVM agent in the present invention; the invention provides a fiber link mutual backup method based on a KVM (keyboard, video and mouse) seat, which is applied to a distributed KVM seat system and comprises an input unit, an output unit and a switching unit, wherein the plurality of output units form a seat position, each seat position is provided with a set of keyboard and mouse, and the switching unit is used for sending processed audio and video signals to the output unit through a fiber link; the switching unit has a main function of completing the forwarding of the data received by the input unit to which output unit to send out, and in this embodiment, the switching unit includes a first processing module and a second processing module, and the first processing module and the second processing module are synchronously arranged; the optical fiber link mutual backup method comprises the following steps: step S100, a sending node in an input unit and a first processing module in a switching unit detect the bidirectional transmission state of a first group of optical fiber links; step S200, a receiving node in the output unit and a first processing module in the switching unit detect the bidirectional transmission state of a second group of optical fiber links; step S300, a receiving node in an output unit makes related measures based on the abnormal detection results of the first group of optical fiber links and the second group of optical fiber links; the related measures comprise starting a standby optical fiber link between the input unit and the first processing module of the switching unit or starting a standby optical fiber link between the input unit and the second processing module of the switching unit when the optical fiber link has an abnormal state.
In this embodiment, when the receiving node detects that there is an abnormality in the optical fiber from the first processing module to the receiving node, or receives an abnormal state of another optical fiber reported by the first output module in the first processing module, it may be determined that there is an abnormality in the entire optical fiber link from the current sending node to the receiving node, and it is necessary to switch to another optical port; in this implementation, when a problem of the optical fiber link is detected, the primary standby system is preferentially started, that is, the standby optical fiber links among the sending node, the receiving node and the first processing module are started, rather than being integrally switched to the standby host; in this embodiment, the optical port 1 of the sending node and the optical port 1 of the receiving node are defaulted as initial connection optical ports, and when the receiving node detects that a problem occurs in any direction of any optical fiber link from the sending node to the receiving node, the first processing module triggers the switching of the optical port 2 of the sending node and the optical port 2 of the receiving node, so as to realize the normal operation of the system; when the optical fiber link is switched to, the transmitting node, the first processing module and the receiving node perform anomaly detection on the switched optical fiber link in real time, when the receiving node detects that the optical fiber in the direction from the second output module in the first processing module to the receiving node is abnormal or receives the abnormal state of other optical fibers reported by the second output module in the first processing module, the receiving node can determine that the whole optical fiber link from the current transmitting node to the receiving node is abnormal, a secondary standby system is started, namely, an optical port 3 of the transmitting node and an optical port 3 of the receiving node are switched, at the moment, the system ensures the normal work of the system according to the connection between the transmitting node, the second processing module and the receiving node, and no matter the optical fiber link between the modules is in fault and the optical module is in fault through the arrangement of the primary standby system and the secondary standby system, or the host computer is in fault, the system can be detected in real time, automatic emergency treatment is carried out, seamless switching of the system is guaranteed, interruption of the KVM system is effectively avoided, and normal and reliable operation of the system is guaranteed.
In this embodiment, the first processing module and the second processing module are a first photoelectric matrix host and a second photoelectric matrix host, respectively; the preset switching logic rule is that a data transmission channel is established between the first input module and the first output module, and a data transmission channel is established between the second input module and the second output module.
Under different abnormal state detection results, a receiving node can simultaneously send a switching request to a switching unit through different optical ports, after the switching unit receives the switching request, the receiving node and a sending node can be simultaneously switched to another optical port to work, the setting of the optical ports 1 and 2 of the receiving node and the sending node has no main and standby part, the receiving node and the sending node can be randomly connected with the switching unit, and the switching unit can dynamically set the main and standby relations of different optical ports of the receiving node and the sending node according to the own main and standby configuration without fixed connection lines. In this embodiment, a first processing module is taken as a host to perform illustration, so two optical ports are disposed between a sending node and the first processing module, it should be noted that this embodiment does not limit the protection scope of the present invention, and when a second processing module is taken as a host to perform illustration, two different optical ports may be disposed between a sending node, a receiving node, and a second processing module to ensure backup of optical fiber links between the sending node, the receiving node, and the second processing module, so that the steps of the backup method are not described herein again.
In the technical scheme provided by the invention, a receiving node and a sending node are provided with three optical fiber interfaces, each optical fiber interface supports bidirectional data transmission, the dotted line direction generally transmits data such as keyboard and mouse, USB and the like, and is called as a first direction, and the solid line direction generally transmits data such as audio and video and the like, and is called as a second direction; the two optical fiber interfaces between the sending node and the first processing module are respectively connected to the first input module and the second input module of the photoelectric matrix switching unit, and the two optical fiber interfaces between the receiving node and the first processing module are respectively connected to the first output module and the second output module of the photoelectric matrix switching unit.
In this embodiment, a switching relationship is established between the first input module and the first output module, and a switching relationship is established between the second input module and the second output module, so that a data transmission channel is established between the receiving node and the sending node through the internal switching logic of the switching unit, in a normal scene, data such as audio and video are sent to the optical port 1 of the receiving node through a solid line from the optical port 1 of the sending node through the switching unit, and the receiving node outputs the video to the display; meanwhile, the keyboard mouse, the USB and other data are transmitted from the optical port 1 of the receiving node to the optical port 1 of the transmitting node through the switching unit by the dotted line, and the transmitting node transmits the data to the computer; the optical ports 2 and 3 of the receiving node and the sending node have the same functions as the optical port 1, but only one of the optical ports 1, 2 and 3 is in a data transmission state at the same time, and the other optical ports are in an idle state.
Further, the optical fiber link mutual backup method comprises the following steps: step S100, a sending node in the input unit and a first processing module in the switching unit detect a bidirectional transmission state of the first group of optical fiber links, specifically, step S110 is included, the sending node judges an abnormality in the first direction based on information transmitted in the first direction of a first optical fiber in the first group of optical fiber links, and if the abnormality exists, the sending node transmits the abnormality information to the first input module through the second direction of the first optical fiber; the first direction of the first optical fiber is the direction from the first processing module to the sending node, and the second direction of the first optical fiber is the direction from the sending node to the first processing module; step S120, a first input module in the first processing module judges the abnormality of the second direction based on the optical fiber transmission state of the second direction of the first optical fiber; if the first direction of the first optical fiber is abnormal, the first input module transmits second direction abnormal information of the first optical fiber to a first output module in the first processing module according to a preset switching logic rule; if no abnormity exists, the first input module transmits first direction abnormal information to the first output module based on the optical fiber abnormal state of the first direction of the first optical fiber reported by the sending node and the preset switching logic rule.
Step S200, a receiving node in the output unit and a first processing module in the switching unit detect a bidirectional transmission state of the second group of optical fiber links, specifically, includes step S210, the first output module judges an abnormality in the first direction based on an optical fiber transmission state in the first direction of a third optical fiber in the second group of optical fiber links, and if the abnormality exists, the first output module transmits abnormality information to the receiving node through the second direction of the third optical fiber; the first direction of the third optical fiber is the direction from the receiving node to the first processing module, and the second direction of the third optical fiber is the direction from the first processing module to the receiving node; step S220, the receiving node judges the abnormality of the second direction based on the optical fiber transmission state of the third optical fiber in the second direction, if no abnormality exists, the receiving node makes a first relevant measure based on the optical fiber abnormal state of the third optical fiber in the first direction reported by the first output module; if the optical fiber is abnormal, the receiving node makes a second relevant measure based on the optical fiber abnormal state of the third optical fiber in the second direction; the first relevant measure is that an optical port switching request is sent to the first processing module through the fourth optical port, and the receiving node and the sending node are controlled to be switched to the second optical port and the fourth optical port respectively; the second relevant measure is to send an optical port switching request to the first processing module through the third optical port and the fourth optical port, and control the receiving node and the sending node to be switched to the second optical port and the fourth optical port respectively.
Step S300, a receiving node in an output unit makes related measures based on the abnormal detection results of the first group of optical fiber links and the second group of optical fiber links; the related measures comprise that a standby optical fiber link between the input unit and a first processing module of the switching unit is started when the optical fiber link is in an abnormal state, or the standby optical fiber link between the input unit and a second processing module of the switching unit is started; specifically, the method includes step S310, where the sending node determines an abnormality in a first direction based on an optical fiber transmission state in the first direction of a second optical fiber in a first group of optical fiber links, and if the abnormality exists, the sending node transmits abnormality information to a second input module in the first processing module through a second direction of the second optical fiber; the first direction of the second optical fiber is the direction from the first processing module to the sending node, and the second direction of the second optical fiber is the direction from the sending node to the first processing module; step S320, the second input module judges the abnormity of the second direction based on the optical fiber transmission state of the second direction of the second optical fiber; if the first direction of the first optical fiber is abnormal, the first input module transmits first direction abnormal information of the first optical fiber to a first output module in the first processing module according to a preset switching logic rule; if no abnormity exists, the second input module transmits the abnormal information of the first direction to the second output module based on the optical fiber abnormal state of the first direction of the second optical fiber reported by the sending node and the preset switching logic rule; step S330, the second output module judges the abnormality of the first direction based on the optical fiber transmission state of the first direction of the fourth optical fiber in the second group of optical fiber links, and if the abnormality exists, the second output module transmits the abnormal information to the receiving node through the second direction of the fourth optical fiber; the first direction of the fourth optical fiber is the direction from the receiving node to the first processing module, and the second direction of the fourth optical fiber is the direction from the first processing module to the receiving node; step S340, the receiving node judges the abnormality of the second direction based on the optical fiber transmission state of the fourth optical fiber in the second direction, if no abnormality exists, the receiving node makes a third relevant measure based on the optical fiber abnormal state of the fourth optical fiber in the first direction reported by the second output module; if the optical fiber is abnormal, the receiving node makes a fourth relevant measure based on the optical fiber abnormal state of the fourth optical fiber in the second direction; the third relevant measure is that an optical port switching request is sent to the first processing module through a fourth optical port, and the receiving node and the sending node are controlled to be switched to a fifth optical port and a sixth optical port respectively; a fourth relevant measure is that an optical port switching request is sent to the first processing module through a fourth optical port and a sixth optical port, that is, the receiving node and the sending node are controlled to be switched to a fifth optical port and a sixth optical port respectively through the fourth optical port-a fourth optical fiber-the first processing module and through the sixth optical port-a sixth optical fiber-the second processing module-the first processing module; the fifth optical port is communicated with the second processing module in the switching unit through a third group of optical fiber links, and the sixth optical port is communicated with the second processing module in the switching unit through a fourth group of optical fiber links.
By the invention, the bidirectional detection of the optical fiber between the input unit and the switching unit is as follows: the sending node firstly detects the state of the optical fiber in the direction from the sending node to the first processing module, and when the abnormality exists, the sending node reports the state to the first output module through the switching logic of the switching unit, and at the moment, the state of the optical fiber in the direction from the first input module to the sending node has no meaning; when there is no abnormality, the first input module needs to detect the optical fiber state of the sending node in the direction from the sending node to the first input module, which is reported to the first input module of the first input module to the sending node, and if there is abnormality, the first input module reports to the first output module through the switching logic of the switching unit; therefore, the bidirectional abnormity detection of the optical fiber between the first input module of the first processing module and the sending node is realized, and finally, the abnormity is reported to the output module by the input module through the switching logic of the switching unit.
Further, the bidirectional detection of the optical fiber between the output unit and the switching unit is as follows: firstly, a first output module detects the state of an optical fiber from a receiving node to the first output module, and if the state is abnormal, the abnormal state is reported to the receiving node through the optical fiber from the first output module to the receiving node; meanwhile, the first output module detects the bidirectional optical fiber abnormal state between the sending node and the first input module, which is reported by the first input module, and reports the abnormal state to the receiving node through the optical fiber in the direction from the first output module to the receiving node. For a receiving node, the receiving node detects the state of the optical fiber from the first output module to the receiving node, and if the state is abnormal, the receiving node sends an optical port switching request to a switching unit through two optical ports or three optical ports; secondly, when the optical fiber from the first output module to the receiving node is not abnormal, the receiving node needs to detect the abnormal state of the optical fiber from the receiving node reported by the first output module to the first output module, and if the abnormal state exists, the receiving node simultaneously sends an optical port switching request to the switching unit through the two normal optical ports; and thirdly, when the optical fiber from the first output module to the receiving node is not abnormal, the receiving node needs to detect the abnormal state of the bidirectional optical fiber between the sending node and the first input module reported by the first output module, and if the abnormal state exists, the receiving node sends an optical port switching request to the switching unit through the two optical ports at the same time. The invention realizes the bidirectional anomaly detection of the optical fibers between the first processing module and the sending node and between the first processing module and the receiving node, finally the anomalies are summarized by the receiving node, and the receiving node can simultaneously send optical port switching requests to the switching unit through two optical ports or three optical ports as long as receiving any abnormal state.
The invention provides a fiber link mutual backup system based on a KVM (keyboard, video and mouse) seat, which comprises one or more input units, a switching unit and one or more output units, wherein the switching unit is used for sending processed audio and video signals to the output units through the fiber links; a first group of optical fiber links are arranged between the first processing module and the input unit, and a second group of optical fiber links are arranged between the first processing module and the output unit; a third group of optical fiber links are arranged between the second group of processing modules and the input unit, and a fourth group of optical fiber links are arranged between the second group of processing modules and the output unit; the input unit and the first processing module can perform bidirectional optical fiber state detection on the first group of optical fiber links; the output unit and the first processing module can carry out bidirectional optical fiber state detection on the second group of optical fiber links; the output unit can trigger the optical port switching in the first group of optical fiber links and the second group of optical fiber links to realize the communication between the input unit and the standby optical fiber link of the first processing module, or trigger the third group of optical fiber links and the fourth group of optical fiber links to realize the communication between the input unit and the standby optical fiber link of the second processing module based on the optical fiber link states of the first group of optical fiber links and the second group of optical fiber links detected by the input unit and the first processing module.
Furthermore, the first group of optical fiber links comprises a first optical fiber and a second optical fiber, one end of the first optical fiber and one end of the second optical fiber are respectively in communication connection with a first optical port and a second optical port arranged on the input unit, and the other end of the first optical fiber and the second optical fiber are in communication connection with the first processing module; the second group of optical fiber links comprise a third optical fiber and a fourth optical fiber, one end of the third optical fiber and one end of the fourth optical fiber are respectively in communication connection with a third optical port and a fourth optical port of the output unit, and the other end of the third optical fiber and the other end of the fourth optical fiber are in communication connection with the first processing module.
Furthermore, the input unit comprises a computer and a sending node, the sending node can judge the abnormality of the first direction based on the optical fiber transmission state of the first optical fiber in the first direction, and if the abnormality exists, the sending node transmits the abnormality information to the first input module in the first processing module through the second direction of the first optical fiber; the first direction of the first optical fiber is the direction from the first processing module to the sending node, and the second direction of the first optical fiber is the direction from the sending node to the first processing module; the first input module in the first processing module can judge the abnormality of the second direction based on the optical fiber transmission state of the second direction of the first optical fiber; if the first direction of the first optical fiber is abnormal, the first input module transmits second direction abnormal information of the first optical fiber to a first output module in the first processing module according to a preset switching logic rule; if no abnormity exists, the first input module transmits first direction abnormal information to the first output module based on the optical fiber abnormal state of the first direction of the first optical fiber reported by the sending node and the preset switching logic rule.
Further, the output unit comprises a receiving node and a display, the first output module judges the abnormality of the first direction based on the optical fiber transmission state of the third optical fiber in the first direction, and if the abnormality exists, the first output module transmits the abnormality information to the receiving node through the second direction of the third optical fiber; the first direction of the third optical fiber is the direction from the receiving node to the first processing module, and the second direction of the third optical fiber is the direction from the first processing module to the receiving node; the receiving node judges the abnormality of the second direction based on the optical fiber transmission state of the third optical fiber in the second direction, and if the abnormality does not exist, the receiving node makes a first relevant measure based on the optical fiber abnormality state of the third optical fiber in the first direction reported by the first output module; if the optical fiber is abnormal, the receiving node makes a second relevant measure based on the optical fiber abnormal state of the third optical fiber in the second direction; the first relevant measure is that an optical port switching request is sent to the first processing module through the fourth optical port, and the receiving node and the sending node are controlled to be switched to the second optical port and the fourth optical port respectively; the second relevant measure is to send an optical port switching request to the first processing module through the third optical port and the fourth optical port, and control the receiving node and the sending node to be switched to the second optical port and the fourth optical port respectively.
Further, the sending node judges the abnormality of the first direction based on the optical fiber transmission state of the first direction of the second optical fiber, and if the abnormality exists, the sending node transmits the abnormal information to the second input module through the second direction of the second optical fiber; the first direction of the second optical fiber is the direction from the first processing module to the sending node, and the second direction of the second optical fiber is the direction from the sending node to the first processing module; a second input module in the first processing module judges the abnormality of the second direction based on the optical fiber transmission state of the second direction of the second optical fiber; if the second direction of the second optical fiber is abnormal, the second input module transmits second direction abnormal information of the second optical fiber to the second output module according to a preset switching logic rule; and if no abnormity exists, the second input module transmits the abnormal information of the first direction to the second output module based on the optical fiber abnormal state of the first direction of the second optical fiber reported by the sending node and the preset switching logic rule.
Further, the second output module may determine an abnormality in the first direction based on the optical fiber transmission state in the first direction of the fourth optical fiber, and if the abnormality exists, the second output module transmits the abnormality information to the receiving node through the second direction of the fourth optical fiber; the first direction of the fourth optical fiber is the direction from the receiving node to the first processing module, and the second direction of the fourth optical fiber is the direction from the first processing module to the receiving node; the receiving node judges the abnormality of the second direction based on the optical fiber transmission state of the fourth optical fiber in the second direction, and if the abnormality does not exist, the receiving node makes a third relevant measure based on the optical fiber abnormal state of the fourth optical fiber in the first direction reported by the second output module; if the optical fiber is abnormal, the receiving node makes a fourth relevant measure based on the optical fiber abnormal state of the fourth optical fiber in the second direction; the third relevant measure is that an optical port switching request is sent to the first processing module through the fourth optical port, and the receiving node and the sending node are controlled to be switched to the fifth optical port and the sixth optical port respectively; the fourth relevant measure is that an optical port switching request is sent to the first processing module through the fourth optical port and the sixth optical port, that is, the receiving node and the sending node are controlled to be switched to the fifth optical port and the sixth optical port respectively through the fourth optical port-the fourth optical fiber-the first processing module and through the sixth optical port-the sixth optical fiber-the second processing module-the first processing module; the third group of optical fiber links comprise fifth optical fibers, one ends of the fifth optical fibers are in communication connection with the fifth optical port, and the other ends of the fifth optical fibers are in communication connection with the second processing module; and the fourth group of optical fiber links comprise sixth optical fibers, one ends of the sixth optical fibers are in communication connection with the sixth optical port, and the other ends of the sixth optical fibers are in communication connection with the second processing module.
It should be noted that the first optical port, the second optical port, and the fifth optical port respectively refer to an optical port 1, an optical port 2, and an optical port 3 corresponding to the sending node; the third optical port, the fourth optical port and the sixth optical port are respectively referred to as an optical port 1, an optical port 2 and an optical port 3 corresponding to the receiving node.
The most intuitive application scene of the seat system is that a plurality of host computers of a remote machine room are controlled on a workbench (or called a seat) through a set of keyboard and mouse, so that man-machine separation is realized, the host computers are arranged in a centralized manner, and the safety is ensured. The KVM seating system mainly comprises a sending node, a receiving node and a photoelectric matrix, wherein the sending node is connected with equipment which can be controlled by a keyboard and a mouse, such as a computer and the like; the receiving nodes are connected with a display, a plurality of receiving nodes form a seat, a keyboard and mouse are connected to one of the receiving nodes, and a set of keyboard and mouse is used for controlling and managing signal sources on a plurality of screens; the optoelectronic matrix is mainly responsible for switching data paths between a sending node and a receiving node, and the operation principle of a typical optoelectronic matrix KVM seat is as follows: firstly, a switching request is sent to a photoelectric matrix host machine through an OSD menu on a receiving node or upper computer software, and a data transmission channel between a sending node connected with a computer to be controlled and the receiving node to display the computer video is gated. Then, the video data of the computer is transmitted to a receiving node from the sending node through the photoelectric matrix host, and the receiving node displays the video data on a display; meanwhile, the receiving node can collect keyboard and mouse data, the keyboard and mouse data are transmitted to the sending node from the receiving node through the photoelectric matrix host, and the sending node is transmitted to the computer, so that the function of controlling the computer by the mouse is achieved. If a computer to be controlled needs to be replaced, the OSD menu or the upper computer software on the receiving node is used again, and a switching request, namely a set of keyboard and mouse, is sent to the photoelectric matrix host to control a plurality of hosts. The seat realizes that the servers and other host computers are all intensively placed in the machine room, and an operator can control the servers of the machine room through the seat system in other places; the machine room and the operation are generally not in the same place and are far away, so that the machine room and the operation are interconnected through optical fibers; if a host or an optical fiber is damaged, in some emergency command or airport application places, video interruption is not allowed to occur or a server cannot be controlled, the prior art mainly discloses the integral switching of a standby host and an optical fiber link, when the optical fiber link or an optical module between the host and an input unit and an output unit fails, the abnormal detection of each connection part cannot be realized, and the efficient control and control of the discovery, control and switching of abnormal states cannot be realized.
It should be noted that, in the specific embodiment of the present invention, three optical ports are taken as an example for the sending node and the receiving node to be described in detail, and as long as the method for detecting an optical fiber link applied to the present invention is concerned, both the method fall into the protection scope of the present invention, and the method for detecting a mutual backup based on the present invention only performs simple replacement of the number of the optical ports and also falls into the protection scope of the present invention, so details of the two optical ports which are conventionally configured are not described again.
The invention can realize mutual backup of the photoelectric seat host, increase the mutual backup of the optical fiber link, enlarge the mutual backup range of the whole system and improve the stability of the system greatly. In the invention, the receiving node and the sending node do not have fixed primary optical fiber interfaces and backup optical fiber interfaces, field implementation does not need to pay attention to which optical fiber interfaces are the primary optical fiber interfaces and the backup optical fiber interfaces, random connection and convenient wiring are realized, namely, a first optical fiber and a second optical fiber in a first group of optical fiber links can be randomly connected to serve as the primary optical fiber interfaces or the backup optical fiber interfaces, or the first group of optical fiber links and a third group of optical fiber links can be randomly connected to serve as the primary optical fiber interfaces or the backup optical fiber interfaces. In the photoelectric seat mutual backup system, each working node (including a switching unit) can automatically detect the states of the optical fiber link and the optical module and collect the states to a receiving node in real time. In the photoelectric seat mutual standby system, a receiving node judges whether to initiate main-standby switching or not according to the state of an optical module of the receiving node and the states of other received links. In the photoelectric seat mutual backup system, a receiving node and a sending node do not need to distinguish a primary optical fiber interface and a backup optical fiber interface, and a switching unit can dynamically set the primary optical fiber interface and the backup optical fiber interface of the receiving node and the sending node according to own primary and backup configuration.
It should be noted that in the description of the present invention, the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicating the directions or positional relationships are based on the directions or positional relationships shown in the drawings, which are only for convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The terms "comprises," "comprising," or any other similar term are intended to cover a non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, article, or apparatus.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

Claims (10)

1. A fiber link mutual backup method based on a KVM seat is applied to a distributed KVM seat system, the system comprises an input unit, an output unit and a switching unit, a plurality of output units form a seat, each seat is provided with a set of keyboard and mouse, the switching unit is used for sending processed audio and video signals to the output unit through the fiber link, and the fiber link mutual backup method is characterized by comprising the following steps:
step S100, a sending node in the input unit and a first processing module in the switching unit detect the bidirectional transmission state of a first group of optical fiber links;
step S200, a receiving node in the output unit and a first processing module in the switching unit detect the bidirectional transmission state of a second group of optical fiber links;
when a receiving node in the output unit receives the abnormal state of the first group of optical fiber links detected by the input unit and the first processing module and/or when the receiving node in the output unit detects or receives the abnormal transmission state of the second group of optical fiber links, starting the standby optical fiber links between the input unit and the first processing module of the switching unit and between the first processing module of the switching unit and the output unit;
when the standby optical fiber link between the input unit and the first processing module of the switching unit and/or the standby optical fiber link between the first processing module and the output unit are abnormal, starting the standby optical fiber link between the input unit and the second processing module of the switching unit and between the output unit and the second processing module of the switching unit; the first processing module is a first photoelectric matrix host; the second processing module is a second photoelectric matrix host.
2. The fiber link mutual backup method based on the KVM agent according to claim 1, wherein step S100 specifically comprises the following steps:
step S110, the sending node judges whether the first direction is abnormal or not based on the first direction transmission state of the first optical fiber in the first group of optical fiber links, if so, the sending node transmits abnormal information to a first input module in the first processing module through the second direction of the first optical fiber; the first direction of the first optical fiber is the direction from the first processing module to the sending node, and the second direction of the first optical fiber is the direction from the sending node to the first processing module;
step S120, a first input module in the first processing module judges whether the second direction is abnormal or not based on the optical fiber transmission state of the first optical fiber in the second direction; if the first direction abnormal information exists, the first input module transmits the second direction abnormal information of the first optical fiber to a first output module in the first processing module according to a preset switching logic rule; if no abnormity exists, the first input module transmits first direction abnormal information to the first output module based on the optical fiber abnormal state of the first direction of the first optical fiber reported by the sending node and the preset switching logic rule.
3. The method according to claim 2, wherein the step S200 of activating the standby fiber links between the input unit and the first processing module of the switching unit and between the first processing module of the switching unit and the output unit specifically comprises the following steps:
step S210, the first output module judges whether the first direction is abnormal or not based on the optical fiber transmission state of the first direction of the third optical fiber in the second group of optical fiber links, and if the first direction is abnormal, the first output module transmits abnormal information to the receiving node through the second direction of the third optical fiber; the first direction of the third optical fiber is the direction from the receiving node to the first processing module, and the second direction of the third optical fiber is the direction from the first processing module to the receiving node;
step S220, the receiving node judges whether the second direction is abnormal or not based on the optical fiber transmission state of the third optical fiber in the second direction, if not, the receiving node makes a first relevant measure based on the optical fiber abnormal state of the third optical fiber in the first direction reported by the first output module; if the optical fiber is abnormal, the receiving node makes a second relevant measure based on the optical fiber abnormal state of the third optical fiber in the second direction; the first relevant measure is that an optical port switching request is sent to the first processing module through a fourth optical port, and the receiving node and the sending node are controlled to be switched to the second optical port and the fourth optical port respectively; the second relevant measure is that an optical port switching request is sent to the first processing module through the third optical port and the fourth optical port, and the receiving node and the sending node are controlled to be switched to the second optical port and the fourth optical port respectively;
the first group of optical fiber links are arranged between the first processing module and the input unit, each first group of optical fiber links comprises a first optical fiber and a second optical fiber, the first optical fiber is an initial working optical fiber link, the second optical fiber is a standby optical fiber link between the sending node and the first processing module, one end of each of the first optical fiber and the second optical fiber is in communication connection with a first optical port and a second optical port arranged in the input unit, and the other end of each of the first optical fiber and the second optical fiber is in communication connection with the first processing module; the second group of optical fiber links are arranged between the receiving node and the first processing module, each second group of optical fiber links comprises a third optical fiber and a fourth optical fiber, the third optical fiber is an initial working optical fiber link, the fourth optical fiber is a standby optical fiber link between the receiving node and the first processing module, one end of each of the third optical fiber and the fourth optical fiber is in communication connection with a third optical port and a fourth optical port arranged on the output unit, and the other end of each of the third optical fiber and the fourth optical fiber is in communication connection with the first processing module.
4. The KVM agent based fiber link mutual backup method according to claim 3, wherein the step S200 of activating the backup fiber link between the input unit and the second processing module of the switching unit, and between the output unit and the second processing module of the switching unit specifically comprises the steps of:
the sending node judges whether the first direction is abnormal or not based on the optical fiber transmission state of the first direction of the second optical fiber in the first group of optical fiber links, and if the first direction is abnormal, the sending node transmits abnormal information to a second input module in the first processing module through the second direction of the second optical fiber; the first direction of the second optical fiber is the direction from the first processing module to the sending node, and the second direction of the second optical fiber is the direction from the sending node to the first processing module;
the second input module judges whether the second direction is abnormal or not based on the optical fiber transmission state of the second direction of the second optical fiber; if the first direction of the first optical fiber is abnormal, the first input module transmits first direction abnormal information of the first optical fiber to a first output module in the first processing module according to a preset switching logic rule; if no abnormity exists, the second input module transmits the abnormal information of the first direction to the second output module based on the optical fiber abnormal state of the first direction of the second optical fiber reported by the sending node and the preset switching logic rule;
the second output module judges whether the first direction is abnormal or not based on the optical fiber transmission state of the first direction of a fourth optical fiber in the second group of optical fiber links, and if the first direction is abnormal, the second output module transmits abnormal information to the receiving node through the second direction of the fourth optical fiber; the first direction of the fourth optical fiber is the direction from the receiving node to the first processing module, and the second direction of the fourth optical fiber is the direction from the first processing module to the receiving node;
the receiving node judges whether the second direction is abnormal or not based on the optical fiber transmission state of the fourth optical fiber in the second direction, and if not, the receiving node makes a third relevant measure based on the optical fiber abnormal state of the fourth optical fiber in the first direction reported by the second output module; if the optical fiber is abnormal, the receiving node makes a fourth relevant measure based on the optical fiber abnormal state of the fourth optical fiber in the second direction; the third relevant measure is that an optical port switching request is sent to the first processing module through a fourth optical port, and the receiving node and the sending node are controlled to be switched to a fifth optical port and a sixth optical port respectively; the fourth relevant measure is that an optical port switching request is sent to the first processing module through a fourth optical port and a sixth optical port, and the receiving node and the sending node are controlled to be switched to a fifth optical port and a sixth optical port respectively; the fifth optical port is communicated with the second processing module in the switching unit through a third group of optical fiber links, and the sixth optical port is communicated with the second processing module in the switching unit through a fourth group of optical fiber links;
the fifth light port is arranged on the input unit, and the sixth light port is arranged on the output unit; the third group of optical fiber links comprises a fifth optical fiber, one end of the fifth optical fiber is in communication connection with the fifth optical port, and the other end of the fifth optical fiber is in communication connection with the second processing module; and the fourth group of optical fiber links comprise sixth optical fibers, one end of each sixth optical fiber is in communication connection with the sixth optical port, and the other end of each sixth optical fiber is in communication connection with the second processing module.
5. A fiber link mutual backup system based on a KVM (keyboard video mouse) seat comprises one or more input units, a switching unit and one or more output units, wherein the switching unit is used for sending processed audio and video signals to the output units through fiber links;
a first group of optical fiber links are arranged between the first processing module and the input unit, and a second group of optical fiber links are arranged between the first processing module and the output unit; a third group of optical fiber links are arranged between the second processing module and the input unit, and a fourth group of optical fiber links are arranged between the second processing module and the output unit; the input unit and the first processing module are used for performing bidirectional optical fiber state detection on the first group of optical fiber links; the output unit and the first processing module are used for performing bidirectional optical fiber state detection on the second group of optical fiber links;
the output unit triggers optical port switching in the first group of optical fiber links and the second group of optical fiber links to realize communication of the standby optical fiber links among the input unit, the output unit and the first processing module based on the abnormal state of the first group of optical fiber links and/or the abnormal state of the optical fiber links of the second group of optical fiber links detected by the input unit and the first processing module; and when the state of the standby optical fiber link is abnormal, triggering the third group of optical fiber links and the fourth group of optical fiber links to realize the communication between the input unit, the output unit and the second processing module.
6. The KVM-agent-based fiber link mutual backup system according to claim 5, wherein the first group of fiber links comprises a first fiber and a second fiber, one end of the first fiber and one end of the second fiber are respectively connected to the first optical port and the second optical port of the input unit in a communication manner, and the other end of the first fiber and the other end of the second fiber are connected to the first processing module in a communication manner;
the second group of optical fiber links comprise a third optical fiber and a fourth optical fiber, one end of the third optical fiber and one end of the fourth optical fiber are respectively in communication connection with a third optical port and a fourth optical port arranged on the output unit, and the other end of the third optical fiber and the other end of the fourth optical fiber are in communication connection with the first processing module.
7. The KVM agent based fiber link mutual backup system according to claim 6, wherein the input unit comprises a sending node, the sending node is configured to determine whether there is an abnormality in a first direction based on the fiber transmission status of the first fiber in the first direction, and if there is an abnormality, the sending node transmits abnormality information to a first input module of the first processing module through a second direction of the first fiber; the first direction of the first optical fiber is the direction from the first processing module to the sending node, and the second direction of the first optical fiber is the direction from the sending node to the first processing module;
the first input module in the first processing module is used for judging whether the second direction is abnormal or not based on the optical fiber transmission state of the first optical fiber in the second direction; if the first processing module is abnormal, the first input module transmits second direction abnormal information of the first optical fiber to a first output module in the first processing module according to a preset switching logic rule; and if no abnormity exists, the first input module transmits first direction abnormal information to the first output module based on the optical fiber abnormal state of the first direction of the first optical fiber reported by the sending node and a preset switching logic rule.
8. The KVM agent based fiber optic link interoperability system according to claim 7, wherein the output unit comprises a receiving node; the first output module judges whether the first direction is abnormal or not based on the optical fiber transmission state of the third optical fiber in the first direction, and if the first direction is abnormal, the first output module transmits abnormal information to the receiving node through the second direction of the third optical fiber; wherein the first direction of the third optical fiber is a direction from the receiving node to the first processing module, and the second direction of the third optical fiber is a direction from the first processing module to the receiving node;
the receiving node judges whether the second direction is abnormal or not based on the optical fiber transmission state of the third optical fiber in the second direction, and if not, the receiving node makes a first relevant measure based on the optical fiber abnormal state of the third optical fiber in the first direction reported by the first output module; if the optical fiber is abnormal, the receiving node makes a second relevant measure based on the optical fiber abnormal state of the third optical fiber in the second direction;
the first relevant measure is that an optical port switching request is sent to the first processing module through a fourth optical port, and the receiving node and the sending node are controlled to be switched to a second optical port and the fourth optical port respectively;
and the second relevant measure is to send an optical port switching request to the first processing module through a third optical port and a fourth optical port, and control the receiving node and the sending node to be switched to the second optical port and the fourth optical port respectively.
9. The KVM agent based fiber link mutual backup system according to claim 8, wherein the sending node determines whether there is an abnormality in the first direction based on the fiber transmission status in the first direction of the second fiber, and if there is an abnormality, the sending node transmits the abnormality information to the second input module of the first processing module through the second direction of the second fiber; the first direction of the second optical fiber is the direction from the first processing module to the sending node, and the second direction of the second optical fiber is the direction from the sending node to the first processing module;
the second input module judges whether the second direction is abnormal or not based on the optical fiber transmission state of the second direction of the second optical fiber; if the second direction of the second optical fiber is abnormal, the second input module transmits second direction abnormal information of the second optical fiber to the second output module according to a preset switching logic rule; and if no abnormity exists, the second input module transmits first direction abnormal information to the second output module based on the optical fiber abnormal state of the first direction of the second optical fiber reported by the sending node and a preset switching logic rule.
10. The KVM agent based fiber link mutual backup system according to claim 9, wherein the second output module is configured to determine whether there is an abnormality in the first direction based on the fiber transmission status of the fourth fiber in the first direction, and if there is an abnormality, the second output module transmits abnormality information to the receiving node through the second direction of the fourth fiber; wherein the first direction of the fourth optical fiber is a direction from the receiving node to the first processing module, and the second direction of the fourth optical fiber is a direction from the first processing module to the receiving node;
the receiving node judges whether the second direction is abnormal or not based on the optical fiber transmission state of the fourth optical fiber in the second direction, and if not, the receiving node makes a third relevant measure based on the optical fiber abnormal state of the fourth optical fiber in the first direction reported by the second output module; if the optical fiber is abnormal, the receiving node makes a fourth relevant measure based on the optical fiber abnormal state of the fourth optical fiber in the second direction; the third relevant measure is that an optical port switching request is sent to the first processing module through a fourth optical port, and the receiving node and the sending node are controlled to be switched to a fifth optical port and a sixth optical port respectively; the fourth relevant measure is that an optical port switching request is sent to the first processing module through a fourth optical port and a sixth optical port, and the receiving node and the sending node are controlled to be switched to a fifth optical port and a sixth optical port respectively;
the third group of optical fiber links comprises a fifth optical fiber, one end of the fifth optical fiber is in communication connection with the fifth optical port, and the other end of the fifth optical fiber is in communication connection with the second processing module; and the fourth group of optical fiber links comprise sixth optical fibers, one end of each sixth optical fiber is in communication connection with the sixth optical port, and the other end of each sixth optical fiber is in communication connection with the second processing module.
CN202110110617.9A 2021-01-27 2021-01-27 Optical fiber link mutual backup method and system based on KVM (keyboard video mouse) seat Active CN112436885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110110617.9A CN112436885B (en) 2021-01-27 2021-01-27 Optical fiber link mutual backup method and system based on KVM (keyboard video mouse) seat

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110110617.9A CN112436885B (en) 2021-01-27 2021-01-27 Optical fiber link mutual backup method and system based on KVM (keyboard video mouse) seat

Publications (2)

Publication Number Publication Date
CN112436885A CN112436885A (en) 2021-03-02
CN112436885B true CN112436885B (en) 2021-05-11

Family

ID=74697354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110110617.9A Active CN112436885B (en) 2021-01-27 2021-01-27 Optical fiber link mutual backup method and system based on KVM (keyboard video mouse) seat

Country Status (1)

Country Link
CN (1) CN112436885B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434372B (en) * 2021-06-10 2023-07-18 浙江大华技术股份有限公司 Positioning indication method, device, system and storage medium
CN114598592A (en) * 2022-01-24 2022-06-07 浙江大华技术股份有限公司 Seat cooperation system and method
CN116743243B (en) * 2023-08-16 2023-11-17 广东保伦电子股份有限公司 Optical fiber link mutual backup method and system based on KVM seat

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033994A (en) * 2015-03-16 2016-10-19 ***通信集团广东有限公司 Light transmission method, light transmission device and light transmission equipment
CN106788688A (en) * 2016-11-17 2017-05-31 同方工业信息技术有限公司 Signal transmitting equipment, signal receiver, video-signal transmission method and system
CN106921834A (en) * 2017-03-28 2017-07-04 北京小鸟科技股份有限公司 KVM light matrix switching systems
CN208143405U (en) * 2018-05-23 2018-11-23 薛泓林 KVM seat system based on fiber optic communication
WO2019185139A1 (en) * 2018-03-28 2019-10-03 Telefonaktiebolaget Lm Ericsson (Publ) Optical network node and optical network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10063313B1 (en) * 2017-02-28 2018-08-28 Ciena Corporation Synchronization of optical protection switching and loading of path specific characteristics

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033994A (en) * 2015-03-16 2016-10-19 ***通信集团广东有限公司 Light transmission method, light transmission device and light transmission equipment
CN106788688A (en) * 2016-11-17 2017-05-31 同方工业信息技术有限公司 Signal transmitting equipment, signal receiver, video-signal transmission method and system
CN106921834A (en) * 2017-03-28 2017-07-04 北京小鸟科技股份有限公司 KVM light matrix switching systems
WO2019185139A1 (en) * 2018-03-28 2019-10-03 Telefonaktiebolaget Lm Ericsson (Publ) Optical network node and optical network
CN208143405U (en) * 2018-05-23 2018-11-23 薛泓林 KVM seat system based on fiber optic communication

Also Published As

Publication number Publication date
CN112436885A (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN112436885B (en) Optical fiber link mutual backup method and system based on KVM (keyboard video mouse) seat
US20070288585A1 (en) Cluster system
US7370099B2 (en) Cluster computing system and its failover method
JPH0330553A (en) Method and system for problem discrimitation and recovery in data communication network
US7436291B2 (en) Protection of devices in a redundant configuration
CN109062184A (en) Two-shipper emergency and rescue equipment, failure switching method and rescue system
US20060087975A1 (en) Methods and systems for providing redundancy protection in a Y-cable-based signal transmitter arrangement
JP5240825B2 (en) Security system
JP2006254096A (en) Ip telephone system
JP2005225658A (en) Elevator control system
US20070223369A1 (en) Cable misconnection detection system and method
KR101234102B1 (en) A circuit automatic switching apparatus and its operational method thereof
KR101406735B1 (en) Network backup apparatus and network system with the same
JPH06343074A (en) Anti-fault system
JP3341712B2 (en) Switching unit failure handling method
JP4628823B2 (en) IP phone system
JP4781697B2 (en) IP phone system
KR100748681B1 (en) Uni Directional Switching Control Method of Synchronous Digital Hierarchy System
JP4661778B2 (en) Wired communication system
KR19990051279A (en) Fault monitoring method of cell processor of ATM switch
CN117857250A (en) High-availability network system based on combination of tree network and ring network and transformation method
JP2024004705A (en) Network system and control method therefor
JPH09130414A (en) Network management system
JP2000151809A (en) Duplicate information repeater and changeover control method
JPH0228798A (en) Disaster prevention monitoring device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant