CN112738663B - Method, device, equipment and storage medium for determining double optical fiber paths of machine room - Google Patents

Method, device, equipment and storage medium for determining double optical fiber paths of machine room Download PDF

Info

Publication number
CN112738663B
CN112738663B CN202110032340.2A CN202110032340A CN112738663B CN 112738663 B CN112738663 B CN 112738663B CN 202110032340 A CN202110032340 A CN 202110032340A CN 112738663 B CN112738663 B CN 112738663B
Authority
CN
China
Prior art keywords
optical fiber
candidate
determining
pipeline
paths
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
CN202110032340.2A
Other languages
Chinese (zh)
Other versions
CN112738663A (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.)
Guangdong Planning and Designing Institute of Telecommunications Co Ltd
Original Assignee
Guangdong Planning and Designing Institute of Telecommunications 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 Guangdong Planning and Designing Institute of Telecommunications Co Ltd filed Critical Guangdong Planning and Designing Institute of Telecommunications Co Ltd
Priority to CN202110032340.2A priority Critical patent/CN112738663B/en
Publication of CN112738663A publication Critical patent/CN112738663A/en
Application granted granted Critical
Publication of CN112738663B publication Critical patent/CN112738663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/009Topology aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to the technical field of communication, and provides a method, a device, equipment and a storage medium for determining double optical fiber paths of an equipment room, which comprises the following steps: the method comprises the steps of firstly determining target buildings to which two target machine rooms to be subjected to double-optical-fiber-path configuration respectively belong, determining candidate buildings with two end buildings as the two target buildings in a plurality of pre-configured building groups, and further determining candidate optical fiber paths which can be used for double-optical-fiber-path configuration in two target machine rooms based on the pipeline overlapping degree between the candidate optical fiber paths in pipelines of the candidate optical fiber paths corresponding to the candidate buildings, so that the range of the optical fiber paths needing to be traversed and searched is reduced, the calculation amount is greatly reduced, and the calculation complexity is reduced.

Description

