CN116709070A - Optical fiber connection change processing method, network management server and system - Google Patents

Optical fiber connection change processing method, network management server and system Download PDF

Info

Publication number
CN116709070A
CN116709070A CN202310826282.XA CN202310826282A CN116709070A CN 116709070 A CN116709070 A CN 116709070A CN 202310826282 A CN202310826282 A CN 202310826282A CN 116709070 A CN116709070 A CN 116709070A
Authority
CN
China
Prior art keywords
optical fiber
fiber connection
change information
connection change
data
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.)
Pending
Application number
CN202310826282.XA
Other languages
Chinese (zh)
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.)
China Telecom Technology Innovation Center
China Telecom Corp Ltd
Original Assignee
China Telecom Technology Innovation Center
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Technology Innovation Center, China Telecom Corp Ltd filed Critical China Telecom Technology Innovation Center
Priority to CN202310826282.XA priority Critical patent/CN116709070A/en
Publication of CN116709070A publication Critical patent/CN116709070A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0003Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Landscapes

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

Abstract

The disclosure provides an optical fiber connection change processing method, a network management server and a system, and relates to the technical field of optical communication. The optical fiber connection change processing method is executed by a network management server and comprises the following steps: sending a subscription request to a plurality of network elements in an optical transmission network; receiving optical fiber connection change information reported by at least one network element in a plurality of network elements, and storing the optical fiber connection change information; acquiring a plurality of pieces of optical fiber connection change information from the stored optical fiber connection change information, and taking the plurality of pieces of optical fiber connection change information as the same processing batch; and updating the optical fiber connection data in the database and the path data related to the optical fiber connection data according to the optical fiber connection change information of the same processing batch. By the method, the optical fiber connection change information can be automatically and timely processed, the pressure of data transmission and processing is reduced, and the possibility of error of data change at the network management side is reduced.

Description

