Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The method for generating network element management data and the method for managing network elements of the embodiment of the present invention are applied to network management equipment in a network management system, as shown in fig. 1, which is a schematic view of a composition structure of an optional network management system in the embodiment of the present invention, and includes two kinds of network management equipment, namely a network management client 10 and a network management server 20.
Specifically, the network management client 10 is generally deployed on a Personal Computer (PC), and certainly can be deployed on other terminal devices, and the network management client 10 is generally connected to the network management server 20 through a wired local area network; the network element 30 mainly refers to a communication device that needs remote management, such as a base station, a router, and the like, and the network element 30 is generally connected to the network management server 20 through a wired local area network.
It should be noted that, in the embodiment of the present invention, the connection between the network management client 10 and the network management server 20 and the connection between the network management server 20 and the network element 30 may also be connected through other manners such as a wireless network. In addition, the network management server 20 may correspond to a plurality of network management clients 10 and a plurality of network elements 30, and two network management clients 10 and three network elements 30 are exemplarily deployed in fig. 1, but those skilled in the art can understand that there may be one, three or more network management clients 10 and so on for the network elements 30, which is not limited in this invention.
Illustratively, the network element management data generating method and the network element management method may be used for the network management client 10, or may be used for the network management server 20, or may be completed by the network management client 10 and the network management server 20 together.
Based on the network management system, embodiments of the network element management data generation method, the network element management method and the like are provided.
The method for generating network element management data provided in this embodiment may be used in a network management device in a network management system, as shown in fig. 2, and the method includes:
s11, generating an operation and maintenance blueprint file according to the operation and maintenance operation of the first network element by the user, wherein the operation and maintenance blueprint file is used for performing the operation and maintenance operation on the second network element.
The inventor finds that an operation and maintenance blueprint file can be generated based on the operation and maintenance operation of the same management purpose, so that the same operation and maintenance operation can be performed on other network elements or network management systems by repeatedly deploying the operation and maintenance blueprint file.
In some embodiments, the first network element and the second network element may be network elements in different network management systems; or the second network element may also be a network element in the network management system where the first network element is located after being upgraded.
Illustratively, a user performs a series of operations on the network element a on the network management system, and then an operation and maintenance blueprint file is generated according to the operation and maintenance operations of the user on the network element a. Based on this, if the current network management system is upgraded according to the actual situation, and the user needs to perform the operation and maintenance operation on the network element a before for the network element a or the network element B in the current network management system, the current network management system can perform the same operation and maintenance operation on the network element a or the network element B by importing the operation and maintenance blueprint file. Similarly, if the user needs to perform the same operation and maintenance operation on the network element C in other network management systems, the other network management systems may also perform the same operation and maintenance operation on the network element C by importing the operation and maintenance blueprint file.
In some embodiments, the step S11 of "generating an operation and maintenance blueprint file according to the operation and maintenance operation of the first network element by the user" includes:
and S12, responding to the recording starting instruction of the user, and recording the operation and maintenance operation of the first network element by the user.
S13, responding to the recording stopping instruction of the user, and generating an operation and maintenance blueprint file according to the operation and maintenance operation of the user on the first network element.
Specifically, the network management system provides a human-computer interaction function, for example, a network management client in the network management system provides a human-computer interaction interface, and when a user needs to record, the user responds to a recording start instruction of the user to start recording each operation of the user on a network element in the recording process. And responding to a recording stopping instruction of the user when the user finishes the operation, and generating a corresponding operation and maintenance blueprint file for each recorded operation.
Illustratively, as shown in fig. 3, when a user clicks on the network management system to start recording, the network management system responds to the user operation and starts recording. In the recording process, a user firstly modifies the frequency point of the network element A in the current network management system, the network management system records the operation after the modification is completed, then the user newly adds the adjacent area outside the station of the network element A, and the network management system records the operation after the new addition is completed. After the user finishes the modification operation and the addition operation, the operation and maintenance purpose is achieved, so that the network management system responds to the operation of the user to generate the blueprint operation and maintenance file after the recording is finished by clicking. After that, if the user needs to perform the same operation on other network elements, the network management system can perform the same operation on other network elements directly according to the blueprint operation and maintenance file without performing the same operation on other network elements.
In some embodiments, the step S11 of "generating an operation and maintenance blueprint file according to the operation and maintenance operation of the first network element by the user" includes:
s14, generating a modularized operation and maintenance blueprint file according to the operation and maintenance operation of the first network element by the user based on the preset modularized operation strategy.
Specifically, most operation and maintenance operations are implemented based on functional modules on the network management system, so that when a user performs operation and maintenance operations, some parameter information can be extracted from the corresponding functional modules. Therefore, based on the modularized operation strategy, a modularized operation and maintenance blueprint file can be generated according to the operation and maintenance operation of the user on the network element.
For example, after a user performs operation and maintenance operations on the network element a on the current network management system, for example, after the frequency point of the network element a is modified, the out-of-station neighboring cell of the network element a is newly added, because the modified frequency point and the newly added neighboring cell are both realized based on the functional module on the current network management system, corresponding parameter information can be extracted while the user performs operation and maintenance operations, and a modular operation and maintenance blueprint file is generated.
In some embodiments, the step S14 of "generating a modular operation and maintenance blueprint file according to the operation and maintenance operation of the first network element by the user" includes:
s15, generating a plurality of operation sets according to the operation and maintenance operation of the first network element by the user.
And S16, generating a plurality of corresponding blueprint module data according to the plurality of operation sets to obtain a modularized operation and maintenance blueprint file.
Specifically, the operation and maintenance operation of the first network element by the user is realized through a plurality of functional modules of the network management system, so that a plurality of operation sets can be generated according to the operation and maintenance operation of the user, parameter information can be extracted from the operation sets to generate a plurality of blueprint module data, and a modular operation and maintenance blueprint file can be generated through the blueprint module data.
For example, as shown in fig. 4, a user modifies a frequency point of a network element a in a current network management system, then adds an off-site neighboring cell of the network element a, the network management system generates operation sets 1 and 2 according to the modification operation and the addition operation of the user, then generates corresponding blueprint module data 1 according to the operation set 1, and generates corresponding blueprint module data 2 according to the operation set 2, so that a modular operation and maintenance blueprint file can be generated.
In summary, in the method for generating network element management data in this embodiment, the operation and maintenance blueprint file is generated according to the operation and maintenance operation of the first network element by the user, and then the network management system can perform the same operation and maintenance operation on the second network element according to the blueprint operation and maintenance file.
The network element management method provided in this embodiment may be used in a network management device in a network management system, as shown in fig. 5, and the method includes:
s21, obtaining an operation and maintenance blueprint file according to the file import operation of the user, wherein the operation and maintenance blueprint file is generated according to the operation and maintenance operation of the user on the first network element.
S22, carrying out operation and maintenance operation on the second network element according to the operation and maintenance blueprint file.
The inventor finds that, when a user wants to perform a series of operation and maintenance operations on a network element, if the user has performed the same operation and maintenance operations on other network elements before and generated a corresponding operation and maintenance blueprint file, the operation and maintenance blueprint file may be imported, so that the network management system may perform the operation and maintenance operations on the network element according to the operation and maintenance blueprint file. It can be seen that the embodiment not only has great convenience, but also avoids the problem of misoperation caused by repeated operation, and realizes operation and maintenance automation.
In some embodiments, step S22 includes:
s23, according to the plurality of blueprint module data in the operation and maintenance blueprint file, performing operation and maintenance operation on the second network element.
Specifically, a plurality of pieces of blueprint module data are recorded in the operation and maintenance blueprint file, the blueprint module data correspond to a plurality of operation sets, and the operation sets correspond to operation and maintenance operations that the user has performed on other network elements before, so that the network management system can perform the operation and maintenance operation on the network elements needing the operation and maintenance according to the blueprint module data in the operation and maintenance blueprint file.
For example, suppose that a user has previously performed operation and maintenance operations on a modified frequency point and a newly added out-of-station neighboring cell on a network element a, and the operation and maintenance operations have been generated into a corresponding operation and maintenance blueprint file, and blueprint module data in the operation and maintenance blueprint file corresponds to the two operations. Based on this, when the user needs to perform the same operation and maintenance operation on the network element B, the user does not need to perform the operation again, but only needs to import the operation and maintenance blueprint file, and according to the blueprint module data in the operation and maintenance blueprint file, the network management system can perform the operation and maintenance operation on the network element B.
In some embodiments, step S23 includes:
s24, analyzing the blueprint module data to generate an execution command, and carrying out operation and maintenance operation on the second network element in the current network management system according to the execution command.
Specifically, the blueprint module data is used as a management data, and the network management system cannot directly perform operation and maintenance operations on the network element according to the data, so that the network management system can perform the operation and maintenance operations on the network element according to the execution commands by analyzing the blueprint module data to generate corresponding execution commands.
In addition, if the operation and maintenance blueprint file is a task-level file, that is, the user does not need to select the network element object to be operated, the network management system can directly perform the operation and maintenance operation on the network element in the current network management system according to the analyzed execution command.
For example, as shown in fig. 6, for some reasons, a user needs to restart a network element in a current network management system, the user only needs to import a corresponding task-level operation and maintenance blueprint file and then deploy a blueprint, the network management system analyzes the blueprint module data in the operation and maintenance blueprint file to generate an execution command, and the network management system directly performs an operation and maintenance operation of restarting the network element in the current network management system.
In some embodiments, step S23 includes:
s25, obtaining the network element information of the second network elements according to the network element selection operation of the user.
And S26, analyzing the blueprint module data to generate an execution command.
And S27, assigning the network element information of the second network element to a preset variable in the execution command.
And S28, performing operation and maintenance operation on the second network element according to the assigned execution command.
Specifically, if a user needs to perform operation and maintenance operation on a designated network element, the user needs to select one or more network elements after importing an operation and maintenance blueprint file. After the user selects the network element, the network element information corresponding to the network element is obtained, and the network element information includes an ID value, a current operating state value, and the like of the network element. And then analyzing the blueprint module data to generate an execution command, and assigning the acquired network element information to a preset variable in the execution command, so that the network management system can carry out operation and maintenance operation on the network element selected by the user according to the assigned execution command.
For example, as shown in fig. 7, if a user needs to perform operation and maintenance operation on a specified network element, after a network element-level operation and maintenance blueprint file is imported, a network element object needing to be operated needs to be selected, and then a blueprint is deployed. Correspondingly, the network management system analyzes the blueprint module data to generate an execution command after a user imports a file, then obtains the network element information of the network element after the user selects a network element object, finally assigns the network element information to a preset variable in the execution command after the user deploys the blueprint, and carries out operation and maintenance operation on the network element according to the assigned execution command.
In summary, in the network element management method of this embodiment, after obtaining the operation and maintenance blueprint file imported by the user, the network management system can perform the operation and maintenance operation on the second network element according to the operation and maintenance blueprint file, where the operation and maintenance blueprint file is generated according to the operation and maintenance operation on the first network element by the user. It can be seen that the operation and maintenance blueprint file can be generated according to the operation and maintenance operation performed on the first network element by the user, and the network management system can perform the same operation and maintenance operation on the second network element according to the operation and maintenance blueprint file, so that the embodiment has great convenience, avoids the problem of misoperation caused by repeated operation, and realizes the operation and maintenance automation of the network element.
As shown in fig. 8, the network management device provided in the embodiment of the present invention includes a processor and a memory, where the memory is used to store a computer program; the processor is configured to execute the computer program and implement, when executing the computer program, any network element management data generation method provided in the embodiment of the present invention, or implement any network element management method provided in the embodiment of the present invention.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the processor is enabled to implement any network element management data generation method provided in the embodiment of the present invention, or implement any network element management method provided in the embodiment of the present invention.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable storage media, which may include computer readable storage media (or non-transitory media) and communication media (or transitory media).
The term computer-readable storage medium includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer-readable storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
For example, the computer readable storage medium may be an internal storage unit of the network management device in the foregoing embodiment, for example, a hard disk or a memory of the network management device. The computer readable storage medium may also be an external storage device of the network management device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are equipped on the network management device.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.