Method, device, equipment and storage medium for determining double optical fiber paths of machine room
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for determining a dual optical fiber path in an equipment room, a computer device, and a storage medium.
Background
With the development of communication technology, in order to ensure normal communication, a technology of configuring a dual-route optical fiber access between two equipment rooms has appeared. In the process of configuring a dual-routing optical fiber path (which may be referred to as a dual-optical fiber path for short), determining an appropriate dual-optical fiber path quickly greatly affects the configuration efficiency. However, with the construction of mobile networks and fixed networks from fiber to the home, the number of machine rooms, equipment and optical cables of operators is increased in geometric multiples, and if the existing machine rooms are traversed to determine double-fiber paths, the calculation amount is large, and especially in the case of light path crossing (flying) between different machine rooms in the same building, the flying leads can greatly change the complexity of the mesh network paths, and the geometric progression is increased.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a computer device and a storage medium for determining dual fiber paths in an equipment room.
A method of determining dual fiber access for an enclosure, the method comprising:
acquiring target buildings to which two target machine rooms to be subjected to double-optical-fiber-path configuration respectively belong;
acquiring a plurality of preset machine building groups, and determining machine buildings at two ends of the plurality of machine buildings which are sequentially associated and included by each machine building group; at least one of a plurality of buildings included in different building groups is different;
determining the two-end aircraft as a plurality of candidate aircraft groups of the target aircraft from the plurality of aircraft groups;
obtaining candidate optical fiber passages which are corresponding to the candidate machine room groups and are communicated with the two target machine rooms, and determining pipelines corresponding to the candidate optical fiber passages;
and determining two candidate optical fiber paths which are double optical fiber paths of the two target machine rooms based on the pipeline overlapping degree between any two candidate optical fiber paths.
In one embodiment, the obtaining of candidate optical fiber paths corresponding to the candidate building groups and communicating the two target machine rooms, and determining a pipeline corresponding to each candidate optical fiber path includes:
determining a first candidate airport group with the least number of airports from the plurality of candidate airport groups;
acquiring first candidate optical fiber passages which are corresponding to the first candidate machine room group and are communicated with the two target machine rooms, and determining pipelines corresponding to the first candidate optical fiber passages;
if the pipeline overlapping degree between any two first candidate optical fiber passages is smaller than a pipeline overlapping degree threshold value, determining a second candidate building group with the number of the buildings being the second to last from the plurality of candidate building groups;
acquiring second candidate optical fiber passages which are corresponding to the second candidate machine room group and are communicated with the two target machine rooms, and determining pipelines corresponding to the second candidate optical fiber passages;
the determining two candidate optical fiber paths as the dual optical fiber paths of the two target machine rooms based on the tube overlapping degree between any two candidate optical fiber paths comprises:
and determining two candidate optical fiber paths as the dual optical fiber paths of the two target machine rooms based on the degree of the pipeline overlapping between any one of the first candidate optical fiber paths and any one of the second candidate optical fiber paths or the degree of the pipeline overlapping between any two of the second candidate optical fiber paths.
In one embodiment, the determining two candidate optical fiber paths as the dual optical fiber paths of the two target machine rooms based on the overlapping degree of the pipeline between any one of the first candidate optical fiber paths and any one of the second candidate optical fiber paths or the overlapping degree of the pipeline between any two of the second candidate optical fiber paths includes:
and if the pipeline overlapping degree between any one of the first candidate optical fiber passages and any one of the second candidate optical fiber passages and the pipeline overlapping degree between any two of the second candidate optical fiber passages are larger than the pipeline overlapping degree threshold value, taking any one of the first candidate optical fiber passages and any one of the second candidate optical fiber passages as two candidate optical fiber passages of the double optical fiber passages of the two target machine rooms.
In one embodiment, the corresponding pipeline of the optical fiber passage comprises a plurality of physical pipeline sections which are physically straight and have no bifurcation, and the physical pipeline sections are compressed to form a logical pipeline section.
In one embodiment, the logical pipe segment includes only two physical pipe segments, and the two physical pipe segments included in the logical pipe segment are respectively a first physical pipe segment and a last physical pipe segment in the plurality of physical pipe segments.
In one embodiment, the optical fiber access is formed based on local optical fibers provided between two machine rooms; each local optical fiber is laid in a plurality of communicated physical pipeline sections; a plurality of physical pipeline sections of the same office-direction optical fiber form corresponding office-direction pipelines;
if the similarity between the office pipelines corresponding to the office optical fibers of the two machine rooms is larger than the similarity threshold value, the office optical fibers of the two machine rooms are merged to correspond to the same office pipeline.
An apparatus for determining dual fiber paths in an enclosure, the apparatus comprising:
the target machine building determining module is used for acquiring target machine buildings to which two target machine rooms to be subjected to double-optical-fiber-path configuration respectively belong;
the system comprises a building group acquisition module, a building group selection module and a building group selection module, wherein the building group acquisition module is used for acquiring a plurality of pre-configured building groups and determining two end building groups in a plurality of sequentially associated building groups included in each building group; at least one of the plurality of mobile units in different mobile units is different;
the candidate airport group determining module is used for determining the two-end airports to be a plurality of candidate airport groups of the two target airports from the plurality of airport groups;
the pipeline determining module is used for acquiring candidate optical fiber passages which are communicated with the target machine room and correspond to the candidate machine building groups and determining pipelines corresponding to the candidate optical fiber passages;
and the double-optical-fiber-path determining module is used for determining two candidate optical fiber paths serving as the double optical fiber paths of the two target machine rooms based on the pipeline overlapping degree between any two candidate optical fiber paths.
In one embodiment, the pipeline determining module is further configured to determine a first candidate airport group with the smallest number of airports from the plurality of candidate airport groups; acquiring first candidate optical fiber passages which are corresponding to the first candidate machine room group and are communicated with the two target machine rooms, and determining pipelines corresponding to the first candidate optical fiber passages; if the pipeline overlapping degree between any two first candidate optical fiber passages is smaller than a pipeline overlapping degree threshold value, determining a second candidate aircraft group with the second last number of the aircraft included from the plurality of candidate aircraft groups; acquiring second candidate optical fiber passages corresponding to the second candidate machine room group and communicating the two target machine rooms, and determining pipelines corresponding to the second candidate optical fiber passages;
the dual optical fiber path determination module is further configured to determine two candidate optical fiber paths serving as dual optical fiber paths of the two target machine rooms based on a degree of pipeline overlap between any one of the first candidate optical fiber paths and any one of the second candidate optical fiber paths, or a degree of pipeline overlap between any two of the second candidate optical fiber paths.
A computer device comprising a memory storing a computer program and a processor implementing the method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the above-mentioned method.
The method, the device, the computer equipment and the storage medium for determining the double optical fiber paths of the machine rooms are used for acquiring target machine buildings to which two target machine rooms to be subjected to double optical fiber path configuration respectively belong; acquiring a plurality of preset building groups, and determining two-end buildings in the plurality of sequentially associated buildings included in each building group; at least one of a plurality of buildings included in different building groups is different; determining the two-end aircraft as a plurality of candidate aircraft groups of the target aircraft from the plurality of aircraft groups; obtaining candidate optical fiber passages which are corresponding to the candidate machine room groups and are communicated with the two target machine rooms, and determining pipelines corresponding to the candidate optical fiber passages; and determining two candidate optical fiber paths which are double optical fiber paths of the two target machine rooms based on the pipeline overlapping degree between any two candidate optical fiber paths. It can be seen that, in the above method provided by the present application, the target buildings to which the two target machine rooms to be subjected to the dual optical fiber path configuration belong are determined, among the plurality of pre-configured building groups, the two end buildings are determined as candidate building groups of the two target buildings, and then, in the pipelines of the candidate optical fiber paths corresponding to the candidate building groups, the candidate optical fiber paths that can be used for performing the dual optical fiber path configuration in the two target machine rooms are determined based on the pipeline overlapping degree between the candidate optical fiber paths, so that the range of the optical fiber paths to be searched in a traversal manner is narrowed, the computation amount is greatly reduced, and the computation complexity is reduced.
Drawings
Fig. 1 is an application environment diagram of a method for determining dual optical fiber paths between rooms according to an embodiment;
FIG. 2 is a flow chart illustrating a method for determining dual fiber paths between rooms according to one embodiment;
FIG. 3 is a flow chart illustrating a method for determining dual fiber paths between rooms according to one embodiment;
fig. 4 is a block diagram showing the structure of a double-fiber path determining apparatus between rooms in one embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by a person skilled in the art that the embodiments described herein can be combined with other embodiments.
In one embodiment, with reference to fig. 1, a method for determining dual fiber paths in a machine room provided by the present application is described, and the method can be applied to a computer device; when the computer device executes the method, the method can comprise the following steps:
step S201, a target building to which two target machine rooms to be configured with a dual optical fiber path belong is obtained.
As shown in fig. 1, the building 1 may include a machine room (r), and the building 3 may include a machine room (r) and a machine room (r). If the target machine room to be subjected to the double-optical-fiber-path configuration is the machine room (r) and the machine room (r), the machine building (1) to which the machine room (r) belongs and the machine building (5) to which the machine room (r) belongs can be determined.
Step S202, a plurality of preset machine building groups are obtained, and two end machine buildings in a plurality of machine buildings which are sequentially associated and included in each machine building group are determined; at least one of a plurality of buildings included in different building groups is different;
step S203, determining a plurality of candidate airplane groups with two end airplanes as target airplanes from a plurality of airplane groups;
wherein, the plurality of building groups may be, for example: an engineering building 1-an engineering building 5, an engineering building 1-an engineering building 2-an engineering building 3-an engineering building 5, an engineering building 1-an engineering building 6, an engineering building 1-an engineering building 2-an engineering building 6 … … and the like. Wherein each building group includes the building that is relevant in proper order, and in the multiple buildings that different building groups include, there is at least one building different.
After the computer equipment determines the machine building 1 to which the machine room belongs and the machine building 5 to which the machine room belongs, the computer equipment can determine that the machine buildings at two ends are each machine building group of the machine building 1 and the machine building 5 from the machine building groups, such as the machine building 1-machine building 5, the machine building 1-machine building 2-machine building 3-machine building 5 and the machine building 1-machine building 2-machine building 3-machine building 5, and the machine buildings are used as candidate machine building groups.
Step S204, obtaining candidate optical fiber passages which are corresponding to a plurality of candidate machine room groups and are communicated with two target machine rooms, and determining pipelines corresponding to the candidate optical fiber passages;
in step S205, two candidate optical fiber paths, which are dual optical fiber paths of two target machine rooms, are determined based on the degree of overlap between any two candidate optical fiber paths.
Figure BDA0002891859940000061
TABLE 1
The machine room group has a corresponding machine room group, and two machine rooms can have a plurality of optical fiber passages, for example, optical fiber passages A, B and C can exist between the machine room (r) and the machine room (C), a plurality of optical fiber passages can exist between the machine room (r) and the machine room (C), and a plurality of optical fiber passages can exist between the machine room (r) and the machine room (C). If the number of the optical fiber passages existing between the machine room I and the machine room II is 2, and the number of the optical fiber passages existing between the machine room II and the machine room III is 2, the machine room group is as follows: the machine room (r) -the machine room (b) has 4 optical fiber paths corresponding to them, i.e., the optical fiber paths D, E, F and G shown in table 1.
Each optical fiber passage is laid on a corresponding pipeline, and therefore each optical fiber passage is provided with a corresponding pipeline; the pipelines corresponding to different optical fiber passages can be completely the same or partially the same, so that the pipelines corresponding to two optical fiber passages have a certain degree of overlap.
If the number of buildings included in the building group is larger, the hop level of the optical fiber path corresponding to the building group is higher, for example, as shown in table 1, the number of buildings included in buildings 1-5 is 2, the optical fiber paths A, B and C corresponding to the building group are both direct paths, and the hop level is 1; for another example, the number of the buildings 1 to 5 is 3, the optical fiber paths D, E, F and G corresponding to the group of buildings are two-hop paths, and the hop level is 2.
In addition, fig. 1 shows a dashed line connecting the machine room (c) and the machine room (c): jump fine connection between computer lab third and the computer lab fourth, there is the light path alternately, belongs to the computer lab and flies the line condition. At this time, the machine room group corresponding to the machine building 1, the machine building 2, the machine building 3 and the machine building 5 may include a machine room (r), and a machine room (r).
In the method for determining the double-optical-fiber path of the machine room, the target machine buildings to which two target machine rooms to be subjected to double-optical-fiber path configuration belong are determined, the machine buildings at two ends are determined to be candidate machine building groups of the two target machine buildings in a plurality of pre-configured machine building groups, and then the candidate optical-fiber paths which can be used for carrying out double-optical-fiber path configuration in the two target machine rooms are determined based on the pipeline overlapping degree between the candidate optical-fiber paths in the pipelines of the candidate optical-fiber paths corresponding to the candidate machine building groups, so that the range of the optical-fiber paths needing to be searched in a traversing way is reduced, the calculation amount is greatly reduced, and the calculation complexity is reduced.
In one embodiment, the computer device, when performing steps S204 to S205, may perform the steps shown in fig. 3: step S301, determining a first candidate airport group with the least number of airports from a plurality of candidate airport groups; step S302, first candidate optical fiber passages which are corresponding to the first candidate machine room group and are communicated with two target machine rooms are obtained, and pipelines corresponding to the first candidate optical fiber passages are determined; step S303, if the pipeline overlapping degrees between any two first candidate optical fiber passages are smaller than the pipeline overlapping degree threshold value, determining a second candidate building group with the number of the buildings being the second to last from the plurality of candidate building groups; step S304, second candidate optical fiber passages which are corresponding to the second candidate machine room group and are communicated with the two target machine rooms are obtained, and pipelines corresponding to the second candidate optical fiber passages are determined; in step S305, two candidate optical fiber paths that are dual optical fiber paths of two target machine rooms are determined based on the degree of overlap between any first candidate optical fiber path and any second candidate optical fiber path or the degree of overlap between any two second candidate optical fiber paths.
Table 1 is used as an example to illustrate: after determining each candidate computer group, the computer device firstly traverses whether the pipeline overlapping degree between every two of the three optical fiber passages A, B and C is larger than or equal to a pipeline overlapping degree threshold value; if the two optical fiber paths are smaller than the threshold value of the pipeline overlapping degree, the computer equipment adds the two-hop optical fiber paths into the traversal comparison process, namely traverses the pipeline overlapping degree between every two optical fiber paths A to G, and further determines two optical fiber paths which can be used as double optical fiber paths of the machine room I and the machine room VIII.
If any two optical fiber paths in the two-hop optical fiber path and the direct optical fiber path are smaller than the threshold value of the pipeline overlapping degree, the computer equipment enables the number of the machine buildings to be 3: and adding the three-hop optical fiber paths corresponding to the mobile terminal 1, the mobile terminal 2, the mobile terminal 3 and the mobile terminal 5 into the traversal comparison until two optical fiber paths with the pipeline overlapping degree being greater than or equal to the pipeline overlapping degree threshold value are selected.
Therefore, in the method, the machine building groups with less number of the machine buildings are traversed preferentially according to the sequence that the number of the machine buildings included in the machine building groups is less than the number of the machine buildings, and a proper double-route optical fiber path can be found under the condition that the waste of operation resources can be avoided.
Further, the computer device may also perform the steps of: and if the pipeline overlapping degree between any first candidate optical fiber passage and any second candidate optical fiber passage and the pipeline overlapping degree between any two second candidate optical fiber passages are both larger than the pipeline overlapping degree threshold value, taking any first candidate optical fiber passage and any second candidate optical fiber passage as two candidate optical fiber passages of the double optical fiber passages of the two target machine rooms.
For example, if the pipeline overlapping degree between the optical fiber access a and the optical fiber access F is greater than the pipeline overlapping degree threshold value, and the pipeline overlapping degree between the optical fiber access D and the optical fiber access G is also greater than the pipeline overlapping degree threshold value, since the number of machine rooms through which the optical fiber access a passes is small and the hop level is small, the computer device may preferably use the optical fiber access a and the optical fiber access F as two optical fiber accesses of machine room (i) and machine room (ii) in order to improve communication efficiency.
In one embodiment, the corresponding channel of the optical fiber channel comprises a plurality of physical channel sections which are physically straight and have no bifurcation, and the physical channel sections are compressed to form a logical channel section.
Illustratively, the optical fiber passage A is laid in the sequentially connected pipeline sections x1-x2-x3-x4 (the pipeline sections x1-x2-x3-x4 can also be called physical actual pipeline sections, and are simply called physical pipeline sections; the pipeline sections x1-x2-x3-x4 form the pipeline corresponding to the optical fiber passage A); if the several pipeline sections are not branched and are physically straight, the several physical pipeline sections can be logically compressed into one pipeline section in programming, referred to as a logical pipeline section. The branch is x1-x2-x3-x4 and x1-x2-x3-x5, and the branch is considered to occur on the pipeline segment x3, so that x1-x2-x3-x4 is not physically straight.
In the method, the physical pipeline section which is physically straight and is not branched is compressed to form a logic pipeline section, so that the network complexity is reduced, and the operation efficiency is improved when the overlapping degree between pipelines is compared subsequently.
Further, the logical pipeline section only includes two physical pipeline sections, and the two physical pipeline sections included in the logical pipeline section are respectively a first physical management section and a last physical management section in the plurality of physical pipeline sections. For example, the pipeline sections x1-x2-x3-x4 are compressed into a logical pipeline section x1-x4, which is beneficial to ensuring the accuracy of the comparison of the overlapping degree of the pipelines.
In one embodiment, the fiber path is formed based on local fibers provided between two rooms; each local optical fiber is laid in a plurality of communicated physical pipeline sections; and a plurality of physical pipeline sections of the same office-direction optical fiber form corresponding office-direction pipelines. If the similarity between the office pipelines corresponding to the office fibers of the two machine rooms is larger than the similarity threshold value, the office fibers of the two machine rooms are merged and correspond to the same office pipeline.
Illustratively, the optical fiber path a between the machine room (r) and the machine room (b) is formed by the office optical fiber a; the optical fiber passages between the machine room I and the machine room II are formed by office-oriented optical fibers b and c, and the optical fiber passages between the machine room II and the machine room II are formed by office-oriented optical fibers d and e, so the office-oriented optical fibers forming the optical fiber passages D, E, F and G are b-d, b-e, c-d and c-e.
In the above situation, the plurality of physical pipe sections of the office fiber b form an office pipeline, and the plurality of physical pipe sections of the office fiber c also form an office pipeline, and if the two office pipelines are similar to each other, the two office fibers can be considered to satisfy a certain service condition, so that the office pipeline corresponding to the office fiber b and the office pipeline corresponding to the office fiber c can be merged into the same office optical path, which is beneficial to further reducing the number of office pipelines, reducing the complexity of a pipeline network, and reducing the amount of computation.
It should be understood that, although the steps in the flowcharts of fig. 1 to 3 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1 to 3 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the other steps or stages.
In one embodiment, as shown in fig. 4, there is provided a dual fiber path determining apparatus for an airport room, comprising:
a target building determining module 401, configured to acquire target buildings to which two target machine rooms to be configured with a dual optical fiber path belong;
the system comprises a building group acquisition module 402, a building group selection module and a building group selection module, wherein the building group acquisition module 402 is used for acquiring a plurality of pre-configured building groups and determining two end buildings in a plurality of sequentially associated buildings included in each building group; at least one of the plurality of mobile units in different mobile units is different;
a candidate airplane group determining module 403, configured to determine, from the plurality of airplane groups, that the two end airplanes are a plurality of candidate airplane groups of the target airplane;
a pipeline determining module 404, configured to obtain candidate optical fiber paths corresponding to the multiple candidate building groups and communicating the two target machine rooms, and determine a pipeline corresponding to each candidate optical fiber path;
a dual fiber path determination module 405, configured to determine two candidate fiber paths as dual fiber paths of the two target machine rooms based on a pipe overlapping degree between any two candidate fiber paths.
In one embodiment, the pipeline determining module is further configured to determine a first candidate airport group with the smallest number of airports from the plurality of candidate airport groups; acquiring first candidate optical fiber passages which are corresponding to the first candidate machine room group and are communicated with the two target machine rooms, and determining pipelines corresponding to the first candidate optical fiber passages; if the pipeline overlapping degree between any two first candidate optical fiber passages is smaller than a pipeline overlapping degree threshold value, determining a second candidate building group with the number of the buildings being the second to last from the plurality of candidate building groups; and acquiring second candidate optical fiber passages which are corresponding to the second candidate machine room group and are communicated with the two target machine rooms, and determining pipelines corresponding to the second candidate optical fiber passages. The dual optical fiber path determination module is further configured to determine two candidate optical fiber paths serving as dual optical fiber paths of the two target machine rooms based on a degree of pipeline overlap between any one of the first candidate optical fiber paths and any one of the second candidate optical fiber paths, or a degree of pipeline overlap between any two of the second candidate optical fiber paths.
In one embodiment, the dual fiber path determination module is further configured to, if the pipe overlapping degree between any one of the first candidate fiber paths and any one of the second candidate fiber paths and the pipe overlapping degree between any two of the second candidate fiber paths are greater than the pipe overlapping degree threshold, take any one of the first candidate fiber paths and any one of the second candidate fiber paths as two candidate fiber paths of the dual fiber paths of the two target machine rooms.
In one embodiment, the corresponding channel of the optical fiber channel comprises a plurality of physical channel sections which are physically straight and have no bifurcation, and the physical channel sections are compressed to form a logical channel section.
In one embodiment, the logical pipeline segment includes only two physical pipeline segments, and the two physical pipeline segments included in the logical pipeline segment are the first physical pipeline segment and the last physical pipeline segment in the plurality of physical pipeline segments.
In one embodiment, the fiber path is formed based on local fibers provided between two rooms; each local optical fiber is laid in a plurality of communicated physical pipeline sections; a plurality of physical pipeline sections of the same office-direction optical fiber form corresponding office-direction pipelines; if the similarity between the office pipelines corresponding to the office optical fibers of the two machine rooms is larger than the similarity threshold value, the office optical fibers of the two machine rooms are merged to correspond to the same office pipeline.
The specific definition of the device for determining dual optical fiber paths of an engine room can be referred to the definition of the method for determining dual optical fiber paths of an engine room, and is not described herein again. The modules in the above-described dual fiber path determination apparatus for a machine room may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the determination data of the double optical fiber access of the computer room. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of determining dual fiber paths for a machine room.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of the above-described method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the respective method embodiment as described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for determining dual fiber access to an enclosure, the method comprising:
acquiring target buildings to which two target machine rooms to be subjected to double-optical-fiber-path configuration respectively belong;
acquiring a plurality of preset building groups, and determining two-end buildings in the plurality of sequentially associated buildings included in each building group; at least one of a plurality of buildings included in different building groups is different;
determining the two-end aircraft as a plurality of candidate aircraft groups of the target aircraft from the plurality of aircraft groups;
obtaining candidate optical fiber passages which are corresponding to the candidate machine room groups and are communicated with the two target machine rooms, and determining pipelines corresponding to the candidate optical fiber passages;
and determining two candidate optical fiber paths which are double optical fiber paths of the two target machine rooms based on the pipeline overlapping degree between any two candidate optical fiber paths.
2. The method of claim 1, wherein the obtaining candidate optical fiber paths corresponding to the candidate groups of plants and communicating the two target machine rooms, and determining a pipeline corresponding to each candidate optical fiber path comprises:
determining a first candidate airport group with the least number of airports from the plurality of candidate airport groups;
acquiring first candidate optical fiber passages which are corresponding to the first candidate machine room group and are communicated with the two target machine rooms, and determining pipelines corresponding to the first candidate optical fiber passages;
if the pipeline overlapping degree between any two first candidate optical fiber passages is smaller than a pipeline overlapping degree threshold value, determining a second candidate building group with the number of the buildings being the number which is the second to last few from the plurality of candidate building groups;
acquiring second candidate optical fiber passages corresponding to the second candidate machine room group and communicating the two target machine rooms, and determining pipelines corresponding to the second candidate optical fiber passages;
the determining two candidate optical fiber paths as the dual optical fiber paths of the two target machine rooms based on the tube overlapping degree between any two candidate optical fiber paths comprises:
and determining two candidate optical fiber paths as the dual optical fiber paths of the two target machine rooms based on the degree of the pipeline overlapping between any one of the first candidate optical fiber paths and any one of the second candidate optical fiber paths or the degree of the pipeline overlapping between any two of the second candidate optical fiber paths.
3. The method of claim 2, wherein said determining two candidate fiber paths as dual fiber paths for the two target rooms based on a degree of tube overlap between any one of the first candidate fiber paths and any one of the second candidate fiber paths, or between any two of the second candidate fiber paths, comprises:
and if the pipeline overlapping degree between any one of the first candidate optical fiber passages and any one of the second candidate optical fiber passages and the pipeline overlapping degree between any two of the second candidate optical fiber passages are both larger than the pipeline overlapping degree threshold value, taking any one of the first candidate optical fiber passages and any one of the second candidate optical fiber passages as two candidate optical fiber passages of the double optical fiber passages of the two target machine rooms.
4. The method of claim 1, wherein the fiber path comprises a plurality of physical path segments that are physically straight through and non-branching, compressed to form a logical path segment.
5. The method of claim 4, wherein the logical pipe segment comprises only two physical pipe segments, the two physical pipe segments comprising the first physical pipe segment and the last physical pipe segment of the plurality of physical pipe segments, respectively.
6. The method according to any one of claims 1 to 5, wherein the optical fiber access is formed based on a local optical fiber provided between two rooms; each local optical fiber is laid in a plurality of communicated physical pipeline sections; a plurality of physical pipeline sections of the same office-direction optical fiber form corresponding office-direction pipelines;
if the similarity between the office pipelines corresponding to the office optical fibers of the two machine rooms is larger than the similarity threshold value, the office optical fibers of the two machine rooms are merged to correspond to the same office pipeline.
7. An apparatus for determining a dual fiber path in an enclosure, the apparatus comprising:
the system comprises a target machine building determining module, a target machine building determining module and a control module, wherein the target machine building determining module is used for acquiring target machine buildings to which two target machine rooms to be subjected to double-optical-fiber-path configuration respectively belong;
the system comprises a building group acquisition module, a building group selection module and a building group selection module, wherein the building group acquisition module is used for acquiring a plurality of pre-configured building groups and determining two end building groups in a plurality of sequentially associated building groups included in each building group; at least one of a plurality of buildings included in different building groups is different;
the candidate airport group determining module is used for determining the two-end airports to be a plurality of candidate airport groups of the target airport from the plurality of airport groups;
the pipeline determining module is used for acquiring candidate optical fiber passages which are communicated with the target machine room and correspond to the candidate machine building groups and determining pipelines corresponding to the candidate optical fiber passages;
and the double-optical-fiber-path determining module is used for determining two candidate optical fiber paths serving as the double optical fiber paths of the two target machine rooms based on the pipeline overlapping degree between any two candidate optical fiber paths.
8. The apparatus of claim 7, wherein the pipeline determining module is further configured to determine a first candidate airport group with a minimum number of airports from the plurality of candidate airport groups; acquiring first candidate optical fiber passages which are corresponding to the first candidate machine room group and are communicated with the two target machine rooms, and determining pipelines corresponding to the first candidate optical fiber passages; if the pipeline overlapping degree between any two first candidate optical fiber passages is smaller than a pipeline overlapping degree threshold value, determining a second candidate building group with the number of the buildings being the number which is the second to last few from the plurality of candidate building groups; acquiring second candidate optical fiber passages corresponding to the second candidate machine room group and communicating the two target machine rooms, and determining pipelines corresponding to the second candidate optical fiber passages;
the dual optical fiber path determination module is further configured to determine two candidate optical fiber paths serving as dual optical fiber paths of the two target machine rooms based on a degree of pipeline overlap between any one of the first candidate optical fiber paths and any one of the second candidate optical fiber paths, or a degree of pipeline overlap between any two of the second candidate optical fiber paths.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 6.
CN202110032340.2A 2021-01-11 2021-01-11 Method, device, equipment and storage medium for determining double optical fiber paths of machine room Active CN112738663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110032340.2A CN112738663B (en) 2021-01-11 2021-01-11 Method, device, equipment and storage medium for determining double optical fiber paths of machine room

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110032340.2A CN112738663B (en) 2021-01-11 2021-01-11 Method, device, equipment and storage medium for determining double optical fiber paths of machine room

