CN101986282A - Topological adaptation method and device - Google Patents
Topological adaptation method and device Download PDFInfo
- Publication number
- CN101986282A CN101986282A CN201010536153XA CN201010536153A CN101986282A CN 101986282 A CN101986282 A CN 101986282A CN 201010536153X A CN201010536153X A CN 201010536153XA CN 201010536153 A CN201010536153 A CN 201010536153A CN 101986282 A CN101986282 A CN 101986282A
- Authority
- CN
- China
- Prior art keywords
- topology
- equipment
- physical
- logical
- port
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000006978 adaptation Effects 0.000 title claims abstract description 26
- 230000003044 adaptive effect Effects 0.000 claims description 29
- 230000008878 coupling Effects 0.000 claims description 25
- 238000010168 coupling process Methods 0.000 claims description 25
- 238000005859 coupling reaction Methods 0.000 claims description 25
- 239000011159 matrix material Substances 0.000 claims description 9
- 230000007246 mechanism Effects 0.000 claims description 7
- 230000013011 mating Effects 0.000 claims description 5
- 230000006870 function Effects 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 9
- 238000004364 calculation method Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000005622 photoelectricity Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 239000012141 concentrate Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000000704 physical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a topological adaptation method and a topological adaptation device. The method comprises the following steps of: acquiring available physical topology and the topological information of logical topology to be matched, wherein the topological information comprises equipment attributes, port attributes and equipment connection relationships; matching the physical topology and the logical topology by adopting the topological information; and outputting a matching result of the physical topology and the logical topology. In the technical scheme of the invention, the functions of the topological attributes are fully taken into account in the topological adaptation, so the accuracy of the topological adaptation is greatly improved, and a topology environment according with the detailed descriptions of the logical topology is ensured to be accurately found in a conventional physical topology environment.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of topology adaptation method and device.
Background technology
Along with communication facilities development and application scope is more and more wider, more and more higher for the request for utilization of communication facilities topology, therefore the development of topological adaptation technique is also more and more urgent.But do not elaborate for topological adaptation technique specific implementation method at present or the implementation method enforceability not high.Introduced a kind of topology adaptation method that is used for automatic test among the patent CN200910172067.2, according to the structure of physical topology and the structure of logical topology, structural physical topological matrix and logical topology matrix; According to the consistance of the type of the magnitude relationship of the value of each element in described physical topology matrix and the described logical topology matrix and described each element, adaptive described physical topology and described logical topology; Adaptive result is exported in adaptive success.This patent adaptive thinking that provided the foundation, but detailed computing method do not provided for concrete adaptation procedure.In addition, the method that this patent provides has been ignored some attributes of topology, as device type, and device software version, port photoelectricity pattern, port speed etc.Ignoring the topology that these attributes match go out might not practical requirement.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of topology adaptation method and device, one of to address the above problem at least.
According to an aspect of the present invention, provide a kind of topology adaptation method, having comprised: obtain the topology information of the logical topology of available physical topology and needs coupling, wherein, topology information comprises: device attribute, port attribute and equipment room annexation; Adopt topology information that physical topology and logical topology are mated; The matching result of output physics topological sum logical topology.
According to another aspect of the present invention, a kind of topological adaptive device is provided, has comprised: topological load module is used to obtain the topology information of the logical topology that available physical topology and needs mate, wherein, topology information comprises: device attribute, port attribute and equipment room annexation; The topology matching module is used to adopt above topology information that physical topology and logical topology are mated; The topology output module is used to export the matching result of above-mentioned physical topology and logical topology.
By the present invention, in topology is adaptive, added necessary topological attribute and corresponding algorithm is provided, solved in the existing topological adaptation procedure and ignored the problem of some topological attributes, and then reached the effect that improves topological adaptive accuracy rate in the practical application.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram according to the topology adaptation method of the embodiment of the invention;
Fig. 2 is the process flow diagram of topology adaptation method according to the preferred embodiment of the invention;
Fig. 3 is the process flow diagram of the topology adaptation method of example according to the present invention;
Fig. 4 is the structural representation of the physical topology of example according to the present invention;
Fig. 5 is the structural representation of the logical topology of example according to the present invention;
Fig. 6 is the logical topology equipment syntople figure of the example according to the present invention;
Fig. 7 is the physical topology equipment syntople figure of the example according to the present invention;
Fig. 8 is the port annexation figure of the example according to the present invention;
Fig. 9 is equipment class, port class, the topological class definition structural representation of the example according to the present invention;
Figure 10 is the structural representation according to the topological adaptive device of the embodiment of the invention.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Fig. 1 is the process flow diagram according to the topology adaptation method of the embodiment of the invention.As shown in Figure 1, the topology adaptation method according to the embodiment of the invention comprises:
Step S102 obtains available physical topology and needs the topology information of the logical topology of coupling, and wherein, topology information comprises: device attribute, port attribute and equipment room annexation.
Step S104 adopts above topology information that physical topology and logical topology are mated.
Step S106 exports the matching result of above-mentioned physical topology and logical topology.
Said method is carrying out topologically when adaptive, has fully taken into account the effect of topological attribute, thereby has improved topological adaptive accuracy rate greatly, has guaranteed accurately to search out in existing physical topology environment to meet the topological environmental that logical topology is described in detail.
Preferably, as shown in Figure 2, step S202 (being equivalent to step S102) after the topology information that gets access to physical topology and logical topology, can further include:
Step S204 handles above topology information in definition class mode, and wherein, above-mentioned definition class comprises: equipment class, port class and topological class.
Preferably, in step S204, the said equipment class may further include following one of at least: device type, device port tabulation, equipment link address, apparatus logic name, equipment reserved field, device extension attribute field; Above-mentioned port class may further include following one of at least: port media types, port speed, ports physical interface, port logic interface, port corresponding device, port reserved field, device extension attribute field; The above topology class can be further one of to comprise down at least: device object tabulation, topological extended attribute field, topological priority.
Get access to after the topology information of physical topology that please be available and the logical topology that needs coupling, can be according to above-mentioned definition class to its processing of classifying, so that the carrying out of follow-up matching process.
Preferably, as shown in Figure 2, step S104 can further include:
Step S206, arrangement above topology information judges whether physical topology can satisfy the demand of whole logical topology, if could not it fails to match.
Step S208 mates if can satisfy then one by one the logical device in the logical topology be carried out physical equipment.
Whether step S210 exists the logical device of not mating in the decision logic topology, if then return step S208, one by one above-mentioned logical device of not mating is carried out the physical equipment coupling, otherwise the output matching result.
When mating, need at first to judge whether available physical topology can satisfy the demand of logical topology on the whole, after obtaining definite results, equipment is one by one mated beginning, this way has improved the efficient of coupling to a great extent, in the end judge whether the logical topology equipment that mates in addition, have and then proceed step S208 it is mated, then explanation coupling is not finished the final matching result of output.
Preferably, as shown in Figure 3, step S206 may further include:
Step S304 generates the equipment adjacency matrix that is used to describe the annexation between each equipment of physics topological sum logical topology respectively.
Step S306 sorts to the equipment in physical topology and the logical topology respectively, generates an equipment Priority Queues at every kind of device type.
Step S308, whether the number of devices of each device type in the decision logic topology greater than the number of devices of this device type in the physical topology, if greater than topological adaptive failure, if be less than or equal to, execution in step S310 (being equivalent to step S208 among Fig. 2) then.
Arrangement to topology information comprises two aspects, one for generating the equipment adjacency matrix of physics topological sum logical topology respectively, two for to sort to the equipment in physical topology and the logical topology respectively, generate an equipment Priority Queues at every kind of device type, equipment adjacency matrix and equipment Priority Queues play very important effect in follow-up matching process.At last, can carry out once initial matching judgment, whether the number of devices that is each device type in the decision logic topology is greater than the number of devices of this device type in the physical topology, when the number of devices of certain device type in the logical topology greater than physical topology in the number of devices of this device type, coupling is bound to fail so, just there is no need to have carried out follow-up step.
Preferably, step S306, the equipment in physical topology and the logical topology is sorted may further include respectively:
(1) respectively the device type in physical topology and the logical topology according to device type corresponding equipment number from less to more, port number sorts from more to less.
(2) for the number of devices device type identical, carry out randomly ordered with port number.
The most reasonable according to above-mentioned strategy to the sort equipment Priority Queues that obtains of the equipment in physical topology and the logical topology, help follow-up matching process smoothly, carry out fast.
Preferably, as shown in Figure 3, step S208 may further include:
Step S310, device object of picking in logical topology equipment Priority Queues.
Step S312 judges the physical equipment that whether was not selected in addition in the equipment Priority Queues of this device type in the physical topology, if not, then carries out backtrack mechanism.
Step S314 is if then choose a physical equipment in the equipment Priority Queues of the device type of this in physical topology.
Whether step S316 judges this logical device port number greater than this physical device ports number, if greater than, then topological adaptive failure is withdrawed from.
Step S318, if be less than or equal to, then according to the equipment syntople, judge this physical equipment and finished before linking number between the physical equipment of coupling whether and in the logical topology annexation between corresponding two equipment identical, if different, then return step S312.
If step S320 identical, judges then whether the attribute of the port that described annexation is arranged is consistent, if inconsistent then return step S312.
If step S322 consistent, then preserves the corresponding relation between this logical device and this physical equipment.
Preferably, as shown in Figure 3, the backtrack mechanism among the step S312 further comprises:
Step S330 return back to a logical device coupling link, promptly chooses next logical device in a kind of device type corresponding equipment Priority Queues of logical topology.
Step S332 judges whether to return back to the matching initial state, if then the topology it fails to match.
Step S334, otherwise, judge whether not to be selected in addition and the physical equipment of number of devices and port number and this logical device coupling, if otherwise return step S330.
Step S336 is if then the physical equipment chosen of mark is no longer chosen.
Step S338 chooses and was not selected and the next physical equipment of type and port number and this logical device coupling, returns step S318.
By above-mentioned matching algorithm, can utilize various topological attributes fully, accurately each logical topology equipment is mated.
Preferably, shown in Fig. 2 (Fig. 3), step S106 may further include:
Step S212 (being equivalent to step S326), according to the corresponding relation between whole logical and physical equipments, equipment, port and the topological generic attribute value of the definition of record logical and physical topology.
Step S214 (being equivalent to step S328) generates matching result and output according to the corresponding relation between equipment, port and the topological generic attribute value.
Ultimate demand gathers the matching result of each logical topology equipment and puts in order, generates last topological matching result then.
Fig. 3 is the process flow diagram of the topology adaptation method of example according to the present invention.Below in conjunction with Fig. 3 above preferred embodiment is elaborated, as shown in Figure 3, the generation method of the test script of preferred topology adaptation method comprises according to the present invention:
Step S302: physical topology and logic topology information according to the graphic interface input as Fig. 4, shown in Figure 5, define equipment class, port class and the topological class of physical topology and logical topology respectively.Wherein equipment class comprises device type DevType, device port tabulation Ports, equipment link address DevPhy, apparatus logic name DevLgc, equipment reserved field DevAtts.The port class comprises port media types MediaType, port speed Speed, ports physical interface PortPhy, port logic interface PortLgc, port corresponding device Device, port reserved field PortAtts.The topology class has comprised equipment class and port class, and topological reserved field, describes each device object and port object (po) in this topology, and some attributes of topology, as topological priority.
Step S304: generate the equipment adjacency matrix of physics topological sum logical topology respectively,, be used to describe the annexation between each equipment as Fig. 6, shown in Figure 7;
Step S306: respectively according to device type corresponding equipment number from less to more the equipment in physical topology and the logical topology, port number strategy from more to less sorts, (this random sequence may influence topological adaptation rate in some cases to take random sequence for the number of devices device type identical with port number, for adaptive result certain influence is arranged also, but do not influence the adaptive accuracy of topology), every kind of device type all generates an equipment Priority Queues.Therefore this step will generate a plurality of physical equipment Priority Queues and a plurality of logical device Priority Queues;
Step S308: whether the type number of devices is greater than certain type equipment number in the physical topology in the decision logic topology.If greater than, illustrating that then physical topology can't satisfy the logical topology demand, this device is withdrawed from topological adaptive failure; If smaller or equal to, illustrate that then physical topology might satisfy the logical topology demand;
Step S310: in logical topology, choose a logical topology device object in the device type in the number of devices less equipment Priority Queues;
Step S312: judge the physical device object that whether was not selected in addition in the equipment Priority Queues of this device type in the corresponding physical topology; If have, then continue down execution in step S314; If no, then need to carry out backtrack mechanism, see the content that step S330-S338 describes for details;
Step S314: choose a physical topology device object in the equipment Priority Queues of this device type in physical topology;
Step S316: whether decision logic device port number is greater than the physical device ports number; If greater than, illustrating that then the physical equipment of this device type does not all meet the demand of logical device, adaptive failure is withdrawed from.
Step S318: judge this physical equipment in the slave unit syntople and finished before linking number between the physical equipment of coupling whether and in the logical topology annexation between corresponding two equipment identical, as shown in Figure 8; If different, then return step S312, attempt to continue to choose the next physical device object of this device type in the physical topology; If identical, then enter step S320;
Step S320: whether the attribute of further judging the port object (po) that annexation is arranged is consistent, as port media type, port speed etc.This moment need be with reference to the port annexation figure of logical topology and physical topology, and the contrast syntople is checked the property value of each port object (po).If inconsistent, then return step S312, attempt to continue to choose the next physical device object of this device type in the physical topology; If consistent, then enter step S322;
Step S322: write down the logical equipment object of these two comparisons and the interim corresponding relation between the physical device object, at this moment, the adaptive end of single logical device;
Step S324: the device object that whether is not selected in addition in the Priority Queues of all devices type of decision logic topology.If, then continue to return step S310, carry out the coupling work of next logical equipment object; If not, then enter step S326;
Step S326: as shown in Figure 9, fill in equipment, port, the topological generic attribute value of logic, physical topology definition according to the corresponding relation between all logics, the physical device object;
Step S328:, on graphic interface, can show logic, the physical property values of each node correspondence of this applied topology with the xml file of corresponding relation generation applied topology correspondence between above equipment, port, the topological generic attribute value.
Step S330-S338 among Fig. 3 has described the backtrack mechanism of introducing for the fairness that takes into full account the Priority Queues method in the topological adaptation procedure.If, take turns in the adaptation procedure a certain according to certain physical equipment Priority Queues order, exhaust all and met the type of this logical device and the physical equipment of port number, then begin to enter and recall matching process.
Step S330: it fails to match for this, return back in the logical device coupling link;
Step S332: judge whether to return back to the matching initial state, promptly finished matching logic equipment and be empty original state; If then explanation has retreated to previous round, it fails to match, withdraws from; If not, execution in step S334 then;
Step S334: judge whether also have other not to be selected in the epicycle coupling and the physical equipment of type and port number and logical device coupling optional.If then execution in step S336 if not, then continues execution in step S330, return back to more last round of;
Step S336: the last round of physical equipment of having chosen of mark is no longer chosen in this logical topology matched link, but still available in next logical topology matched link;
Step S338: choose and be not selected and the next physical equipment of type and port number and this logical device coupling, and jump to step S318, continue down coupling.
Figure 10 is the structural representation according to the topological adaptive device of the embodiment of the invention.As shown in figure 10, the topological adaptive device according to the embodiment of the invention comprises:
Topology load module 1002 is used to obtain the topology information of the logical topology that available physical topology and needs mate, and wherein, above topology information comprises: device attribute, port attribute and equipment room annexation.
Topology matching module 1004 is used to adopt above topology information that physical topology and logical topology are mated.
Topology output module 1006 is used to export the matching result of physics topological sum logical topology.
Preferably, topological load module 1002 can also be used for after the topology information that gets access to physical topology and logical topology, handles above topology information in definition class mode, and wherein, above-mentioned definition class comprises: equipment class, port class and topological class.
Preferably, the said equipment class may further include following one of at least: device type, device port tabulation, equipment link address, apparatus logic name, equipment reserved field, device extension attribute field; Above-mentioned port class may further include following one of at least: port media types, port speed, ports physical interface, port logic interface, port corresponding device, port reserved field, port extended attribute field; The above topology class can be further one of to comprise down at least: device object tabulation, topological extended attribute field, topological priority.
Topology load module 1002 can provide graphic interface to import current available physical topology and the logical topology that need mate, comprise the annexation of each equipment room in device attribute, port attribute and the topology in physical topology and the logical topology, saved as the xml formatted file.The user can use graphic interface to insert the information of each node in the topological diagram, as device type, and device software version, port photoelectricity pattern, port speed etc.
1004 of topology matching modules receive the topological description document that topological load module 1002 generates, mode with the definition class manages these information, these topology information objects are set up Priority Queues according to specific preference strategy, carry out the coupling of each logical topology object according to order, realize that finally picking meets the topology that logical topology is described from physical topology to the physical topology object.In addition, topology matching module 1004 can also provide physical topology, logical topology and topological adaptive result's hold function, can directly call the topological adaptive result of record for some situations of reusing the identity logic topologys, save adaptive repeatedly operation, improve adaptive efficient.
Further, topological matching module 1004 can also be introduced the thinking of topological priority management, and the logical topology of certain priority can only be carried out adaptive in being lower than the physical topology subclass of this priority.In addition, topological matching module 1004 can also cooperate to be realized topological scheduling of resource function realizing topological preemption mechanism according to topological priority attribute, and the method for the topological resource of more flexible more efficient use is provided.
Topology output module 1006 finally shows the actual physics topological subsets that meets the logical topology description by graphic interface, saves as the xml formatted file.
The above topology adaptive device is incorporated in the automation application of communication facilities, can be used for realizing the automatic management of the topological resource of communication facilities use, thereby can flexibly distribute actual physics topology resource in an orderly manner according to the different demands and the topological priority of each time applied topology.
From above description, as can be seen, the present invention is by providing graphic interface input physical topology and logical topology, utilize the adaptation method of considering topological attribute to improve the adaptive accuracy rate of topology in the practical application, perfect calculating thinking is provided, guarantee in existing physical topology environment, accurately to search out the topological environmental that meets the logical topology detailed description, provide quick, high-quality implementation method, improved the efficient of communication facilities development and application for building topological environmental.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (12)
1. a topology adaptation method is characterized in that, comprising:
The topology information of the logical topology of obtaining available physical topology and needing to mate, wherein, described topology information comprises: device attribute, port attribute and equipment room annexation;
Adopt described topology information that described physical topology and described logical topology are mated;
Export the matching result of described physical topology and described logical topology.
2. method according to claim 1 is characterized in that, after the topology information that gets access to described physical topology and described logical topology, handles described topology information in definition class mode, and wherein, described definition class comprises: equipment class, port class and topological class.
3. method according to claim 2 is characterized in that,
Described equipment class comprise following one of at least: device type, device port tabulation, equipment link address, apparatus logic name, equipment reserved field, device extension attribute field;
Described port class comprise following one of at least: port media types, port speed, ports physical interface, port logic interface, port corresponding device, port reserved field, port extended attribute field;
Described topological class comprise following one of at least: device object tabulation, topological extended attribute field, topological priority.
4. method according to claim 1 is characterized in that, the described topology information of described employing is mated described physical topology and described logical topology and comprised:
Put described topology information in order, judge whether described physical topology can satisfy the demand of whole described logical topology, if could not it fails to match;
Mate if can satisfy then one by one the logical device in the described logical topology be carried out physical equipment;
Judge whether there is the logical device of not mating in the described logical topology,, otherwise export described matching result if then one by one described logical device of not mating is carried out the physical equipment coupling.
5. method according to claim 4 is characterized in that, puts described topology information in order, judges that the demand whether described physical topology can satisfy whole described logical topology comprises:
Generate the equipment adjacency matrix that is used to describe the annexation between each equipment of described physical topology and described logical topology respectively;
Respectively the equipment in described physical topology and the described logical topology is sorted, generate an equipment Priority Queues at every kind of device type;
Whether the number of devices of judging each device type in the described logical topology is greater than the number of devices of this device type in the described physical topology, if greater than topological adaptive failure, if be less than or equal to, then determine one by one the logical device in the described logical topology to be carried out the physical equipment coupling.
6. method according to claim 5 is characterized in that, the described respectively equipment in described physical topology and the described logical topology ordering comprises:
The device type in described physical topology and the described logical topology according to described device type corresponding equipment number from less to more, port number sorts from more to less respectively;
For the number of devices device type identical, carry out randomly ordered with port number.
7. method according to claim 4 is characterized in that, describedly one by one the logical device in the described logical topology is carried out physical equipment coupling and comprises:
For each logical device, judge the physical equipment that whether was not selected in addition in the equipment Priority Queues of this device type in the described physical topology, if not, then carry out backtrack mechanism;
If then choose a physical equipment in the equipment Priority Queues of described this device type in described physical topology;
Whether judge this logical device port number greater than this physical device ports number, if greater than, then topological adaptive failure is withdrawed from;
If be less than or equal to, then according to described equipment syntople, judge this physical equipment and finished before linking number between the physical equipment of coupling whether and in the described logical topology annexation between corresponding two equipment identical, if different, then continue to judge the physical equipment that whether was not selected in addition in the equipment Priority Queues of this device type in the described physical topology;
If identical, judge then whether the attribute of the port that described annexation is arranged is consistent, if inconsistent then continue to judge the physical equipment that whether was not selected in addition in the equipment Priority Queues of this device type in the described physical topology;
If consistent, then preserve the corresponding relation between this logical device and this physical equipment.
8. method according to claim 7 is characterized in that, the described backtrack mechanism of described execution comprises:
In a kind of device type corresponding equipment Priority Queues of described logical topology, choose next logical device;
Judge whether to return back to the matching initial state, if then the topology it fails to match;
Otherwise, judge whether not to be selected in addition and the physical equipment of number of devices and port number and this logical device coupling, if not, continue in a kind of device type corresponding equipment Priority Queues of described logical topology, to choose a logical device;
If then the physical equipment chosen of mark is no longer chosen;
Choose and be not selected and the next physical equipment of type and port number and this logical device coupling, judge whether described linking number is identical with described annexation.
9. method according to claim 1 is characterized in that, the matching result of described physical topology of described output and described logical topology comprises:
According to the corresponding relation between whole logical and physical equipments, equipment, port and the topological generic attribute value of the definition of record logical and physical topology;
Generate described topological matching result and output according to the corresponding relation between described equipment, port and the topological generic attribute value.
10. a topological adaptive device is characterized in that, comprising:
The topology load module is used to obtain the topology information of the logical topology that available physical topology and needs mate, and wherein, described topology information comprises: device attribute, port attribute and equipment room annexation;
The topology matching module is used to adopt described topology information that described physical topology and described logical topology are mated;
The topology output module is used to export the matching result of described physical topology and described logical topology.
11. device according to claim 10 is characterized in that, described topological load module also is used for after the topology information that gets access to described physical topology and described logical topology, handles described topology information in definition class mode, and wherein, described definition class comprises:
Equipment class, port class and topological class.
12. device according to claim 11 is characterized in that,
Described equipment class comprise following one of at least: device type, device port tabulation, equipment link address, apparatus logic name, equipment reserved field, device extension attribute field;
Described port class comprise following one of at least: port media types, port speed, ports physical interface, port logic interface, port corresponding device, port reserved field, port extended attribute field;
Described topological class comprise following one of at least: device object tabulation, topological extended attribute field, topological priority.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010536153.XA CN101986282B (en) | 2010-11-08 | 2010-11-08 | Topology adaptation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010536153.XA CN101986282B (en) | 2010-11-08 | 2010-11-08 | Topology adaptation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101986282A true CN101986282A (en) | 2011-03-16 |
CN101986282B CN101986282B (en) | 2016-01-20 |
Family
ID=43710631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010536153.XA Active CN101986282B (en) | 2010-11-08 | 2010-11-08 | Topology adaptation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101986282B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102315990A (en) * | 2011-09-28 | 2012-01-11 | 迈普通信技术股份有限公司 | Automated testing method |
CN104104544A (en) * | 2014-07-17 | 2014-10-15 | 董军 | Electric power optical transmission network service domain dividing method and system |
CN107104829A (en) * | 2017-04-18 | 2017-08-29 | 国家计算机网络与信息安全管理中心 | A kind of physical equipment matching distribution method and device based on network topology data |
WO2017219831A1 (en) * | 2016-06-23 | 2017-12-28 | 中兴通讯股份有限公司 | Topology matching method and device |
CN109728929A (en) * | 2017-10-30 | 2019-05-07 | 中兴通讯股份有限公司 | A kind of test method, device and storage medium |
CN114598609A (en) * | 2022-03-11 | 2022-06-07 | 杭州网银互联科技股份有限公司 | Network topology connection structure information storage method |
WO2024259979A1 (en) * | 2023-06-21 | 2024-12-26 | 中兴通讯股份有限公司 | Topology matching method, computer device, and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1976336A (en) * | 2005-10-27 | 2007-06-06 | 阿尔卡特公司 | Resource matched topology database synchronization in communications networks having topology state routing protocols |
CN101639806A (en) * | 2009-09-01 | 2010-02-03 | 中兴通讯股份有限公司 | Topology adaptation method and device for automatization test |
CN101937394A (en) * | 2010-09-14 | 2011-01-05 | 中兴通讯股份有限公司 | Method and device for adaption of topology |
-
2010
- 2010-11-08 CN CN201010536153.XA patent/CN101986282B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1976336A (en) * | 2005-10-27 | 2007-06-06 | 阿尔卡特公司 | Resource matched topology database synchronization in communications networks having topology state routing protocols |
CN101639806A (en) * | 2009-09-01 | 2010-02-03 | 中兴通讯股份有限公司 | Topology adaptation method and device for automatization test |
CN101937394A (en) * | 2010-09-14 | 2011-01-05 | 中兴通讯股份有限公司 | Method and device for adaption of topology |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102315990A (en) * | 2011-09-28 | 2012-01-11 | 迈普通信技术股份有限公司 | Automated testing method |
CN104104544A (en) * | 2014-07-17 | 2014-10-15 | 董军 | Electric power optical transmission network service domain dividing method and system |
CN104104544B (en) * | 2014-07-17 | 2017-10-10 | 广州银禾网络通信有限公司 | A kind of electric power Optical Transmission Network OTN business domain classification method and system |
WO2017219831A1 (en) * | 2016-06-23 | 2017-12-28 | 中兴通讯股份有限公司 | Topology matching method and device |
CN107544789A (en) * | 2016-06-23 | 2018-01-05 | 中兴通讯股份有限公司 | A kind of topology adaptation method and device |
CN107544789B (en) * | 2016-06-23 | 2021-06-15 | 中兴通讯股份有限公司 | Topology adaptation method and device |
CN107104829A (en) * | 2017-04-18 | 2017-08-29 | 国家计算机网络与信息安全管理中心 | A kind of physical equipment matching distribution method and device based on network topology data |
CN107104829B (en) * | 2017-04-18 | 2020-09-15 | 国家计算机网络与信息安全管理中心 | Physical equipment matching distribution method and device based on network topology data |
CN109728929A (en) * | 2017-10-30 | 2019-05-07 | 中兴通讯股份有限公司 | A kind of test method, device and storage medium |
CN114598609A (en) * | 2022-03-11 | 2022-06-07 | 杭州网银互联科技股份有限公司 | Network topology connection structure information storage method |
WO2024259979A1 (en) * | 2023-06-21 | 2024-12-26 | 中兴通讯股份有限公司 | Topology matching method, computer device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN101986282B (en) | 2016-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101986282A (en) | Topological adaptation method and device | |
CN102999608A (en) | System and method for tree table demonstration of large data | |
CN106713469B (en) | Dynamic loading method, device and system for distributed container | |
CN105867944A (en) | Web front-end terminal operating layer and implementing method thereof | |
CN111464352A (en) | Call link data processing method and device | |
CN114115840A (en) | Variable skipping method and device for nuclear power station DCS system application software | |
CN116257438A (en) | Updating method of interface test case and related equipment | |
CN103646015B (en) | Transmission, the method and system for receiving and transmitting XML message | |
CN111913743B (en) | Data processing method and device | |
CN104750468A (en) | Server side topological data conversion method and device | |
CN103135989A (en) | Callback function code generation method and device | |
CN110442753A (en) | A kind of chart database auto-creating method and device based on OPC UA | |
CN112612427B (en) | Vehicle stop data processing method and device, storage medium and terminal | |
CN103299298A (en) | Service processing method and system | |
CN109150694A (en) | Sending method, display methods and the server and mobile terminal of dynamic scene information | |
CN118428288A (en) | Method and device for parallel rendering of chip layout cloud and scheduling of rendering data, and cloud | |
CN118333144A (en) | Method, device, equipment and medium for building product modularized structure tree | |
CN116466915A (en) | MVP architecture-based iOS development framework construction method and device | |
CN113671924A (en) | DCS real-time value setting method and system, equipment and storage medium | |
CN109451016A (en) | Data downloading management method, system and relevant device | |
CN118939275B (en) | Compiling method, calling method, device, equipment and program product of classification parameters | |
CN111400281A (en) | GIS data quality inspection and storage method for OSS object storage | |
CN115509146B (en) | Distributed communication resource integration method for flight maintenance simulator | |
CN110333871A (en) | A kind of verification method, device and storage medium | |
CN110417978A (en) | Menu configuration method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |