CN107544789B - Topology adaptation method and device - Google Patents

Topology adaptation method and device Download PDF

Info

Publication number
CN107544789B
CN107544789B CN201610460880.XA CN201610460880A CN107544789B CN 107544789 B CN107544789 B CN 107544789B CN 201610460880 A CN201610460880 A CN 201610460880A CN 107544789 B CN107544789 B CN 107544789B
Authority
CN
China
Prior art keywords
adaptation
topology
editing
logical
adapting
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
CN201610460880.XA
Other languages
Chinese (zh)
Other versions
CN107544789A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610460880.XA priority Critical patent/CN107544789B/en
Priority to PCT/CN2017/086331 priority patent/WO2017219831A1/en
Publication of CN107544789A publication Critical patent/CN107544789A/en
Application granted granted Critical
Publication of CN107544789B publication Critical patent/CN107544789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a topology adaptation method and a device, and the method can comprise the following steps: acquiring resource information of a physical topology; acquiring logical topology and elastic adaptation conditions; elastically adapting the physical topology and the logical topology using the elastic adaptation conditions and the resource information; and outputting the adaptation result of the physical topology and the logical topology. The embodiment of the invention can improve the flexibility of the adaptation of the physical topology and the logical topology.

Description

Topology adaptation method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a topology adaptation method and apparatus.
Background
In the field of communications, as networking of communication devices is becoming more abundant, in practical applications, it is often necessary to adapt a logical topology to a physical topology. The adaptation of the logical topology to the physical topology may be understood as a match between elements in the logical topology and elements of the physical topology. And after the adaptation is successful, the next stage task can be carried out, and when the adaptation is failed, the task needs to be terminated. However, the current logical topology and physical topology are adapted by using a fixed adaptation condition, but in practical applications, the required physical topology is often not fixed, so that the adaptation by using the fixed adaptation condition during the adaptation results in poor adaptation flexibility.
Disclosure of Invention
The embodiment of the invention aims to provide a topology adaptation method and a topology adaptation device, which solve the problem of poor flexibility of physical topology and logic topology adaptation.
In order to achieve the above object, an embodiment of the present invention provides a topology adaptation method, including:
acquiring resource information of a physical topology;
acquiring logical topology and elastic adaptation conditions;
elastically adapting the physical topology and the logical topology using the elastic adaptation conditions and the resource information;
and outputting the adaptation result of the physical topology and the logical topology.
An embodiment of the present invention further provides a topology adaptive device, including:
the first acquisition module is used for acquiring resource information of the physical topology;
the second acquisition module is used for acquiring logical topology and elastic adaptation conditions;
an adaptation module, configured to perform elastic adaptation on the physical topology and the logical topology using the elastic adaptation condition and the resource information;
and the output module is used for outputting the adaptation result of the physical topology and the logic topology.
An embodiment of the present invention further provides a computer storage medium, where one or more programs executable by a computer are stored in the computer storage medium, and when the one or more programs are executed by the computer, the computer is caused to execute a topology adaptation method as provided above.
One of the above technical solutions has the following advantages or beneficial effects:
acquiring resource information of a physical topology; acquiring logical topology and elastic adaptation conditions; elastically adapting the physical topology and the logical topology using the elastic adaptation conditions and the resource information; and outputting the adaptation result of the physical topology and the logical topology. Therefore, the flexible adaptation of the physical topology and the logical topology can be realized, and compared with the prior art in which the adaptation is carried out by using fixed adaptation conditions, the embodiment of the invention can improve the flexibility of the adaptation of the physical topology and the logical topology.
Drawings
Fig. 1 is a schematic flowchart of a topology adaptation method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a physical topology according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a logical topology according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of another topology adapting method according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of another topology adapting method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a topology adaptive device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another topology adapting apparatus provided in the embodiment of the present invention;
fig. 8 is a schematic structural diagram of another topology adapting device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, an embodiment of the present invention provides a flowchart of a topology adaptation method, including the following steps:
and step S101, acquiring resource information of the physical topology.
In this step, the resource information of the physical topology input by the user may be received, or the resource information of the physical topology sent by another device may be received, or the resource information of the physical topology may be read from a local storage resource, and the like, which is not limited in this embodiment. In addition, when the resource information of the physical topology is not read from the local storage resource in step S201, the resource information of the physical topology may be stored when the resource information of the physical topology is acquired. The storage mode includes, but is not limited to, storing the resource information in a physical topology map or a physical topology information file. For example: taking devices and meters as an example, as shown in fig. 2, the type and model of each device, the type, model, number of idle ports and power consumption of each meter, and the connection relationship between the meters and the device ports are stored in the physical topology map. In the physical topology shown in fig. 2, 1, 2, 3, 4 and 5 are port numbers of the ports, respectively.
In addition, in this embodiment of the present invention, the resource information may include, but is not limited to, one or more of the following:
meter information, device information, meter port information, device port information, port-to-port connection information.
The meter information includes but is not limited to the type, model, number of idle ports and power consumption of the meter; device information includes, but is not limited to, the type and model of the device; meter port information includes, but is not limited to, the type, model, and status of the meter port; device port information includes, but is not limited to, the type, model, and status of the device port; the connection information between the ports includes, but is not limited to, the connection relationship between the meter and the device port, and the connection relationship between the device port and the device port.
And S102, acquiring a logic topology and an elastic adaptation condition.
In this step, the logical topology and the flexible adaptation condition input by the user may be received, or the logical topology and the flexible adaptation condition sent by another device may be received, or the logical topology and the flexible adaptation condition may be read from a local storage resource, and the like, which is not limited in this embodiment.
In addition, the logical topology includes logical topology elements, wherein the logical topology elements may include, but are not limited to, one or more of meters, devices, meter ports, device ports, and connections between ports. In addition, the logical topology may also be a logical topology map or a logical topology information file. For example: taking meters and devices as an example, the logical topology can be a logical topology diagram as shown in fig. 3, where the logical topology diagram includes the meters and the devices, ports of the meters and the devices, and connections between the ports, and in fig. 3, P1 and P2 are logical labels of the ports.
In addition, the flexible adaptation condition may be understood as an adaptation condition that can be flexibly adjusted according to adaptation results of the physical topology and the logical topology, and of course, the flexible adjustment may be adjusted according to a preset adjustment rule, for example: and when the adaptation is successful, increasing adaptation conditions, and when the adaptation is failed, reducing the adaptation conditions and the like to realize flexible adaptation of the physical topology and the logical topology.
Step S103, using the flexible adaptation condition and the resource information to perform flexible adaptation on the physical topology and the logical topology.
In this step, the flexible adaptation may be understood as a non-fixed adaptation, that is, adaptation conditions may be flexibly adjusted in the flexible adaptation process to flexibly adapt to a physical topology and a logical topology, thereby providing flexibility of adaptation.
In addition, the elastic adaptation of the physical topology and the logical topology using the elastic adaptation condition and the resource information may be understood as determining a matching object of a logical topology element using the elastic adaptation condition, and searching the matching object of the logical topology element in the physical topology using the resource information. For example: the flexible adaptation condition includes that the meter a in the logical topology matches the meter of the first type and is the first model, and the resource information includes that the meter a in the physical topology is the first type and is the first model. It is thus possible to determine that the matching object of the meter a is a meter of the first type and the first model using the flexible adaptation condition, and determine that the meter a in the physical topology is the first type and the first model through the above-mentioned resource information, thereby matching the meter a of the logical topology with the meter a of the physical topology. Of course, the adaptation condition in the elastic adaptation condition may be adjusted in the elastic adaptation, for example: and increasing or decreasing the adaptation condition of the meter a, and matching the meter by using the increased or decreased adaptation condition.
And step S104, outputting the adaptation result of the physical topology and the logic topology.
The output in this step may be to display the adaptation result, or may be to send the adaptation result to another device, and the embodiment of the present invention is not limited thereto.
In this embodiment, the method may be applied to any device capable of implementing topology adaptation, for example: a server, a computer, a base station or a routing device, etc., which are not limited in this embodiment.
In the embodiment, the resource information of the physical topology is acquired; acquiring logical topology and elastic adaptation conditions; elastically adapting the physical topology and the logical topology using the elastic adaptation conditions and the resource information; and outputting the adaptation result of the physical topology and the logical topology. Therefore, the flexible adaptation of the physical topology and the logical topology can be realized, and compared with the prior art in which the adaptation is carried out by using fixed adaptation conditions, the embodiment of the invention can improve the flexibility of the adaptation of the physical topology and the logical topology.
As shown in fig. 4, an embodiment of the present invention provides a flowchart of another topology adaptation method, including the following steps:
step S401, acquiring resource information of the physical topology.
Step S402, obtaining a logic topology and an elastic adaptation condition comprising adaptation condition content and editing information, wherein the adaptation condition content comprises one or more of the following items:
the method comprises the following steps of (1) adapting conditions of an instrument, equipment, a port of the instrument, port adapting conditions of the equipment and connection adapting conditions between ports;
the editing information is used for editing the adaptive condition content and/or editing the logic topology.
In this embodiment, the adaptation condition content and the editing information may be understood as two aspects of the flexible adaptation condition, where the adaptation condition content includes various adaptation conditions, such as: the meter-adapted condition may include that the meter matches a first type and a first model, the device-adapted condition may include that both devices D1 and D3 match the first type and the first model, and device D2 matches the first type and the second model; the port adaptation condition of the instrument may include that all ports match the first type, the first model and the first state, and the port adaptation condition of the device may include that all ports match the first type, the first model and the first state; the connection adaptation condition between the ports may include matching a connection between the ports.
The editing information is used for editing the adaptation condition content and/or editing the logic topology, and it can be understood that the editing information may be used for editing the adaptation condition content, or editing the logic topology, or editing the adaptation condition content and the logic topology. For example: the edit information may be an augmented adaptation condition, i.e. an increased topology matching condition, including but not limited to an increased meter adaptation condition, and an increased meter adaptation condition including but not limited to an increased number of idle ports and a power consumption match; similarly, editing the information editing logical topology may be adding elements of the logical topology, such as: number of second type devices.
The edit information may also be a reduced topology matching condition, including but not limited to a reduced adaptation condition of a meter matching model, that is, a meter non-matching model, or may reduce an adaptation condition of a port configuration first model, but 2 ports connected to each other match an adaptation condition of the same model; similarly, editing the information to edit the logical topology may be to reduce elements of the logical topology, reduce the number of second-type devices, or reduce the number of connections between ports.
Of course, the above is only exemplified by increase and decrease, and in this embodiment, the editing information includes, but is not limited to, edit of increase and decrease, for example: the editing information may also be to modify the content and/or the logical topology of the adaptation condition, such as matching a port with an adaptation condition of a first model, to modify the adaptation condition that 2 interconnected ports match with the same model.
Step S403, using the flexible adaptation condition and the resource information to perform flexible adaptation on the physical topology and the logical topology.
And S404, outputting the adaptation result of the physical topology and the logic topology.
Optionally, the physical topology and the logical topology are adapted for the first time by using the adaptation condition content and the resource information;
editing the adaptation condition content by using the editing information according to the first adaptation result of the physical topology and the logic topology;
and performing second adaptation on the physical topology and the logical topology by using the edited adaptation condition content and the edited resource information.
In this embodiment, the second adaptation to the physical topology and the logical topology may be implemented, and the second adaptation is performed by using the edited adaptation condition content, so that the flexibility of the adaptation may be further improved.
Optionally, in this embodiment, the editing the adaptation condition content by using the editing information according to the first adaptation result of the physical topology and the logical topology may include:
if the first adaptation result of the physical topology and the logical topology is successful, adding the adaptation condition of the adaptation condition content by using the editing information; or
And if the first adaptation result of the physical topology and the logical topology is adaptation failure, reducing the adaptation condition of the adaptation condition content by using the editing information.
In this embodiment, when the first adaptation is successful, the adaptation condition of the content of the adaptation condition may be increased to further improve the adaptation of the physical topology and the logical topology. And the adaptation condition of the adaptation condition content can be reduced when the adaptation fails so as to improve the flexibility of the adaptation.
Of course, in this embodiment, the editing is not limited to only increasing or decreasing the adaptation condition of the adaptation condition content, but may also be modifying the adaptation condition of the adaptation condition content, and this embodiment is not limited to this.
In addition, in this embodiment, the adaptation result of the first adaptation may be output in step S404, and the adaptation result of the second adaptation may also be output, which is not limited in this embodiment.
Optionally, the elastically adapting the physical topology and the logical topology by using the elastically adapting condition and the resource information includes:
adapting the physical topology and the logical topology using the adaptation condition content and the resource information;
editing the logic topology by using the editing information according to the first adaptation result of the physical topology and the logic topology;
and adapting the physical topology and the edited logical topology by using the adaptation condition content and the resource information.
In this embodiment, the second adaptation of the physical topology and the logical topology may be implemented, and the second adaptation adapts the physical topology and the edited logical topology, so that the flexibility of the adaptation may be further improved. In addition, the editing the logical topology by using the editing information according to the first adaptation result of the physical topology and the logical topology may be that, if the first adaptation result of the physical topology and the logical topology is successful in adaptation, elements of the logical topology are added, for example: adding a second type number device in the logical topology, and adding ports and connections between the device and other devices. In addition, the editing the logical topology by using the editing information according to the first adaptation result of the physical topology and the logical topology may also be performed by reducing elements of the logical topology if the first adaptation result of the physical topology and the logical topology is an adaptation failure, for example: the reduction of the second number of devices in the logical topology, and the reduction of ports and connections between ports of this device and other devices.
In addition, in this embodiment, in step S404, the adaptation result of the physical topology and the logical topology may be output, and the adaptation result of the physical topology and the edited logical topology may also be output, which is not limited in this embodiment.
It should be noted that the above embodiments of editing the adaptive condition content and editing the logic topology may be implemented in combination, for example: the adaptation condition content and the logic topology can be edited after the first adaptation, and the physical topology and the edited logic topology can be adapted by using the edited adaptation condition content and the edited resource information, so that the adaptation flexibility is further improved.
Of course, it should be noted that, in some scenarios, the adaptation may be performed only once in step S403, that is, the adaptation condition content and the resource information may be used to adapt the physical topology and the logical topology, but the adaptation condition content and/or the logical topology may not be edited, which is not limited in this embodiment.
In this embodiment, various optional implementations are added on the basis of the embodiment shown in fig. 1, and the adaptation flexibility of the physical topology and the logical topology can be improved.
As shown in fig. 5, an embodiment of the present invention provides a flowchart of another topology adaptation method, including the following steps:
step S501, acquiring resource information of the physical topology.
And step S502, acquiring a logic topology and an elastic adaptation condition.
Step S502 may configure the logical topology and the flexible adaptation condition, for example: receiving a logic topological graph and an elastic adaptation condition which are configured by the operation input by a user. As shown in fig. 2, among other things, logical topology elements may include meters, devices, ports, and connections between ports. The first aspect of the flexible adaptation condition may include adaptation condition content, wherein the adaptation condition content may include: the instrument is matched with the first type and the first model; devices D1 and D3 both match the first type and the first model; device D2 matches the first type and the second type number; all ports are matched with a first type, a first model and a first state; matching the port to port connections. The second aspect of the flexible adaptation condition includes editing information, where the editing information may include expanding the adaptation condition, contracting the adaptation condition, increasing the logical topology element, or decreasing the logical topology element, and so on, which may specifically refer to the relevant description of the embodiment shown in fig. 2, and is not described herein again.
Step S503, using the adaptation condition content and the resource information to perform elastic adaptation on the physical topology and the logical topology.
For example: taking the example of the logical topology shown in fig. 3, a meter in the logical topology may match a meter of a first type and a first model in the physical topology, devices D1 and D3 in the logical topology may match a device of a first type and a first model in the physical topology, device D2 in the logical topology may match a device of a first type and a second model in the physical topology, all ports in the logical topology may match ports of a first type, a first model, and a first state in the physical topology, and port-to-port connections in the logical topology may match port-to-port connections in the physical topology.
Step S504, determining whether the adaptation result of the physical topology and the logical topology is successfully adapted, if yes, performing step S505, and if not, performing step S509.
Step S505, adding the adaptation condition of the adaptation condition content by using the editing information, and adapting the physical topology and the logical topology by using the added adaptation condition content and the resource information.
For example: as shown in fig. 3, the meter adaptation condition is added in the logical topology, and the number of matched idle ports and the power consumption are increased on the basis of matching the first type and the first model. Of course, step S505 may also be to add an element of the logical topology using the editing information, such as: adding a second type number device in the logical topology, and adding ports and connections between the device and other devices. Of course, in some scenarios, it may be possible to add both the adaptation condition content and the elements of the logical topology, and then adapt the added logical topology and physical topology.
Step S506, determining whether the adaptation result of step S505 is successful, if the adaptation is successful, executing step S507, and if the adaptation is failed, executing step S508.
And step S507, outputting the increased adaptation result. I.e. outputs the adaptation result of step S505.
And step S508, outputting the adaptation result before increasing. I.e. outputs the adaptation result of step S503.
Step S509, reducing the adaptation condition of the adaptation condition content by using the editing information, and adapting the physical topology and the logical topology by using the reduced adaptation condition content and the resource information.
For example: as shown in fig. 3, the reduced meter adaptation condition in the logical topology reduces the unmatched model numbers on the basis of matching the first type and the first model number, and only matches the first type. Of course, in step S509, the element of the logical topology may be reduced by using the edit information, such as: the reduction of the second number of devices in the logical topology, and the reduction of ports and connections between ports of this device and other devices. Of course, in some scenarios, it may be possible to reduce both the adaptation condition content and the elements of the logical topology, and then adapt the reduced logical topology and the physical topology.
And a step S5010 of determining whether the adaptation result of the step S509 is successful, and if the adaptation is successful, performing the step S5011, and if the adaptation is failed, performing the step S5012.
And step S5011, outputting the reduced adaptation result. I.e. outputs the adaptation result of step S509.
Step S5012, output adaptation failure. I.e. outputs the adaptation result of step S503.
In this embodiment, the adaptation flexibility of the physical topology and the logical topology can be improved by the above steps.
As shown in fig. 6, an embodiment of the present invention provides a schematic structural diagram of a topology adaptive device, including:
a first obtaining module 61, configured to obtain resource information of a physical topology;
a second obtaining module 62, configured to obtain a logical topology and an elastic adaptation condition;
an adaptation module 63, configured to perform elastic adaptation on the physical topology and the logical topology by using the elastic adaptation condition and the resource information;
and an output module 64, configured to output an adaptation result of the physical topology and the logical topology.
Optionally, the flexible adaptation condition includes: adapting conditional content and editing information, wherein the adapting conditional content comprises one or more of the following items:
the method comprises the following steps of (1) adapting conditions of an instrument, equipment, a port of the instrument, port adapting conditions of the equipment and connection adapting conditions between ports;
the editing information is used for editing the adaptive condition content.
Alternatively, as shown in fig. 7, the adapting module 63 may include:
a first adapting unit 631, configured to adapt the physical topology and the logical topology for a first time by using the adaptation condition content and the resource information;
a first editing unit 632, configured to edit the adaptation condition content by using the editing information according to the first adaptation result of the physical topology and the logical topology;
a second adapting unit 633, configured to perform a second adaptation on the physical topology and the logical topology by using the edited adaptation condition content and the resource information.
Optionally, the first editing unit 632 may be configured to, if the first adaptation result of the physical topology and the logical topology is successful in adaptation, use the editing information to increase the adaptation condition of the adaptation condition content; or
The first editing unit 632 may be configured to reduce the adaptation condition of the content of the adaptation condition by using the editing information if the first adaptation result of the physical topology and the logical topology is an adaptation failure.
Alternatively, as shown in fig. 8, the adapting module 63 may include:
a third adapting unit 634, configured to adapt the physical topology and the logical topology using the adaptation condition content and the resource information;
a second editing unit 635, configured to edit the logical topology by using the editing information according to the first adaptation result of the physical topology and the logical topology;
a fourth adapting unit 636, configured to adapt the physical topology and the edited logical topology by using the adaptation condition content and the resource information.
In this embodiment, the apparatus may be applied to any device capable of implementing topology adaptation, for example: a server, a computer, a base station or a routing device, etc., which are not limited in this embodiment.
In the embodiment, the resource information of the physical topology is acquired; acquiring logical topology and elastic adaptation conditions; elastically adapting the physical topology and the logical topology using the elastic adaptation conditions and the resource information; and outputting the adaptation result of the physical topology and the logical topology. Therefore, the flexible adaptation of the physical topology and the logical topology can be realized, and compared with the prior art in which the adaptation is carried out by using fixed adaptation conditions, the embodiment of the invention can improve the flexibility of the adaptation of the physical topology and the logical topology.
It will be understood by those skilled in the art that all or part of the steps of the method for implementing the above embodiments may be implemented by hardware associated with program instructions, and the program may be stored in a computer readable medium, and when executed, the program includes the following steps:
acquiring resource information of a physical topology;
acquiring logical topology and elastic adaptation conditions;
elastically adapting the physical topology and the logical topology using the elastic adaptation conditions and the resource information;
and outputting the adaptation result of the physical topology and the logical topology.
Optionally, the flexible adaptation condition includes: adapting conditional content and editing information, wherein the adapting conditional content comprises one or more of the following items:
the method comprises the following steps of (1) adapting conditions of an instrument, equipment, a port of the instrument, port adapting conditions of the equipment and connection adapting conditions between ports;
the editing information is used for editing the adaptive condition content and/or editing the logic topology.
Optionally, the elastically adapting the physical topology and the logical topology by using the elastically adapting condition and the resource information includes:
performing a first adaptation on the physical topology and the logical topology using the adaptation condition content and the resource information;
editing the adaptation condition content by using the editing information according to the first adaptation result of the physical topology and the logic topology;
and performing second adaptation on the physical topology and the logical topology by using the edited adaptation condition content and the edited resource information.
Optionally, the editing the adaptation condition content by using the editing information according to the first adaptation result of the physical topology and the logical topology includes:
if the first adaptation result of the physical topology and the logical topology is successful, adding the adaptation condition of the adaptation condition content by using the editing information; or
And if the first adaptation result of the physical topology and the logical topology is adaptation failure, reducing the adaptation condition of the adaptation condition content by using the editing information.
Optionally, the elastically adapting the physical topology and the logical topology by using the elastically adapting condition and the resource information includes:
adapting the physical topology and the logical topology using the adaptation condition content and the resource information;
editing the logic topology by using the editing information according to the first adaptation result of the physical topology and the logic topology;
and adapting the physical topology and the edited logical topology by using the adaptation condition content and the resource information.
The storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (4)

