CN107295540B - Network element configuration method and device - Google Patents

Network element configuration method and device Download PDF

Info

Publication number
CN107295540B
CN107295540B CN201610200100.8A CN201610200100A CN107295540B CN 107295540 B CN107295540 B CN 107295540B CN 201610200100 A CN201610200100 A CN 201610200100A CN 107295540 B CN107295540 B CN 107295540B
Authority
CN
China
Prior art keywords
configuration
target
network element
configuration file
serial number
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
CN201610200100.8A
Other languages
Chinese (zh)
Other versions
CN107295540A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610200100.8A priority Critical patent/CN107295540B/en
Publication of CN107295540A publication Critical patent/CN107295540A/en
Application granted granted Critical
Publication of CN107295540B publication Critical patent/CN107295540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • H04L41/0873Checking configuration conflicts between network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

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

Abstract

The application discloses a network element configuration method and a device, wherein the network element configuration method comprises the following steps: when the target configuration file is failed to be sent to a target network element, comparing a target configuration object corresponding to the target configuration file with a configuration object corresponding to a configuration file in a preset offline configuration area, wherein the target configuration file is used for configuring the target configuration object of the target network element; when the target configuration object is different from the configuration object corresponding to the configuration file in the offline configuration area, adding the target configuration file to the offline configuration area; and when detecting that the connection with the target network element is recovered, acquiring the target configuration file from the offline configuration area, and sending the target configuration file to the target network element. The method and the device can avoid conflict among a plurality of configuration files, guarantee network quality and prevent interference on peripheral networks.

Description

Network element configuration method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network element configuration method and apparatus.
Background
In a radio access network, when a configuration Operation for planning or optimizing a network is required, in order to avoid affecting network quality, an Operation Maintenance Center (OMC) is generally required to send a configuration file (e.g., a configuration script) to a corresponding network element. Due to unstable transmission between the network element and the OMC, for example, power failure, near-end physical transmission interruption, and the like, part of the network element is in an offline link-down state.
In the prior art, when an offline network element recovers connection, a configuration file is sent to the offline network element. However, when a plurality of configurators perform configuration operations on the network element at the same time, if the operations specified by the issued configuration file conflict, the network element configuration may be abnormal, and the network quality may be affected.
Disclosure of Invention
The embodiment of the application provides a network element configuration method and device, which can avoid conflict among a plurality of configuration files and guarantee network quality.
In a first aspect, a network element configuring method is provided, where the method includes:
when the target configuration file is failed to be sent to a target network element, comparing a target configuration object corresponding to the target configuration file with a configuration object corresponding to a configuration file in a preset offline configuration area, wherein the target configuration file is used for configuring the target configuration object of the target network element; when the target configuration object is different from the configuration object corresponding to the configuration file in the offline configuration area, adding the target configuration file to the offline configuration area; and when detecting that the connection with the target network element is recovered, acquiring the target configuration file from the offline configuration area, and sending the target configuration file to the target network element.
When the configuration file is failed to be sent to the network element, the configuration file is compared with the configuration file existing in the offline configuration area to judge whether the same configuration object exists or not, and when the configuration object does not exist, the configuration file is added to the offline configuration area and is sent when the network element connection is recovered, so that the conflict among a plurality of configuration files can be avoided, the network quality is guaranteed, and the interference on the peripheral network is prevented.
With reference to the first aspect, in a first possible implementation manner, when an offline configuration file exists in the offline configuration area, where a corresponding configuration object is the same as the target configuration object, the target configuration file is discarded, or the target configuration file is added to the offline configuration area and the offline configuration file is deleted.
When the target configuration file conflicts with the offline configuration file in the offline configuration area, the configuration conflict is avoided by discarding the target configuration file or deleting the offline configuration file.
With reference to the first aspect, in a second possible implementation manner, the sending the target profile to the target network element includes: after sending another configuration file to the target network element, sending the target configuration file to the target network element, where the another configuration file is used to configure another configuration object of the target network element, and a time when the another configuration file is added to the offline configuration area is earlier than a time when the target network element is added to the offline configuration area.
The configuration files are sent according to the time sequence added to the offline configuration area, so that the issuing sequence of the configuration files is ensured, and the conflict generated in the issuing process is avoided
With reference to the first aspect, the first possible implementation manner, and the second possible implementation manner, in a third possible implementation manner, before comparing the configuration object corresponding to the target configuration file with the configuration objects corresponding to other configuration files in a preset offline configuration area, the method further includes: sending an alarm message for indicating that the target configuration file fails to be sent; receiving an adding instruction, wherein the adding instruction is used for indicating that the target configuration file is added to the offline configuration area.
When the target configuration file is failed to be sent, the alarm message is sent in time to indicate that the sending is failed, and the adding instruction is received, so that configuration personnel can know the situation in time and process the situation in time.
In a second aspect, a network element configuring method is provided, where the method includes:
when the target configuration file is failed to be sent to a target network element, adding the target configuration file to a preset offline configuration area, wherein the target configuration file is used for configuring a target configuration object of the target network element; when detecting that the connection with the target network element is recovered, acquiring the target configuration file from an offline configuration area; comparing the configuration serial number of the target configuration object in the target configuration file with the configuration serial number of the target configuration object of the target network element; and when the configuration serial number of the target configuration object in the target configuration file is the same as the configuration serial number of the target configuration object of the target network element, sending the target configuration file to the target network element.
After detecting the connection recovery of the target network element and before sending the target configuration file, the method ensures the issuing safety of the target configuration file through the configuration serial number, prevents service abnormity, can ensure the network quality to the maximum extent, improves the issuing robustness of the configuration file, and simultaneously can reduce the data synchronization quantity between the network element and the OMC and save the network resource overhead.
With reference to the second aspect, in a first possible implementation manner, when the configuration serial number of the target configuration object in the target configuration file is different from the configuration serial number of the target configuration object of the target network element, a blocking instruction is sent to the target network element, where the blocking instruction is used to enable the target network element to enter a blocking state, and the target network element does not access a service in the blocking state.
By sending the blocking instruction, the target network element is prevented from accessing the network according to the old configuration, the influence on the peripheral network is prevented, and the abnormal service is prevented.
With reference to the second aspect, in a second possible implementation manner, after the sending the target profile to the target network element, the method further includes: and sending a blocking instruction to the target network element from the moment of sending the target configuration file to the target network element when the response information of the target configuration file sent by the target network element is not received after waiting for a preset time, wherein the blocking instruction is used for enabling the target network element to enter a blocking state, and the target network element does not access a service in the blocking state.
By sending the blocking instruction, the target network element is prevented from accessing the network according to the old configuration, the influence on the peripheral network is prevented, and the abnormal service is prevented.
With reference to the first and second possible implementation manners, in a third possible implementation manner, after the sending the blocking instruction to the target network element, the method further includes: and sending an alarm message for indicating that the target configuration file fails to be sent.
And by sending the alarm message, the target configuration file is timely notified of the failure of sending, so that the configuration personnel can timely process the target configuration file.
With reference to the second aspect, in a fourth possible implementation manner, starting from the time when the target profile is sent to the target network element, when response information of the target profile sent by the target network element is received within a preset waiting time, a notification message is sent, so as to indicate that the target profile is successfully sent.
By sending the notification message, the successful sending is indicated, so that configuration personnel can know the issuing condition in time.
In a third aspect, there is provided a network element configuring apparatus, comprising a transmitter, a processor and a memory,
the processor is configured to read the code in the memory for performing: when the sender fails to send a target configuration file to a target network element, comparing a target configuration object corresponding to the target configuration file with a configuration object corresponding to a configuration file in a preset offline configuration area, wherein the target configuration file is used for configuring the target configuration object of the target network element; the processor is further configured to add the target configuration file to the offline configuration area when the target configuration object is different from the configuration object corresponding to the configuration file in the offline configuration area; the processor is further configured to obtain the target configuration file from the offline configuration area when detecting that the connection with the target network element is restored, and the transmitter is configured to transmit the target configuration file to the target network element.
When the configuration file is failed to be sent to the network element, the configuration file is compared with the configuration file existing in the offline configuration area to judge whether the same target configuration object exists or not, and if the same target configuration object does not exist, the configuration file is added to the offline configuration area and is sent when the network element connection is recovered, so that the conflict among a plurality of configuration files can be avoided, the network quality is guaranteed, and the interference on the peripheral network is prevented.
With reference to the third aspect, in a first possible implementation manner, the processor is further configured to discard the target configuration file, or add the target configuration file to the offline configuration area and delete the offline configuration file, when an offline configuration file exists in the offline configuration area, where a corresponding configuration object is the same as the target configuration object.
When the target configuration file conflicts with the offline configuration file in the offline configuration area, the configuration conflict is avoided by discarding the target configuration file or deleting the offline configuration file.
With reference to the third aspect, in a second possible implementation manner, the sending, by the sender, the target profile to the target network element includes: the transmitter is further configured to send another configuration file to the target network element after sending the other configuration file to the target network element, where the other configuration file is used to configure another configuration object of the target network element, and a time when the other configuration file is added to the offline configuration area is earlier than a time when the target network element is added to the offline configuration area. .
The configuration files are sent according to the time sequence added to the offline configuration area, so that the issuing sequence of the configuration files is ensured, and the conflict generated in the issuing process is avoided.
With reference to the third aspect, the first possible implementation manner, and the second possible implementation manner, in a third possible implementation manner, the transmitter is further configured to send an alarm message, which is used to indicate that the target profile fails to be sent; the receiver is configured to receive an adding instruction, where the adding instruction is used to instruct to add the target configuration file to the offline configuration area.
When the target configuration file is failed to be sent, the alarm message is sent in time to indicate that the sending is failed, and the adding instruction is received, so that configuration personnel can know the situation in time and process the situation in time.
In a fourth aspect, an apparatus for configuring a network element is provided, including: a transmitter, a processor and a memory,
the processor is configured to read the code in the memory for performing: when the sender fails to send the target configuration file to the target network element, adding the target configuration file to a preset offline configuration area, wherein the target configuration file is used for configuring a target configuration object of the target network element; the processor is further configured to obtain the target configuration file from an offline configuration area when detecting that the connection with the target network element is restored; the processor is further configured to compare the configuration serial number of the target configuration object in the target configuration file with the configuration serial number of the target configuration object of the target network element; the sender is further configured to send the target configuration file to the target network element when the configuration serial number of the target configuration object in the target configuration file is the same as the configuration serial number of the target configuration object of the target network element.
After detecting the connection recovery of the target network element and before sending the target configuration file, the method ensures the issuing safety of the target configuration file through the configuration serial number, prevents service abnormity, can ensure the network quality to the maximum extent, improves the issuing robustness of the configuration file, and simultaneously can reduce the data synchronization quantity between the network element and the OMC and save the network resource overhead.
With reference to the fourth aspect, in a first possible implementation manner, the transmitter is further configured to send a blocking instruction to the target network element when the configuration serial number of the target configuration object in the target configuration file is different from the configuration serial number of the target configuration object of the target network element, where the blocking instruction is used to enable the target network element to enter a blocking state, and the target network element does not access a service in the blocking state.
By sending the blocking instruction, the target network element is prevented from accessing the network according to the old configuration, the influence on the peripheral network is prevented, and the abnormal service is prevented.
With reference to the fourth aspect, in a second possible implementation manner, the method further includes: the receiver is further configured to send a blocking instruction to the target network element from the time when the target configuration file is sent to the target network element, when the receiver does not receive response information of the target configuration file sent by the target network element after waiting for a preset time period, where the blocking instruction is used to enable the target network element to enter a blocking state, and the target network element does not access a service in the blocking state.
By sending the blocking instruction, the target network element is prevented from accessing the network according to the old configuration, the influence on the peripheral network is prevented, and the abnormal service is prevented.
With reference to the first and second possible implementation manners, in a third possible implementation manner, the transmitter is further configured to send an alarm message, which is used to indicate that the target profile fails to be sent.
With reference to the fourth aspect, in a fourth possible implementation manner, the transmitter is further configured to send, starting from the time when the target profile is sent to the target network element, a notification message for indicating that the target profile is successfully sent when the receiver receives response information of the target profile sent by the target network element within a preset time period.
By sending the notification message, the successful sending is indicated, so that configuration personnel can know the issuing condition in time.
In a fifth aspect, a network element configuring apparatus is provided, configured to execute the network element configuring method in the first aspect.
In a sixth aspect, a network element configuring apparatus is provided, configured to execute the network element configuring method in the second aspect.
In a seventh aspect, a computer storage medium is provided, where the computer storage medium stores program codes for executing the network element configuring method in the first aspect.
In an eighth aspect, a computer storage medium is provided, in which program codes are stored, and the program codes are used for executing the network element configuring method in the second aspect.
Drawings
Fig. 1 is an implementation environment diagram of a network element configuring method in this embodiment.
Fig. 2 is a schematic diagram of sending a configuration file in the embodiment of the present application.
Fig. 3 is a flowchart of a first embodiment of a network element configuring method in an embodiment of the present application.
Fig. 4 is a flowchart of a second embodiment of a network element configuring method in an embodiment of the present application.
Fig. 5 is a flowchart of a third embodiment of a network element configuring method in an embodiment of the present application.
Fig. 6 is a flowchart of a fourth embodiment of a network element configuring method in an embodiment of the present application.
Fig. 7 is a flowchart of a fifth embodiment of a network element configuring method in an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a first embodiment of a network element configuring apparatus in an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a second embodiment of a network element configuring apparatus in an embodiment of the present application.
Fig. 10 is a schematic structural diagram of a third embodiment of a network element configuring apparatus in an embodiment of the present application.
Detailed Description
The technical scheme provided by the application is applied to the OMC, when the configuration file is failed to be sent to the network element, whether the same configuration object exists or not is judged by comparing the configuration file with the existing configuration file in the offline configuration area, and when the configuration file does not exist, the configuration file is added into the offline configuration area and is sent when the network element connection is recovered, so that the conflict among a plurality of configuration files can be avoided, the network quality is guaranteed, and the interference on the peripheral network is prevented.
Fig. 1 is a diagram of an implementation environment of a network element configuring method in this embodiment. As shown in fig. 1, an Operation and Maintenance Center (OMC) is connected to a plurality of network elements (an exemplary network element 10, a network element 20, and a network element 30 are shown in the figure), and is configured to manage the plurality of network elements and manage configuration objects of the network elements, where the configuration objects include configuration parameters, network specification and network optimization parameters, and the like. In this embodiment, the network element may be a base station. In the figure, the network element 40 is in a broken link and offline state for some reason, at this time, the OMC cannot communicate with the network element 40, and cannot send the configuration file to the network element 40 in time. Therefore, the OMC stores the configuration file for configuring the network element 40 in the offline configuration area, and when detecting that the connection with the network element 40 is restored, the OMC timely acquires the configuration file corresponding to the network element 40 from the offline configuration area, thereby ensuring the network quality and avoiding interference.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating a configuration file sending method according to an embodiment of the present application. A configurator first configures a target configuration file for the network element 40 on the OMC, and the OMC sends the target configuration file to the network element 40, at this time, the sending fails because the network element 40 is in a broken link off-line state. And the OMC judges whether the target configuration file is the same as a configuration object corresponding to a configuration file in a preset offline configuration area or not, and stores the target configuration file in the offline configuration area when the target configuration file is different from the configuration object. And when the OMC detects that the connection of the network element 40 is recovered, acquiring the target configuration file from the offline configuration area, and sending the target configuration file to the network element 40, thereby completing the configuration operation of the network element 40.
Fig. 3 is a flowchart illustrating a first embodiment of a network element configuring method in an embodiment of the present application. The network element configuration method is applied to OMC and comprises steps S101-S103.
In step S101, when it is failed to send a target configuration file to a target network element, comparing a target configuration object corresponding to the target configuration file with a configuration object corresponding to a configuration file in a preset offline configuration area, where the target configuration file is used to configure the target configuration object of the target network element.
In this step, a target configuration file is first sent to a target network element, where the target configuration file may be input or imported on an OMC by a configurator, the target configuration file is used to configure a target configuration object of the target network element, and the target configuration object may be a configuration parameter of the target network element, such as a PCI (Physical Cell identity), for example. When the target network element is in an offline state, the transmission will fail. At this time, the target configuration object corresponding to the target configuration file is compared with the configuration object corresponding to the configuration file in the preset offline configuration area. And the preset offline configuration area is used for storing the configuration file which fails to be sent. When the sending of the configuration file fails, the configuration file is firstly stored in the offline configuration area, so that the configuration file can be sent again when the network element recovers connection subsequently. Since each configuration file corresponds to a configuration object of a network element, when two configuration files correspond to one configuration object, a conflict may occur, and therefore, when a target configuration file fails to be sent, a target configuration object corresponding to the target configuration file may be compared with a configuration object corresponding to a configuration file in an offline configuration area.
In step S102, when the target configuration object is not the same as the configuration object corresponding to the configuration file in the offline configuration area, adding the target configuration file to the offline configuration area.
In this step, when the target configuration object corresponding to the target configuration file is different from the configuration object corresponding to the configuration file in the offline configuration area, it indicates that the target configuration file does not conflict with the configuration file in the offline configuration area, and at this time, the target configuration file is added to the offline configuration area. Since there may exist a plurality of configuration files corresponding to different network elements in the offline configuration area, when comparing with the target configuration object corresponding to the target configuration file, the selected configuration file also corresponds to the same target network element. It will be appreciated that if two profiles are used to configure different network elements, respectively, no conflict will occur between the two profiles. In this embodiment, it is described as an example whether there is a conflict between a plurality of profiles configuring the same target network element. It can be understood by those skilled in the art that if there are multiple profiles corresponding to different network elements, the comparison may also be performed according to the method in this embodiment, that is, the profiles corresponding to the same network element are determined first, and then the comparison is performed to determine whether the configuration objects corresponding to the profiles are the same. Through comparison, when the target configuration object is different from the configuration object corresponding to the configuration file in the offline configuration area, the target configuration file is added to the offline configuration area, so that conflict between the target configuration file and the configuration file in the offline configuration area is avoided.
In step S103, when detecting that the connection with the target network element is restored, the target configuration file is obtained from the offline configuration area, and the target configuration file is sent to the target network element.
In this step, when detecting that the connection with the target network element is restored, it indicates that the configuration file can be sent. At this time, a target configuration file is obtained from the off-line configuration area, and the target configuration file is sent to the target network element. In this embodiment, the OMC determines whether the connection with the target network element is restored by sending a Transmission Control Protocol (TCP) connection at a fixed time, and when detecting that the connection with the target network element is restored, it indicates that the target network element is currently restored from a broken link offline state, and at this time, the target network element needs to be configured in time, so that a configuration file for configuring the target network element is obtained from an offline configuration area.
In other embodiments, when sending the target profile to the target network element, the method may further include: after sending another configuration file to the target network element, sending the target configuration file to the target network element, where the another configuration file is used to configure another configuration object of the target network element, and a time when the another configuration file is added to the offline configuration area is earlier than a time when the target network element is added to the offline configuration area. Because a plurality of configuration files for configuring the same target network element may exist in the offline configuration area, the configuration files can be sent according to the time sequence added to the offline configuration area during sending, so that the sending sequence of the configuration files is ensured, and the conflict generated in the sending process is avoided.
In the embodiment of the application, when the configuration file is failed to be sent to the network element, the configuration file is compared with the existing configuration file in the offline configuration area to judge whether the same configuration object exists or not, and if the same configuration object does not exist, the configuration file is added to the offline configuration area and is sent when the network element connection is recovered, so that the conflict among a plurality of configuration files can be avoided, the network quality is guaranteed, and the interference on the peripheral network is prevented.
Fig. 4 is a flowchart illustrating a second embodiment of a network element configuring method in an embodiment of the present application. Compared with the first embodiment shown in fig. 3, in this embodiment, the network element configuring method is applied to the OMC, and further includes a processing step when the target configuration object is the same as the configuration object corresponding to the configuration file in the offline configuration area, where the network element configuring method includes steps S201 to S204.
In step S201, when it is failed to send a target configuration file to a target network element, comparing a target configuration object corresponding to the target configuration file with a configuration object corresponding to a configuration file in a preset offline configuration area, where the target configuration file is used to configure the target configuration object of the target network element.
In step S202, when the target configuration object is not the same as the configuration object corresponding to the configuration file in the offline configuration area, the target configuration file is added to the offline configuration area.
In step S203, when detecting that the connection with the target network element is restored, the target configuration file is obtained from the offline configuration area, and the target configuration file is sent to the target network element.
In step S204, when an offline configuration file exists in the offline configuration area, where the corresponding configuration object is the same as the target configuration object, the target configuration file is discarded, or the target configuration file is added to the offline configuration area and the offline configuration file is deleted.
In this step, when there is an offline configuration file in the offline configuration area, where the corresponding configuration object is the same as the target configuration object, a conflict may be generated if the target configuration file is directly added, so that the target configuration file may be discarded at this time, or the offline configuration file that conflicts with the target configuration file is deleted, and the target configuration file is added to the offline configuration area. It can be understood that which one is reserved may be determined according to specific configuration information of the target configuration file and the offline configuration file, and the embodiment of the present invention is not limited thereto.
In the embodiment of the application, when the configuration file is failed to be sent to the network element, the configuration file is compared with the existing configuration file in the offline configuration area to judge whether the same configuration object exists or not, if not, the configuration file is added to the offline configuration area, and if so, the configuration file is deleted, so that the conflict among a plurality of configuration files can be avoided, the network quality is guaranteed, and the interference on the peripheral network is prevented.
Fig. 5 is a flowchart illustrating a third embodiment of a network element configuring method in this embodiment. Compared with the first embodiment shown in fig. 3, in this embodiment, the network element configuring method is further applied to the OMC, and includes a processing step when the target configuration file fails to be sent, and the network element configuring method includes steps S301 to S305. It is understood that the processing steps when the target profile fails to be sent in this embodiment may also be applied to the second embodiment shown in fig. 4.
In step S301, when sending the target profile to the target network element fails, an alarm message is sent to indicate that sending of the target profile fails.
In this step, when sending the target configuration file fails, an alarm message is sent to a preset object, where the preset object may be a configuration person. The alarm message is used for indicating that the target configuration file fails to be sent.
In step S302, an adding instruction is received, where the adding instruction is used to instruct to add the target configuration file to the offline configuration area.
In this step, an adding instruction is received, where the adding instruction may be made by a configuration person, and the adding instruction is used to instruct to add the target configuration file to the offline configuration area.
In step S303, comparing the target configuration object corresponding to the target configuration file with a configuration object corresponding to a configuration file in a preset offline configuration area, where the target configuration file is used to configure the target configuration object of the target network element.
In step S304, when the target configuration object is not the same as the configuration object corresponding to the configuration file in the offline configuration area, adding the target configuration file to the offline configuration area.
In step S305, when detecting that the connection with the target network element is restored, the target configuration file is obtained from the offline configuration area, and the target configuration file is sent to the target network element.
According to the embodiment of the application, when the configuration file is failed to be sent to the network element, the alarm information is sent in time, the configuration file is compared with the configuration file existing in the offline configuration area according to the received instruction, whether the same configuration object exists or not is judged, and when the same configuration object does not exist, the configuration file is added into the offline configuration area and is sent when the network element connection is recovered, so that the conflict among a plurality of configuration files can be avoided, the network quality is guaranteed, and the interference on the peripheral network is prevented.
Fig. 6 is a flowchart illustrating a fourth embodiment of a network element configuring method in an embodiment of the present application. The network element configuration method is applied to OMC, when the configuration file is sent to the target network element, in order to further ensure the consistency between the configuration file and the network element and improve the robustness of the configuration file issuing, in the embodiment, the configuration serial number of the configuration file is further compared with the network element. The network element configuration method comprises the following steps S401-S404.
In step S401, when it is failed to send a target configuration file to a target network element, the target configuration file is added to a preset offline configuration area, where the target configuration file is used to configure a target configuration object of the target network element.
In this step, when the target configuration file is failed to be sent to the target network element, the target configuration file is added to a preset offline configuration area, so as to facilitate the subsequent sending after the connection of the target network element is recovered. The target configuration file is used for configuring a target configuration object of a target network element.
In step S402, when detecting that the connection with the target network element is restored, the target profile is obtained from the offline configuration area.
In this step, when detecting that the connection of the target network element is recovered, the target configuration file is obtained from the offline configuration area.
In step S403, the configuration serial number of the target configuration object in the target configuration file is compared with the configuration serial number of the target configuration object of the target network element.
In this step, after the target configuration file is obtained, the configuration serial number of the target configuration object corresponding to the target configuration file is compared with the configuration serial number of the target configuration object of the target network element. The configuration serial number is used for incremental configuration synchronization between the OMC and the network element, and when the configuration of the network element is changed, the configuration serial number stored on the network element is automatically increased. Before the OMC and the network element are synchronized each time, the configuration serial numbers of the two parties are compared to judge whether the configuration serial numbers are the same, if so, the OMC and the network element are consistent in configuration and do not need to be synchronized. If the two configurations are different, the configuration is inconsistent, and at this time, the network element is required to report the configuration change to the OMC, and the OMC performs synchronous update. The configuration serial number comprises a configuration serial number based on the network element overall configuration change record and a configuration serial number based on the configuration object of the network element. When judging whether the target configuration file is matched with the target network element, the configuration serial number based on the whole configuration change record of the network element or the configuration serial number based on the configuration object of the network element can be adopted. In this embodiment, since there may be other configuration personnel on the network element side to modify the relevant parameters, for example, an equipment maintenance engineer and a transmission maintenance personnel may also adjust the relevant parameters when modifying or configuring the network element, in order to more accurately determine whether the target configuration file is matched with the target network element, the configuration serial number of the configuration object of the target network element is obtained in this step. Therefore, the problem of conflict caused by other personnel modifying the parameters of the network element equipment can be effectively avoided, and the robustness of issuing the target configuration file is improved.
In step S404, when the configuration serial number of the target configuration object in the target configuration file is the same as the configuration serial number of the target configuration object of the target network element, the target configuration file is sent to the target network element.
In this step, when the configuration serial number of the target configuration object in the target configuration file is the same as the configuration serial number of the target configuration object of the target network element, it indicates that the OMC is consistent with the configuration of the target network element at this time, and the configuration file may be issued, and at this time, the target configuration file is sent to the target network element.
After detecting the connection recovery of the target network element and before sending the target configuration file, the embodiment of the application further ensures the issuing safety of the target configuration file through the configuration serial number, prevents the service exception, can ensure the network quality to the maximum extent, improves the issuing robustness of the configuration file, and simultaneously can reduce the data synchronization quantity between the network element and the OMC and save the network resource overhead.
Fig. 7 is a flowchart illustrating a fifth embodiment of a network element configuring method in an embodiment of the present application. The network element configuration method is applied to OMC, and in this embodiment, the network element configuration method includes the following steps S501 to S509.
In step S501, when it is failed to send a target configuration file to a target network element, the target configuration file is added to a preset offline configuration area, where the target configuration file is used to configure a target configuration object of the target network element.
In step S502, when it is detected that the connection with the target network element is recovered, the target configuration file is obtained from the offline configuration area.
In step S503, the configuration serial number of the target configuration object in the target configuration file is compared with the configuration serial number of the target configuration object of the target network element.
In step S504, when the configuration serial number of the target configuration object in the target configuration file is the same as the configuration serial number of the target configuration object of the target network element, the target configuration file is sent to the target network element.
In step S505, it is determined whether response information of the target profile sent by the target network element is received within a preset time duration.
In this step, after the target configuration file is sent, it is determined whether the response message sent by the target network element is received within a preset time period from the time when the target configuration file is sent. The response message is used to indicate that the target network element receives the target profile. Optionally, the response message may further indicate that the target profile is activated on the network element side. If the response message is received, go to step S506; if the response message is not received, the process proceeds to step S507.
In step S506, a notification message is sent to indicate that the target profile is successfully sent.
In this step, starting from the time when the target configuration file is sent to the target network element, when response information of the target configuration file sent by the target network element is received within a preset waiting time, it indicates that the target network element receives the target configuration file, and at this time, a notification message is sent, where the notification message is used to indicate that the target configuration file is successfully sent. It will be appreciated that the notification message may be sent to configuration personnel as well as network management personnel.
In step S507, a blocking instruction is sent to the target network element, where the blocking instruction is used to enable the target network element to enter a blocking state, and the target network element does not access a service in the blocking state.
In this step, when the response information of the target configuration file sent by the target network element is not received after waiting for a preset time period from the time when the target configuration file is sent to the target network element, it indicates that the sending of the target configuration file fails or the activation at the network element side fails. At this time, if the target network element is allowed to access the network according to the old configuration, the service may also be abnormal, and interference may be generated on the peripheral network, so that a blocking instruction needs to be sent to the target network element, the blocking instruction is used to control the target network element to enter a blocking state, and the target network element does not access the service in the blocking state, thereby avoiding the influence on the peripheral network and preventing the service from being abnormal.
In step S508, when the configuration serial number of the target configuration object in the target configuration file is different from the configuration serial number of the target configuration object of the target network element, a blocking instruction is sent to the target network element, where the blocking instruction is used to enable the target network element to enter a blocking state, and the target network element does not access a service in the blocking state.
In this step, when the configuration serial number of the configuration object in the target configuration file is different from the configuration serial number of the configuration object of the target network element, it indicates that the configuration on the network element is inconsistent with the OMC at this time, and there is a safety risk when the target configuration file is issued. Therefore, the target profile is stopped being issued at this time. However, if the target network element is allowed to access the network according to the old configuration, the service may be abnormal, and interference may be generated on the peripheral network, so that a blocking instruction needs to be sent to the target network element, where the blocking instruction is used to control the target network element to enter a blocking state, and the target network element does not access the service in the blocking state, thereby avoiding influence on the peripheral network and preventing the service from being abnormal.
In step S509, an alarm message is sent to indicate that the target profile fails to be sent.
In this step, after sending the blocking instruction, an alarm message needs to be sent, where the alarm message is used to indicate that the target configuration file fails to be sent. It will be appreciated that the alarm message may be sent to configuration personnel as well as network management personnel.
After detecting the connection recovery of the target network element and before sending the target configuration file, the embodiment of the application further ensures the issuing safety of the target configuration file through the configuration serial number, and controls the network element to enter the blocking state through sending the blocking instruction when the configuration serial number is inconsistent or the target configuration file is failed to be sent, thereby avoiding the influence on the peripheral network, preventing the service abnormality and ensuring the network quality to the maximum extent.
To facilitate better implementation of the above-described aspects of the embodiments of the present application, the following also provides relevant means for implementing the above-described aspects in cooperation.
Fig. 8 is a schematic structural diagram of a first embodiment of a network element configuring apparatus in an embodiment of the present application. The network element configuring apparatus may be an OMC, and in this embodiment, the network element configuring apparatus includes a receiver 801, a transmitter 802, and a processor 803. The receiver 801, the transmitter 802 and the processor 803 may communicate with each other via a bus. The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
The network element configuring device may further include a memory 804, where the memory 804 may include a volatile memory (such as a random-access memory (RAM); the memory 804 may also include a non-volatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviated: HDD) or a solid-state drive (english: SSD); the memory 804 may also comprise a combination of memories of the above kind, the memory 804 being operable to store the configuration files in the offline configuration.
The processor 803 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
The processor 803 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 804 is also used for storing program instructions. The processor 803 may invoke the program instructions to implement the method as shown in fig. 3-7 of the present application.
In one embodiment, the processor 803 is configured to read the code in the memory 804 to perform: when the sender 802 fails to send a target configuration file to a target network element, comparing a target configuration object corresponding to the target configuration file with a configuration object corresponding to a configuration file in a preset offline configuration area, where the target configuration file is used for configuring the target configuration object of the target network element;
the processor 803 is further configured to add the target configuration file to the offline configuration area when the target configuration object is not the same as the configuration object corresponding to the configuration file in the offline configuration area;
the processor 803 is further configured to, when it is detected that the connection with the target network element is recovered, obtain the target profile from the offline configuration area, and the transmitter 802 is configured to transmit the target profile to the target network element.
Further, optionally, the processor 803 is further configured to discard the target configuration file when an offline configuration file exists in the offline configuration area, where a corresponding configuration object is the same as the target configuration object, or add the target configuration file to the offline configuration area and delete the offline configuration file.
Further, optionally, the transmitter 802 transmits the target profile to the target network element, including: the sender 802 is further configured to send another configuration file to the target network element after sending the target configuration file to the target network element, where the another configuration file is used to configure another configuration object of the target network element, and a time when the another configuration file is added to the offline configuration area is earlier than a time when the target network element is added to the offline configuration area.
Further, optionally, the transmitter 802 is further configured to send an alarm message, which is used to indicate that the target profile fails to be sent; the receiver 801 is configured to receive an adding instruction, where the adding instruction is used to instruct to add the target configuration file to the offline configuration area.
In the embodiment of the application, when the configuration file is failed to be sent to the network element, the configuration file is compared with the existing configuration file in the offline configuration area to judge whether the same configuration object exists or not, and if the same configuration object does not exist, the configuration file is added to the offline configuration area and is sent when the network element connection is recovered, so that the conflict among a plurality of configuration files can be avoided, the network quality is guaranteed, and the interference on the peripheral network is prevented.
In another embodiment, the processor 803 is configured to read the code in the memory 804 to perform: when the sender 802 fails to send a target configuration file to a target network element, adding the target configuration file to a preset offline configuration area, where the target configuration file is used for configuring a target configuration object of the target network element;
the processor 803 is further configured to, when it is detected that the connection with the target network element is recovered, obtain the target configuration file from the offline configuration area;
the processor 803 is further configured to compare the configuration serial number of the target configuration object in the target configuration file with the configuration serial number of the target configuration object of the target network element;
the sender 802 is further configured to send the target configuration file to the target network element when the configuration serial number of the target configuration object in the target configuration file is the same as the configuration serial number of the target configuration object of the target network element.
Further, optionally, the transmitter 802 is further configured to send a blocking instruction to the target network element when the configuration serial number of the target configuration object in the target configuration file is different from the configuration serial number of the target configuration object of the target network element, where the blocking instruction is used to enable the target network element to enter a blocking state, and the target network element does not access a service in the blocking state.
Further, optionally, the transmitter 802 is further configured to, starting from the time when the target profile is sent to the target network element, send a blocking instruction to the target network element when the receiver 801 does not receive the response information of the target profile sent by the target network element after waiting for a preset time, where the blocking instruction is used to enable the target network element to enter a blocking state, and the target network element does not access a service in the blocking state.
Further, optionally, the transmitter 802 is further configured to send an alarm message, which is used to indicate that the target profile fails to be sent.
Further, optionally, the transmitter 802 is further configured to, starting from the time when the target profile is sent to the target network element, send a notification message when the receiver 801 waits for a preset time period to receive the response information of the target profile sent by the target network element, where the notification message is used to indicate that the target profile is successfully sent.
After detecting the connection recovery of the target network element and before sending the target configuration file, the embodiment of the application further ensures the issuing safety of the target configuration file through the configuration serial number, prevents the service exception, can ensure the network quality to the maximum extent, improves the issuing robustness of the configuration file, and simultaneously can reduce the data synchronization quantity between the network element and the OMC and save the network resource overhead.
Fig. 9 is a schematic structural diagram of a second embodiment of a network element configuring apparatus in an embodiment of the present application. In this embodiment, the network element configuration apparatus is applied to the OMC:
the network element configuring device may include:
a comparing module 901, configured to, when it fails to send a target configuration file to a target network element, compare a target configuration object corresponding to the target configuration file with a configuration object corresponding to a configuration file in a preset offline configuration area, where the target configuration file is used to configure the target configuration object of the target network element;
an adding module 902, configured to add the target configuration file to the offline configuration area when the target configuration object is different from a configuration object corresponding to the configuration file in the offline configuration area;
a sending module 903, configured to obtain the target configuration file from the offline configuration area when detecting that the connection with the target network element is restored, and send the target configuration file to the target network element.
Further, optionally, the adding module 902 is further configured to discard the target configuration file when an offline configuration file exists in the offline configuration area, where the corresponding configuration object is the same as the target configuration object, or add the target configuration file to the offline configuration area and delete the offline configuration file.
Further, optionally, the sending module 903 is further configured to send another configuration file to the target network element after sending the another configuration file to the target network element, where the another configuration file is used to configure another configuration object of the target network element, and a time when the another configuration file is added to the offline configuration area is earlier than a time when the target network element is added to the offline configuration area.
Further, optionally, the comparing module 901 is further configured to send an alarm message, which is used to indicate that the target configuration file fails to be sent; receiving an adding instruction, wherein the adding instruction is used for indicating that the target configuration file is added to the offline configuration area.
It can be understood that the functions of the functional modules of the apparatus in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not described herein again.
In the embodiment of the application, when the configuration file is failed to be sent to the network element, the configuration file is compared with the existing configuration file in the offline configuration area to judge whether the same configuration object exists or not, and if the same configuration object does not exist, the configuration file is added to the offline configuration area and is sent when the network element connection is recovered, so that the conflict among a plurality of configuration files can be avoided, the network quality is guaranteed, and the interference on the peripheral network is prevented.
Fig. 10 is a schematic structural diagram of a third embodiment of a network element configuring apparatus in an embodiment of the present application. In this embodiment, the network element configuration apparatus is applied to the OMC:
the network element configuring device may include:
a configuration file adding module 1001, configured to add a target configuration file to a preset offline configuration area when sending the target configuration file to a target network element fails, where the target configuration file is used to configure a target configuration object of the target network element;
a configuration file obtaining module 1002, configured to obtain the target configuration file from the offline configuration area when detecting that the connection with the target network element is restored;
a configuration serial number comparing module 1003, configured to compare the configuration serial number of the target configuration object in the target configuration file with the configuration serial number of the target configuration object of the target network element;
a configuration file sending module 1004, configured to send the target configuration file to the target network element when the configuration serial number of the target configuration object in the target configuration file is the same as the configuration serial number of the target configuration object of the target network element.
Further, optionally, the method further includes a block instruction sending module 1005, where the block instruction sending module 1005 is configured to send a block instruction to the target network element when the configuration serial number of the target configuration object in the target configuration file is different from the configuration serial number of the target configuration object of the target network element, where the block instruction is used to enable the target network element to enter a block state, and the target network element does not access the service in the block state.
Further, optionally, the blocking instruction sending module 1005 is further configured to, starting from the time when the target configuration file is sent to the target network element, send a blocking instruction to the target network element when a response message of the target configuration file sent by the target network element is not received after waiting for a preset time, where the blocking instruction is used to enable the target network element to enter a blocking state, and the target network element does not access a service in the blocking state.
Further, optionally, the method further includes a notification module 1006, where the notification module 1006 is configured to send an alarm message after the blocking instruction is sent to the target network element, so as to indicate that the target profile fails to be sent.
Further, optionally, the notifying module 1006 is further configured to send a notification message, starting from the time when the target profile is sent to the target network element, when response information of the target profile sent by the target network element is received within a preset waiting time, to indicate that the target profile is successfully sent.
It can be understood that the functions of the functional modules of the apparatus in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description of the foregoing method embodiment, which is not described herein again.
After detecting the connection recovery of the target network element and before sending the target configuration file, the embodiment of the application further ensures the issuing safety of the target configuration file through the configuration serial number, prevents the service exception, can ensure the network quality to the maximum extent, improves the issuing robustness of the configuration file, and simultaneously can reduce the data synchronization quantity between the network element and the OMC and save the network resource overhead.
Embodiments of the present application also provide a computer storage medium, which may store a program, and when the program is executed, the program includes the steps of the method shown in fig. 3-7.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (16)

1. A method for configuring a network element, the method comprising: when the OMC fails to send a target configuration file to a target network element, comparing a target configuration object corresponding to the target configuration file with a configuration object corresponding to a configuration file in a preset offline configuration area, wherein the target configuration file is used for configuring the target configuration object of the target network element, and the target configuration object comprises a Physical Cell Identifier (PCI) of the target network element;
when the target configuration object is different from the configuration object corresponding to the configuration file in the offline configuration area, adding the target configuration file to the offline configuration area;
when detecting that the connection with the target network element is recovered, acquiring the target configuration file from the offline configuration area, and comparing the configuration serial number of the target configuration object in the target configuration file with the configuration serial number of the target configuration object of the target network element; when the configuration serial number of the target configuration object in the target configuration file is the same as the configuration serial number of the target configuration object of the target network element, sending the target configuration file to the target network element;
wherein the method further comprises: when the configuration serial number of the target configuration object in the target configuration file is different from the configuration serial number of the target configuration object of the target network element, sending a blocking instruction to the target network element, wherein the blocking instruction is used for enabling the target network element to enter a blocking state, and the target network element does not access a service in the blocking state, wherein the configuration serial number is used for incremental configuration synchronization between an OMC and the network element; if the two configurations are different, the configurations are not consistent, the network element is required to report the configuration change to the OMC at the moment, the OMC carries out synchronous update, the configuration serial number comprises a configuration serial number based on the whole configuration change record of the network element and a configuration serial number based on the configuration object of the network element,
when judging whether the target configuration file is matched with the target network element, adopting a configuration serial number based on the whole configuration change record of the network element or adopting a configuration serial number based on a configuration object of the network element.
2. The method of network element provisioning of claim 1,
the method further comprises the following steps: when an offline configuration file with a corresponding configuration object identical to the target configuration object exists in the offline configuration area, discarding the target configuration file, or adding the target configuration file to the offline configuration area and deleting the offline configuration file.
3. The method for configuring a network element of claim 1, wherein the sending the target configuration file to the target network element comprises:
after sending another configuration file to the target network element, sending the target configuration file to the target network element, where the another configuration file is used to configure another configuration object of the target network element, and a time when the another configuration file is added to the offline configuration area is earlier than a time when the target network element is added to the offline configuration area.
4. A method as claimed in any one of claims 1 to 3, wherein before comparing the configuration object corresponding to the target configuration file with the configuration objects corresponding to other configuration files in a preset offline configuration area, the method further comprises:
sending an alarm message for indicating that the target configuration file fails to be sent;
receiving an adding instruction, wherein the adding instruction is used for indicating that the target configuration file is added to the offline configuration area.
5. A method for configuring a network element, the method comprising: an operation maintenance center OMC adds a target configuration file to a preset offline configuration area when the target configuration file is failed to be sent to a target network element, wherein the target configuration file is used for configuring a target configuration object of the target network element; when detecting that the connection with the target network element is recovered, acquiring the target configuration file from an offline configuration area; the target configuration object comprises a Physical Cell Identity (PCI) of the target network element;
comparing the configuration serial number of the target configuration object in the target configuration file with the configuration serial number of the target configuration object of the target network element;
when the configuration serial number of the target configuration object in the target configuration file is the same as the configuration serial number of the target configuration object of the target network element, sending the target configuration file to the target network element;
wherein the method further comprises:
when the configuration serial number of the target configuration object in the target configuration file is different from the configuration serial number of the target configuration object of the target network element, sending a blocking instruction to the target network element, wherein the blocking instruction is used for enabling the target network element to enter a blocking state, the target network element does not access a service in the blocking state, the configuration serial number is used for incremental configuration synchronization between the OMC and the network element, and when the configuration of the network element is changed, the configuration serial number stored on the network element is automatically increased, wherein before the OMC and the network element are synchronized each time, the configuration serial numbers of the OMC and the network element are compared to determine whether the configuration serial numbers of the OMC and the network element are the same or not, and if the configuration serial numbers of the OMC and the network element are the same, the synchronization; if the two configurations are different, the configurations are not consistent, the network element is required to report the configuration change to the OMC at the moment, the OMC carries out synchronous update, the configuration serial number comprises a configuration serial number based on the whole configuration change record of the network element and a configuration serial number based on the configuration object of the network element,
when judging whether the target configuration file is matched with the target network element, adopting a configuration serial number based on the whole configuration change record of the network element or adopting a configuration serial number based on a configuration object of the network element.
6. The method for network element provisioning of claim 5 wherein after said sending said target profile to said target network element, said method further comprises:
and sending a blocking instruction to the target network element from the moment of sending the target configuration file to the target network element when the response information of the target configuration file sent by the target network element is not received after waiting for a preset time, wherein the blocking instruction is used for enabling the target network element to enter a blocking state, and the target network element does not access a service in the blocking state.
7. The method for configuring a network element according to claim 6 or 5, wherein after the sending of the blocking instruction to the target network element, the method further comprises:
and sending an alarm message for indicating that the target configuration file fails to be sent.
8. The method for configuring a network element of claim 5, wherein the method further comprises:
and sending a notification message for indicating that the target configuration file is successfully sent when the response information of the target configuration file sent by the target network element is received within a preset waiting time period from the moment of sending the target configuration file to the target network element.
9. A network element configuration device is applied to an Operation Maintenance Center (OMC), and comprises a transmitter, a processor and a memory,
the processor is configured to read the code in the memory for performing: when the sender fails to send a target configuration file to a target network element, comparing a target configuration object corresponding to the target configuration file with a configuration object corresponding to a configuration file in a preset offline configuration area, wherein the target configuration file is used for configuring the target configuration object of the target network element; the target configuration object comprises a Physical Cell Identity (PCI) of the target network element;
the processor is further configured to add the target configuration file to the offline configuration area when the target configuration object is different from the configuration object corresponding to the configuration file in the offline configuration area;
the processor is further configured to, when it is detected that the connection with the target network element is restored, obtain the target configuration file from the offline configuration area, and compare the configuration serial number of the target configuration object in the target configuration file with the configuration serial number of the target configuration object of the target network element; when the configuration serial number of the target configuration object in the target configuration file is the same as the configuration serial number of the target configuration object of the target network element, the transmitter is configured to transmit the target configuration file to the target network element;
the processor is further configured to: when the configuration serial number of the target configuration object in the target configuration file is different from the configuration serial number of the target configuration object of the target network element, sending a blocking instruction to the target network element, wherein the blocking instruction is used for enabling the target network element to enter a blocking state, and the target network element does not access a service in the blocking state,
the configuration serial number is used for incremental configuration synchronization between the OMC and the network element, when the configuration of the network element is changed, the configuration serial number stored on the network element is automatically increased, wherein before the OMC and the network element are synchronized each time, the configuration serial numbers of the OMC and the network element are compared to determine whether the configuration serial numbers of the OMC and the network element are the same, if so, the OMC and the network element are consistent in configuration, and synchronization is not needed; if the two configurations are different, the configurations are not consistent, the network element is required to report the configuration change to the OMC at the moment, the OMC carries out synchronous update, the configuration serial number comprises a configuration serial number based on the whole configuration change record of the network element and a configuration serial number based on the configuration object of the network element,
when judging whether the target configuration file is matched with the target network element, adopting a configuration serial number based on the whole configuration change record of the network element or adopting a configuration serial number based on a configuration object of the network element.
10. The network element configuring apparatus of claim 9, further comprising:
the processor is further configured to discard the target configuration file when an offline configuration file exists in the offline configuration area, where the corresponding configuration object is the same as the target configuration object, or add the target configuration file to the offline configuration area and delete the offline configuration file.
11. The apparatus for network element provisioning of claim 9 wherein said transmitter transmitting said target profile to said target network element comprises:
the transmitter is further configured to send another configuration file to the target network element after sending the other configuration file to the target network element, where the other configuration file is used to configure another configuration object of the target network element, and a time when the other configuration file is added to the offline configuration area is earlier than a time when the target network element is added to the offline configuration area.
12. The network element configuring device of any one of claims 9-11, further comprising: a receiver for receiving the received signal and outputting the received signal,
the transmitter is further configured to send an alarm message, which is used to indicate that the target configuration file fails to be sent;
the receiver is configured to receive an adding instruction, where the adding instruction is used to instruct to add the target configuration file to the offline configuration area.
13. A network element configuring device, wherein the network element configuring device is applied to an operation and maintenance center OMC, and the network element configuring device includes: a transmitter, a processor and a memory,
the processor is configured to read the code in the memory for performing: when the sender fails to send the target configuration file to the target network element, adding the target configuration file to a preset offline configuration area, wherein the target configuration file is used for configuring a target configuration object of the target network element; the target configuration object comprises a Physical Cell Identity (PCI) of the target network element;
the processor is further configured to obtain the target configuration file from an offline configuration area when detecting that the connection with the target network element is restored;
the processor is further configured to compare the configuration serial number of the target configuration object in the target configuration file with the configuration serial number of the target configuration object of the target network element;
the sender is further configured to send the target configuration file to the target network element when the configuration serial number of the target configuration object in the target configuration file is the same as the configuration serial number of the target configuration object of the target network element;
wherein, still include:
the sender is further configured to send a blocking instruction to the target network element when the configuration serial number of the target configuration object in the target configuration file is different from the configuration serial number of the target configuration object of the target network element, where the blocking instruction is used to enable the target network element to enter a blocking state, and the target network element does not access a service in the blocking state;
the configuration serial number is used for incremental configuration synchronization between the OMC and the network element, when the configuration of the network element is changed, the configuration serial number stored on the network element is automatically increased, wherein before the OMC and the network element are synchronized each time, the configuration serial numbers of the OMC and the network element are compared to determine whether the configuration serial numbers of the OMC and the network element are the same, if so, the OMC and the network element are consistent in configuration, and synchronization is not needed; if the two configurations are different, the configurations are not consistent, the network element is required to report the configuration change to the OMC at the moment, the OMC carries out synchronous update, the configuration serial number comprises a configuration serial number based on the whole configuration change record of the network element and a configuration serial number based on the configuration object of the network element,
when judging whether the target configuration file is matched with the target network element, adopting a configuration serial number based on the whole configuration change record of the network element or adopting a configuration serial number based on a configuration object of the network element.
14. The network element configuring apparatus of claim 13, further comprising: a receiver for receiving the received signal and outputting the received signal,
the transmitter is further configured to, starting from the time when the target configuration file is sent to the target network element, send a blocking instruction to the target network element when the receiver does not receive the response information of the target configuration file sent by the target network element after waiting for a preset time, where the blocking instruction is used to enable the target network element to enter a blocking state, and the target network element does not access a service in the blocking state.
15. The network element configuring device of claim 13 or 14, further comprising:
the transmitter is further configured to send an alarm message, which is used to indicate that the target configuration file fails to be sent.
16. The network element configuring apparatus of claim 14, further comprising:
the transmitter is further configured to send, starting from the time when the target configuration file is sent to the target network element, a notification message for indicating that the target configuration file is successfully sent when the receiver receives the response information of the target configuration file sent by the target network element within a preset time period.
CN201610200100.8A 2016-03-31 2016-03-31 Network element configuration method and device Active CN107295540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610200100.8A CN107295540B (en) 2016-03-31 2016-03-31 Network element configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610200100.8A CN107295540B (en) 2016-03-31 2016-03-31 Network element configuration method and device

Publications (2)

Publication Number Publication Date
CN107295540A CN107295540A (en) 2017-10-24
CN107295540B true CN107295540B (en) 2021-02-26

Family

ID=60087808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610200100.8A Active CN107295540B (en) 2016-03-31 2016-03-31 Network element configuration method and device

Country Status (1)

Country Link
CN (1) CN107295540B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859171A (en) * 2005-12-02 2006-11-08 华为技术有限公司 Network equipment data managing method
CN101106477A (en) * 2006-07-12 2008-01-16 中兴通讯股份有限公司 Method for generating incremental data based on flow number
CN101150512A (en) * 2007-10-23 2008-03-26 中兴通讯股份有限公司 Method for load balance of communication link
CN101183979A (en) * 2007-11-27 2008-05-21 上海华为技术有限公司 Method and device of configuration backup
CN101351044A (en) * 2008-08-20 2009-01-21 上海华为技术有限公司 Method and system for implementing update of district status
CN104363122A (en) * 2014-11-14 2015-02-18 瑞斯康达科技发展股份有限公司 Pre-configuration method and system of network element

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100349408C (en) * 2004-02-12 2007-11-14 华为技术有限公司 Method for realizing configuration data real-time synchronization for network management system and network element device
CN100589652C (en) * 2007-11-09 2010-02-10 中兴通讯股份有限公司 Conflict evading method of multi-user configuring network element data
CN102231679B (en) * 2011-06-29 2014-06-04 烽火通信科技股份有限公司 Method for realizing configuration synchronization of network elements and webmaster
CN102394770A (en) * 2011-10-26 2012-03-28 迈普通信技术股份有限公司 Off-line configuration method for network equipment based on simple network management protocol (SNMP)
CN103096353B (en) * 2011-11-02 2018-02-16 中兴通讯股份有限公司 A kind of northbound data configuration and self-organizing network configuration coordination processing method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859171A (en) * 2005-12-02 2006-11-08 华为技术有限公司 Network equipment data managing method
CN101106477A (en) * 2006-07-12 2008-01-16 中兴通讯股份有限公司 Method for generating incremental data based on flow number
CN101150512A (en) * 2007-10-23 2008-03-26 中兴通讯股份有限公司 Method for load balance of communication link
CN101183979A (en) * 2007-11-27 2008-05-21 上海华为技术有限公司 Method and device of configuration backup
CN101351044A (en) * 2008-08-20 2009-01-21 上海华为技术有限公司 Method and system for implementing update of district status
CN104363122A (en) * 2014-11-14 2015-02-18 瑞斯康达科技发展股份有限公司 Pre-configuration method and system of network element

