CN107517079B - Power communication optical path alternate path analysis method and device - Google Patents

Power communication optical path alternate path analysis method and device Download PDF

Info

Publication number
CN107517079B
CN107517079B CN201710660385.8A CN201710660385A CN107517079B CN 107517079 B CN107517079 B CN 107517079B CN 201710660385 A CN201710660385 A CN 201710660385A CN 107517079 B CN107517079 B CN 107517079B
Authority
CN
China
Prior art keywords
alternate path
rule
sub
alternate
information
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
CN201710660385.8A
Other languages
Chinese (zh)
Other versions
CN107517079A (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 MetarNet Technologies Co Ltd
Original Assignee
Beijing MetarNet Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing MetarNet Technologies Co Ltd filed Critical Beijing MetarNet Technologies Co Ltd
Priority to CN201710660385.8A priority Critical patent/CN107517079B/en
Publication of CN107517079A publication Critical patent/CN107517079A/en
Application granted granted Critical
Publication of CN107517079B publication Critical patent/CN107517079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/035Arrangements for fault recovery using loopbacks

Landscapes

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

Abstract

The present invention provides a kind of communication optical path alternate path analysis method and device, and the method includes obtaining optical path to be analyzed;Read the beginning and end of the optical path to be analyzed;Alternate path rule is obtained, wherein the alternate path rule includes at least one alternate path sub-rule;The alternate path information between the beginning and end is searched for according at least one of alternate path rule alternate path sub-rule;Alternate path scheme is generated according to the alternate path information.Communication optical path alternate path analysis method provided by the invention and device, alternate path scheme is automatically generated by carrying out alternate path search according to preset alternate path sub-rule, simplify the operating procedure of alternate path analysis, save the time and efforts of operator, the requirement to the analysis ability of operator is reduced, to reduce human cost.

Description

Power communication optical path alternate path analysis method and device
Technical field
The present invention relates to electric communication operation and maintenance technical field more particularly to a kind of power communication optical path alternate path analysis sides Method and device.
Background technique
Power telecom network is another physical network of the electric system in addition to power grid, is all kinds of power informatization business of carrying Operation platform, be the basis of power grid primary system safe and stable operation, be State Grid Corporation of China safety in production important leverage. Wherein optical path is the basic resource that power communication is used to transmit, carry all kinds of business information, and optical path interruption will have a direct impact on electric power The stable operation of communication network is carrying out the communications such as optical cable maintenance, Cable's Fault disposition therefore, in order to ensure that optical path does not interrupt When maintenance work, the optical path information carried to optical cable is needed to carry out routing detour.
Analysis is dredged about optical path alternate path, the universal method of industry is analyzed when certain section of optical path will overhaul Whole routing iinformations of optical path, one suitable routing iinformation of artificial selection.Either input specified conditions, analyze and meet item Whole routing iinformations of part, one suitable routing iinformation of artificial selection.
Above two method, former approach are to directly search out whole routing iinformations to select for user, routing iinformation More, user is difficult to tell the advantage and disadvantage of routing, and directive property is indefinite.Later approach can be filtered out by condition entry Some ineligible routings, it is possible to reduce user selects the quantity of routing, but routing iinformation compares the item for relying on input Part, if condition is less, routing quantity still can be very much, and directive property is promoted but still indefinite relatively.It is complicated for operation, waste A large amount of time and efforts, more demanding to the analysis ability of operator, human cost is higher.
Summary of the invention
(1) technical problems to be solved
The object of the present invention is to provide a kind of communication optical path alternate path analysis method and devices, solve in the prior art Alternate path analyzes complicated for operation, the high technical problem of human cost.
(2) technical solution
In order to solve the above-mentioned technical problem, on the one hand, the present invention provides a kind of communication optical path alternate path analysis method, packet It includes,
Obtain optical path to be analyzed;
Read the beginning and end of the optical path to be analyzed;
Alternate path rule is obtained, wherein the alternate path rule includes at least one alternate path sub-rule;
It is searched between the beginning and end according at least one of alternate path rule alternate path sub-rule Alternate path information;
Alternate path scheme is generated according to the alternate path information.
Further, described to be risen according to the search of at least one of alternate path rule alternate path sub-rule is described Alternate path information between point and terminal specifically:
The first alternate path sub-rule is selected according to the priority of preset alternate path sub-rule, and obtains described first First calculation method of alternate path sub-rule;
The search condition of the first alternate path sub-rule is labeled as having searched for;
Its corresponding first alternate path searching algorithm is selected according to the first alternate path sub-rule;
It is searched between the beginning and end according to the first alternate path searching algorithm and first calculation method Alternate path information;
Judge whether to search alternate path information;
If judgement, which is known, searches alternate path information, the first alternate path information searched is recorded, and described in use First alternate path sub-rule identifies the first alternate path information;
Correspondingly, generating the first alternate path scheme according to the first alternate path information.
Further, the method also includes judging whether there is if judgement, which is known, does not search alternate path information The alternate path sub-rule of alternate path search is not carried out;
If judgement is known in the presence of the alternate path sub-rule for not carrying out alternate path search, according to the preset detour The priority for routing sub-rule selects the second alternate path sub-rule, and obtains the second meter of the second alternate path sub-rule Calculation method;
The search condition of the second alternate path sub-rule is labeled as having searched for;
Its corresponding second alternate path searching algorithm is selected according to the second alternate path sub-rule;
It is searched between the beginning and end according to the second alternate path searching algorithm and second calculation method Alternate path information;
Judge whether to search alternate path information;
If judgement, which is known, searches alternate path information, the second alternate path information searched is recorded, and described in use Second alternate path sub-rule identifies the second alternate path information;
Correspondingly, generating the second alternate path scheme according to the second alternate path information.
Further, the alternate path sub-rule includes that node is minimum, cable length is most short, fibre core is remaining at most, declines At least one of consumption minimum or reliability highest.
Further, the reliability be by number of nodes, cable length, fibre core surplus, attenuation, system of laying or At least one of fiber cable type carries out weight computing acquisition.
Further, the alternate path scheme is shown in the form of list and/or topology.
On the other hand, the present invention provides a kind of communication optical path alternate path analytical equipment, including,
First obtains module, for obtaining optical path to be analyzed;
Read module, for reading the beginning and end of the optical path to be analyzed;
Second obtains module, for obtaining alternate path rule, wherein the alternate path rule includes at least one circuitous Circuit is by sub-rule;
Search module, for being risen according to the search of at least one of alternate path rule alternate path sub-rule is described Alternate path information between point and terminal;
Generation module, for generating alternate path scheme according to the alternate path information.
In another aspect, the present invention provides a kind of electronic equipment analyzed for communicating optical path alternate path, comprising:
Memory and processor, the processor and the memory complete mutual communication by bus;It is described to deposit Reservoir is stored with the program instruction that can be executed by the processor, and it is above-mentioned that the processor calls described program instruction to be able to carry out Method.
Another aspect, the present invention provide a kind of computer program product, and the computer program product is non-including being stored in Computer program in transitory computer readable storage medium, the computer program include program instruction, when described program refers to When order is computer-executed, the computer is made to execute above-mentioned method.
Another aspect, the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, the meter Calculation machine program realizes above-mentioned method when being executed by processor.
(3) beneficial effect
Communication optical path alternate path analysis method provided by the invention and device, by according to preset alternate path cuckoo It then carries out alternate path search and automatically generates alternate path scheme, simplify the operating procedure of alternate path analysis, it is practical, Directive property is clear, saves the time and efforts of operator, reduces the requirement to the analysis ability of operator, to drop Low human cost.
Detailed description of the invention
Fig. 1 is the communication optical path alternate path analysis method schematic diagram according to the embodiment of the present invention;
Fig. 2 is the alternate path search routine figure according to the embodiment of the present invention;
Fig. 3 is the communication optical path alternate path analytical equipment schematic diagram according to the embodiment of the present invention;
Fig. 4 is provided in an embodiment of the present invention for communicating the structural representation of the electronic equipment of optical path alternate path analysis Figure.
Specific embodiment
In order to keep the purposes, technical schemes and advantages of the embodiment of the present invention clearer, implement below in conjunction with the present invention Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiment of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Embodiment 1:
Fig. 1 is the communication optical path alternate path analysis method schematic diagram according to the embodiment of the present invention, as shown in Figure 1, this hair Bright embodiment provides a kind of communication optical path alternate path analysis method, including,
Step S10, optical path to be analyzed is obtained;
Step S20, the beginning and end of the optical path to be analyzed is read;
Step S30, alternate path rule is obtained, wherein the alternate path rule includes at least one alternate path cuckoo Then;
Step S40, according at least one of alternate path rule alternate path sub-rule search for the starting point and Alternate path information between terminal;
Step S50, alternate path scheme is generated according to the alternate path information.
Specifically, a kind of power communication optical path alternate path analysis method includes the summary of alternate path rule analysis, detour Route search and alternate path execute three links, implement process are as follows: (1) analyze user and manually carry out optical path alternate path The action process of solution formulation sums up the alternate path rule that easy-to-understand, specified property defined, met user demand;(2) with Alternate path rule is foundation, the characteristics of searching for and generate alternate path scheme, and identify every kind of routing plan;(3) it provides Alternate path scheme provides interface calling function, can call directly the detour scheme information also by selecting detour scheme information Quick start mode process, and complete the execution of alternate path scheme.
Alternate path search in three links of alternate path analysis method is the key that entire method.
Optical path to be analyzed is obtained first, and the optical path to be analyzed can be the power communication optical path to break down, can also be with It is the power communication optical path not broken down for needing to detect.
The beginning and end for reading the optical path to be analyzed is analysed to optical path and determines between specific beginning and end, Object as analysis.
Alternate path rule is obtained, wherein the alternate path rule includes at least one alternate path sub-rule.Pass through Analysis user manually carries out the action process of optical path alternate path solution formulation, sums up easy-to-understand, specified property and defines, meets The alternate path rule of user demand.The alternate path rule may include a variety of different alternate path sub-rules, not It can choose different alternate path sub-rules under same operative scenario.
Then the beginning and end is searched for according at least one of alternate path rule alternate path sub-rule Between alternate path information.
Finally, generating alternate path scheme according to the alternate path information.
Further, described to be risen according to the search of at least one of alternate path rule alternate path sub-rule is described Alternate path information between point and terminal specifically:
The first alternate path sub-rule is selected according to the priority of preset alternate path sub-rule, and obtains described first First calculation method of alternate path sub-rule;
The search condition of the first alternate path sub-rule is labeled as having searched for;
Its corresponding first alternate path searching algorithm is selected according to the first alternate path sub-rule;
It is searched between the beginning and end according to the first alternate path searching algorithm and first calculation method Alternate path information;
Judge whether to search alternate path information;
If judgement, which is known, searches alternate path information, the first alternate path information searched is recorded, and described in use First alternate path sub-rule identifies the first alternate path information;
Correspondingly, generating the first alternate path scheme according to the first alternate path information.
Specifically, the alternate path rule may include a variety of different alternate path sub-rules, in different work It can choose different alternate path sub-rules under scene, so needing with multiple and different alternate path sub-rules to detour When routing is analyzed, alternate path sub-rule pre-set priority can be given, alternate path sub-rule pair first high with priority Alternate path is analyzed.
The first alternate path sub-rule, different detours are selected according to the priority of preset alternate path sub-rule first It is also not identical to route the corresponding method for calculating alternate path of sub-rule, after selecting the first alternate path sub-rule, and obtains institute State the first calculation method of the first alternate path sub-rule.
The corresponding alternate path searching algorithm of different alternate path sub-rules is not also identical, so, according to described first Alternate path sub-rule selects its corresponding first alternate path searching algorithm.
Then, by the search condition of the first alternate path sub-rule labeled as having searched for, it is subsequent can be according to detour Whether routing sub-rule is labeled as having searched for determine whether to use the alternate path sub-rule and be searched for.
Then, the beginning and end is searched for according to the first alternate path searching algorithm and first calculation method Between alternate path information.
The scheme of alternate path can there are many, but for the alternate path of some specific alternate path sub-rule Scheme may be to be not present.It is therefore desirable to judge whether to search alternate path information, if judgement, which is known, searches detour Routing iinformation, then record the first alternate path information searched, and with the first alternate path sub-rule mark described the One alternate path information;Correspondingly, generating the first alternate path scheme according to the first alternate path information.Described first is circuitous The description that routing plan has the first alternate path sub-rule is returned, user can pass through retouching with the first alternate path sub-rule It states and explicitly identifies that the program is scanned for by the first alternate path sub-rule.
Further, the method also includes judging whether there is if judgement, which is known, does not search alternate path information The alternate path sub-rule of alternate path search is not carried out;
If judgement is known in the presence of the alternate path sub-rule for not carrying out alternate path search, according to the preset detour The priority for routing sub-rule selects the second alternate path sub-rule, and obtains the second meter of the second alternate path sub-rule Calculation method;
The search condition of the second alternate path sub-rule is labeled as having searched for;
Its corresponding second alternate path searching algorithm is selected according to the second alternate path sub-rule;
It is searched between the beginning and end according to the second alternate path searching algorithm and second calculation method Alternate path information;
Judge whether to search alternate path information;
If judgement, which is known, searches alternate path information, the second alternate path information searched is recorded, and described in use Second alternate path sub-rule identifies the second alternate path information;
Correspondingly, generating the second alternate path scheme according to the second alternate path information.
Further, the alternate path sub-rule includes that node is minimum, cable length is most short, fibre core is remaining at most, declines At least one of consumption minimum or reliability highest.
Specifically, node at least refers to that routing is minimum from the start site of optical path to the number of nodes that website passes through is terminated.
Cable length is most short to refer to routing from the start-stop website of optical path to the sum of the cable length for terminating website process minimum.
Fibre core residue is preferably at most to show the way by the start-stop website from optical path to the remaining small fibre core number of optical cable for terminating website process Amount is most.
Attenuation minimum refers to that routing is minimum from the start-stop website of optical path to the optical cable attenuation value that website passes through is terminated.
Reliability is up to a sub-rule by being comprehensively considered to a variety of elements.
Further, the reliability be by number of nodes, cable length, fibre core surplus, attenuation, system of laying or At least one of fiber cable type carries out weight computing acquisition.
Reliability is up to a sub-rule by being comprehensively considered to a variety of elements, is by routing number of nodes The elements such as amount, cable length, fibre core residue, attenuation, system of laying, fiber cable type carry out weight computing, to obtain reliability Highest alternate path.The weighted value of specific each element can be determines according to actual conditions.
After the completion of alternate path rule analysis is summarized, the process to the maintenance of detour rule includes following two step:
A. detour rule type is safeguarded
The detour rule type slitting of analysis and summary is safeguarded.
B. description rule calculation method
The calculation method of every rule-like is described respectively.
Further, the alternate path scheme is shown in the form of list and/or topology.
Being shown alternate path scheme in the form of list and/or topology, it is able to use family and is clearly seen that The different alternate path schemes searched out according to different alternate path sub-rules, facilitate user is further to be operated.By In reaffirming by user, it is ensured that the reliability of alternate path scheme.
So alternate path search is the core of the embodiment of the present invention.Using alternate path rule as foundation, searches for and generate The characteristics of alternate path scheme, every kind of detour scheme can all identify the routing, such as node is minimum, length is most short, most reliable.Together When in the displaying that also can intuitively be compared in network topology structure of routing.
Alternate path search includes optical path information inquiry, alternate path rule is read, rule-based alternate path is searched for Three steps.
(1) optical path information is inquired
Optical path information inquiry is inquired optical path essential information, and the start-stop information of optical path is obtained, and obtains start-stop information After can to optical path carry out alternate path search.
(2) alternate path rule is read
The reading of alternate path rule is read out to the alternate path rule of analysis and summary, according to every alternate path Rule carries out alternate path search.
(3) rule-based alternate path search
Rule-based alternate path search is completed by three steps.Step 1: obtaining each alternate path The calculation method of sub-rule and rule;Step 2: automatically selecting suitable route search according to every alternate path algorithm Scheme scans for;Step 3: generating alternate path scheme, and the characteristics of describe every kind of scheme.
Three steps that above-mentioned alternate path is searched for are described in detail below by the mode of flow chart.Fig. 2 be according to According to the alternate path search routine figure of the embodiment of the present invention, as shown in Fig. 2, alternate path search routine includes the following contents:
(1) optical path to be analyzed obtains
Optical path to be analyzed is obtained, alternate path search routine is started.
(2) start-stop information is read
According to optical path to be analyzed, the beginning and end information of the optical path is obtained.
(3) detour rule is read
All alternate paths rule after reading analysis and summary.
(4) rule is chosen
The first alternate path sub-rule is chosen according to the priority of alternate path rule, and obtains the calculating side of the rule Method.
(5) rule mark
The search condition of first alternate path sub-rule of selection is recorded as having searched for.
(6) searching algorithm is chosen
According to the difference of alternate path sub-rule, suitable route search algorithm is chosen automatically.
(7) route search
Route search is carried out according to route search algorithm and routing rule calculation method.
(8) routing whether is searched
Judge whether to search qualified routing according to routing sub-rule, if searched, records routing letter Breath, judges whether there is the alternate path sub-rule for not carrying out route search if not searching, and if so, reading one Lower alternate path sub-rule continues alternate path search, if it does not exist, then process terminates.
(9) routing iinformation records
The alternate path information searched is recorded, and identifies which kind of alternate path cuckoo the routing iinformation belongs to Then.
(10) it whether there is and do not scan for rule
The sub-rule for not carrying out alternate path search is judged whether there is, and if so, reading alternate path Rule continues alternate path search, if it does not exist, then process terminates.
Alternate path scheme provided in an embodiment of the present invention provides interface calling function, and the execution of alternate path scheme can lead to It crosses interface and calls directly the alternate path scheme information, it can also be by selecting alternate path scheme information quick start mode stream Journey, and complete the execution of alternate path scheme.
(1) interface is externally provided to call
After the completion of alternate path search, interface calling is externally provided and is divided into two ways, one is can be by alternate path Search result is externally supplied to other function module;Another kind is that the direct alternate path search of optical path may be selected in other function module Function.
(2) mode process is called directly
After the completion of alternate path search, a suitable alternate path scheme may be selected and directly initiate mode process, and System using alternate path scheme as mode scheme, is automatically performed mode programming link automatically, and the mode of entering audits ring Section, only need to audit it is open-minded by can be carried out alternate path, subsidiary communications operation maintenance personnel be rapidly completed optical path detour work.
Communication optical path alternate path analysis method provided in an embodiment of the present invention, by according to preset alternate path cuckoo It then carries out alternate path search and automatically generates alternate path scheme, simplify the operating procedure of alternate path analysis, it is practical, Directive property is clear, shows that intuitive, identification is high, saves the time and efforts of operator, reduce and divide operator The requirement of analysis ability ensures that power telecom network is safely and steadily run to reduce human cost.
Embodiment 2:
Fig. 3 is the communication optical path alternate path analytical equipment schematic diagram according to the embodiment of the present invention, as shown in figure 3, this hair Bright embodiment provides a kind of communication optical path alternate path analytical equipment, including the first acquisition module 10, read module 20, second obtains Modulus block 30, search module 40 and generation module 50, wherein
First acquisition module 10 is for obtaining optical path to be analyzed;
Read module 20 is used to read the beginning and end of the optical path to be analyzed;
Second acquisition module 30 is for obtaining alternate path rule, wherein the alternate path rule includes at least one circuitous Circuit is by sub-rule;
Search module 40 is used for according to the search of at least one of alternate path rule alternate path sub-rule Alternate path information between beginning and end;
Generation module 50 is used to generate alternate path scheme according to the alternate path information.
First first acquisition module 10 obtains optical path to be analyzed, and it is logical that the optical path to be analyzed can be the electric power to break down Believe optical path, is also possible to the power communication optical path not broken down for needing to detect.
Read module 20 reads the beginning and end of the optical path to be analyzed, is analysed to optical path and determines in specific starting point Object between terminal, as analysis.
Second, which obtains module 30, obtains alternate path rule, wherein the alternate path rule includes at least one detour road By sub-rule.Manually carry out the action process of optical path alternate path solution formulation by analyzing user, sum up it is easy-to-understand, refer to Qualitative alternate path rule that is clear, meeting user demand.The alternate path rule may include a variety of different detour roads By sub-rule, different alternate path sub-rules can choose under different operative scenarios.
Then search module 40 is according to the search of at least one of alternate path rule alternate path sub-rule Alternate path information between beginning and end.
Finally, generation module 50 generates alternate path scheme according to the alternate path information.
Communication optical path alternate path analytical equipment provided in an embodiment of the present invention, by according to preset alternate path cuckoo It then carries out alternate path search and automatically generates alternate path scheme, simplify the operating procedure of alternate path analysis, it is practical, Directive property is clear, shows that intuitive, identification is high, saves the time and efforts of operator, reduce and divide operator The requirement of analysis ability ensures that power telecom network is safely and steadily run to reduce human cost.
Embodiment 3:
Fig. 4 is provided in an embodiment of the present invention for communicating the structural representation of the electronic equipment of optical path alternate path analysis Figure, as shown in figure 4, the equipment includes: processor (processor) 801, memory (memory) 802 and bus 803;
Wherein, processor 801 and memory 802 complete mutual communication by the bus 803;
Processor 801 is used to call the program instruction in memory 802, to execute provided by above-mentioned each method embodiment Method, for example, obtain optical path to be analyzed;
Read the beginning and end of the optical path to be analyzed;
Alternate path rule is obtained, wherein the alternate path rule includes at least one alternate path sub-rule;
It is searched between the beginning and end according at least one of alternate path rule alternate path sub-rule Alternate path information;
Alternate path scheme is generated according to the alternate path information.
Embodiment 4:
The embodiment of the present invention discloses a kind of computer program product, and the computer program product is non-transient including being stored in Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs quilt When computer executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example, obtains light to be analyzed Road;
Read the beginning and end of the optical path to be analyzed;
Alternate path rule is obtained, wherein the alternate path rule includes at least one alternate path sub-rule;
It is searched between the beginning and end according at least one of alternate path rule alternate path sub-rule Alternate path information;
Alternate path scheme is generated according to the alternate path information.
Embodiment 5:
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage Medium storing computer instruction, the computer instruction make the computer execute side provided by above-mentioned each method embodiment Method, for example, obtain optical path to be analyzed;
Read the beginning and end of the optical path to be analyzed;
Alternate path rule is obtained, wherein the alternate path rule includes at least one alternate path sub-rule;
It is searched between the beginning and end according at least one of alternate path rule alternate path sub-rule Alternate path information;
Alternate path scheme is generated according to the alternate path information.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
The embodiments such as device and equipment described above are only schematical, wherein described be used as separate part description Unit may or may not be physically separated, component shown as a unit may or may not be Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying In the case where creative labor, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (8)

1. a kind of communication optical path alternate path analysis method, which is characterized in that including,
Obtain optical path to be analyzed;
Read the beginning and end of the optical path to be analyzed;
Alternate path rule is obtained, wherein the alternate path rule includes at least one alternate path sub-rule;
The detour between the beginning and end is searched for according at least one of alternate path rule alternate path sub-rule Routing iinformation;
Alternate path scheme is generated according to the alternate path information;
It is described to be searched between the beginning and end according at least one of alternate path rule alternate path sub-rule Alternate path information specifically:
The first alternate path sub-rule is selected according to the priority of preset alternate path sub-rule, and obtains first detour Route the first calculation method of sub-rule;
The search condition of the first alternate path sub-rule is labeled as having searched for;
Its corresponding first alternate path searching algorithm is selected according to the first alternate path sub-rule;
The detour between the beginning and end is searched for according to the first alternate path searching algorithm and first calculation method Routing iinformation;
Judge whether to search alternate path information;
If judgement is known and searches alternate path information, the first alternate path information searched is recorded, and with described first Alternate path sub-rule identifies the first alternate path information;
Correspondingly, generating the first alternate path scheme according to the first alternate path information.
2. the method according to claim 1, wherein further including, if judgement, which is known, does not search alternate path letter Breath, then judge whether there is the alternate path sub-rule for not carrying out alternate path search;
If judgement is known in the presence of the alternate path sub-rule for not carrying out alternate path search, according to the preset alternate path The priority of sub-rule selects the second alternate path sub-rule, and obtains the second calculating side of the second alternate path sub-rule Method;
The search condition of the second alternate path sub-rule is labeled as having searched for;
Its corresponding second alternate path searching algorithm is selected according to the second alternate path sub-rule;
The detour between the beginning and end is searched for according to the second alternate path searching algorithm and second calculation method Routing iinformation;
Judge whether to search alternate path information;
If judgement is known and searches alternate path information, the second alternate path information searched is recorded, and with described second Alternate path sub-rule identifies the second alternate path information;
Correspondingly, generating the second alternate path scheme according to the second alternate path information.
3. the method according to claim 1, wherein the alternate path sub-rule includes, node is minimum, optical cable Length is most short, fibre core is remaining at most, attenuation is minimum or at least one of reliability highest.
4. according to the method described in claim 3, it is characterized in that, the reliability is by number of nodes, cable length, fibre At least one of core surplus, attenuation, system of laying or fiber cable type carry out weight computing acquisition.
5. method according to claim 1 to 4, which is characterized in that the alternate path scheme is with list and/or opens up The form flutterred is shown.
6. a kind of communication optical path alternate path analytical equipment, which is characterized in that including,
First obtains module, for obtaining optical path to be analyzed;
Read module, for reading the beginning and end of the optical path to be analyzed;
Second obtains module, for obtaining alternate path rule, wherein the alternate path rule includes at least one detour road By sub-rule;
Search module, for according at least one of alternate path rule alternate path sub-rule search for the starting point and Alternate path information between terminal;
Generation module, for generating alternate path scheme according to the alternate path information;
It is described to be searched between the beginning and end according at least one of alternate path rule alternate path sub-rule Alternate path information specifically:
The first alternate path sub-rule is selected according to the priority of preset alternate path sub-rule, and obtains first detour Route the first calculation method of sub-rule;
The search condition of the first alternate path sub-rule is labeled as having searched for;
Its corresponding first alternate path searching algorithm is selected according to the first alternate path sub-rule;
The detour between the beginning and end is searched for according to the first alternate path searching algorithm and first calculation method Routing iinformation;
Judge whether to search alternate path information;
If judgement is known and searches alternate path information, the first alternate path information searched is recorded, and with described first Alternate path sub-rule identifies the first alternate path information;
Correspondingly, generating the first alternate path scheme according to the first alternate path information.
7. a kind of for communicating the electronic equipment of optical path alternate path analysis characterized by comprising
Memory and processor, the processor and the memory complete mutual communication by bus;The memory It is stored with the program instruction that can be executed by the processor, the processor calls described program instruction to be able to carry out right such as and wants Seek 1 to 5 any method.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt Processor realizes method as claimed in claim 1 to 5 when executing.
CN201710660385.8A 2017-08-04 2017-08-04 Power communication optical path alternate path analysis method and device Active CN107517079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710660385.8A CN107517079B (en) 2017-08-04 2017-08-04 Power communication optical path alternate path analysis method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710660385.8A CN107517079B (en) 2017-08-04 2017-08-04 Power communication optical path alternate path analysis method and device

Publications (2)

Publication Number Publication Date
CN107517079A CN107517079A (en) 2017-12-26
CN107517079B true CN107517079B (en) 2019-07-23

Family

ID=60722868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710660385.8A Active CN107517079B (en) 2017-08-04 2017-08-04 Power communication optical path alternate path analysis method and device

Country Status (1)

Country Link
CN (1) CN107517079B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871566B (en) * 2018-11-30 2022-09-20 厦门亿力吉奥信息科技有限公司 Loop construction method based on power grid topology technology and storage medium
CN112511230B (en) * 2020-11-20 2022-07-12 国网浙江省电力有限公司宁波供电公司 Optimal optical fiber path selection method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002374283A (en) * 2001-06-13 2002-12-26 Kddi Corp Design method for optical network
CN102118820A (en) * 2011-03-25 2011-07-06 北京航空航天大学 Continuous state routing algorithm of satellite link network
CN102664802A (en) * 2012-04-20 2012-09-12 同济大学 Self-adaptive multi-constraint path searching method based on feedback
CN103955042A (en) * 2014-05-12 2014-07-30 华为技术有限公司 Method and device for guiding optical fiber jumper connection construction
CN105490935A (en) * 2015-12-08 2016-04-13 国网浙江省电力公司宁波供电公司 Method and system for analyzing paths among multiple points
CN106250579A (en) * 2016-07-08 2016-12-21 广东科诺勘测工程有限公司 The method and device that a kind of power circuit path intelligence generates
CN106302170A (en) * 2016-09-22 2017-01-04 东南大学 A kind of resource allocation methods of wireless cloud computing system
CN106845031A (en) * 2017-03-10 2017-06-13 宁波华讯通信服务有限公司 Cable lays route auto-allocation method in a kind of gauze

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002374283A (en) * 2001-06-13 2002-12-26 Kddi Corp Design method for optical network
CN102118820A (en) * 2011-03-25 2011-07-06 北京航空航天大学 Continuous state routing algorithm of satellite link network
CN102664802A (en) * 2012-04-20 2012-09-12 同济大学 Self-adaptive multi-constraint path searching method based on feedback
CN103955042A (en) * 2014-05-12 2014-07-30 华为技术有限公司 Method and device for guiding optical fiber jumper connection construction
CN105490935A (en) * 2015-12-08 2016-04-13 国网浙江省电力公司宁波供电公司 Method and system for analyzing paths among multiple points
CN106250579A (en) * 2016-07-08 2016-12-21 广东科诺勘测工程有限公司 The method and device that a kind of power circuit path intelligence generates
CN106302170A (en) * 2016-09-22 2017-01-04 东南大学 A kind of resource allocation methods of wireless cloud computing system
CN106845031A (en) * 2017-03-10 2017-06-13 宁波华讯通信服务有限公司 Cable lays route auto-allocation method in a kind of gauze

Also Published As

Publication number Publication date
CN107517079A (en) 2017-12-26

Similar Documents

Publication Publication Date Title
US9374278B2 (en) Graphic user interface based network management system to define and execute troubleshooting procedure
US20120102543A1 (en) Audit Management System
CN109088773A (en) Fault self-recovery method, apparatus, server and storage medium
CN107517079B (en) Power communication optical path alternate path analysis method and device
CN110348852A (en) A kind of credit evaluation model modification method, device, electronic equipment
CN109547261A (en) Service line switching method, device, electronic equipment and storage medium
CN108846214A (en) The complete trails optical fiber cable port node traversal search method and its equipment of substation
CN112583663B (en) Automatic network performance testing method based on domestic operating system
CN113347060A (en) Power network fault detection method, device and system based on process automation
CN112712348A (en) Log correlation analysis method and diagnosis device for converter station
CN108574957B (en) Intelligent routing inspection server, routing inspection system and method for evolved packet core network equipment
CN109711666A (en) A kind of technical supervision evaluation method and system based on criterion and quantity
CN112671567B (en) 5G core network topology discovery method and device based on service interface
CN115098362A (en) Page testing method and device, electronic equipment and storage medium
CN115794545A (en) Automatic processing method of operation and maintenance data and related equipment thereof
CN115687406A (en) Sampling method, device and equipment of call chain data and storage medium
US8510149B1 (en) Method of constructing causality network graphs and visual inference presentations for business rule applications
CN108512688A (en) Network node configuration method and terminal
CN111030863B (en) Node topology information determination method, device, equipment and storage medium
CN110912741A (en) Intelligent label generation method and device based on reverse analysis
JP2013069223A (en) Generation program, generation method, and generation device
CN115134293B (en) Telecommunication route recommendation method, device and server
CN107609157B (en) Information processing system and method based on computer network
CN117687993A (en) Data migration method, device, equipment and storage medium
CN117632748A (en) Method and device for determining smoke emission test case, electronic equipment and storage medium

Legal Events

Date Code Title Description
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