1. A topology adaptation method, comprising:
acquiring resource information of a physical topology;
acquiring logical topology and elastic adaptation conditions;
elastically adapting the physical topology and the logical topology using the elastic adaptation conditions and the resource information;
outputting the adaptation result of the physical topology and the logical topology;
the flexible adaptation condition comprises: adapting conditional content and editing information, wherein the adapting conditional content comprises one or more of the following items:
the method comprises the following steps of (1) adapting conditions of an instrument, equipment, a port of the instrument, port adapting conditions of the equipment and connection adapting conditions between ports;
the editing information is used for editing the adaptive condition content and/or editing the logic topology;
the elastically adapting the physical topology and the logical topology using the elastically adapting conditions and the resource information includes:
performing a first adaptation on the physical topology and the logical topology using the adaptation condition content and the resource information;
editing the adaptation condition content by using the editing information according to the first adaptation result of the physical topology and the logic topology;
performing second adaptation on the physical topology and the logical topology by using the edited adaptation condition content and the edited resource information;
the editing the adaptation condition content by using the editing information according to the first adaptation result of the physical topology and the logical topology includes:
if the first adaptation result of the physical topology and the logical topology is successful, adding the adaptation condition of the adaptation condition content by using the editing information; or
And if the first adaptation result of the physical topology and the logical topology is adaptation failure, reducing the adaptation condition of the adaptation condition content by using the editing information.
2. The method of claim 1, wherein said elastically adapting the physical topology and the logical topology using the elastic adaptation conditions and the resource information comprises:
adapting the physical topology and the logical topology using the adaptation condition content and the resource information;
editing the logic topology by using the editing information according to the first adaptation result of the physical topology and the logic topology;
and adapting the physical topology and the edited logical topology by using the adaptation condition content and the resource information.
3. A topology adaptation apparatus, comprising:
the first acquisition module is used for acquiring resource information of the physical topology;
the second acquisition module is used for acquiring logical topology and elastic adaptation conditions;
an adaptation module, configured to perform elastic adaptation on the physical topology and the logical topology using the elastic adaptation condition and the resource information;
the output module is used for outputting the adaptation result of the physical topology and the logic topology;
the flexible adaptation condition comprises: adapting conditional content and editing information, wherein the adapting conditional content comprises one or more of the following items:
the method comprises the following steps of (1) adapting conditions of an instrument, equipment, a port of the instrument, port adapting conditions of the equipment and connection adapting conditions between ports;
the editing information is used for editing the adaptive condition content;
the adaptation module comprises:
a first adapting unit, configured to adapt the physical topology and the logical topology for a first time by using the adaptation condition content and the resource information;
the first editing unit is used for editing the adaptation condition content by using the editing information according to the first adaptation result of the physical topology and the logic topology;
the second adapting unit is used for carrying out second adaptation on the physical topology and the logical topology by using the edited adaptation condition content and the edited resource information;
the first editing unit is used for increasing the adaptation condition of the adaptation condition content by using the editing information if the first adaptation result of the physical topology and the logical topology is successful; or
The first editing unit is configured to reduce the adaptation condition of the adaptation condition content by using the editing information if the first adaptation result of the physical topology and the logical topology is an adaptation failure.
4. The apparatus of claim 3, wherein the adaptation module comprises:
a third adapting unit, configured to adapt the physical topology and the logical topology using the adaptation condition content and the resource information;
the second editing unit is used for editing the logic topology by using the editing information according to the first adaptation result of the physical topology and the logic topology;
a fourth adapting unit, configured to adapt the physical topology and the edited logical topology by using the adaptation condition content and the resource information.
CN201610460880.XA 2016-06-23 2016-06-23 Topology adaptation method and device Active CN107544789B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610460880.XA CN107544789B (en) 2016-06-23 2016-06-23 Topology adaptation method and device
PCT/CN2017/086331 WO2017219831A1 (en) 2016-06-23 2017-05-27 Topology matching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610460880.XA CN107544789B (en) 2016-06-23 2016-06-23 Topology adaptation method and device