Also Published As

Publication number Publication date
CN107295540A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
RU2568774C2 (en) Method of controlling operation of bus system, primarily of bus can
US9445286B2 (en) Protocol version negotiation method, mobile terminal, base station and communications system
CN107332726B (en) Communication link detection method and device
US11637440B2 (en) Battery management system, and method and apparatus for transmitting information
US20140211638A1 (en) Method and system for detecting sleeping cell
CN107948063B (en) Method for establishing aggregation link and access equipment
WO2012056696A1 (en) Wireless communication system and wireless communication method
US10938628B2 (en) Battery management system and communication method thereof
EP3761694A1 (en) Data transmission method and device
CN105471648A (en) Zigbee network system and standby assistance method therefor
CN108667640B (en) Communication method and device, and network access system
CN113965494A (en) Method for fault detection and role selection in a redundant process network
CN107295540B (en) Network element configuration method and device
US10524152B2 (en) Coverage hole analysis
CN104639356A (en) Failure recovery method and device
CN103067053B (en) Method and device for Bluetooth node processing
EP2988476A1 (en) Method and apparatus for processing operation on endpoint peripheral
CN104038955A (en) Fault detection and processing method in mobile communication system, and base station
WO2016195652A1 (en) Ring protection network module
CN104113449A (en) Link detection method and apparatus
CN109982450B (en) Communication link repairing method, device, coordinator and system
CN111786806A (en) Network element exception handling method and network management system
CN111372291A (en) Radio Resource Control (RRC) connection reestablishment method and device
US8271828B2 (en) Restarting networks
EP4319254A1 (en) Load query processing method and apparatus, storage medium, and electronic apparatus

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