CN113839886B - Fault processing method and device for photoelectric hybrid switching network, electronic equipment and medium - Google Patents

Fault processing method and device for photoelectric hybrid switching network, electronic equipment and medium Download PDF

Info

Publication number
CN113839886B
CN113839886B CN202111102978.5A CN202111102978A CN113839886B CN 113839886 B CN113839886 B CN 113839886B CN 202111102978 A CN202111102978 A CN 202111102978A CN 113839886 B CN113839886 B CN 113839886B
Authority
CN
China
Prior art keywords
eps
flow
resource information
switching network
optical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111102978.5A
Other languages
Chinese (zh)
Other versions
CN113839886A (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 University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN202111102978.5A priority Critical patent/CN113839886B/en
Publication of CN113839886A publication Critical patent/CN113839886A/en
Application granted granted Critical
Publication of CN113839886B publication Critical patent/CN113839886B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/557Error correction, e.g. fault recovery or fault tolerance

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a fault processing method and device for an optical-electrical hybrid switching network, electronic equipment and a medium. In the application, when the optical circuit switch is detected to have a fault, the equipment information of the OCS of the faulty optical circuit switch can be acquired; and calculating the loss flow of the flow forwarding requirement which cannot be met due to the fault of the optical circuit switch according to the equipment information, and then using the spare resource information of the EPS to forward the loss flow after the EPS used for representing the residual bandwidth resource of the packet switch after the packet switch processes the flow forwarding task according to the calculated EPS. By applying the technical scheme of the application, when equipment failure in the photoelectric hybrid switching network is detected, the residual bandwidth resources of the EPS can be used for the flow forwarding requirement which cannot be met due to the failure, so that the purposes of improving the bandwidth utilization rate of the network and guaranteeing the performance of the failed network by using the originally idle bandwidth resources are achieved.

Description

Fault processing method and device for photoelectric hybrid switching network, electronic equipment and medium
Technical Field
The present application relates to data processing technologies, and in particular, to a method, an apparatus, an electronic device, and a medium for processing a fault in an optical-electrical hybrid switching network.
Background
With the rapid development of cloud computing technology, data centers have become a key infrastructure of the information-oriented society, and current network devices and technologies for data centers are facing serious challenges. On one hand, the modern network application puts higher requirements on the performances such as network capacity and the like in the data center; on the other hand, large-scale network facilities in data centers are consuming more and more electric power energy. In order to meet the above challenges, optical circuit switching network technology having natural advantages such as large capacity and low energy consumption is expected and has attracted extensive attention in academia.
Among them, in the Optical-electrical hybrid switching network in the related art, an OCS (Optical Circuit Switch) based on a MEMS (Micro-Electro-Mechanical Systems) is generally used to implement service processing. However, such a device has no sensing capability for data, and can only schedule the connection of the optical circuit according to a predetermined traffic scheduling mechanism, and once a device failure or a link failure occurs, the traffic scheduling cannot be adaptively adjusted due to a change in the network topology, and traffic forwarding will be seriously affected, so that the performance of the entire network is greatly reduced.
Disclosure of Invention
An embodiment of the present application provides a method, an apparatus, an electronic device, and a medium for processing a fault in an optical-electrical hybrid switching network, where according to an aspect of the embodiment of the present application, the method for processing the fault in the optical-electrical hybrid switching network is provided, and is characterized in that the method is applied to the optical-electrical hybrid switching network, and includes:
if the optical circuit switch is detected to have a fault, acquiring equipment information of an OCS (optical circuit switch) with the fault;
calculating loss flow according to the equipment information, wherein the loss flow is used for representing the flow forwarding requirement which cannot be met due to the fault of the optical circuit switch in the photoelectric hybrid switching network;
calculating idle resource information of a packet switch EPS, wherein the idle flow information is used for representing the remaining bandwidth resources of the packet switch after the packet switch processes the flow forwarding task;
and forwarding the loss flow by using the idle resource information of the EPS.
Optionally, in another embodiment based on the foregoing method of the present application, the calculating the loss flow according to the device information includes:
acquiring a flow sum demand matrix under the photoelectric hybrid switching network;
decomposing the flow sum demand matrix according to a scheduling algorithm to obtain a demand matrix corresponding to each OCS;
and obtaining a demand matrix corresponding to the fault OCS according to the equipment information of the fault OCS, and taking the demand matrix as the loss flow.
Optionally, in another embodiment based on the method described above in the present application, the calculating idle resource information of the packet switch ESP includes:
acquiring port bandwidths of all EPS and configuration cycles of OCS under the photoelectric hybrid switching network;
calculating to obtain the maximum forwarding data volume of the EPS in the configuration period;
and calculating to obtain the original load flow of the port corresponding to the EPS, and obtaining the idle resource information of the ESP according to the difference value between the maximum forwarding data volume and the original load resource.
Optionally, in another embodiment based on the foregoing method of the present application, the forwarding the lost traffic by using the idle resource information of the EPS includes:
calculating the size relation between the idle resource information of the EPS and the loss flow;
and if the idle resource information of the EPS is determined not to be larger than the lost flow, completely forwarding the lost flow by using the idle resource information of the EPS.
Optionally, in another embodiment of the foregoing method based on the present application, after the calculating a size relationship between the idle resource information of the EPS and the lost traffic, the method further includes:
if the idle resource information of the EPS is determined to be smaller than the loss flow, forwarding the loss flow by using the idle resource information part of the EPS;
and counting the part of the loss traffic which is not forwarded into a traffic demand matrix of the next configuration period of the optical-electric hybrid switching network.
Optionally, in another embodiment of the foregoing method according to the present application, the traffic summation requirement matrix under the optical-electrical hybrid switching network is obtained according to the following formula:
D z×z ={d ij };
wherein i, j is E [1,z]Z is the number of switches under the photoelectric hybrid switching network, and when i = j, d ij =0。
According to another aspect of the embodiments of the present application, there is provided a fault handling apparatus for an optical-electrical hybrid switching network, which is applied to the optical-electrical hybrid switching network, including:
the obtaining module is configured to obtain equipment information of an OCS (optical circuit switch) with a fault if the OCS with the fault is detected to have the fault;
a first calculation module configured to calculate, according to the device information, a loss traffic, where the loss traffic is used to characterize an unsatisfiable traffic forwarding requirement in the optical-electrical hybrid switching network due to a failure of the optical circuit switch;
the second calculation module is configured to calculate idle resource information of the packet switch EPS, where the idle traffic information is used to represent bandwidth resources left by the packet switch after processing a traffic forwarding task;
a forwarding module configured to forward the lost traffic using idle resource information of the EPS.
According to another aspect of the embodiments of the present application, there is provided an electronic device including:
a memory for storing executable instructions; and
and the display is used for displaying with the memory to execute the executable instruction so as to complete the operation of the fault processing method of any one of the photoelectric hybrid switching networks.
According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, which stores computer-readable instructions, and when the instructions are executed, the instructions perform the operations of the fault handling method for the optical-electrical hybrid switching network.
The technical solution of the present application is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
The present application may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
fig. 1 is a schematic diagram illustrating a fault handling method for an optical-electrical hybrid switching network according to the present application;
fig. 2-4 are schematic system architectures of an optical-electrical hybrid switching network according to the present application;
fig. 5-fig. 7 are schematic diagrams illustrating a fault handling process of an optical-electrical hybrid switching network according to the present application;
fig. 8 is a schematic structural diagram of a fault handling electronic device of an optical-electrical hybrid switching network according to the present application;
fig. 9 is a schematic structural diagram of a fault handling electronic device of an optical-electrical hybrid switching network according to the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In addition, technical solutions between the various embodiments of the present application may be combined with each other, but it must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should be considered to be absent and not within the protection scope of the present application.
It should be noted that all directional indicators (such as upper, lower, left, right, front, and rear … …) in the embodiments of the present application are only used to explain the relative position relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
A method for performing fault handling in an opto-electric hybrid switching network according to an exemplary embodiment of the present application is described below with reference to fig. 1 to 7. It should be noted that the following application scenarios are merely illustrated for facilitating understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in any way in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
The application also provides a fault processing method and device of the photoelectric hybrid switching network, a target terminal and a medium.
Fig. 1 schematically shows a flow chart of a fault handling method of an optical-electrical hybrid switching network according to an embodiment of the present application. As shown in fig. 1, the method is applied to an optical-electrical hybrid switching network, and includes:
s101, if the optical circuit switch is detected to be in fault, acquiring equipment information of the OCS of the faulty optical circuit switch.
With the rapid development of cloud computing technology and internet application, the internal traffic load of a data center is larger and larger, and network equipment consumes more and more electric energy, so that an optical switching technology with high capacity and low energy consumption is introduced into a data center network.
Furthermore, for the optical switching technology, the development of the cloud computing technology enables the internal traffic of the data center to exhibit explosive growth, so that the adoption of a 10GigE switching architecture in an access layer and the adoption of a 40G/100GigE switching architecture in a core layer have become the development trend of the data center network in the future basically. In this case, the data center electrical interconnection architecture will face the technical requirements of high bandwidth, large capacity, low overhead, and low energy consumption. Optical switching technology can then respond well to the above challenges.
Wherein the optical switching directly switches the input signal to different output terminals in the optical domain via space division, time division or wavelength division without any optical/electrical conversion. Compared with electronic digital program control exchange, the optical exchange does not need to carry out optical/electric or electric/optical conversion between the optical fiber transmission line and the exchanger, and the advantages of high speed, broadband and no electromagnetic induction of optical signals can be fully exerted in the exchange process. Since the optical exchange does not involve electric signals, the optical exchange is not limited by the processing speed of an electronic device, and can be matched with the high-speed optical fiber transmission rate to realize the high speed of the network. The optical switch routes and routes signals according to the wavelength, and is irrelevant to the protocol, the data format and the transmission rate adopted by communication, so that transparent data transmission can be realized. The optical switching can ensure the stability of the network and provide a flexible information routing means.
In particular, for data center optical-electrical hybrid switching network architectures, large-scale network facilities within data centers are consuming more and more electrical energy. In order to meet the above challenges, optical circuit switching technology having natural advantages such as high capacity and low power consumption is expected and has attracted extensive attention in academia. However, optical circuit switching is essentially a physical layer switching technique, is not compatible with the traditional packet switching architecture used in data centers, and cannot completely replace packet switching equipment. Therefore, the optical-electrical hybrid switching architecture with optical circuit switching and packet switching coexisting is one of the feasible routes for applying optical switching technology in data centers in a short time.
Specifically, in the related art, a two-layer optical-electrical hybrid switching architecture (e.g., helios) is composed of an access layer and a core layer, and a MEMS-based OCS is used in the core layer to provide an inter-ToR optical circuit. According to the flow demand matrix between different tors, the OCS management plane reconfigures the OCS switching structure to establish an optical circuit. The EPS is forwarded in a packet-switched manner in a header, and the OCS is reconfigured periodically according to the traffic demand of each ToR switch. Both the reconfiguration process and the data transmission process of the OCS follow a periodicity, during which neither the corresponding optical circuit is available. Most traffic may be forwarded through the OCS, but when part of the traffic does not have available OCS optical circuits to reach the desired destination, the EPS will be responsible for forwarding these traffic.
In the photoelectric mixed switching network, traffic forwarding among tors (Top of Rack switch) is completed by the cooperation of three modules, namely a traffic estimation module, a traffic scheduling module and a circuit configuration module. The cooperation is shown in fig. 2.
The traffic estimation module shown in fig. 2 may generate a traffic demand matrix according to the traffic counter or the buffer status in the tors, where a row number of the matrix corresponds to a number of a source ToR, a column number of the matrix corresponds to a number of a destination ToR, and an element in the matrix represents the size of traffic to be forwarded.
Further, as shown in fig. 3, the traffic scheduling module may distribute the traffic forwarding task for each OCS and EPS (Electrical Packet Switch) in the core layer according to the traffic demand matrix, and in this process, a specific algorithm is usually used to decompose the total demand matrix to generate a demand matrix corresponding to each Switch.
Further, the circuit configuration module may configure the circuit connection inside the OCS according to the distributed traffic matrix, so as to provide a data channel for subsequent traffic forwarding. As shown in fig. 4, according to the traffic demand matrix, the forwarding direction of the traffic should be: host 1- > host 4, host 2- > host 3, host 3- > host 2, host 4- > host 1. Thus, the OCS internal circuit connections should be configured to: input port 1- > output port 4, input port 2- > output port 3, input port 3- > output port 2, input port 4- > output port 1 (where all links are unidirectional links).
And S102, calculating loss flow according to the equipment information, wherein the loss flow is used for representing the flow forwarding requirement which cannot be met due to the fault of the optical circuit switch in the optical-electric hybrid switching network.
S103, calculating idle resource information of the packet switch EPS, wherein the idle flow information is used for representing the remaining bandwidth resources of the packet switch after the packet switch completes the flow forwarding task.
And S104, forwarding the loss flow by using the idle resource information of the EPS.
It should be noted that, in a network, an Optical Circuit Switch (OCS) based on a Micro-Electro-Mechanical system (MEMS) is generally used in the Optical-electrical hybrid switching architecture, such a device has no sensing capability for data, and can only schedule the connection of an Optical Circuit according to a predetermined traffic scheduling mechanism, and once a device failure or a link failure occurs, the traffic scheduling cannot be adaptively adjusted due to a change in the network topology, and traffic forwarding will be seriously affected, so that the performance of the entire network is greatly reduced.
Based on the existing problems, as shown in fig. 5, when detecting that an OCS device fails, the present application may first obtain failure information of the device, and then calculate a traffic forwarding requirement (i.e., optical domain failure loss) between hosts that cannot be handled due to the failure. Next, bandwidth resources (i.e., idle resources in the electrical domain) of each port that are still idle after the EPS completes its traffic forwarding task are calculated. After the optical domain fault loss (corresponding to the loss flow) and the idle resource information of the electric domain are obtained subsequently, the idle resource of the electric domain is utilized as much as possible to forward the flow affected by the fault, and if the optical domain fault loss can be completely compensated by the electric domain idle resource, the flow forwarding process is finished; if the electric domain free resources are not enough to fully compensate the optical domain fault loss, the uncompensated loss is delayed to be processed and uniformly processed with the traffic demand matrix of the next configuration period of the optical-electric hybrid switching network.
In the application, when the optical circuit switch is detected to have a fault, the equipment information of the OCS of the faulty optical circuit switch can be acquired; and calculating the loss flow of the flow forwarding requirement which cannot be met due to the fault of the optical circuit switch according to the equipment information, and then using the spare resource information of the EPS to forward the loss flow after the EPS used for representing the residual bandwidth resource of the packet switch after the packet switch processes the flow forwarding task according to the calculated EPS. By applying the technical scheme of the application, when equipment failure in the photoelectric hybrid switching network is detected, the residual bandwidth resources of the EPS can be used for the flow forwarding requirement which cannot be met due to the failure, so that the purposes of improving the bandwidth utilization rate of the network and guaranteeing the performance of the failed network by using the originally idle bandwidth resources are achieved.
Optionally, in a possible implementation manner of the present application, calculating a loss flow according to the device information includes:
acquiring a flow sum demand matrix under the photoelectric hybrid switching network;
decomposing the flow sum demand matrix according to a scheduling algorithm to obtain a demand matrix corresponding to each OCS;
and obtaining a demand matrix corresponding to the fault OCS according to the equipment information of the fault OCS, and taking the demand matrix as the loss flow.
Optionally, in a possible embodiment of the present application, the calculating idle resource information of the packet switch ESP includes:
acquiring port bandwidths of all EPS and configuration cycles of OCS under the photoelectric hybrid switching network;
calculating to obtain the maximum forwarding data volume of the EPS in the configuration period;
and calculating to obtain the original load flow of the port corresponding to the EPS, and obtaining the idle resource information of the ESP according to the difference value between the maximum forwarding data volume and the original load resource.
Optionally, in a possible implementation manner of the present application, the forwarding the lost traffic by using the idle resource information of the EPS includes:
calculating the size relation between the idle resource information of the EPS and the loss flow;
and if the idle resource information of the EPS is determined not to be larger than the lost flow, completely forwarding the lost flow by using the idle resource information of the EPS.
Optionally, in a possible implementation manner of the present application, after the calculating a size relationship between the idle resource information of the EPS and the lost traffic, the method further includes:
if the idle resource information of the EPS is determined to be smaller than the loss flow, forwarding the loss flow by using the idle resource information part of the EPS;
and counting the part of the loss traffic which is not forwarded into a traffic demand matrix of the next configuration period of the optical-electric hybrid switching network.
Optionally, in a possible embodiment of the present application, the traffic summation requirement matrix under the optical-electrical hybrid switching network is obtained according to the following formula:
D z×z ={d ij };
wherein i, j is E [1,z]Z is the number of switches under the photoelectric hybrid switching network, and when i = j, d ij =0。
Further, when detecting that an OCS device fails, the present application may first obtain failure information of the device, and then calculate a traffic forwarding requirement (i.e., optical domain failure loss) between hosts that cannot be handled due to the failure. Then, the bandwidth resources (i.e. the electric domain idle resources) of each port which are still idle after the EPS processes its traffic forwarding task are calculated. After the optical domain fault loss (corresponding to the loss flow) and the idle resource information of the electric domain are obtained subsequently, the idle resource of the electric domain is utilized as much as possible to forward the flow affected by the fault, and if the idle resource of the electric domain can completely compensate the optical domain fault loss, the flow forwarding process is finished; if the electric domain free resources are not enough to completely compensate the optical domain fault loss, the uncompensated loss is delayed to be processed and is uniformly processed with the traffic demand matrix of the next configuration period of the photoelectric hybrid replacement network.
Specifically, for calculating the loss traffic, the application may first obtain the total traffic demand matrix D z×z ={d ij };
Wherein i, j is E [1,z]Z is the number of switches under the photoelectric hybrid switching network, and when i = j, d ij =0。
After the total traffic demand matrix is obtained, the matrix can be decomposed into D according to a scheduling algorithm 1 、D 2 、...、D y And D y+1 Where y is the number of OCS in the optical and electrical hybrid switching network, where D 1 、D 2 、...、D y For each OCS demand matrix, D y+1 Is the demand matrix of the EPS. Then, according to the ID of the faulty device, we can record the corresponding matrix as F, i.e. the optical domain fault loss, and the optical domain traffic matrix is going to:
Figure BDA0003269123760000101
further, for obtaining the idle resource information of the EPS through calculation, all the EPS may be abstracted into one according to the bandwidth parameter of the EPS, the bandwidth of each port is v, the configuration cycle of the OCS is denoted as T, and vT is the maximum data amount that the EPS can forward in one configuration cycle. And note that the link between ToR _ i and OCS _ j is L i,j ,i∈[1,z],j∈[1,y](ii) a Note that the failed link is L m,n I.e. the link between ToR _ m and OCS _ n. For matrix D y+1 The mth row of elements in (c) is summed to obtain the original load M of the corresponding port, and at this time, the idle resource information of the port of the EPS is vT-M.
Further, for the idle resource information forwarding loss flow using EPS, the application may note Q z×z =D y+1 +F={q ij },i,j∈[1,z]If for
Figure BDA0003269123760000102
The electric domain flow matrix is oriented to Q → EPS; if the condition is not satisfied, namely the optical domain fault loss is greater than the electric domain idle resource, calculating the optical domain loss without compensationAnd loss, denoted as F' (i.e., the portion of the lost traffic that is not forwarded).
It is to be understood that, after obtaining F', the present application may buffer the part of the traffic in ToR and count it into the traffic demand matrix of the next configuration period of the optical electrical hybrid switching network, so that the suffix is used to forward the traffic in the next configuration period.
Further, as shown in fig. 6, the present application exemplifies a network topology in which there are four ToR switches (ToR _1, toR _2, toR _3, toR _4), 3 OCS (OCS _1, OCS _2, OCS _3) and 1 EPS, and traffic scheduling follows the Edmonds algorithm. Wherein, the optical circuit switch of trouble OCD is OCS _3:
step 1, as shown in fig. 7, when OCS _3 fails, it can be known according to a traffic scheduling algorithm that the traffic indicated by matrix D3 (1) cannot be forwarded, and the traffic affected by the failure is denoted as F (1); d1 And (1), D2 (1) and D4 (1) are normally allocated to corresponding switch processing.
Step 2, with D4 (1) allocated to the EPS, the present application may calculate the idle bandwidth resources of each port according to the bandwidth of the EPS, and then utilize the idle bandwidth resources as much as possible to provide the traffic forwarding service for F (1).
And 3, recording the successfully forwarded flow after the EPS as F1 (1) and recording the rest as F2 (1), and if the F2 (1) is a non-zero matrix, buffering the corresponding flow in the ToR by the application and waiting for the arrival of the next configuration period.
And 4, after entering the next configuration period, overlapping the F2 (1) to the D (2), and uniformly scheduling in the next time slot.
And 5, repeating the process.
Optionally, in another embodiment of the present application, as shown in fig. 8, the present application further provides a fault handling apparatus for an optical-electrical hybrid switching network. The optical network system comprises an acquisition module 201, a monitoring module 202, a transmission module 203 and a receiving module 204, and is applied to an optical-electrical hybrid switching network, and comprises:
the optical circuit switch OCS comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is configured to acquire equipment information of an OCS if the optical circuit switch is detected to have a fault;
a first calculation module configured to calculate, according to the device information, a loss traffic, where the loss traffic is used to characterize an unsatisfiable traffic forwarding requirement in the optical-electrical hybrid switching network due to a failure of the optical circuit switch;
the second calculation module is configured to calculate idle resource information of the packet switch EPS, where the idle traffic information is used to represent bandwidth resources left by the packet switch after processing a traffic forwarding task;
a forwarding module configured to forward the lost traffic using idle resource information of the EPS.
In the application, when the optical circuit switch is detected to have a fault, the equipment information of the OCS of the faulty optical circuit switch can be acquired; and calculating the loss flow of the flow forwarding requirement which cannot be met due to the fault of the optical circuit switch according to the equipment information, and then using the spare resource information of the EPS to forward the loss flow after the EPS used for representing the residual bandwidth resource of the packet switch after the packet switch processes the flow forwarding task according to the calculated EPS. By applying the technical scheme of the application, when equipment failure in the photoelectric hybrid switching network is detected, the residual bandwidth resources of the EPS can be used for the flow forwarding requirement which cannot be met due to the failure, so that the purposes of improving the bandwidth utilization rate of the network and guaranteeing the performance of the failed network by using the originally idle bandwidth resources are achieved.
In another embodiment of the present application, the obtaining module 201 further includes:
an obtaining module 201 configured to obtain a traffic sum requirement matrix under the optical-electrical hybrid switching network;
an obtaining module 201, configured to decompose the traffic sum demand matrix according to a scheduling algorithm to obtain a demand matrix corresponding to each OCS;
the obtaining module 201 is configured to obtain a demand matrix corresponding to the faulty OCS according to the device information of the faulty OCS, and use the demand matrix as the loss traffic.
In another embodiment of the present application, the obtaining module 201 further includes:
an obtaining module 201, configured to obtain port bandwidths of all EPS and configuration cycles of an OCS in the optical and electrical hybrid switching network;
an obtaining module 201, configured to calculate a maximum forwarding data amount of the EPS in the configuration period;
the obtaining module 201 is configured to calculate an original load flow of a port corresponding to the EPS and obtain idle resource information of the ESP according to a difference between the maximum forwarding data amount and an original load resource.
In another embodiment of the present application, the obtaining module 201 further includes:
an obtaining module 201, configured to calculate a size relationship between idle resource information of the EPS and the lost traffic;
the obtaining module 201 is configured to, if it is determined that the idle resource information of the EPS is not greater than the loss traffic, completely forward the loss traffic by using the idle resource information of the EPS.
In another embodiment of the present application, the obtaining module 201 further includes:
an obtaining module 201, configured to forward the loss traffic by using an idle resource information part of the EPS if it is determined that the idle resource information of the EPS is smaller than the loss traffic;
an obtaining module 201 configured to count the unrepeated part of the loss traffic into a traffic demand matrix of a next configuration cycle of the optical electrical hybrid switching network.
In another embodiment of the present application, the method further comprises: acquiring a flow sum requirement matrix under the photoelectric hybrid switching network according to the following formula:
D z×z ={d ij };
wherein i, j is E [1,z]Z is the photoelectric mixtureNumber of switches under the combined switching network, and when i = j, d ij =0。
FIG. 9 is a block diagram illustrating a logical structure of an electronic device in accordance with an exemplary embodiment. For example, the electronic device 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, such as a memory, including instructions executable by an electronic device processor to perform a method of fault handling for an optical-electrical hybrid switching network, the method comprising: if the optical circuit switch is detected to have a fault, acquiring equipment information of an OCS (optical circuit switch) with the fault; calculating loss flow according to the equipment information, wherein the loss flow is used for representing the flow forwarding requirement which cannot be met due to the fault of the optical circuit switch in the photoelectric hybrid switching network; calculating idle resource information of a packet switch EPS, wherein the idle flow information is used for representing the remaining bandwidth resource of the packet switch after the packet switch completes a flow forwarding task; and forwarding the lost flow by using the idle resource information of the EPS. Optionally, the instructions may also be executable by a processor of an electronic device to perform other steps involved in the exemplary embodiments described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided an application/computer program product including one or more instructions executable by a processor of an electronic device to perform the method for fault handling in an optical-electrical hybrid switching network described above, the method including: if the optical circuit switch is detected to have a fault, acquiring equipment information of an OCS (optical communications system) of the faulty optical circuit switch; calculating loss flow according to the equipment information, wherein the loss flow is used for representing the flow forwarding requirement which cannot be met due to the fault of the optical circuit switch in the photoelectric hybrid switching network; calculating idle resource information of a packet switch EPS, wherein the idle flow information is used for representing the remaining bandwidth resources of the packet switch after the packet switch processes the flow forwarding task; and forwarding the lost flow by using the idle resource information of the EPS. Optionally, the instructions may also be executable by a processor of an electronic device to perform other steps involved in the exemplary embodiments described above.
Fig. 9 is an exemplary diagram of the computer device 30. Those skilled in the art will appreciate that the schematic diagram 9 is merely an example of the computer device 30 and does not constitute a limitation of the computer device 30 and may include more or less components than those shown, or combine certain components, or different components, e.g., the computer device 30 may also include input output devices, network access devices, buses, etc.
The Processor 302 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor 302 may be any conventional processor or the like, the processor 302 being the control center for the computer device 30 and connecting the various parts of the overall computer device 30 using various interfaces and lines.
Memory 301 may be used to store computer readable instructions 303 and processor 302 implements the various functions of computer device 30 by executing or executing computer readable instructions or modules stored within memory 301 and invoking data stored within memory 301. The memory 301 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the computer device 30, and the like. In addition, the Memory 301 may include a hard disk, a Memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Memory Card (Flash Card), at least one disk storage device, a Flash Memory device, a Read-Only Memory (ROM), a Random Access Memory (RAM), or other non-volatile/volatile storage devices.
The modules integrated by the computer device 30 may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by hardware related to computer readable instructions, which may be stored in a computer readable storage medium, and when the computer readable instructions are executed by a processor, the steps of the method embodiments may be implemented.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (6)

1. A fault processing method for an optical-electric hybrid switching network is characterized by being applied to the optical-electric hybrid switching network and comprising the following steps:
if the optical circuit switch is detected to have a fault, acquiring equipment information of an OCS (optical circuit switch) with the fault;
calculating loss flow according to the equipment information, wherein the loss flow is used for representing the flow forwarding requirement which cannot be met due to the fault of the optical circuit switch in the photoelectric hybrid switching network;
calculating idle resource information of a packet switch EPS, wherein the idle resource information is used for representing the bandwidth resource remained after the packet switch completes a flow forwarding task;
forwarding the lost flow by using the idle resource information of the EPS;
wherein, calculating the loss flow according to the device information includes:
acquiring a flow sum demand matrix under the photoelectric hybrid switching network;
decomposing the flow sum demand matrix according to a scheduling algorithm to obtain a demand matrix corresponding to each OCS;
obtaining a demand matrix corresponding to the OCS according to the equipment information of the OCS, and taking the demand matrix as the loss flow;
wherein the calculating idle resource information of the packet switch EPS comprises:
acquiring port bandwidths of all EPS and an OCS configuration period under the photoelectric hybrid switching network;
calculating to obtain the maximum forwarding data volume of the EPS in the configuration period;
calculating to obtain the original load flow of the port corresponding to the EPS, and obtaining the idle resource information of the EPS according to the difference value between the maximum forwarding data volume and the original load resource;
wherein the forwarding the lost traffic by using the idle resource information of the EPS comprises:
calculating the size relation between the idle resource information of the EPS and the loss flow;
and if the idle resource information of the EPS is determined not to be larger than the loss flow, completely forwarding the loss flow by using the idle resource information of the EPS.
2. The method of claim 1, after the calculating the size relationship between the idle resource information of the EPS and the loss traffic, the method further includes:
if the idle resource information of the EPS is determined to be smaller than the loss flow, forwarding the loss flow by using the idle resource information part of the EPS;
and counting the part of the loss traffic which is not forwarded into a traffic demand matrix of the next configuration period of the optical-electric hybrid switching network.
3. The method of claim 1, wherein the traffic summation requirement matrix under the opto-electric hybrid switching network is obtained according to the following formula:
D z×z ={d ij };
wherein i, j is E [1,z]Z is the number of switches under the photoelectric hybrid switching network, and when i = j, d ij =0。
4. A fault processing device of an optical-electric hybrid switching network is applied to the optical-electric hybrid switching network and comprises:
the optical circuit switch OCS comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is configured to acquire equipment information of an OCS if the optical circuit switch is detected to have a fault;
a first calculation module configured to calculate, according to the device information, a loss traffic, where the loss traffic is used to characterize an unsatisfiable traffic forwarding requirement in the optical-electrical hybrid switching network due to a failure of the optical circuit switch;
the second calculation module is configured to calculate idle resource information of the packet switch EPS, where the idle resource information is used to represent bandwidth resources left by the packet switch after processing a traffic forwarding task;
a forwarding module configured to forward the lost traffic using idle resource information of the EPS;
wherein, according to the device information, calculating to obtain the loss flow comprises:
acquiring a flow sum demand matrix under the photoelectric hybrid switching network;
decomposing the flow sum demand matrix according to a scheduling algorithm to obtain a demand matrix corresponding to each OCS;
obtaining a demand matrix corresponding to the OCS according to the equipment information of the OCS, and taking the demand matrix as the loss flow;
wherein the calculating idle resource information of the packet switch EPS comprises:
acquiring port bandwidths of all EPS and configuration cycles of OCS under the photoelectric hybrid switching network;
calculating to obtain the maximum forwarding data volume of the EPS in the configuration period;
calculating to obtain the original load flow of the port corresponding to the EPS, and obtaining the idle resource information of the EPS according to the difference value between the maximum forwarding data volume and the original load resource;
wherein the forwarding the lost traffic by using the idle resource information of the EPS comprises:
calculating the size relation between the idle resource information of the EPS and the loss flow;
and if the idle resource information of the EPS is determined not to be larger than the loss flow, completely forwarding the loss flow by using the idle resource information of the EPS.
5. An electronic device, comprising:
a memory for storing executable instructions; and the number of the first and second groups,
a processor for displaying with the memory to execute the executable instructions to complete the operations of the method for fault handling in the optical-electrical hybrid switching network according to any one of claims 1-3.
6. A computer-readable storage medium storing computer-readable instructions, wherein the instructions, when executed, perform the operations of the method for handling faults in an optical-electrical hybrid switching network according to any one of claims 1 to 3.
CN202111102978.5A 2021-09-18 2021-09-18 Fault processing method and device for photoelectric hybrid switching network, electronic equipment and medium Active CN113839886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111102978.5A CN113839886B (en) 2021-09-18 2021-09-18 Fault processing method and device for photoelectric hybrid switching network, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111102978.5A CN113839886B (en) 2021-09-18 2021-09-18 Fault processing method and device for photoelectric hybrid switching network, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN113839886A CN113839886A (en) 2021-12-24
CN113839886B true CN113839886B (en) 2023-04-18

Family

ID=78960035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111102978.5A Active CN113839886B (en) 2021-09-18 2021-09-18 Fault processing method and device for photoelectric hybrid switching network, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN113839886B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472685B (en) * 2021-05-27 2023-07-21 北京邮电大学 Photoelectric hybrid switching method and device based on QoS (quality of service) flow classification in data center

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196878A (en) * 2016-03-14 2017-09-22 华为技术有限公司 A kind of photoelectricity hybrid network, system determine method and access switch
CN110113271A (en) * 2019-04-04 2019-08-09 中国科学院计算技术研究所 A kind of MPI application acceleration system and method based on photoelectricity hybrid switching network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7489625B2 (en) * 2005-01-27 2009-02-10 Intel Corporation Multi-stage packet switching system with alternate traffic routing
US8125984B2 (en) * 2008-03-21 2012-02-28 International Business Machines Corporation Method, system, and computer program product for implementing stream processing using a reconfigurable optical switch
CN101674500A (en) * 2009-07-22 2010-03-17 电子科技大学 Transmission method of mixed light exchanging network
CN107302496B (en) * 2017-05-26 2020-03-17 重庆邮电大学 Software defined network link failure recovery method based on in-band control
CN109302350B (en) * 2017-07-25 2021-05-11 中国人民解放军国防科学技术大学 Scheduling method based on photoelectric multicast hybrid network frame structure

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196878A (en) * 2016-03-14 2017-09-22 华为技术有限公司 A kind of photoelectricity hybrid network, system determine method and access switch
CN110113271A (en) * 2019-04-04 2019-08-09 中国科学院计算技术研究所 A kind of MPI application acceleration system and method based on photoelectricity hybrid switching network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蔡岳平 ; 樊欣唯 ; 王昌平 ; ."光电混合数据中心网络负载均衡流量调度机制".《计算机应用与软件》.2017,(第08期),全文. *

Also Published As

Publication number Publication date
CN113839886A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
EP2456138B1 (en) Methods and apparatus for centralized virtual switch fabric control
US9160617B2 (en) Faulty core recovery mechanisms for a three-dimensional network on a processor array
US9264346B2 (en) Resilient duplicate link aggregation emulation
US20160335209A1 (en) High-speed data transmission using pcie protocol
CN102571554A (en) Methods and apparatus for forwarding-state transport in a distributed control plane
US9596137B1 (en) Methods and apparatus for configuration binding in a distributed switch
CN104798352B (en) centralized control and management plane for different independent switching domains
CN108334942A (en) Data processing method, device, chip and the storage medium of neural network
EP2680536A1 (en) Methods and apparatus for providing services in a distributed switch
CN113839886B (en) Fault processing method and device for photoelectric hybrid switching network, electronic equipment and medium
CN105656708A (en) Single-board testing method and device
CN112436601B (en) Information flow processing method of intelligent substation, computer equipment and storage medium
CN109729025B (en) Method for processing data of flexible Ethernet and related equipment
US20150301571A1 (en) Methods and apparatus for dynamic mapping of power outlets
US10033666B2 (en) Techniques for virtual Ethernet switching of a multi-node fabric
US10088643B1 (en) Multidimensional torus shuffle box
CN113839887B (en) Fault processing method and device for photoelectric hybrid switching network and electronic equipment
CN116915708A (en) Method for routing data packets, processor and readable storage medium
CN109614354A (en) Interface assignment method, board, equipment and storage medium
CN209328011U (en) Fly control communication system
KR20070059447A (en) Packet processing apparatus and method with multiple switching ports support structure and packet processing system using the same
CN114640615A (en) Route notification method, route generation method and equipment
CN107222411B (en) Network interconnection method and device of data center
CN107948105A (en) The method and system of the port status of control device
CN102868606A (en) Method, master router and system for sending VRRP (virtual router redundancy protocol) heartbeat messages

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