Optical fiber connection change processing method, network management server and system
Technical Field
The disclosure relates to the technical field of optical communication, and in particular relates to a method, a network management server and a system for processing optical fiber connection change.
Background
In the related art, a network management server acquires a full amount of optical fiber connection (or called as a fiber connection) data from a network element (such as a box type wavelength division device) in an optical transmission network by adopting an active or timed data pulling mode. After the optical fiber connection data of the network element are obtained, the changed optical fiber connection data and path data (such as an optical multiplexing section path) associated with the optical fiber connection data are manually updated in a manual intervention mode.
Disclosure of Invention
The present disclosure provides a method, a network management server and a system for processing optical fiber connection change.
According to a first aspect of the present disclosure, there is provided a method for processing optical fiber connection change, which is executed by a network management server, including: sending a subscription request to a plurality of network elements in an optical transmission network, wherein the subscription request carries an indication parameter, and the indication parameter is used for indicating the plurality of network elements to report optical fiber connection change information when optical fiber connection change occurs; receiving optical fiber connection change information reported by at least one network element in the plurality of network elements, and storing the optical fiber connection change information; acquiring a plurality of pieces of optical fiber connection change information from the stored optical fiber connection change information, and taking the plurality of pieces of optical fiber connection change information as the same processing batch; and updating the optical fiber connection data in the database and the path data associated with the optical fiber connection data according to the optical fiber connection change information of the same processing batch.
In some embodiments, updating the fiber connection data in the database and the path data associated with the fiber connection data according to the fiber connection change information of the same processing lot includes: storing path data associated with the optical fiber connection data in the database into a cache; updating the optical fiber connection data in a database and updating the path data in the cache according to the current optical fiber connection change information for the current optical fiber connection change information in the same processing batch; iteratively executing the judging step and the data updating step until all the optical fiber connection change information in the same processing batch is processed; and after all the optical fiber connection change information in the same processing batch is processed, updating the path data associated with the optical fiber connection data in the database according to the path data in the cache.
In some embodiments, updating the fiber connection data in the database and updating the path data in the cache according to the current fiber connection change information includes: judging whether the optical fiber connection corresponding to the current optical fiber connection change information is changed or not; and when the optical fiber connection corresponding to the current optical fiber connection change information is not changed, updating the optical fiber connection data in the database and updating the path data in the cache.
In some embodiments, the optical fiber connection change information includes a change type of the optical fiber connection, an identifier and two side ports of two side network elements corresponding to the optical fiber connection, and equipment management requirement information of the two side network elements.
In some embodiments, the updating the fiber optic connection data in the database according to the current fiber optic connection change information includes: judging whether configuration data of network elements on two sides corresponding to the optical fiber connection exist in the database or not under the condition that the change type of the optical fiber connection in the current optical fiber connection change information is newly added; acquiring network element configuration data from the network elements with the configuration data not existing according to the equipment management requirement information under the condition that the configuration data of the network elements at the two sides corresponding to the optical fiber connection are not existing in the database; under the condition that the network element configuration data is successfully obtained, storing the network element configuration data into the database; and adding new optical fiber connection to the optical fiber connection data in the database according to the current optical fiber connection change information.
In some embodiments, adding a new fiber optic connection to the fiber optic connection data in the database based on the current fiber optic connection change information comprises: and adding new optical fiber connection to the optical fiber connection data in the database under the condition that the acquired network element configuration data comprises a first port corresponding to the optical fiber connection in the current optical fiber connection change information, wherein the first port is a port on the network element side, in which the configuration data does not exist, in ports on two sides corresponding to the optical fiber connection.
In some embodiments, the fiber optic connection change processing method further comprises: outputting fiber connection change failure indication information under the condition that the acquired network element configuration data does not contain the first port corresponding to the fiber connection in the current fiber connection change information.
In some embodiments, the device management requirement information of the two-side network element includes a management IP, a management port, and a vendor name of the two-side network element, and the acquiring, according to the device management requirement information, the network element configuration data from the network element where the configuration data does not exist includes: acquiring a user name and a password required by network element connection according to the name of the manufacturer of the network element where the configuration data does not exist; establishing connection with the network element with the configuration data according to the management IP and the management port of the network element with the configuration data not existing and the user name and the password required by the connection of the network element; and after establishing connection with the network element with the configuration data not existing, acquiring the network element configuration data from the network element with the configuration data not existing.
In some embodiments, the fiber optic connection change processing method further comprises: and outputting the fiber connection change failure indication information under the condition that the acquisition of the network element configuration data fails.
In some embodiments, updating the fiber optic connection data in the database according to the current fiber optic connection change information further includes: and adding new optical fiber connection into the optical fiber connection data in the database according to the current optical fiber connection change information under the condition that the configuration data of the network elements at the two sides corresponding to the optical fiber connection exist in the database.
In some embodiments, the updating the fiber optic connection data in the database according to the current fiber optic connection change information includes: and deleting the optical fiber connection indicated by the optical fiber connection change information from the optical fiber connection data in the database when the change type of the optical fiber connection in the current optical fiber connection change information is deleting.
In some embodiments, determining whether the fiber optic connection corresponding to the current fiber optic connection change information has been changed includes: judging whether index information of the optical fiber connection corresponding to the current optical fiber connection change information exists in the cache; when the index information of the optical fiber connection corresponding to the current optical fiber connection change information exists in the cache, confirming that the optical fiber connection corresponding to the current optical fiber connection change information has been changed; otherwise, confirming that the optical fiber connection corresponding to the current optical fiber connection change information is not changed.
In some embodiments, updating the fiber connection data in the database and the path data associated with the fiber connection data according to the fiber connection change information of the same processing lot further comprises: and storing index information of the optical fiber connection corresponding to the current optical fiber connection change information into the cache when the optical fiber connection corresponding to the current optical fiber connection change information is not changed.
In some embodiments, the index information of the optical fiber connection corresponding to the current optical fiber connection change information includes a two-side network element identifier and a two-side port identifier corresponding to the optical fiber connection.
In some embodiments, the iteratively performing the determining step and the data updating step until all the fiber optic connection change information in the same processing lot is processed includes: after the current optical fiber connection change information is processed, judging whether optical fiber connection change information related to the current optical fiber connection change information exists in the same processing batch, wherein a source network element of optical fiber connection in the related optical fiber connection change information is a sink network element of optical fiber connection in the current optical fiber connection change information; processing the associated optical fiber connection change information when the optical fiber connection change information associated with the current optical fiber connection change information exists; otherwise, continuing to process the next piece of optical fiber connection change information positioned after the current optical fiber connection change information in the same processing batch.
In some embodiments, the plurality of network elements are box-type wavelength division devices and the path data is optical multiplexing segment path data.
According to a second aspect of the present disclosure, there is provided a network management server, including: the sending module is configured to send a subscription request to a plurality of network elements in the optical transmission network, wherein the subscription request carries an indication parameter, and the indication parameter is used for indicating the plurality of network elements to report optical fiber connection change information when optical fiber connection change occurs; the receiving module is configured to receive the optical fiber connection change information reported by at least one network element in the plurality of network elements and store the optical fiber connection change information; the acquisition module is configured to acquire a plurality of pieces of optical fiber connection change information from the stored optical fiber connection change information, and the plurality of pieces of optical fiber connection change information are used as the same processing batch; and the updating module is configured to update the optical fiber connection data in the database and the path data associated with the optical fiber connection data according to the optical fiber connection change information of the same processing batch.
According to a third aspect of the present disclosure, there is provided an optical fiber connection change processing system including: the network management server is configured to send a subscription request to a plurality of network elements in the optical transmission network, wherein the subscription request carries an indication parameter, and the indication parameter is used for indicating the plurality of network elements to report optical fiber connection change information when optical fiber connection change occurs; the network elements are configured to report optical fiber connection change information; the network management server is further configured to: receiving optical fiber connection change information reported by at least one network element in the plurality of network elements, and storing the optical fiber connection change information; acquiring a plurality of pieces of optical fiber connection change information from the stored optical fiber connection change information, and taking the plurality of pieces of optical fiber connection change information as the same processing batch; and updating the optical fiber connection data in the database and the path data associated with the optical fiber connection data according to the optical fiber connection change information of the same processing batch.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising: a memory; and a processor coupled to the memory, the processor configured to perform the fiber connection change processing method as described above based on instructions stored in the memory.
According to a fifth aspect of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored, which instructions, when executed by a processor, implement a fiber optic connection change processing method as described above.
Other features of the present disclosure and its advantages will become apparent from the following detailed description of exemplary embodiments of the disclosure, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
The present disclosure will be more clearly understood from the following detailed description with reference to the accompanying drawings.
Fig. 1 is a flow diagram of a method of optical fiber connection change processing according to some embodiments of the present disclosure.
Fig. 2 is a flow diagram of batch processing of fiber connection change information according to some embodiments of the present disclosure.
Fig. 3 is a flow chart illustrating a process of batch processing of fiber connection change information according to further embodiments of the present disclosure.
Fig. 4 is a schematic diagram of a scenario of network element port changes according to some embodiments of the present disclosure.
Fig. 5 is a schematic view of a scenario of a break point according to some embodiments of the present disclosure.
Fig. 6 is a schematic view of a scenario of a tamper point according to some embodiments of the present disclosure.
Fig. 7 is a schematic structural diagram of a network management server according to some embodiments of the present disclosure.
Fig. 8 is a schematic diagram of a fiber optic connection change processing system according to some embodiments of the present disclosure.
Fig. 9 is a schematic structural diagram of an electronic device according to some embodiments of the present disclosure.
Fig. 10 is a schematic diagram of a computer system according to some embodiments of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but should be considered part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
For the purposes of promoting an understanding of the principles and advantages of the disclosure, reference will now be made to the embodiments illustrated in the drawings and specific language will be used to describe the same.
In the related art, a network management server actively or regularly pulls all optical fiber connection data in network elements in an optical transmission network, and changes the changed optical fiber connection data and path data related to the optical fiber connection data in a manual mode after acquiring the data. The problems of untimely updating of the optical fiber connection data at the network management server side and the path data associated with the optical fiber connection data, data transmission between the network management server and the network element, high pressure for data processing at the network management side, easy introduction of error data due to manual operation and the like are caused.
In view of this, the disclosure proposes a method, a network management server and a system for processing optical fiber connection change, which can timely obtain optical fiber connection change information on a network element side when optical fiber connection in an optical transmission network is changed, and automatically and timely process the optical fiber connection change information, so as to reduce the pressure of data transmission between the network management server and the network element and data processing on the network management side, reduce the possibility of error of optical fiber connection and associated path data change on the network management side, and are particularly suitable for path change processing in an open decoupled multi-manufacturer optical network.
Fig. 1 is a flow diagram of a method of optical fiber connection change processing according to some embodiments of the present disclosure. As shown in fig. 1, the optical fiber connection changing processing method includes steps S110 to S130.
In step S110, optical fiber connection change information reported by at least one network element of the plurality of network elements is received, and the optical fiber connection change information is stored.
In some embodiments, the fiber connection change processing method is performed by a network management server.
In some embodiments, the plurality of network elements are wavelength division devices, such as box-type wavelength division devices. In addition, in the implementation, the plurality of network elements may also be other devices in the optical transmission network besides the wavelength division device.
In some embodiments, the optical fiber connection change information includes a change type of the optical fiber connection, an identifier and two side ports of two side network elements corresponding to the optical fiber connection, and device management requirement information of the two side network elements.
For example, the change types of the optical fiber connection include deletion and addition. When the change type of the optical fiber connection is deleted, the network element side is indicated to delete one optical fiber connection; when the change type of the optical fiber connection is newly added, the network element side is indicated to be newly added with one optical fiber connection.
In some embodiments, for the optical fiber connection modification scenario (for example, the optical fiber connection between the port 1 of the source network element and the port 2 of the sink network element is modified to be the optical fiber connection between the port 1 of the source network element and the port 3 of the sink network element), the network element reports the optical fiber connection change information with the change type deleted once, and reports the optical fiber connection change information with the change type newly added once. In this way, the optical fiber connection deletion, addition and modification conditions can be uniformly represented, so that the processing efficiency of the optical fiber connection change information can be improved, and the processing complexity of the optical fiber connection change information can be reduced.
In some embodiments, the fiber optic connection change processing method further comprises: before step S110, a subscription request is sent to a plurality of network elements in the optical transport network. The subscription request carries an indication parameter, and the indication parameter is used for indicating a plurality of network elements to report optical fiber connection change information when optical fiber connection change occurs.
For example, the network management server sends a subscription request based on a telemet protocol to a plurality of network elements in the optical transmission network, where the subscription request carries a redundancy suppression parameter, and the redundancy suppression parameter is used to instruct the plurality of network elements to actively report optical fiber connection change information when optical fiber connection change occurs. The technology is a new generation network monitoring technology for remotely and rapidly collecting data from equipment, and the equipment periodically and actively reports equipment information through a Push Mode, so that a network monitoring function with higher real time, higher speed and higher accuracy is provided.
In the embodiment of the disclosure, by sending the subscription request to a plurality of network elements in the optical transmission network and carrying the indication parameter in the subscription request, the network elements can actively and timely report the optical fiber connection change information when the optical fiber connection change occurs, and compared with the traditional mode of pulling the whole optical fiber connection data, the method greatly reduces the data reporting frequency, reduces the reported data quantity, is beneficial to more timely and efficiently performing the optical fiber connection change processing, and reduces the data transmission cost and the resource cost of performing the optical fiber connection change processing on the network management side.
In step S120, a plurality of pieces of optical fiber connection change information are acquired from the stored optical fiber connection change information, and the plurality of pieces of optical fiber connection change information are set as the same processing lot.
For example, after receiving and storing the fiber connection change information reported by the network element, the network management server takes a preset number (for example, 100 pieces, 200 pieces or other values) of fiber connection change information as a processing batch.
In step S130, the optical fiber connection data in the database and the path data associated with the optical fiber connection data are updated according to the optical fiber connection change information of the same processing lot.
In some embodiments, the fiber connection change information of the same processing batch is processed one by one to update the fiber connection data in the database and the path data associated with the fiber connection data.
Where an optical fiber connection is a component of a path, a path typically includes one or more segments of optical fiber connection. For example, path a includes fiber optic connection 1, fiber optic connection 2, fiber optic connection 3, and path B includes fiber optic connection 2, fiber optic connection 4, and fiber optic connection 5.
The path data associated with the fiber optic connection data is data including paths of one or more segments of the fiber optic connection, such as optically multiplexed segment path data. For example, when the optical fiber connection change information reported by the network element indicates that the optical fiber connection 1 is changed, the network management server not only updates the optical fiber connection 1 in the optical fiber connection data table, but also updates the path of the optical multiplexing section including the optical fiber connection 1 in the path data table.
In other embodiments, in addition to updating the fiber connection data and path data, associated data such as network element topology data in the database is updated. For example, in the case that it is determined that there is an newly added network element or a deleted network element according to the optical fiber connection change information, the network element topology data table in the database is also updated.
In the embodiment of the disclosure, when the optical fiber connection at the network element side in the optical transmission network is changed, the optical fiber connection change information at the network element side can be timely obtained, and the optical fiber connection change information is automatically processed, so that the pressure of data transmission between a network management server and the network element and data processing at the network management side is reduced, the possibility of error of optical fiber connection at the network management side and associated path data change is reduced, and the method is particularly suitable for path change processing in an open decoupled multi-manufacturer optical network.
Fig. 2 is a flow diagram of batch processing of fiber connection change information according to some embodiments of the present disclosure. The flow shown in fig. 2 is an exemplary illustration of step S130. As shown in fig. 2, the flow of the batch processing of the optical fiber connection change information includes steps S131 to S134.
In step S131, it is determined whether or not the optical fiber connection corresponding to the current optical fiber connection change information has been changed.
In a specific implementation, there may be a case where different optical fiber connection change information corresponds to the same optical fiber connection, for example, both network element a and network element b report the optical fiber connection change information of the optical fiber connection 1 between the network element a and the network element b to the network management server. For this case, in some implementations of the present disclosure, the repetition of the processing of the optical fiber connection change information indicating the same optical fiber connection is reduced by introducing the judgment logic of step S131.
In some embodiments of the present disclosure, it is determined whether the optical fiber connection corresponding to the current optical fiber connection change information has been changed according to the following manner: judging whether index information of the optical fiber connection corresponding to the current optical fiber connection change information exists in the cache; if the optical fiber connection information exists, confirming that the optical fiber connection corresponding to the current optical fiber connection change information is changed; otherwise, confirming that the optical fiber connection corresponding to the current optical fiber connection change information is not changed.
In some embodiments, the index information of the optical fiber connection includes two-side network element identifiers and two-side port identifiers corresponding to the optical fiber connection. In these embodiments, whether the optical fiber connection corresponding to the current optical fiber connection change information has been changed is determined by determining whether the two-side network element identifier and the two-side port identifier of the optical fiber connection corresponding to the current optical fiber connection change information exist in the buffer.
For example, assuming that the current optical fiber connection change information is the optical fiber connection change information reported by the network element b and indicating deletion of the optical fiber connection 1 between the network element a and the network element b, if the index (network element a, port 1, network element b, port 2) of the optical fiber connection 1 exists in the cache, confirming that the optical fiber connection corresponding to the current optical fiber connection change information has been changed; otherwise, confirming that the optical fiber connection corresponding to the current optical fiber connection change information is not changed.
In some of the above embodiments, the optical fiber connection change processing method further includes: after confirming that the index information of the optical fiber connection corresponding to the current optical fiber connection change information does not exist in the cache, writing the index information of the optical fiber connection corresponding to the current optical fiber connection change information into the cache.
If the determination result in step S131 is yes, step S132 is executed, that is, the current optical fiber connection change information is processed; if the determination result in step S131 is no, the current optical fiber connection change information is ignored.
In the embodiment of the disclosure, by storing the index information of the optical fiber connection in the cache and judging whether the optical fiber connection corresponding to the current optical fiber connection change information has been changed according to the index information, compared with the method of inquiring the database to judge whether the optical fiber connection corresponding to the current optical fiber connection change information has been changed, the method and the device can obtain the judgment result more simply, efficiently and with low cost, further help to further improve the processing efficiency of optical fiber connection data change in the network management, and reduce the resource cost of optical fiber connection data change in the network management.
In step S132, when the optical fiber connection corresponding to the current optical fiber connection change information is not changed, the optical fiber connection data in the database is updated and the path data in the cache is updated according to the current optical fiber connection change information.
In some embodiments, before step S132, path data associated with the fiber optic connection data in the database is stored in advance in the cache. In this way, it is convenient to update the path data in the cache first when step S132 is executed subsequently, and update the path data in the database according to the updated path data in the cache after batch processing is completed.
In some embodiments, updating the fiber optic connection data in the database according to the current fiber optic connection change information includes: deleting the optical fiber connection indicated by the optical fiber connection change information from the optical fiber connection data in the database under the condition that the change type of the optical fiber connection in the current optical fiber connection change information is deleting; when the type of change of the optical fiber connection in the current optical fiber connection change information is newly increased, the optical fiber connection indicated by the optical fiber connection change information is newly increased in the optical fiber connection data in the database.
In some embodiments, path data associated with the fiber optic connection data in the database is written into the cache in advance. And updating the path data in the cache based on the changed optical fiber connection indicated by the optical fiber connection change information when processing the optical fiber connection change information.
In step S133, the determining step and the data updating step are iteratively performed until all the optical fiber connection change information in the same processing lot is processed.
In some embodiments, step S133 includes processing unprocessed fiber optic connection change information in the same processing lot, one by one, according to step S131 and step S132, after processing the current fiber optic connection change information until all fiber optic connection change information in the same processing lot has been processed. For example, assuming that the same processing lot contains the optical fiber connection change information I1, I2, I3, and I4 arranged in order, I1 is processed first, I2 is processed then I3 is processed, and I4 is processed finally.
In other embodiments, step S133 includes: after the current optical fiber connection change information is processed, judging whether the optical fiber connection change information related to the current optical fiber connection change information exists in the same processing batch or not; processing the associated optical fiber connection change information when the optical fiber connection change information associated with the current optical fiber connection change information exists; otherwise, continuing to process the next piece of optical fiber connection change information after the current optical fiber connection change information in the same processing batch.
The source network element of the optical fiber connection in the related optical fiber connection change information is the destination network element of the optical fiber connection in the current optical fiber connection change information. For example, if the source network element of the optical fiber connection in the current optical fiber connection change information is network element a, and the destination network element is network element b, the associated optical fiber connection change information satisfies: the source network element of the optical fiber connection is network element b.
When the associated optical fiber connection change information is processed, the processing is performed according to steps S131 and S132.
In the embodiment of the disclosure, the related optical fiber connection change information is processed preferentially after the current optical fiber connection change information is processed, so that the optical fiber connection data on the network management side can be changed more timely and efficiently.
In step S134, after all the optical fiber connection change information in the same processing lot is processed, the path data associated with the optical fiber connection change data in the database is updated according to the path data in the buffer memory.
In some embodiments, the associated path data is optical multiplexing segment path data. After all the optical fiber connection change information in the same processing batch is processed, updating the optical multiplexing section path data in the database according to the optical multiplexing section path data in the buffer memory.
In some embodiments, in addition to updating the path data in the database, other data associated with the fiber optic connection data in the database is updated in step S134. For example, the associated data such as the network element table, the site table, the service table, the optical fiber connection and the optical multiplexing section table are updated.
In the embodiment of the disclosure, when each piece of optical fiber connection change information is processed, the optical fiber connection data in the database is directly updated, so that timely update of the optical fiber connection data at the network management side is facilitated; meanwhile, the path data in the cache is updated when each piece of optical fiber connection change information is processed, and then the path data in the database is updated according to the cache data after all pieces of optical fiber connection change information in the same processing batch are processed, so that the operation frequency of the database is reduced, the resource cost of path data change on a network management side is reduced, and the processing efficiency of path data change on the network management side is improved.
Fig. 3 is a flow chart illustrating a process of batch processing of fiber connection change information according to further embodiments of the present disclosure. The flow shown in fig. 3 is an exemplary illustration of step S130. As shown in fig. 3, the flow of the batch processing of the optical fiber connection change information includes steps S310 to S321.
In step S310, it is determined whether or not the optical fiber connection corresponding to the current optical fiber connection change information has been changed.
In some embodiments, step S310 includes: judging whether index data of the optical fiber connection corresponding to the current optical fiber connection change information exists in the cache; if yes, confirming that the optical fiber connection corresponding to the current optical fiber connection change information is changed; if not, the optical fiber connection corresponding to the current optical fiber connection change information is confirmed not to be changed.
For example, the index data of the fiber optic connection includes both side network element identifications and both side port identifications of the fiber optic connection.
In the case that the determination result of step S301 is yes, step S317 is performed; if the determination result in step S301 is no and the change type is delete, step S311 is executed; if the determination result in step S301 is no and the change type is newly added, step S312 is executed.
In step S311, the optical fiber connection indicated by the optical fiber connection change information is deleted from the optical fiber connection data in the database, and the path data in the cache is updated.
In some embodiments, the optical fiber connection change information includes a change type of the optical fiber connection, an identifier and two side ports of two side network elements corresponding to the optical fiber connection, and device management requirement information of the two side network elements.
The change type of the optical fiber connection comprises deletion and addition. When the determination result in step S301 is no and the change type of the optical fiber connection is deletion, step S311 is executed; if the determination result in step S301 is no and the type of change of the optical fiber connection is newly added, step S312 is executed.
Wherein the device management requirement information indicates information required for managing the network element. In some embodiments, the device management requirement information includes a management address (IP) of the network element on both sides, a management port, and a vendor name to which the network element belongs. In addition, the device management requirement information may further include information such as a device model number.
In some embodiments, the plurality of network elements in the optical transport network report the device management requirement information according to the content defined by the unified proto file. In this way, unified management of a plurality of network elements in the optical transmission network is facilitated.
After step S311, step S317 is performed.
In step S312, it is determined whether configuration data of both network elements exist in the database.
The two-side network elements specifically refer to two-side network elements connected by the optical fibers in the current optical fiber connection change information.
In some embodiments, it is determined whether configuration data for both network elements is present in the database according to the following manner: inquiring network element configuration data in a database according to the identifiers of the network elements at two sides; and judging whether the configuration data of the network elements at both sides exist in the database according to the query result.
In other embodiments, it is determined whether configuration data of both network elements exists in the database according to the following manner: storing configuration data of network elements in a database into a cache in advance, and inquiring the configuration data of the network elements in the cache according to the identifiers of the network elements at two sides of the optical fiber connection in the current optical fiber connection change information when executing step S312; and judging whether the configuration data of the network elements at both sides exist in the database according to the query result. And whether the configuration data of the network elements at the two sides exist in the database is judged by inquiring the cache, so that the frequency access to the database can be reduced, and the resource cost of the change of the optical connection data at the network management side is further reduced.
In the case that the determination result of step S312 is yes, step S316 is performed; if the determination result in step S312 is no, step S313 is executed.
In step S313, network element configuration data is added.
In some embodiments, step S313 includes: acquiring network element configuration data from network elements with configuration data not existing according to the equipment management demand information; and under the condition that the network element configuration data is successfully acquired, storing the network element configuration data into a database.
For example, after determining that the configuration data of the network element a in the two side network elements exists in the database through step S312, the configuration data of the network element b is acquired from the network element b after the configuration data of the network element b does not exist in the database, and the configuration data of the network element b is stored in the database.
In other embodiments, in step S313, the acquired network element configuration data is stored in the cache in addition to the acquired network element configuration data being stored in the database.
In some embodiments, obtaining the network element configuration data from the network element for which the configuration data does not exist according to the device management requirement information comprises: acquiring a user name and a password required by network element connection according to the name of a manufacturer of the network element, the configuration data of which does not exist; establishing connection with the network element with the configuration data according to the management IP and the management port of the network element with the configuration data not being present and the user name and the password required by the network element connection; after establishing a connection with a network element for which configuration data does not exist, network element configuration data is acquired from the network element for which configuration data does not exist.
In some embodiments of the present disclosure, further comprising: and outputting the fiber connection change failure indication information under the condition that the acquisition of the network element configuration data fails.
For example, when the network element configuration data fails to be acquired, the network management server reports an event of failure in changing the optical fiber connection to the user side (for example, a terminal corresponding to an optical network maintenance manager), and informs the user of information such as network elements and ports on both sides of the changed optical fiber connection, and reasons of the failure in changing.
In some embodiments of the present disclosure, step S312 is used to determine whether configuration data of network elements on both sides exist in the database, and execute different operations according to the determination result, so that the method can be compatible with use requirements of various optical fiber connection changing scenarios, and improves applicability and flexibility of the optical fiber connection changing processing method. Further, by outputting the optical fiber connection change failure indication information under the condition that the network element configuration data is failed, the user can timely find and process the optical fiber connection change failure condition, and adverse effects caused by the optical fiber connection change failure are reduced.
After step S313, step S314 is performed.
In step S314, it is determined whether the added network element configuration data includes the first port.
The first port is a port on the network element side where configuration data does not exist in ports on two sides corresponding to optical fiber connection.
For example, assume that the ports on both sides corresponding to the optical fiber connection are port 1 of the network element a and port 2 of the network element b, and it is determined in step S312 that the configuration data of the network element a exists in the database and the configuration data of the network element b does not exist in the database, then the first port is port 2 of the network element b.
In the case that the determination result of step S314 is yes, step S316 is performed; otherwise, step S315 is performed.
In step S315, the optical fiber connection change failure instruction information is output.
For example, after determining that the added network element configuration data does not include the first port, reporting an event of failure of optical fiber connection change to a user terminal (for example, a terminal corresponding to an optical network maintenance manager), and notifying the user of information such as network elements on two sides and ports of the optical fiber connection where the change occurs, and a reason of the change failure.
In the embodiment of the present disclosure, step S314 is used to determine whether the port information in the added network element configuration data is consistent with the port information reported on the network element side, so as to prevent the situation that the optical fiber connection is changed in error due to the error of the optical fiber connection change data reported by the network element device or the error of the configuration data reported by the network element device when the network element device is added, which is helpful to improve the reliability of the optical fiber connection data change.
In step S316, the optical fiber connection indicated by the optical fiber connection change information is newly added to the optical fiber connection data in the database, and the path data in the cache is updated.
After step S316, step S317 is performed.
In step S317, it is determined whether the same processing lot is processed.
In the case that the determination result of step S317 is yes, step S321 is performed; otherwise, step S318 is performed.
In step S318, it is determined whether or not there is associated optical fiber connection change information.
In some embodiments, the associated optical fiber connection change information refers to optical fiber connection change information using a sink network element in the current optical fiber connection change information as a source network element.
For example, the current optical fiber connection change information is change information of optical fiber connection between a network element a and a network element b reported by the network element a, where the network element a is a source network element, and the network element b is a sink network element. The associated optical fiber connection change information is the optical fiber connection change information reported by the network element b and taking the network element b as the source network element.
In the case where the determination result of step S318 is yes, step S319 is executed; if the determination result in step S318 is no, step S320 is executed.
In step S319, associated optical fiber connection change information is acquired.
In step S320, the next optical fiber connection change information is acquired.
The next optical fiber connection change information refers to optical fiber connection change information located after the current optical fiber connection change information in the same processing batch.
After step S319 and step S320, step S310 is executed again.
In step S321, the path data in the database is updated according to the path data in the cache.
In some embodiments, the path data is optical multiplexing segment path data. After all the optical fiber connection change information in the same processing batch is processed, updating the optical multiplexing section path data in the database according to the optical multiplexing section path data in the buffer memory.
In some embodiments, in step S321, in addition to updating path data associated with the fiber optic connection data in the database, other associated data in the database is updated. For example, the associated data such as the network element table, the site table, the service table, the optical fiber connection and the optical multiplexing section table are updated.
In the embodiment of the disclosure, the above steps can automatically, timely and efficiently update the network management side optical fiber connection data and the associated path data, support the unified optical fiber connection change information processing of different manufacturer devices, are compatible with various optical fiber connection change scenes, and have good applicability and high flexibility.
Fig. 4 is a schematic diagram of a scenario of network element port changes according to some embodiments of the present disclosure. As shown in fig. 4, in an exemplary network element port change scenario, the optical fiber connection between the home network element 41 and the peer network element 42 is changed from a historical fiber connection change to a latest fiber connection due to the port change. The history connection fiber is a connection fiber between the port 1 411 of the home network element 41 and the port 2 421 of the opposite network element 42, and the latest connection fiber is a connection fiber between the port 1 411 of the home network element 41 and the port 3 of the opposite network element 42.
In some embodiments, the home network element 41 or the peer network element 42 reports two pieces of optical fiber connection change information to the network management server, one is to delete the optical fiber connection change information of the historical fiber connection, and the other is to newly add the optical fiber connection change information of the latest fiber connection. After receiving the optical fiber connection change information, the network management server processes the optical fiber connection change information according to the optical fiber connection change processing method in the foregoing embodiment.
Fig. 5 is a schematic view of a scenario of a break point according to some embodiments of the present disclosure. In the exemplary point of disruption scenario, as shown in fig. 5, site POP3 50 is newly added on an original site basis. Further, the station POP3 50 is newly added, resulting in deletion of a part of the optical fiber connection and addition of a part of the optical fiber connection. For example, the newly added partial fiber connections include a fiber connection 501, a fiber connection 502, and a fiber connection 503 between the network element 504 and the network element 505 in the station POP3 50.
In some embodiments, network element 504 or network element 505 reports the fiber optic connection change information to the network management server. After receiving the optical fiber connection change information, the network management server processes the optical fiber connection change information according to the optical fiber connection change processing method in the foregoing embodiment.
Fig. 6 is a schematic view of a scenario of a tamper point according to some embodiments of the present disclosure. In the exemplary point of breach scenario, as shown in fig. 6, station POP3 61 is removed from the original station. The removal of the station POP3 61 results in the deletion of a part of the optical fiber connection and the addition of a part of the optical fiber connection. For example, the newly added partial fiber connections include fiber connections 621 to 623 between network elements in the station POP262 and fiber connections 631 to 633 between network elements in the station HUB2 63. Wherein the fiber connections 621-623 are located between the network element 624 and the network element 625 in POP262, and the fiber connections 631-633 are located between the network element 634 and the network element 635 in HUB2 63.
In some implementations, the network element 624 or the network element 625 reports the fiber optic connection change information to the network management server, and the network element 634 or the network element 635 reports the fiber optic connection change information to the network management server. After receiving the optical fiber connection change information, the network management server processes the optical fiber connection change information according to the optical fiber connection change processing method in the foregoing embodiment.
Fig. 7 is a schematic structural diagram of a network management server according to some embodiments of the present disclosure. As shown in fig. 7, the network management server 70 includes a transmitting module 701, a receiving module 702, an acquiring module 703, and an updating module 704.
A sending module 701 configured to send a subscription request to a plurality of network elements in an optical transport network. The subscription request carries an indication parameter, and the indication parameter is used for indicating a plurality of network elements to report optical fiber connection change information when optical fiber connection change occurs.
The receiving module 702 is configured to receive the optical fiber connection change information reported by at least one network element of the plurality of network elements, and store the optical fiber connection change information.
The obtaining module 703 is configured to obtain a plurality of pieces of optical fiber connection change information from the stored optical fiber connection change information, and use the plurality of pieces of optical fiber connection change information as the same processing lot.
And an updating module 704 configured to update the optical fiber connection data in the database and the path data associated with the optical fiber connection data according to the optical fiber connection change information of the same processing lot.
In the embodiment of the disclosure, when the optical fiber connection at the network element side in the optical transmission network is changed, the device can timely acquire the optical fiber connection change information at the network element side and automatically process the optical fiber connection change information, so that the pressure of data transmission between a network management server and the network element and data processing at the network management side is reduced, the possibility of error of optical fiber connection at the network management side and associated path data change is reduced, and the device is particularly suitable for path change processing in an open decoupled multi-manufacturer optical network.
Fig. 8 is a schematic diagram of a fiber optic connection change processing system according to some embodiments of the present disclosure. As shown in fig. 8, the optical fiber connection change processing system 80 includes a network management server 801, and a plurality of network elements including a network element 1 802, a network element 2 803, and a network element m 804.
The network management server 801 is configured to send a subscription request to a plurality of network elements in the optical transport network. The subscription request carries an indication parameter, and the indication parameter is used for indicating a plurality of network elements to report optical fiber connection change information when optical fiber connection change occurs.
In some embodiments, the network management server 801 sends a subscription request to a plurality of network elements in the optical transmission network based on a telemet protocol, where the subscription request carries a redundancy suppression parameter, and the redundancy suppression parameter is used to instruct the plurality of network elements to actively report optical fiber connection change information when optical fiber connection change occurs. Through the subscription flow, the network management server establishes long connection with a plurality of network elements, so that the subsequent network elements can report the optical fiber connection change information in time when discovering the optical fiber connection change.
And the network elements are configured to report the optical fiber connection change information.
In some embodiments, when the plurality of network elements report the optical fiber connection change information, unified device management requirement information based on the proto file, such as management IP, management port, device model, manufacturer name, etc., is added on the basis of the content reported by the standard link layer discovery protocol (Link Layer Discovery Protocol, LLDP) message. Thus, the optical fiber connection change information of the multi-manufacturer equipment is convenient to process uniformly.
The network management server 802 is further configured to: receiving optical fiber connection change information reported by at least one network element in a plurality of network elements, and storing the optical fiber connection change information; acquiring a plurality of pieces of optical fiber connection change information from the stored optical fiber connection change information, and taking the plurality of pieces of optical fiber connection change information as the same processing batch; and updating the optical fiber connection data in the database and the path data related to the optical fiber connection data according to the optical fiber connection change information of the same processing batch.
In the embodiment of the disclosure, when the optical fiber connection on the network element side in the optical transmission network is changed, the system can timely acquire the optical fiber connection change information on the network element side, automatically process the optical fiber connection change information, reduce the pressure of data transmission between a network management server and the network element and data processing on the network management side, reduce the possibility of error of optical fiber connection on the network management side and associated path data change, and is particularly suitable for path change processing in an open decoupled multi-manufacturer optical network.
Fig. 9 is a schematic structural diagram of an electronic device according to some embodiments of the present disclosure.
As shown in fig. 9, the electronic device 90 includes a memory 901; and a processor 902 coupled to the memory 901. The memory 901 is used for storing instructions for executing the corresponding embodiment of the optical fiber connection change processing method. The processor 902 is configured to perform the fiber optic connection change processing method in any of the embodiments of the present disclosure based on instructions stored in the memory 901.
Fig. 10 is a schematic diagram of a computer system according to some embodiments of the present disclosure.
As shown in FIG. 10, computer system 100 may be in the form of a general purpose computing device. Computer system 100 includes memory 101, processor 102, and bus 103 that couples various system components.
Memory 101 may include, for example, system memory, non-volatile storage media, and the like. The system memory stores, for example, an operating system, application programs, boot Loader (Boot Loader), and other programs. The system memory may include volatile storage media, such as Random Access Memory (RAM) and/or cache memory. The nonvolatile storage medium stores, for example, instructions of a corresponding embodiment of at least one optical fiber connection change processing method in execution. Non-volatile storage media include, but are not limited to, disk storage, optical storage, flash memory, and the like.
The processor 102 may be implemented as discrete hardware components such as a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gates or transistors, and so forth. Accordingly, each module, such as a transmitting module, a receiving module, etc., may be implemented by a Central Processing Unit (CPU) executing instructions of the corresponding steps in a memory, or may be implemented by a dedicated circuit executing the corresponding steps.
Bus 103 may use any of a variety of bus architectures. For example, bus structures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, and a Peripheral Component Interconnect (PCI) bus.
These interfaces 104, 105, 106 of computer system 100, and memory 101 and processor 102 may be connected by bus 103. The input output interface 104 may provide a connection interface for input output devices such as a display, mouse, keyboard, etc. The network interface 105 provides a connection interface for various networking devices. The storage interface 106 provides a connection interface for external storage devices such as a floppy disk, a USB flash disk, an SD card, and the like.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor, create means for implementing the functions specified in the flowchart and/or block diagram block or blocks.
These computer readable program instructions may also be stored in a computer readable memory that can direct a computer to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart and/or block diagram block or blocks.
The present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects.
By the optical fiber connection change processing method, the network management server and the system in the embodiment, the optical fiber connection change information can be automatically and timely processed, the pressure of data transmission and processing is reduced, and the possibility of error of data change at the network management side is reduced.
Heretofore, the optical fiber connection change processing method, the network management server, and the system according to the present disclosure have been described in detail. In order to avoid obscuring the concepts of the present disclosure, some details known in the art are not described. How to implement the solutions disclosed herein will be fully apparent to those skilled in the art from the above description.

Claims (20)

1. A fiber connection change processing method is executed by a network management server and comprises the following steps:
sending a subscription request to a plurality of network elements in an optical transmission network, wherein the subscription request carries an indication parameter, and the indication parameter is used for indicating the plurality of network elements to report optical fiber connection change information when optical fiber connection change occurs;
Receiving optical fiber connection change information reported by at least one network element in the plurality of network elements, and storing the optical fiber connection change information;
acquiring a plurality of pieces of optical fiber connection change information from the stored optical fiber connection change information, and taking the plurality of pieces of optical fiber connection change information as the same processing batch;
and updating the optical fiber connection data in the database and the path data associated with the optical fiber connection data according to the optical fiber connection change information of the same processing batch.
2. The optical fiber connection change processing method according to claim 1, wherein updating the optical fiber connection data in the database and the path data associated with the optical fiber connection data according to the optical fiber connection change information of the same processing lot comprises:
storing path data associated with the optical fiber connection data in the database into a cache;
updating the optical fiber connection data in a database and updating the path data in the cache according to the current optical fiber connection change information for the current optical fiber connection change information in the same processing batch;
iteratively executing the judging step and the data updating step until all the optical fiber connection change information in the same processing batch is processed;
And after all the optical fiber connection change information in the same processing batch is processed, updating the path data associated with the optical fiber connection data in the database according to the path data in the cache.
3. The optical fiber connection change processing method according to claim 2, wherein updating the optical fiber connection data in the database and updating the path data in the cache according to the current optical fiber connection change information comprises:
judging whether the optical fiber connection corresponding to the current optical fiber connection change information is changed or not;
and when the optical fiber connection corresponding to the current optical fiber connection change information is not changed, updating the optical fiber connection data in the database and updating the path data in the cache.
4. The optical fiber connection change processing method according to claim 2, wherein the optical fiber connection change information includes a change type of an optical fiber connection, an identification of a two-side network element and two-side ports corresponding to the optical fiber connection, and equipment management requirement information of the two-side network element.
5. The method for processing optical fiber connection change according to claim 4, wherein updating the optical fiber connection data in the database according to the current optical fiber connection change information comprises:
Judging whether configuration data of network elements on two sides corresponding to the optical fiber connection exist in the database or not under the condition that the change type of the optical fiber connection in the current optical fiber connection change information is newly added;
acquiring network element configuration data from the network elements with the configuration data not existing according to the equipment management requirement information under the condition that the configuration data of the network elements at the two sides corresponding to the optical fiber connection are not existing in the database;
under the condition that the network element configuration data is successfully obtained, storing the network element configuration data into the database;
and adding new optical fiber connection to the optical fiber connection data in the database according to the current optical fiber connection change information.
6. The optical fiber connection change processing method according to claim 5, wherein adding a new optical fiber connection to the optical fiber connection data in the database according to the current optical fiber connection change information comprises:
and adding new optical fiber connection to the optical fiber connection data in the database under the condition that the acquired network element configuration data comprises a first port corresponding to the optical fiber connection in the current optical fiber connection change information, wherein the first port is a port on the network element side, in which the configuration data does not exist, in ports on two sides corresponding to the optical fiber connection.
7. The optical fiber connection change processing method according to claim 6, further comprising:
outputting fiber connection change failure indication information under the condition that the acquired network element configuration data does not contain the first port corresponding to the fiber connection in the current fiber connection change information.
8. The optical fiber connection change processing method according to claim 5, wherein the device management requirement information of the two-side network element includes a management IP, a management port, and a vendor name of the two-side network element, and the acquiring the network element configuration data from the network element where the configuration data does not exist according to the device management requirement information includes:
acquiring a user name and a password required by network element connection according to the name of the manufacturer of the network element where the configuration data does not exist;
establishing connection with the network element with the configuration data according to the management IP and the management port of the network element with the configuration data not existing and the user name and the password required by the connection of the network element;
and after establishing connection with the network element with the configuration data not existing, acquiring the network element configuration data from the network element with the configuration data not existing.
9. The optical fiber connection change processing method according to claim 5, further comprising:
And outputting the fiber connection change failure indication information under the condition that the acquisition of the network element configuration data fails.
10. The optical fiber connection change processing method according to claim 5, wherein updating the optical fiber connection data in the database according to the current optical fiber connection change information further comprises:
and adding new optical fiber connection into the optical fiber connection data in the database according to the current optical fiber connection change information under the condition that the configuration data of the network elements at the two sides corresponding to the optical fiber connection exist in the database.
11. The method for processing optical fiber connection change according to claim 4, wherein updating the optical fiber connection data in the database according to the current optical fiber connection change information comprises:
and deleting the optical fiber connection indicated by the optical fiber connection change information from the optical fiber connection data in the database when the change type of the optical fiber connection in the current optical fiber connection change information is deleting.
12. The optical fiber connection change processing method according to any one of claims 2 to 11, wherein determining whether the optical fiber connection corresponding to the current optical fiber connection change information has been changed includes:
Judging whether index information of the optical fiber connection corresponding to the current optical fiber connection change information exists in the cache;
when the index information of the optical fiber connection corresponding to the current optical fiber connection change information exists in the cache, confirming that the optical fiber connection corresponding to the current optical fiber connection change information has been changed;
otherwise, confirming that the optical fiber connection corresponding to the current optical fiber connection change information is not changed.
13. The method for processing optical fiber connection change according to claim 12, wherein updating the optical fiber connection data in the database and the path data associated with the optical fiber connection data according to the optical fiber connection change information of the same processing lot further comprises:
and storing index information of the optical fiber connection corresponding to the current optical fiber connection change information into the cache when the optical fiber connection corresponding to the current optical fiber connection change information is not changed.
14. The optical fiber connection change processing method according to claim 13, wherein the index information of the optical fiber connection corresponding to the current optical fiber connection change information includes a two-side network element identifier and a two-side port identifier corresponding to the optical fiber connection.
15. The optical fiber connection change processing method according to any one of claims 2 to 11, wherein the iteratively performing the judging step and the data updating step until all optical fiber connection change information in the same processing batch is processed includes:
after the current optical fiber connection change information is processed, judging whether optical fiber connection change information related to the current optical fiber connection change information exists in the same processing batch, wherein a source network element of optical fiber connection in the related optical fiber connection change information is a sink network element of optical fiber connection in the current optical fiber connection change information;
processing the associated optical fiber connection change information when the optical fiber connection change information associated with the current optical fiber connection change information exists;
otherwise, continuing to process the next piece of optical fiber connection change information positioned after the current optical fiber connection change information in the same processing batch.
16. The optical fiber connection change processing method according to any one of claims 1 to 10, wherein the plurality of network elements are box-type wavelength division devices, and the path data is optical multiplexing segment path data.
17. A network management server, comprising:
the sending module is configured to send a subscription request to a plurality of network elements in the optical transmission network, wherein the subscription request carries an indication parameter, and the indication parameter is used for indicating the plurality of network elements to report optical fiber connection change information when optical fiber connection change occurs;
the receiving module is configured to receive the optical fiber connection change information reported by at least one network element in the plurality of network elements and store the optical fiber connection change information;
the acquisition module is configured to acquire a plurality of pieces of optical fiber connection change information from the stored optical fiber connection change information, and the plurality of pieces of optical fiber connection change information are used as the same processing batch;
and the updating module is configured to update the optical fiber connection data in the database and the path data associated with the optical fiber connection data according to the optical fiber connection change information of the same processing batch.
18. A fiber optic connection change processing system, comprising:
the network management server is configured to send a subscription request to a plurality of network elements in the optical transmission network, wherein the subscription request carries an indication parameter, and the indication parameter is used for indicating the plurality of network elements to report optical fiber connection change information when optical fiber connection change occurs;
The network elements are configured to report optical fiber connection change information;
the network management server is further configured to:
receiving optical fiber connection change information reported by at least one network element in the plurality of network elements, and storing the optical fiber connection change information;
acquiring a plurality of pieces of optical fiber connection change information from the stored optical fiber connection change information, and taking the plurality of pieces of optical fiber connection change information as the same processing batch;
and updating the optical fiber connection data in the database and the path data associated with the optical fiber connection data according to the optical fiber connection change information of the same processing batch.
19. An electronic device, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the fiber connection change processing method of any of claims 1 to 16 based on instructions stored in the memory.
20. A computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the fiber optic connection change processing method of any of claims 1 to 16.
CN202310826282.XA 2023-07-06 2023-07-06 Optical fiber connection change processing method, network management server and system Pending CN116709070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310826282.XA CN116709070A (en) 2023-07-06 2023-07-06 Optical fiber connection change processing method, network management server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310826282.XA CN116709070A (en) 2023-07-06 2023-07-06 Optical fiber connection change processing method, network management server and system