Publications (2)

Publication Number Publication Date
CN112738663A CN112738663A (en) 2021-04-30
CN112738663B true CN112738663B (en) 2022-09-02

Family

ID=75590289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110032340.2A Active CN112738663B (en) 2021-01-11 2021-01-11 Method, device, equipment and storage medium for determining double optical fiber paths of machine room

Country Status (1)

Country Link
CN (1) CN112738663B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6351582B1 (en) * 1999-04-21 2002-02-26 Nortel Networks Limited Passive optical network arrangement
CN106789628A (en) * 2016-12-22 2017-05-31 浪潮通信信息系统有限公司 A kind of transmission services double route analysis method
CN111314802B (en) * 2018-12-12 2023-05-16 中兴通讯股份有限公司 Optical fiber cutting method and device, SDN controller, system and storage medium
CN111355660B (en) * 2020-03-06 2022-04-15 中国电力科学研究院有限公司 Routing determination method and system based on capacity balance and relative time delay

Also Published As

Publication number Publication date
CN112738663A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
US9400767B2 (en) Subgraph-based distributed graph processing
CN110213107A (en) A kind of autoplacement method, device and equipment for network topological diagram
CN112702399B (en) Network community cooperation caching method and device, computer equipment and storage medium
US11398981B2 (en) Path creation method and device for network on chip and electronic apparatus
CN108446712B (en) ODN network intelligent planning method, device and system
CN113316034B (en) Method, system, device and storage medium for configuring optical cable route
US9065743B2 (en) Determining connectivity in a failed network
CN112738663B (en) Method, device, equipment and storage medium for determining double optical fiber paths of machine room
CN112511341B (en) Network automation fault positioning method, terminal and storage medium
CN111367528B (en) Compiling method and device of software development kit, software development system and server
CN115297048B (en) Routing path generation method and device based on optical fiber network
CN114218734B (en) Optimal path planning and calculating method for cable
CN113722728B (en) Intelligent government affair information management method based on block chain
CN114866463A (en) Method and device for searching double routes and electronic equipment
CN114970847A (en) Data processing method, device and storage medium
Leng et al. An improved shortest path algorithm for computing one-to-one shortest paths on road networks
CN114205242A (en) Method and device for determining false loop
CN113708978A (en) Network availability test method and device, computer equipment and storage medium
Qian et al. A Shortest Path Algorithm Under Specified Nodes Constraint
Agata et al. A design algorithm for ring topology centralized-radio-access-network
Fernandes et al. Determining hop-constrained spanning trees with repetitive heuristics
CN112957734B (en) Map route searching method and device based on secondary search
Bourdonov et al. Parallel computations on a graph
Wang et al. Dynamic resource virtualisation method for survivability enhancement based on SDN
Craveirinha et al. An exact method for constructing minimal cost/minimal SRLG spanning trees over optical networks

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