Publications (2)

Publication Number Publication Date
CN107544789A CN107544789A (en) 2018-01-05
CN107544789B true CN107544789B (en) 2021-06-15

Family

ID=60783790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610460880.XA Active CN107544789B (en) 2016-06-23 2016-06-23 Topology adaptation method and device

Country Status (2)

Country Link
CN (1) CN107544789B (en)
WO (1) WO2017219831A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568860B (en) * 2021-07-23 2022-08-19 北京百度网讯科技有限公司 Deep learning-based multi-machine cluster topology mapping method and device and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101069392A (en) * 2004-12-01 2007-11-07 法国电信公司 Method and system for the dynamic adaptation of service quality metrics in an ad hoc network
CN101867941A (en) * 2010-06-10 2010-10-20 华为技术有限公司 Data processing method and network management equipment
CN101986282A (en) * 2010-11-08 2011-03-16 中兴通讯股份有限公司 Topological adaptation method and device
CN103491522A (en) * 2012-06-12 2014-01-01 华为软件技术有限公司 Terminal adaption method and device
CN103501236A (en) * 2013-08-26 2014-01-08 武汉烽火网络有限责任公司 Method and device for generating network control plane logical topology
CN105323780A (en) * 2014-07-18 2016-02-10 中兴通讯股份有限公司 Terminal topology management service method, device and system of Internet of Things

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030037327A1 (en) * 2001-08-15 2003-02-20 International Business Machines Corporation Run-time rule-based topological installation suite
US20030037328A1 (en) * 2001-08-15 2003-02-20 International Business Machines Corporation Extending installation suites to include topology of suite's run-time environment
US20090052444A1 (en) * 2007-08-24 2009-02-26 At&T Bls Intellectual Property, Inc. Methods, systems, and computer program products for providing multi-service communication networks and related core networks
US9225610B2 (en) * 2008-03-31 2015-12-29 Hitachi, Ltd. User interface providing information system topology presentation
US20100274537A1 (en) * 2009-04-24 2010-10-28 Caterpillar, Inc. Stress-based Topology Optimization Method and Tool
US8954957B2 (en) * 2009-07-01 2015-02-10 Riverbed Technology, Inc. Network traffic processing according to network traffic rule criteria and transferring network traffic metadata in a network device that includes hosted virtual machines
US8219596B2 (en) * 2010-03-08 2012-07-10 Sap Ag System and method of optimizing performance of schema matching
CN102136946B (en) * 2011-03-07 2014-04-23 中国电力科学研究院 Optical network topology graph drawing method and topological subsystem
CN103412830B (en) * 2013-08-13 2016-12-07 华为技术有限公司 A kind of method, apparatus and system of centralized management
CN103647679A (en) * 2013-11-26 2014-03-19 上海斐讯数据通信技术有限公司 Automated topology dynamic mapping method and system
CN105700940B (en) * 2014-11-25 2019-05-31 深圳市中兴微电子技术有限公司 A kind of statistical multiplex method of scheduler and scheduler

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101069392A (en) * 2004-12-01 2007-11-07 法国电信公司 Method and system for the dynamic adaptation of service quality metrics in an ad hoc network
CN101867941A (en) * 2010-06-10 2010-10-20 华为技术有限公司 Data processing method and network management equipment
CN101986282A (en) * 2010-11-08 2011-03-16 中兴通讯股份有限公司 Topological adaptation method and device
CN103491522A (en) * 2012-06-12 2014-01-01 华为软件技术有限公司 Terminal adaption method and device
CN103501236A (en) * 2013-08-26 2014-01-08 武汉烽火网络有限责任公司 Method and device for generating network control plane logical topology
CN105323780A (en) * 2014-07-18 2016-02-10 中兴通讯股份有限公司 Terminal topology management service method, device and system of Internet of Things

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
4G无线接入网拓扑结构展望;孟晟;宋荣方;罗忠生;《中兴通讯技术》;20040630;第28页-第31页 *