Publications (1)

Publication Number Publication Date
CN116709070A true CN116709070A (en) 2023-09-05

Family

ID=87841146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310826282.XA Pending CN116709070A (en) 2023-07-06 2023-07-06 Optical fiber connection change processing method, network management server and system

Country Status (1)

Country Link
CN (1) CN116709070A (en)

Similar Documents

Publication Publication Date Title
CN108600029B (en) Configuration file updating method and device, terminal equipment and storage medium
CN108234170B (en) Monitoring method and device for server cluster
WO2021233322A1 (en) Synchronization method, apparatus and device for recording data, and storage medium
CN112182104A (en) Data synchronization method, device, equipment and storage medium
CA2896865A1 (en) Method and system for using a recursive event listener on a node in hierarchical data structure
CN103346914A (en) Method and device for topological structure update of distributed file system
WO2021057605A1 (en) Device management method, device, system and device, and storage medium
WO2016074412A1 (en) Compatibility administration method based on network configuration protocol, storage medium and device
CN112764874B (en) Virtual machine server information acquisition method based on CMDB configuration management system
CN116709070A (en) Optical fiber connection change processing method, network management server and system
CN116991468A (en) Configuration file generation method, device, equipment and storage medium
CN112260902A (en) Network equipment monitoring method, device, equipment and storage medium
CN111506641A (en) Data management method, data acquisition platform, data management system and storage medium
CN111651235A (en) Virtual machine set task management method and device
CN113342456A (en) Connection method, device, equipment and storage medium
CN113141269A (en) Data acquisition method, device and system
CN112948195B (en) Interface testing method, device, electronic equipment and storage medium
CN111629054B (en) Message processing method, device and system, electronic equipment and readable storage medium
CN114827967A (en) Software updating method, Bluetooth device and storage medium
CN114090687A (en) Data synchronization method and device
CN105915596A (en) Optical network unit information acquiring method and optical network unit information acquiring system
CN112380411A (en) Sensitive word processing method and device, electronic equipment, system and storage medium
CN112423162A (en) Configuration synchronization method and system under distributed architecture
CN112860708B (en) Data consistency restoration method, system, device and equipment
CN113015198B (en) Method, device and equipment for positioning fault base station and readable 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