Also Published As

Publication number Publication date
WO2017219831A1 (en) 2017-12-28
CN107544789A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN108255653B (en) Product testing method and terminal thereof
EP3432157B1 (en) Data table joining mode processing method and apparatus
CN113094309A (en) Data bit width conversion method and device
CN115114219B (en) PCI-E topology method, device, equipment and storage medium
US20220045948A1 (en) Path creation method and device for network on chip and electronic apparatus
CN109408682A (en) A kind of method of regular expression matching, system and equipment
CN107544789B (en) Topology adaptation method and device
CN106940714A (en) A kind of data processing method, device and electronic equipment
US9880923B2 (en) Model checking device for distributed environment model, model checking method for distributed environment model, and medium
CN109446146B (en) State transition sequence generation method of application layer communication protocol
CN116306417B (en) Clock delay method, clock delay device, electronic equipment and storage medium
CN116108042A (en) Data processing method, device, electronic equipment, storage medium and program product
US20170046306A1 (en) Data processing method, processor, and data processing device
CN114003220B (en) Workflow model implementation method, system, readable storage medium and computer equipment
CN110971716B (en) Address configuration method, device, system and computer readable storage medium
CN112579472B (en) Automatic generation method and device for test cases
CN111367916B (en) Data storage method and device
CN113873026A (en) Dynamic timeout response method, device, terminal equipment and storage medium
CN113791792A (en) Application calling information acquisition method and device and storage medium
US10210070B2 (en) Model checking apparatus, model checking method, and storage medium
CN110673891B (en) Data processing method, device, equipment and medium
CN103500091B (en) A kind of method of adjustment, device and the network equipment of exchange chip dominant frequency
US11962558B1 (en) System, method, and computer program for an exactly once messaging protocol in a publish-subscribe messaging system
CN114679302B (en) Method, device, equipment and storage medium for docking single sign-on system
CN116431119B (en) Software component port creation method and device, electronic equipment and storage medium

Legal Events

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