WO2011082684A1 - 数据配置的方法和装置 - Google Patents

数据配置的方法和装置 Download PDF

Info

Publication number
WO2011082684A1
WO2011082684A1 PCT/CN2011/070091 CN2011070091W WO2011082684A1 WO 2011082684 A1 WO2011082684 A1 WO 2011082684A1 CN 2011070091 W CN2011070091 W CN 2011070091W WO 2011082684 A1 WO2011082684 A1 WO 2011082684A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
management unit
configuration
unit
network element
Prior art date
Application number
PCT/CN2011/070091
Other languages
English (en)
French (fr)
Inventor
叶耀荣
李宇平
邹兰
张凯
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to RU2012133973/08A priority Critical patent/RU2533638C2/ru
Priority to EP11731685A priority patent/EP2512064A4/en
Publication of WO2011082684A1 publication Critical patent/WO2011082684A1/zh
Priority to US13/542,951 priority patent/US20120278456A1/en

Links

Classifications

    • 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/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • 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/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring

Definitions

  • the network management mode can be divided into two types according to the complexity of the network: The first type is that the network element is relatively small and the type of the network element is relatively single, and the operator only needs to pass the network element management system ( The element management system (EMS) can manage the network element.
  • the second type is when there are many network elements or the types of network elements are complicated. The operator needs to set multiple EMSs to manage these network elements in groups. EMS can be managed through a network management system ( ⁇ S).
  • ⁇ S network management system
  • NMS mainly implements the Network Management Layer (NML) function in the International Telecommunications Union Telecommunication Management Network (ITU TMN), and provides operation management functions for network devices; EMS mainly completes ITU TMN The Element Management Layer (EML) function, which completes the device-oriented operation and maintenance function.
  • the interface between the NMS and the EMS is called the northbound interface (Interface-N, Itf_N).
  • NMS is often referred to as Manager
  • EMS is often referred to as Agent
  • Agent and Manager interact through Itf_N.
  • many operators adopt the mode jointly managed by Manager and Agent.
  • the network element Before the network element accesses the communication network and provides communication services (this stage is usually called the opening of the network element), it needs a series of preparations to be able to provide services normally. These preparations are divided into three phases: the data preparation phase; the hardware installation phase; the phase before the network element is powered on and before the formal provision of the service.
  • the data preparation phase of the network element opening is completed by the administrator through the agent operation, for example, the management personnel prepares the planning data, and the agent completes the data import, the verification, and the generation of the full configuration data, thereby causing The labor cost of starting a station is very high. Summary of the invention
  • the embodiment of the invention provides a data configuration scheme.
  • the data preparation phase can be completed only through the Manager, and the management personnel are not required to operate on the agent, thereby realizing the automatic opening of the network element. Reduce the corresponding labor costs.
  • An embodiment of the present invention provides a data configuration method, where the method includes:
  • the management unit invokes a first interface between the management unit and the managed unit, and requests the managed unit to download configuration data of the network element from a location specified by the management unit;
  • the management unit invokes a second interface between the management unit and the managed unit, and requests the managed unit to generate a full configuration data file of the network element according to the configuration data.
  • the embodiment of the invention further provides a data configuration method, the method comprising:
  • the managed unit downloads the configuration data of the network element from the location specified by the management unit;
  • the managed unit When the management unit invokes the second interface between the file management unit and the managed unit, the managed unit generates a full configuration data file of the network element according to the configuration data.
  • a first calling module configured to: before the network element accesses the network, invoke a first interface between the device and the managed unit, requesting the managed unit to download configuration data of the network element from the specified location;
  • the second calling module is configured to invoke a second interface between the device and the managed unit, and request the managed unit to generate a full configuration data file of the network element according to the configuration data.
  • FIG. 1 is a schematic flow chart of a first embodiment of a method according to the present invention
  • Embodiment 2 is a schematic flow chart of Embodiment 2 of a method according to the present invention.
  • Embodiment 3 is a schematic flow chart of Embodiment 3 of a method according to the present invention.
  • Embodiment 4 is a schematic flow chart of Embodiment 4 of a method according to the present invention.
  • Embodiment 5 is a schematic flowchart of Embodiment 5 of a method according to the present invention.
  • Embodiment 6 is a schematic flow chart of Embodiment 6 of the method of the present invention.
  • Embodiment 7 is a schematic flow chart of Embodiment 7 of the method according to the present invention.
  • FIG 8 is a schematic view showing the structure of an embodiment of the apparatus of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any inventive effort are within the scope of the present invention.
  • the first embodiment of the method of the present invention includes the following steps:
  • Step 102 Before the network element accesses the network, the management unit invokes a first interface between the management unit and the managed unit, and requests the managed unit to download configuration data of the network element from a location specified by the management unit.
  • the location specified by the above management unit may be the physical entity or third-party server where the management unit is located.
  • Step 104 The management unit invokes a second interface between the management unit and the managed unit, and requests the managed unit to generate a full configuration data file of the network element according to the configuration data.
  • the full configuration data file is a file composed of all or part of configuration data supporting the opening of the network element.
  • the method may further include:
  • Step 103 The management unit invokes a third interface between the management unit and the managed unit to request the managed unit to verify the configuration data.
  • the method may further include: the managed unit saves the full configuration data file in a managed unit or a third party server.
  • the method may further include: after the network element accesses the network, the managed unit sends the stored full configuration data file to the network element, where the sending manner may be file transmission, etc. , such as using ftp.
  • the first interface, the second interface, or the third interface in the foregoing steps may be a newly defined interface, it may also be an interface modified to an existing interface in the BulkCM (Large Configuration Management), so the following example will be adopted. Introduce separately.
  • startSession interface The Manager opens a session by calling the interface, and initializes the temporary resources related to the session in the Agent.
  • the input parameters, output parameters and preconditions for calling this interface are as follows:
  • Input parameter sessionld, this parameter is used to identify a new session.
  • Output parameters Operation result (success or failure).
  • endSession interface The Manager terminates a session by calling the interface, deletes files related to the session (such as temporary files, session log files, etc.) in the Agent, and releases related resources in the system. If the "pre-activated" interface was previously called, the Manager calling the endSession interface will end the session and release all internal local resources assigned to the "pre-activated". If the session state is in progress, such as uploading, downloading, or activating, etc., the Manager calls the interface to end the session and will be rejected.
  • the input parameters, output parameters and preconditions for calling this interface are as follows:
  • Input parameter sessionld, this parameter is used to identify a new session.
  • Output parameters Operation result (success or failure).
  • the Manager requests the agent to download and manage a file containing configuration data by calling this interface.
  • the Agent can obtain this configuration data file from the specified globally unique data file reference.
  • the Agent can check whether the format of the downloaded configuration data file is correct. For the semantic error in the configuration data file, the Agent does not need to check during the process of downloading the configuration data.
  • the input parameters, output parameters and preconditions for calling this interface are as follows:
  • the input parameter: sessionld is used to identify a session associated with the configuration data file download; downloadDataFileReference is used to define the globally unique file reference corresponding to the data to be downloaded.
  • the globally unique file reference is usually a specific file. Storage address.
  • Output parameters Operation result (success or failure).
  • the Manager calls the interface to request the agent to verify the configuration data that has been downloaded previously. Calling this interface can check for errors related to previously downloaded configuration data before the Manager requests the Agent to "pre-activate” or "activate” the configuration data.
  • the input parameters, output parameters and preconditions for calling this interface are as follows:
  • Input parameters sessionld, used to identify a session associated with the configuration data file download.
  • Output parameters Operation result (success or failure).
  • Prerequisites The agent has successfully started the session identified by sessionld, and has already performed the "download” operation or repeated the "download” operation.
  • the input parameters, output parameters and preconditions for calling this interface are as follows:
  • Input parameters sessionld, used to identify a session associated with the configuration data file download.
  • Output parameters Operation result (success or failure).
  • the agent has successfully started the session identified by sessionld, and the downloaded data has been verified.
  • the Manager can request the Agent to download the configuration data stored in the Manager or other third-party server to the Agent by calling the above interface.
  • FIG. 2 where the second embodiment of the present invention includes the following steps:
  • Step 201 Before the network element accesses the network, the Manager first invokes the startSession interface to start a session. If the session is in the IDLE state, step 202 is performed. If the session is not in the IDLE state, step 205 is performed.
  • Step 202 The Manager invokes the download interface, and requests the Agent to download and manage a file containing configuration data. If the download is completed, step 203 is performed; if the download fails, step 205 is performed.
  • Step 203 The Manager calls the validate interface, and requests the Agent to verify the configuration data that has been downloaded previously. If the verification is completed, step 204 is performed; if the verification fails, step 205 is performed.
  • step 203 is optional. After the downloading is completed in step 202, step 204 can be directly executed.
  • Step 204 The Manager calls the generateFile interface, and the requesting agent generates a full configuration data file according to the verified data, and performs step 205.
  • Step 205 The Manager invokes the endSession interface, ends the session, and requests the Agent to delete the file related to the session and release related resources in the system.
  • the above session-related files include temporary files, session log files, and the like.
  • the configuration data can be downloaded to the Agent through the Manger before the network element accesses the network.
  • the above process is automatically completed by the Manager calling the newly defined self-configuring interface between the Manager and the Agent, without manual intervention, thereby saving a lot of labor costs.
  • the configuration data of the network element can be downloaded to the agent in advance.
  • the agent can be notified to send the data to the network element at any time, thereby reducing the time for starting the network.
  • a feedback message may be defined: notify SessionStateChanged, and the agent may feed back the progress of the entire batch configuration to the Magnager through the message, and the status of the configuration data mainly includes the following: Download Failed
  • the Agent can feed the Magnager through the notifySessionStateChanged message to complete or fail the data download. If the download is completed, the information indicated in the notifySessionStateChanged message is the download completion; if the download fails, the information indicated in the ij notifySessionStateChanged message Failed for download. After calling the validate interface or the generateFile interface, the Agent can feedback the status of the configuration data to the Magnager through the notifySessionStateChanged message, which is similar to this.
  • a getSessionLog interface may be defined, and the Manager may obtain a log of the activity result of the specified session associated with the configuration data file operation from the agent by calling the interface, and the interface may be in any session state. Called below, and does not change the current session state.
  • the input parameters, output parameters and preconditions for calling this interface are as follows:
  • Input parameters sessionld, which is used to identify a specified session; logFileReference, which is used to define the address and file name of the result stored in the Manager.
  • Output parameters Operation result (success or failure).
  • the above is a method for automatically downloading the configuration data of the network element by using the newly defined interface.
  • the following describes the method for automatically downloading the configuration data of the network element by modifying the existing interface in the BulkCM.
  • the Bulk CM is applied to upload and download of northbound configuration data.
  • the state machine defines a complete state machine, notification mechanism, session log (SessionLog) processing, etc., but its application focuses on the routine maintenance scene. That is, the network element has completed the completion of the station, and the scene of the network element opening is not well supported. Because the interface of the Bulk CM calls the Activate interface, the network element must be online, otherwise the call will fail. In the actual start, during the data preparation phase, the network element may not have completed the hardware installation, so the call to the Activate interface will fail. . To be direct Using the existing Bulk CM to complete the opening, the inventors of the present application have thought of the following two solutions:
  • the Manager Before the hardware is installed, the Manager calls StartSession to start a session, and then calls the download interface and the validate interface to complete the configuration and verification of the configuration data. After the NE is online, the Activate interface is called.
  • the Manager pre-plans the configuration data of the NE, but does not start the Bulk CM program. After the hardware installation of the NE is completed and the Agent is accessed, the Bulk CM program is called to deliver the configuration data to the NE.
  • the first solution mentioned above has no problem for the network element to be online, but it is not suitable for the network element to go online after a relatively long time, because once the northbound call StartSession starts a session, the network element The session cannot be interrupted before accessing the network. Due to the limited resources of the session, this method will occupy limited system resources for a long time.
  • the Manger since the configuration data of the network element involves many parameters, the Manger does not call the Validate interface to check the configuration data of the network element before sending the configuration data to the network element, so the configuration data is Once an error occurs in the process of sending to the network element, it will take a long time to verify and reconfigure the data, which seriously affects the process of starting the station.
  • the present invention modifies and expands the existing interface in the Bulk CM to make the Bulk CM
  • the process can not only support the scene of the new station, but also be compatible with the scene of daily maintenance.
  • the interfaces defined in BulkCM mainly include:
  • the Manager requests the Agent to download and manage a file containing configuration data by calling this interface.
  • the Agent can obtain this configuration data file from the specified globally unique data file reference.
  • the call of this interface is optional.
  • the Manager requests the Agent to verify the configuration data that has been downloaded before by calling this interface. Calling this interface can check for errors related to previously downloaded configuration data before the Manager calls the pre-activation interface or activates the interface requesting the Agent to pre-activate or "activate” the configuration data.
  • the interface contains an optional "activationMode” parameter indicating how it is activated.
  • the Manager calls the interface to request the Agent to verify the configuration data that has been downloaded previously, with the traditional Compared with the interface, the interface does not require the "activationMode" parameter (because the configuration data is not involved in the newly opened scenario, it is actually activated on the NE side, so there is no need to set the activation mode).
  • the Manager calls the interface to request the Agent to activate the previously downloaded configuration data.
  • the interface is invoked on the premise that the NE has access to the network.
  • New interface definition The Manager calls the interface requesting the Agent to generate a full configuration data file based on the downloaded configuration data.
  • a third embodiment of the present invention provides a method for acquiring data, which is implemented by the following steps:
  • Step 301 The Manager calls the Download interface, and requests the Agent to download the file containing the configuration data from the location specified by the Manager.
  • Step 302 The Manager invokes the modified Validate interface, and requests the Agent to verify the downloaded configuration data to determine whether it is legal.
  • Step 303 The Manager invokes the modified Active interface, and requests the Agent to generate a full configuration data file of the network element according to the verified configuration data.
  • the step 302 is optional.
  • the step 303 can be directly performed.
  • the Manager invokes the modified Active interface, and the Agent is requested to directly generate the full configuration data of the network element according to the downloaded configuration data. file.
  • the method may further include:
  • Step 304 The Agent stores the above full configuration data file.
  • the agent may save the above-mentioned full configuration data file in an entity corresponding to a path, and the entity corresponding to the path may be a physical entity where the agent is located, or a third-party server.
  • the method may further include: if the network element accesses the network, the agent sends the full configuration data file to the network element.
  • the Manager After the network element is connected to the network, the Manager automatically downloads the configuration data of the NE to the Agent in advance by calling the modified BulkCM interface, so that the NE can notify the Agent at any time after the NE is powered on.
  • the data required by the network element is saved, thereby saving labor costs. And by verifying the configuration data in advance, the smooth start of the station is further ensured.
  • the configuration file sent by the Manager to the Agent may be modified in the fourth embodiment of the present invention, for example, the configuration that can be sent by the Manager to the agent.
  • the specific method of adding attributes is as follows:
  • each interface needs to be set in the agent.
  • the agent adopts the traditional data configuration mode.
  • the meaning of each interface of the traditional Bulk CM between the Manager and the Agent when the above scenarioType takes the self configuration, the Manager and the Agent interact with each other according to the modified Bulk CM interface of this patent.
  • Step 401 Manager setting data
  • the configuration mode is self-configuration mode or traditional configuration mode.
  • Step 401 is specifically, the Manager sets the scenarioType attribute of the above configuration file, and sets the scenarioType attribute to self configuration or tradition.
  • Step 402 The Manager invokes the Download interface, and requests the Agent to download the configuration file containing the configuration data from the location specified by the Manager. If the scenarioType attribute in the configuration file is set to the self-configuration mode, step 403 is performed: If the scenarioType attribute in the configuration file is set In the traditional configuration mode, the configuration data of the NE is verified and activated according to the traditional configuration.
  • Step 403 The Manager invokes the modified Validate interface, and requests the Agent to verify the downloaded configuration data to determine whether it is legal.
  • Step 404 The Manager invokes the modified Active interface, and requests the Agent to generate a full configuration data file of the network element according to the verified configuration data.
  • step 403 is optional.
  • step 404 can be directly executed.
  • the Manager invokes the modified Active interface, and the Agent is requested to directly generate the full configuration data file of the network element according to the downloaded configuration data. .
  • the method may further include:
  • Step 405 The agent stores the above full configuration data file.
  • the agent may save the above-mentioned full configuration data file in an entity corresponding to a path, and the entity corresponding to the path may be a physical entity where the agent is located, or a third-party server.
  • the method may further include: if the network element accesses the network, the agent sends the full configuration data file to the network element.
  • the embodiment of the present invention can also be used to indicate the data configuration mode by setting the interface.
  • the fifth embodiment of the present invention is implemented by the following method:
  • a parameter is added to the existing interface between the Manager and the Agent to indicate the manner in which the data is configured.
  • the scenarioType parameter has the following two values.
  • the logical operation of the Validate interface needs to be set accordingly. If the value of the scenarioType parameter is "tradition”, the Validate interface operates according to the traditional configuration mode. For example, the activationMode parameter in the Validate interface is set to be valid. If the value of the scenarioType parameter is "self configuration”, the Validate interface operates according to the self-configuration mode (that is, the modified interface). For example, the activationMode parameter in the Validate interface is invalid.
  • the scenarioType parameter has the following two values:
  • the logical operation of the Activate interface needs to be set accordingly. If the value of the scenarioType parameter is "tradition”, then the Activate operates in the traditional configuration mode. For example, the original activationMode in the Activate interface [I fallbacEnabled The parameter is set to be valid; conversely, if the value of the scenarioType parameter is "self configuration", the Validate interface operates according to the self-configuration mode (ie, the modified interface). For example, the activationMode and fallbacEnabled parameters are invalid.
  • the fifth embodiment of the present invention mainly includes the following steps:
  • step 502A Determine the manner of data configuration, if the network element is not connected to the network, step 502A is performed; if the network element has been connected to the network, step 502B is performed;
  • the Manager invokes the modified interface to request the Agent to download the configuration data of the network element from the Manager, and requests the Agent to verify the configuration data and generate a full configuration data file of the network element; in this process, the Validate needs to be The value of the scenarioType parameter in the interface and the Activate interface is set to "self configuration", so that the Validate interface and the Activate interface operate according to the modified interface.
  • Step 502B The Manager requests the agent to verify and activate the configuration data of the network element according to the traditional configuration manner.
  • the Manager only needs to call the Validate interface or the Activate interface when calling the Validate interface or the Activate interface.
  • the value of the scenarioType parameter is set to "tradition".
  • the method may further include:
  • Step 503 The Agent stores the above full configuration data file.
  • the agent may be in the entity corresponding to a certain path, and the entity corresponding to the path may be a physical entity where the agent is located, or a third-party server.
  • the method further includes: if the network element accesses the network, the agent sends the full configuration data file to the network element.
  • the embodiment of the present invention can also add two self-configuration interfaces based on the interfaces already defined by the original BulkCM, through the existing interfaces in the BulkCM and The newly added self-configured interfaces jointly implement automatic download of NE configuration data.
  • the SC_Validate interface is used to verify the batch configuration data in the self-configuration scenario.
  • the SC-GenerateFile interface is used for self-configuration. Configure the configuration of the full configuration data file in the scenario.
  • the input parameters and output parameters of the SC_Validate interface are as follows:
  • sessionld parameter sessionld identifies the relevant session.
  • sessionld parameter sessionld identifies the relevant session.
  • the method of Embodiment 6 of the present invention specifically includes the following steps:
  • Step 601 The Manager invokes the download interface, and requests the Agent to download the file containing the configuration data from the location specified by the Manager;
  • Step 602 The Manager calls the newly added SC-validate interface to verify the downloaded configuration data to determine whether it is legal.
  • Step 603 The Manager invokes the newly added SC-GenerateFile interface, and requests the Agent to generate a full configuration data file of the network element according to the verified configuration data.
  • the step 602 is optional. After the step 601 is performed, the step 603 can be directly executed. In step 603, the manager calls the newly added SC_GenerateFile interface, and the requesting agent directly generates the full configuration data file of the network element according to the downloaded configuration data. .
  • the method may further include:
  • Step 604 The Agent stores the above full configuration data file.
  • the agent may save the above-mentioned full configuration data file in an entity corresponding to a path, and the entity corresponding to the path may be a physical entity where the agent is located, or a third-party server.
  • the method may further include: if the network element accesses the network, the agent sends the full configuration data file to the network element.
  • the embodiment of the present invention can also add an interface only to the interface already defined by the original BulkCM, which has been added through the BulkCM. Some interfaces and new interfaces work together to automatically download network configuration data.
  • the Manager requests the Agent to generate a fully configured data file by calling this interface.
  • the input parameters and output parameters of the GenerateSCFile interface are as follows:
  • Input parameters sessionld, used to identify the session associated with the configuration data download; Output parameters: Operation results
  • the method of the seventh embodiment of the present invention specifically includes the following steps:
  • Step 701 The Manager invokes the download interface, and requests the Agent to download the file containing the configuration data from the location specified by the Manager.
  • Step 702 The Manager calls BulkCM's validate interface (the optional parameter activationMode in the validate interface is invalidated at this time) to verify the downloaded configuration data to determine whether it is legal;
  • Step 703 The Manager calls the newly generated GenerateSCFile interface, and the requesting agent generates a full configuration data file of the network element according to the verified configuration data.
  • step 702 is optional.
  • step 703 can be directly executed.
  • the Manager calls the GenerateSCFile interface, and the requesting agent directly generates the full configuration data file of the network element according to the downloaded configuration data.
  • the method may further include:
  • Step 704 The agent stores the above full configuration data file.
  • the agent may save the above-mentioned full configuration data file in an entity corresponding to a path, and the entity corresponding to the path may be a physical entity where the agent is located, or a third-party server.
  • the method may further include: if the network element accesses the network, the agent will fully configure the data file. The pieces are sent to the network element.
  • the Manager described in the foregoing method embodiment may be located in the NMS, and the Agent may be located in the EMS or the network element.
  • the method provided by the present invention can be used to forward the configuration data of the network element to the managed unit in advance by the management unit, and the management unit does not need to manage the network element device during the process of starting the network element.
  • the personnel operate on the agent, thereby saving labor costs.
  • the configuration data has been verified before the configuration data is sent to the network element, thereby ensuring smooth start of the station.
  • the present invention further provides an apparatus for acquiring data.
  • the apparatus includes:
  • the first calling module 802 is configured to: before the network element accesses the network, invoke a first interface between the device and the managed unit, and request the managed unit to download configuration data of the network element from the specified location;
  • the second invoking module 804 is configured to invoke a second interface between the device and the managed unit, and request the managed unit to generate a full configuration data file of the network element according to the configuration data.
  • the device may include:
  • a third calling module 803, configured to: after the second calling module 804 invokes the second interface between the management unit and the managed unit, invoke a third interface between the device and the managed unit to request the managed unit to Configure the data for verification.
  • the device may further include:
  • the setting module 801 is configured to: before the first calling module 802 calls the first interface between the management unit and the managed unit, set the data configuration mode to a self-configuration mode or a traditional configuration mode, if the data configuration mode is a self-configuration mode.
  • the first invocation module 802 is then enabled.
  • the above device may be located in the network element management system.
  • the device described in the foregoing embodiment of the present invention can be configured to send the configuration data of the network element to the managed unit in advance by the management unit, and the configuration data of the network element is not sent to the managed unit in advance. Managers need to operate the Agent, which saves labor costs. And the configuration data has been verified before the configuration data is sent to the network element, thereby ensuring smooth start of the station.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Description

数据配置的方法和装置
本申请要求于 2010年 1月 8日提交中国专利局、 申请号为 201010042718. 9、 发明名 称为 "数据配置的方法和装置"的中国专利申请的优先权, 其全部内容通过引用结合在本 申请中。 技术领域 本发明属于通信技术领域, 尤其涉及一种数据配置的方法和装置。 背景技术 在通信网络中, 网络管理模式根据网络复杂程度的不同可以分为两种: 第一种为网元 比较少且网元的类型相对单一的情况, 运营商只需要通过网元管理系统 (element management system, EMS ) 就可以实现对网元的管理; 第二种为网元较多或网元的类型繁 杂的情况, 运营商需要设置多个 EMS来分组管理这些网元, 而这多个 EMS进一歩又可以通过 一个网络管理系统 (Network Management System, 匪 S ) 来进行管理。 其中, NMS主要实 现 国 际 电信联盟 电信管 理 网 ( International Telecommunications Union Telecommunication Management Network, ITU TMN)中的网络管理层 (Network Management Layer, NML) 功能, 提供面向网络设备的操作管理功能; EMS主要完成 ITU TMN中的网元管 理层 (Element Management Layer, EML) 功能, 即完成面向设备的操作维护功能。 NMS与 EMS之间的接口称为北向接口(Interface-N, Itf_N)。在 Itf_N中, NMS通常被称为 Manager, EMS通常被称为 Agent , Agent和 Manager之间通过 Itf_N进行交互。 目前很多运营商都采用 Manager和 Agent共同管理的模式。
网元在接入通信网络, 提供通信业务之前 (此阶段通常被称为网元的开站), 需要经 过一系列的准备工作才能够正常提供业务。 这些准备工作分为三个阶段: 数据准备阶段; 硬件安装阶段; 网元上电后到正式提供业务前的阶段。 在现有技术中网元开站的数据准备 阶段都是由管理人员通过 Agent操作完成, 例如由管理人员准备规划数据, 在 Agent完成数 据导入、 校验和全配置数据的生成等, 由此导致开站的人力成本很高。 发明内容
本发明实施例提供了一种数据配置的方案, 通过该方案使数据准备阶段只需要通过 Manager就可以完成, 而不需要管理人员对 Agent进行操作, 由此实现了网元开站的自动 化, 减少了相应的人力成本。
本发明实施例提供了一种数据配置的方法, 该方法包括:
在网元接入网络之前, 管理单元调用管理单元与被管单元之间的第一接口, 请求所述 被管单元从所述管理单元指定的位置下载所述网元的配置数据;
所述管理单元调用所述管理单元与所述被管单元之间的第二接口, 请求所述被管单元 根据所述配置数据生成所述网元的全配置数据文件。
本发明实施例还提供了一种数据配置的方法, 该方法包括:
在网元接入网络之前, 当管理单元调用管理单元与被管单元之间的第一接口时, 被管 单元从管理单元指定的位置下载网元的配置数据;
当管理单元调用文件管理单元与被管单元之间的第二接口时, 被管单元根据所述配置 数据生成网元的全配置数据文件。
本发明实施例提供的一种配置的装置, 包括:
第一调用模块,用于在网元接入网络之前,调用所述装置与被管单元之间的第一接口, 请求被管单元从指定的位置下载网元的配置数据;
第二调用模块,用于调用所述装置与被管单元之间的第二接口,请求被管单元根据所 述配置数据生成网元的全配置数据文件。
通过上述本发明实施例提供的数据配置的方法和装置,可以实现网元配置数据的自动 下载, 减少了开站的人力成本。 附图说明 图 1为本发明方法实施例一的流程示意图;
图 2为本发明方法实施例二的流程示意图;
图 3为本发明方法实施例三的流程示意图;
图 4为本发明方法实施例四的流程示意图;
图 5为本发明方法实施例五的流程示意图;
图 6为本发明方法实施例六的流程示意图;
图 7为本发明方法实施例七的流程示意图;
图 8为本发明装置实施例的结构示意图。 具体实施方式 下面将结合附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描 述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施例, 都属于本发 明保护的范围。
参见图 1所示, 本发明的方法实施例一包括如下步骤:
歩骤 102:在网元接入网络之前,管理单元调用管理单元与被管单元之间的第一接口, 请求被管单元从所述管理单元指定的位置下载网元的配置数据;
上述管理单元指定的位置可以为管理单元所在的物理实体或第三方服务器。
步骤 104: 管理单元调用管理单元与被管单元之间的第二接口, 请求被管单元根据所 述配置数据生成网元的全配置数据文件。
上述全配置数据文件为支持网元开站的全部或部分配置数据组成的文件。
可选地, 在步骤 104之前, 还可以包括:
步骤 103 : 管理单元调用管理单元与被管单元之间的第三接口请求被管单元对所述配 置数据进行验证。
可选地, 在步骤 104之后, 所述方法还可以包括: 所述被管单元将所述全配置数据文 件保存在被管单元或第三方服务器中。
可选地, 在步骤 104之后, 所述方法还可以包括: 在网元接入网络后, 所述被管单元 将存储的全配置数据文件发送给网元, 发送的方式可以是文件传输等方式, 如利用 ftp。
由于上述步骤中的第一接口、第二接口或第三接口可以是新定义的接口, 也可以是对 BulkCM (大量配置管理) 中己有的接口进行修改后的接口, 因此下面将通过实施例分别 进行介绍。
如果是采用新定义接口的方式, 则在实施本发明实施例二描述的方法之前, 需要定义 如下北向接口:
( 1 ) startSession接口: Manager通过调用该接口来开启一个会话, 并在 Agent中初 始化与该会话相关的临时资源。
调用该接口的输入参数、 输出参数和前提条件如下:
输入参数: sessionld, 该参数用于标识一个新的会话。 输出参数: 操作结果 (成功或失败)。
前提条件: 上述 sessionld当前不在使用中。
(2) endSession接口: Manager通过调用该接口来结束一个会话, 在 Agent中删除与 该会话相关的文件 (如临时文件、 会话日志文件等), 并释放系统中相关的资源。 如果之 前调用过 "预激活"接口, Manager调用该 endSession接口将会结束会话, 并释放分配给 该"预激活 "的所有内部本地资源。 如果会话状态为正在进行, 如正在进行上载、 下载或激 活等, Manager调用该接口结束会话将被拒绝。
调用该接口的输入参数、 输出参数和前提条件如下:
输入参数: sessionld, 该参数用于标识一个新的会话。
输出参数: 操作结果 (成功或失败)。
前提条件: 上述 sessionld当前不在使用中。
(3 ) download接口: Manager通过调用该接口来请求 Agent下载并管理一个包含配 置数据的文件。 Agent可以从指定的全局唯一的数据文件引用中获取这个配置数据文件。
在下载过程中 Agent可以检查下载的配置数据文件的格式是否正确,对于配置数据文 件中的语义错误, Agent在下载配置数据的过程中不需要检查。
调用该接口的输入参数、 输出参数和前提条件如下:
输入参数: sessionld , 用于标识了一个与配置数据文件下载相关联的会话; downloadDataFileReference ,用于定义待下载的数据所对应的全局唯一的文件引用,该全局 唯一的文件引用通常是一个具体的文件存储地址。
输出参数: 操作结果 (成功或失败)。
前提条件: sessionld标识的会话已成功开启, 并且处于闲置 (IDLE)状态。
(4) validate接口: Manager通过调用该接口来请求 Agent验证先前已经下载的配置 数据。 调用该接口可以在 Manager请求 Agent对配置数据进行 "预激活"或 "激活"之前 检査与先前已经下载的配置数据相关的错误。
调用该接口的输入参数、 输出参数和前提条件如下:
输入参数: sessionld, 用于标识了一个与配置数据文件下载相关联的会话。
输出参数: 操作结果 (成功或失败)。
前提条件: Agent已成功开启 sessionld所标识的会话, 且已经进行 "下载"操作或者 重复进行 "下载"操作。 ( 5 ) generateFile接口: Manager通过调用该接口来请求 Agent生成全配置数据文件。 调用该接口的输入参数、 输出参数和前提条件如下:
输入参数: sessionld, 用于标识一个与配置数据文件下载相关联的会话。
输出参数: 操作结果 (成功或失败)。
前提条件: Agent已成功开启 sessionld所标识的会话, 下载的数据已经完成校验。 在设置完上述接口后, Manager 就可以通过调用上述接口, 请求 Agent将存储在 Manager或其他第三方服务器上的配置数据下载到 Agent了。 具体可参见图 2所示, 本发 明实施例二包括如下步骤:
步骤 201 : 在网元接入网络之前, Manager首先调用 startSession接口开启一个会话, 如果该会话处于 IDLE状态, 则执行步骤 202; 如果该会话不是处于 IDLE状态, 则执行步 骤 205。
步骤 202: Manager调用 download接口, 请求 Agent下载并管理一个包含配置数据的 文件, 如果下载完成, 则执行步骤 203 ; 如果下载失败, 则执行步骤 205。
步骤 203 : Manager调用 validate接口, 请求 Agent验证先前已经下载的配置数据, 如果验证完成, 则执行步骤 204; 如果验证失败, 则执行步骤 205。
上述步骤 203是可选的, 在步骤 202中下载完成后, 可以直接执行步骤 204。
步骤 204: Manager调用 generateFile接口, 请求 Agent根据上述验证后的数据生成全 配置数据文件, 并执行步骤 205。
步骤 205: Manager调用 endSession接口, 结束上述会话, 并请求 Agent删除与该会 话相关的文件以及释放系统中相关的资源。
上述与会话相关的文件包括临时文件、 会话日志文件等。
通过上述步骤可以实现在网元接入网络以前就通过 Manger将配置数据下载到 Agent。 上述过程都是通过 Manager调用 Manager与 Agent之间新定义的自配置接口自动完成, 无 需人工参与, 由此节省了大量人力成本。 并且通过该方法可以将网元的配置数据提前下载 到 Agent上, 当网元接入网络时, 可以随时通知 Agent将数据下发给网元, 由此减少了开 站的时间。
可选地, 除了上述定义的接 口外, 还可以定义一个反馈消息: notify SessionStateChanged, Agent可以通过该消息向 Magnager反馈整个批配置的进展状况, 配置数据的状态主要包括如下几种: 下载失败 (Download Failed)
下载完成 (Download Completed)
验证失败 (Validation Failed)
验证完成 (Validation Completed)
配置文件生成失败 (generateFile Failed)
配置文件验证完成 (generateFile Completed)
例如, 当 Manager调用 download接口后, Agent可以通过 notifySessionStateChanged 消息向 Magnager反馈数据下载完成或失败, 如果下载完成, 则 notifySessionStateChanged 消息中指示的信息为下载完成; 如果下载失败, 贝 ij notifySessionStateChanged 消息中指示 的信息为下载失败。 对于调用 validate 接口或 generateFile 接口后, Agent 可以通过 notifySessionStateChanged消息向 Magnager反馈配置数据状态的方式与此类似, 在此不再 一一进行介绍。
可选地, 除了上述定义的接口外,还可以定义一个 getSessionLog接口, Manager可以 通过调用该接口, 从 Agent获取指定会话的与配置数据文件操作关联的活动结果的日志, 该接口可以在任何会话状态下调用, 并且不改变当前的会话状态。
调用该接口的输入参数、 输出参数和前提条件如下:
输入参数: sessionld,用于标识一个指定的会话; logFileReference,用于定义 Manager 中存放结果的地址和文件名。
输出参数: 操作结果 (成功或失败)。
前提条件: sessionld所标识的会话已成功开启, 并且没有被结束。
上述为采用新定义的接口自动下载网元的配置数据的方法,下面将通过具体的实施例 介绍通过对 BulkCM中已有的接口进行修改来实现网元的配置数据自动下载的方法。
在介绍本发明的实施例之前, 需要对已有的 BulkCM流程进行一些简单的介绍, 以方 便读者理解。
Bulk CM应用于北向配置数据的上载 (Upload ) 和下载 (download), 在标准中定义 了完善的状态机、 通知机制、 会话日志 (SessionLog) 处理等, 但其应用却聚焦于日常维 护的场景, 即网元开站已完成的情况, 而不能很好地支持网元开站的场景。 因为 Bulk CM 中调用 Activate接口的前提是网元必须在线, 否则就会调用失败, 而在实际开站中, 在数 据准备阶段, 网元很可能还没有完成硬件安装, 因此调用 Activate接口就会失败。 要直接 利用现有的 Bulk CM完成开站, 本申请的发明人经研究想到过如下两种解决方案:
( 1 ) 在硬件安装前, Manager调用 StartSession开始一个会话, 然后调用 download 接口和 validate接口, 完成配置数据的下发和校验, 在网元上线后再调用 Activate接口。
(2) Manager预先规划好网元的配置数据, 但不启动 Bulk CM程序, 等网元的硬件 安装完成且接入 Agent后再调用 Bulk CM程序, 将配置数据下发到网元。
上述第一种解决方案对于网元己经在线的情况没有问题,但是对于网元过了比较长的 时间才上线的情况就不合适了, 因为一旦北向调用了 StartSession开始一个会话后,在网元 接入网之前该 Session是不能中断的, 由于 Session资源非常有限, 这种方式会长时间占用 有限的系统资源。
对于上述第二种解决方案, 由于网元的配置数据涉及参数往往很多, Manger在将配 置数据发送给网元之前, 并没有调用 Validate接口对网元的配置数据进行校验, 因此在将 配置数据下发给网元的过程中一旦出现错误, 将会花费很长的时间去对数据进行验证和重 新配置, 由此严重影响了开站的进程。
综上, 上述两种解决方案都不能有效的支持新增网元设备开站这一应用场景, 本发明 在下面的实施例中通过对 Bulk CM中己有接口的进行修改和扩展, 使得 Bulk CM流程不 但可以支持新开站的场景, 既可以兼容日常维护的场景。
为了使读者清楚本发明的实施例中对 BulkCM 中的哪些接口做了修改, 下面对 BulkCM中原接口的定义和修改后的新接口的定义进行详细对比。
BulkCM中定义的接口主要包括:
( 1 ) download (下载) 接口;
原接口定义: Manager通过调用该接口请求 Agent来下载并管理一个包含配置数据的 文件。 Agent可以从指定的全局唯一的数据文件引用中获取这个配置数据文件。
新接口定义: 与原接口定义相同。
(2) validate (验证) 接口;
原接口定义: 该接口的调用是可选的, Manager通过调用该接口请求 Agent验证先前 已经下载的配置数据。 调用该接口可以在 Manager调用预激活接口或激活接口请求 Agent 对配置数据进行预激活或 "激活"之前检査先前已经下载的配置数据相关的错误。 该接口 中包含可选的 "activationMode" 参数, 表明激活的方式。
新接口定义: Manager调用该接口请求 Agent验证先前已经下载的配置数据, 跟传统 接口相比, 该接口不需要 "activationMode" 参数 (因为新开站场景下不涉及配置数据在网 元侧真正激活, 所以不需要设置激活模式)。
(3 ) activate (激活) 接口;
原接口定义: Manager调用该接口请求 Agent激活先前己经下载的配置数据, 该接口 调用的前提是网元已经接入网络。
新接口定义: Manager调用该接口请求 Agent根据下载的配置数据生成全配置数据文 件。
上述接口原始定义的功能和参数具体可以参见标准文档 3GPP TS 32.612,在介绍完上 述原接口和修改后的新接口之间的差别后, 下面将通过具体的实施例对本发明的方法进行 详细介绍。
参见图 3所示, 本发明实施例三提供了一种获取数据的方法, 该方法通过如下步骤实 现:
步骤 301: Manager调用 Download接口,请求 Agent从 Manager指定的位置下载包含 配置数据的文件;
步骤 302: Manager调用修改后的 Validate接口, 请求 Agent对下载的配置数据进行 验证, 确定其是否合法;
步骤 303 : Manager调用修改后的 Active接口, 请求 Agent根据验证后的配置数据生 成网元的全配置数据文件。
上述步骤 302是可选的, 在执行完歩骤 301后可以直接执行歩骤 303, 即在步骤 303 中, Manager调用修改后的 Active接口, 请求 Agent直接根据下载的配置数据生成网元的 全配置数据文件。
可选的, 在步骤 303之后还可以包括:
步骤 304: Agent存储上述全配置数据文件。例如, Agent可以将上述全配置数据文件 保存在某个路径对应的实体中, 该路径对应的实体可以是 Agent所在的物理实体, 也可以 是第三方服务器。
可选地, 在步骤 304之后还可以包括: 如果网元接入网络, 则 Agent将全配置数据文 件下发到网元。
通过上述方法可以实现网元在接入网络之前, Manager通过调用修改后的 BulkCM接 口, 自动将网元的配置数据提前下载到 Agent上, 以使网元上电后可以随时通知 Agent下 发网元需要的数据, 由此节省了人力成本。 并且通过提前对配置数据进行验证, 进一步保 证了开站的顺利进行。
为了使本发明的实施例能够兼容传统的 BulkCM在维护场景下的应用,在本发明实施 例四中可以对 Manager发送给 Agent的配置文件进行一些修改, 例如, 可以在 Manager 向 Agent下发的配置文件的 bulkCmConfigDataFile节点中增加一个属性 scenarioType,用于 指示数据配置的方式。 属性增加的具体方法如下:
<element name="bulkCmConfigDataFile">
<complexType>
<sequence>
<element name="fileHeader">
[…]
</element>
<element name="configData" maxOccurs="unbounded">
[…]
</element>
<element name="fileFooter">
[…]
</element>
</sequence>
<attribute name=" scenarioType" use="required">
<simpleType>
<restriction base="string">
<enumeration value="tradition"/>
Enumeration value="self configuration"/
</restriction>
<simpleType>
</attribute>
</complexType>
</element>
在上述对 Manager下发给 Agent的配置文件进行设置后, 同时需要在 Agent中对各个 接口的逻辑操作进行相应设置, 例如, 当上述 scenarioType取值为 trandition时 Agent采用 是传统数据配置方式; 此种情况下, Manager和 Agent之间传统 Bulk CM的各个接口含义 不变; 反之, 当上述 scenarioType取值为 self configuration时, Manager禾口 Agent之间按照 本专利的修改后的 Bulk CM接口进行交互。
在修改完上述配置文件和接口之后, Manager就可以选择是通过传统配置方式还是自 配置方式来进行数据配置, 参见图 4所示, 本发明实施例四具体包括如下步骤- 步骤 401 : Manager设置数据配置的方式为自配置方式或传统配置方式。
步骤 401 具体为, Manager 对上述配置文件的 scenarioType 属性进行设置, 将 scenarioType属性设置为 self configuration (自配置方式) 或 tradition (传统配置方式)。
步骤 402: Manager调用 Download接口,请求 Agent从 Manager指定的位置下载上述 包含配置数据的配置文件; 若配置文件中的 scenarioType属性设置为自配置方式, 则执行 步骤 403 : 若配置文件中的 scenarioType属性设置为传统配置方式, 则按照传统配置方式 对网元的配置数据进行验证、 激活。
步骤 403 : Manager调用修改后的 Validate接口, 请求 Agent对下载的配置数据进行 验证, 确定其是否合法;
步骤 404: Manager调用修改后的 Active接口, 请求 Agent根据验证后的配置数据生 成网元的全配置数据文件。
上述步骤 403是可选的, 在执行完步骤 402后可以直接执行步骤 404, 即在步骤 404 中, Manager调用修改后的 Active接口, 请求 Agent直接根据下载的配置数据生成网元的 全配置数据文件。
可选地, 在步骤 404之后还可以包括:
步骤 405: Agent存储上述全配置数据文件。例如, Agent可以将上述全配置数据文件 保存在某个路径对应的实体中, 该路径对应的实体可以是 Agent所在的物理实体, 也可以 是第三方服务器。
可选地, 在步骤 405之后还可以包括: 如果网元接入网络, 则 Agent将全配置数据文 件下发到网元。
除了上述通过配置文件指示数据配置方式外,本发明实施例还可以通过对接口进行设 置来指示数据配置方式, 参见图 5所示, 本发明实施例五通过如下方法实现:
首先, 在 Manager与 Agent之间已有的接口中新增一个参数, 用于指示数据配置的方 式;
例如, 在 Agent与 Manager之间的 Validate接口中增加一个 scenarioType参数, 该 scenarioType参数有如下两个取值
( 1 ) tradition: 表示传统配置方式;
(2) self configuration : 表示自配置方式。
在增加上述 scenarioType参数后, 还需要对 Validate接口的逻辑操作进行相应设置, 如果 scenarioType参数取值为" tradition", 则 Validate接口按照传统配置方式进行操作, 例 如, Validate接口中的 activationMode参数置为有效; 如果 scenarioType参数取值为" self configuration",则 Validate接口按照自配置方式(即修改后的接口)进行操作,例如, Validate 接口中的 activationMode参数被置为无效。
除此之外, 还需要在 Agent与 Manager之间的 Activate接口中增加一个 scenarioType 参数, 该 scenarioType参数有如下两个取值:
( 1 ) tradition: 表示传统配置方式;
(2) self configuration : 表示自配置方式。
在增加上述 scenarioType参数后, 还需要对 Activate接口的逻辑操作进行相应设置, 如果 scenarioType参数取值为" tradition", 则 Activate按照传统配置方式进行操作, 例如, Activate 接口中原有的 activationMode禾 [I fallbacEnabled 参数被置为有效; 反之, 如果 scenarioType参数取值为" self configuration", 则 Validate接口按照自配置方式(即修改后的 接口)进行操作, 例如, activationMode和 fallbacEnabled参数被置为无效。
在设置完上述接口后, 本发明实施例五主要包括如下步骤:
501: 确定数据配置的方式, 如果网元未接入网络, 则执行步骤 502A; 如果网元已接 入网络, 则执行步骤 502B;
502A: Manager在调用上述修改后的接口将请求 Agent从 Manager下载网元的配置 数据,并请求 Agent对所述配置数据进行验证并生成网元的全配置数据文件;在此过程中, 需要将 Validate接口和 Activate接口中 scenarioType参数的值设置为 "self configuration", 以使 Validate接口和 Activate接口按照修改后的接口进行操作。
Manager在调用上述接口时可以通过对 scenarioType参数进行设置来选择配置数据下 载的方式。 除了需要设置该新增的参数外, 调用接口的过程与步骤 301至步骤 303描述的 过程相似, 所以在此不再详述。
步骤 502B: Manager请求 Agent按照传统配置方式对网元的配置数据进行验证、激活。 Manager只需要在调用 Validate接口或 Activate接口时, 将 Validate接口和 Activate接口中 的 scenarioType参数的值设置为" tradition"就可以了。
可选地, 在步骤 502A或 502B之后还可以包括:
步骤 503 : Agent存储上述全配置数据文件。例如, Agent可以上述全配置数据文件保 存在某个路径对应的实体中, 该路径对应的实体可以是 Agent所在的物理实体, 也可以是 第三方服务器。
可选地, 在步骤 503之后还可以包括: 如果网元接入网络, 则 Agent将全配置数据文 件下发到网元。
除了上述描述的通过对 BulkCM中已有的接口进行重新定义外,本发明的实施例还可 以在原 BulkCM已经定义的接口的基础上再新增两个自配置接口, 通过 BulkCM中已有的 接口和新增的自配置接口共同实现网元配置数据的自动下载。
首先, 在 Agent和 Manager之间新增两个用于自配置的接口, 即 SC_Validate接口和 SC— GenerateFile 接口, SC_Validate 接口用于自配置场景下批配置数据的校验, SC— GenerateFile接口用于自配置场景下全配置数据文件的生成。
SC_Validate接口的输入参数和输出参数如下:
输入参数: sessionld (参数 sessionld标识了相关会话。 )
输出参数: 操作结果 (成功或失败)
SC GenerateFile接口的输入参数和输出如下:
输入参数: sessionld (参数 sessionld标识了相关会话。 )
输出参数: 操作结果 (成功或失败)
具体参见图 6所示, 本发明实施例六的方法具体包括如下步骤:
步骤 601: Manager调用 download接口, 请求 Agent从 Manager指定的位置下载包 含配置数据的文件;
步骤 602: Manager调用新增的 SC— validate接口对下载的配置数据进行验证, 确定 其是否合法;
步骤 603 : Manager调用新增的 SC— GenerateFile接口, 请求 Agent根据验证后的配置 数据生成网元的全配置数据文件。
上述步骤 602是可选的, 在执行完步骤 601后可以直接执行步骤 603, 即在步骤 603 中, Manager调用新增的 SC_GenerateFile接口, 请求 Agent直接根据下载的配置数据生成 网元的全配置数据文件。 可选的, 在步骤 603之后还可以包括:
步骤 604: Agent存储上述全配置数据文件。例如, Agent可以将上述全配置数据文件 保存在某个路径对应的实体中, 该路径对应的实体可以是 Agent所在的物理实体, 也可以 是第三方服务器。
可选地, 在步骤 604之后还可以包括: 如果网元接入网络, 则 Agent将全配置数据文 件下发到网元。
除了上述描述的通过在 BulkCM己经定义的接口基础上再新增两个自配置接口以外, 本发明的实施例还可以仅在原 BulkCM 已经定义的接口基础上再新增一个接口, 通过 BulkCM中已有的接口和新增的接口共同实现网元配置数据的自动下载。
首先,在 Agent和 Manager之间新增一个用于自配置的接口,即 GenerateSCFile接口,
Manager通过调用该接口来请求 Agent生成全配置数据文件。
GenerateSCFile接口的输入参数和输出参数如下:
输入参数: sessionld, 用于标识与配置数据下载相关联的会话; 输出参数: 操作结果
(成功或失败)。
具体参见图 7所示, 本发明实施例七的方法具体包括如下步骤:
步骤 701: Manager调用 download接口, 请求 Agent从 Manager指定的位置下载包 含配置数据的文件;
歩骤 702: Manager调用 BulkCM 的 validate 接口 (validate 接口中的可选参数 activationMode此时被置为无效)对下载的配置数据进行验证, 确定其是否合法;
步骤 703 : Manager调用新增的 GenerateSCFile接口, 请求 Agent根据验证后的配置 数据生成网元的全配置数据文件。
上述步骤 702是可选的, 在执行完步骤 701后可以直接执行步骤 703, 即在步骤 703 中, Manager调用 GenerateSCFile接口, 请求 Agent直接根据下载的配置数据生成网元的 全配置数据文件。
可选的, 在步骤 703之后还可以包括:
步骤 704: Agent存储上述全配置数据文件。例如, Agent可以将上述全配置数据文件 保存在某个路径对应的实体中, 该路径对应的实体可以是 Agent所在的物理实体, 也可以 是第三方服务器。
可选地, 在步骤 704之后还可以包括: 如果网元接入网络, 则 Agent将全配置数据文 件下发到网元。
需要说明的是, 上述方法实施例中描述的 Manager可以位于 NMS中, Agent可以位 于 EMS或网元中。
通过上述本发明提供的方法, 可以实现在网元接入网络之前, 通过管理单元调用自配 置接口将网元的配置数据提前下发给被管理单元, 在网元设备开站过程中不需要管理人员 对 Agent进行操作, 由此节约了人力成本。 并且在将配置数据下发给网元之前已经对配置 数据进行了验证, 由此保证了开站的顺利进行。
除了上述本发明实施例描述的方法外, 本发明还提供了一种获取数据的装置, 参见图 8所示该装置包括:
第一调用模块 802, 用于在网元接入网络之前, 调用所述装置与被管单元之间的第一 接口, 请求被管单元从指定的位置下载网元的配置数据;
第二调用模块 804, 用于调用所述装置与被管单元之间的第二接口, 请求被管单元根 据所述配置数据生成网元的全配置数据文件。
参见图 8所示, 可选地, 该装置可以包括:
第三调用模块 803, 用于在第二调用模块 804调用管理单元与被管单元之间的第二接 口之前, 调用所述装置与被管单元之间的第三接口请求被管单元对所述配置数据进行验 证。
可选的, 该装置还可以包括:
设置模块 801, 用于在第一调用模块 802调用管理单元与被管单元之间的第一接口之 前, 设置数据的配置方式为自配置方式或传统配置方式, 若数据配置的方式为自配置方式 则启用第一调用模块 802。
上述装置可以位于网元管理系统中。
通过上述本发明实施例描述的装置, 可以实现在网元接入网络之前, 通过管理单元调 用自配置接口将网元的配置数据提前下发给被管理单元, 在网元设备开站过程中不需要管 理人员对 Agent进行操作, 由此节约了人力成本。 并且在将配置数据下发给网元之前已经 对配置数据进行了验证, 由此保证了开站的顺利进行。
本领域普通技术人员可以理解实现上述方法实施例或装置执行的全部或部分步骤可 以通过程序来指令相关的硬件完成。
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内

Claims

权利要求
1、 一种数据配置的方法, 其特征在于, 所述的方法包括:
在网元接入网络之前, 管理单元调用管理单元与被管单元之间的第一接口, 请求所述 被管单元从所述管理单元指定的位置下载所述网元的配置数据;
所述管理单元调用所述管理单元与所述被管单元之间的第二接口,请求所述被管单元 根据所述配置数据生成所述网元的全配置数据文件。
2、 根据权利要求 1所述的方法, 其特征在于, 所述第一接口为下载接口, 所述第二 接口为 Activate接口, 或 generateFile接口、 或 SC— GenerateFile接口或 GenerateSCFile接
□。
3、 根据权利要求 2所述的方法, 其特征在于, 所述 GenerateSCFile接口的输入参数 和输出参数为:
输入参数: sessionld, 用于标识与配置数据文件下载相关联的会话;
输出参数: 操作结果。
4、 根据权利要求 1或 2所述的方法, 其特征在于, 所述管理单元调用所述管理单元 与所述被管单元之间的第二接口, 请求所述被管单元根据所述配置数据生成所述网元的全 配置数据文件之前, 进一步包括: 所述管理单元调用所述管理单元与被管单元之间的第三 接口请求所述被管单元对所述配置数据进行验证。
5、 根据权利要求 4所述的方法, 其特征在于, 所述第三接口为验证接口。
6、 根据权利要求 2所述的方法, 其特征在于, 所述 Activate接口中包括一个参数, 用于指示数据配置的方式为自配置方式或传统配置方式, 当管理单元调用所述 Activate接 口时, 通过对所述参数进行设置来指示 Activate接口按照自配置方式进行操作或按照传统 配置方式进行操作。
7、 根据权利要求 5所述的方法, 其特征在于, 所述验证接口中包括一个参数, 用于 指示数据配置的方式为自配置方式或传统配置方式, 当管理单元调用所述验证接口时, 通 过对所述参数进行设置来指示验证接口按照自配置方式进行操作或按照传统配置方式进 行操作。
8、 根据权利要求 1所述的方法, 其特征在于, 在所述管理单元调用管理单元与被管 单元之间的第一接口之前, 所述方法进一步包括, 所述管理单元设置数据配置的方式为自 配置方式或传统配置方式, 如果数据配置的方式为自配置方式, 则管理单元调用管理单元 与被管单元之间的第一接口, 请求所述被管单元从所述管理单元指定的位置下载所述网元 的配置数据。
9、 根据权利要求 8所述的方法, 其特征在于, 所述管理单元设置数据配置的方式为 自配置方式或传统配置方式具体为:
在管理单元向被管单元下发的配置文件中增加一个属性用于指示数据配置的方式为 自配置方式或传统配置方式。
10、根据权利要求 1所述的方法, 其特征在于, 所述管理单元指定的位置为管理单元 所在的物理实体或第三方服务器。
11、 一种数据配置的方法, 其特征在于, 当所述的方法包括- 在网元接入网络之前, 当管理单元调用管理单元与被管单元之间的第一接口时, 被管 单元从所述管理单元指定的位置下载网元的配置数据;
当管理单元调用文件管理单元与被管单元之间的第二接口时,被管单元根据所述配置 数据生成所述网元的全配置数据文件。
12、 根据权利要求 11所述的方法, 其特征在于, 所述的方法还包括:
当管理单元调用管理单元与被管单元之间的第三接口时,所述被管单元对所述配置数 据进行验证。
13、 根据权利要求 11所述的方法, 其特征在于, 所述的方法还包括:
将所述全配置数据文件保存在所述被管单元所在的物理实体或第三方服务器中。
14、 根据权利要求 13所述的方法, 其特征在于, 所述方法还包括:
在网元接入网络之后, 被管单元将所述全配置数据文件发送给网元。
15、 一种数据配置的装置, 其特征在于, 包括:
第一调用模块,用于在网元接入网络之前,调用所述装置与被管单元之间的第一接口, 请求被管单元从指定的位置下载网元的配置数据;
第二调用模块, 用于调用所述装置与被管单元之间的第二接口, 请求被管单元根据所 述配置数据生成网元的全配置数据文件。
16、 根据权利要求 15所述的装置, 其特征在于, 所述装置还包括:
第三调用模块,用于在所述第二调用模块调用管理单元与被管单元之间的第二接口之 前, 调用所述装置与被管单元之间的第三接口请求被管单元对所述配置数据进行验证。
17、 根据权利要求 15或 16所述的装置, 其特征在于, 所述装置进一步包括: 设置模块, 用于在所述第一调用模块调用管理单元与被管单元之间的第一接口之前, 设置数据的配置方式为自配置方式或传统配置方式。
PCT/CN2011/070091 2010-01-08 2011-01-07 数据配置的方法和装置 WO2011082684A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
RU2012133973/08A RU2533638C2 (ru) 2010-01-08 2011-01-07 Способ и устройство для конфигурирования данных
EP11731685A EP2512064A4 (en) 2010-01-08 2011-01-07 METHOD AND APPARATUS FOR CONFIGURING DATA
US13/542,951 US20120278456A1 (en) 2010-01-08 2012-07-06 Method and apparatus for data configuration

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010042718.9 2010-01-08
CN2010100427189A CN102123040A (zh) 2010-01-08 2010-01-08 数据配置的方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/542,951 Continuation US20120278456A1 (en) 2010-01-08 2012-07-06 Method and apparatus for data configuration

Publications (1)

Publication Number Publication Date
WO2011082684A1 true WO2011082684A1 (zh) 2011-07-14

Family

ID=44251501

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070091 WO2011082684A1 (zh) 2010-01-08 2011-01-07 数据配置的方法和装置

Country Status (5)

Country Link
US (1) US20120278456A1 (zh)
EP (1) EP2512064A4 (zh)
CN (1) CN102123040A (zh)
RU (1) RU2533638C2 (zh)
WO (1) WO2011082684A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905631B (zh) * 2012-12-31 2016-06-01 比亚迪股份有限公司 移动终端及其modem及linux芯片统一下载的方法
RU2731321C2 (ru) 2018-09-14 2020-09-01 Общество С Ограниченной Ответственностью "Яндекс" Способ определения потенциальной неисправности запоминающего устройства
RU2714219C1 (ru) 2018-09-14 2020-02-13 Общество С Ограниченной Ответственностью "Яндекс" Способ и система для планирования передачи операций ввода/вывода
RU2718215C2 (ru) 2018-09-14 2020-03-31 Общество С Ограниченной Ответственностью "Яндекс" Система обработки данных и способ обнаружения затора в системе обработки данных
RU2714602C1 (ru) 2018-10-09 2020-02-18 Общество С Ограниченной Ответственностью "Яндекс" Способ и система для обработки данных
RU2721235C2 (ru) 2018-10-09 2020-05-18 Общество С Ограниченной Ответственностью "Яндекс" Способ и система для маршрутизации и выполнения транзакций
RU2711348C1 (ru) 2018-10-15 2020-01-16 Общество С Ограниченной Ответственностью "Яндекс" Способ и система для обработки запросов в распределенной базе данных
RU2714373C1 (ru) 2018-12-13 2020-02-14 Общество С Ограниченной Ответственностью "Яндекс" Способ и система для планирования выполнения операций ввода/вывода
RU2749649C2 (ru) 2018-12-21 2021-06-16 Общество С Ограниченной Ответственностью "Яндекс" Способ и система для планирования обработки операций ввода/вывода
RU2720951C1 (ru) 2018-12-29 2020-05-15 Общество С Ограниченной Ответственностью "Яндекс" Способ и распределенная компьютерная система для обработки данных
RU2746042C1 (ru) 2019-02-06 2021-04-06 Общество С Ограниченной Ответственностью "Яндекс" Способ и система для передачи сообщения

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070268516A1 (en) * 2006-05-19 2007-11-22 Jamsheed Bugwadia Automated policy-based network device configuration and network deployment
EP2110990A1 (en) * 2008-04-16 2009-10-21 Nokia Siemens Networks Oy Managing a network element

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8135413B2 (en) * 1998-11-24 2012-03-13 Tracbeam Llc Platform and applications for wireless location and other complex services
US6654388B1 (en) * 1999-05-26 2003-11-25 Larscom Incorporated Method and apparatus for automatically determining allocation of voice and data channels on T1/E1 line
US6640262B1 (en) * 1999-12-20 2003-10-28 3Com Corporation Method and apparatus for automatically configuring a configurable integrated circuit
US6766364B2 (en) * 2002-01-15 2004-07-20 Telcordia Technologies, Inc. Template based configuration and validation of a network for enabling a requested service to be compatible with the previously enabled services
ATE303046T1 (de) * 2002-06-04 2005-09-15 Betrieb einer vermittlungsknote in einem kommunikationsnetzwerk mit sowohl einer geschichteten als einer nicht-geschichteten architektonischen umgebung
US20040103308A1 (en) * 2002-11-25 2004-05-27 Gabor Paller Self-configuring protocol gateway
US7710587B2 (en) * 2004-10-18 2010-05-04 Microsoft Corporation Method and system for configuring an electronic device
CN100403690C (zh) * 2005-04-30 2008-07-16 华为技术有限公司 用户驻地设备配置管理方法及其系统
EP1780940B1 (en) * 2005-10-31 2009-06-17 PacketFront Systems AB High availability network systems
WO2008042971A1 (en) * 2006-10-04 2008-04-10 The Florida International University Board Of Trustees Communication virtual machine
US20100272250A1 (en) * 2009-04-28 2010-10-28 Michael Shen-Yuan Yap Method and System for Pulling a Call
US8504664B2 (en) * 2009-07-20 2013-08-06 Genband Us Llc Methods, systems, and computer readable media for a validation framework for validating commands for configuring entities in a telecommunications network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070268516A1 (en) * 2006-05-19 2007-11-22 Jamsheed Bugwadia Automated policy-based network device configuration and network deployment
EP2110990A1 (en) * 2008-04-16 2009-10-21 Nokia Siemens Networks Oy Managing a network element

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
HENNING SANNECK ET AL.: "Network Element Auto-configuration in a Managed Network, Integrated Network Management, 2007.", IM'07. 10TH IFIP/IEEE INTERNATIONAL SYMPOSIUM ON, 21 May 2007 (2007-05-21), pages 497 - 515 *
HUAWEI TECHNOLOGIES: "Use case for automatic radio data preparation", MEETING SA5#68, 13 November 2009 (2009-11-13), pages 1 - 2 *
HUAWEI TECHNOLOGIES: "Use case for automatic radio data preparation", MEETING SA5#68, 13 November 2009 (2009-11-13), XP050400017 *
HUAWEI: "Proposal for ARCF data procedure", MEETING SA5#69, 22 January 2010 (2010-01-22), XP050439698 *
HUAWEI: "Proposal for ARCF procedure", MEETING SA5#70, 5 March 2010 (2010-03-05) *
RAPPORTEUR ([email protected]): "IntroducingARCF (Automatic Radio Configuration Function)", MEETING SA5#70, 5 March 2010 (2010-03-05) *
See also references of EP2512064A4 *

Also Published As

Publication number Publication date
CN102123040A (zh) 2011-07-13
RU2012133973A (ru) 2014-02-20
EP2512064A1 (en) 2012-10-17
EP2512064A4 (en) 2012-10-17
RU2533638C2 (ru) 2014-11-20
US20120278456A1 (en) 2012-11-01

Similar Documents

Publication Publication Date Title
WO2011082684A1 (zh) 数据配置的方法和装置
KR100620054B1 (ko) 장치 관리 기술에서의 장치 관리 시스템 및 방법
US7809366B2 (en) Mobile device client
US20060041931A1 (en) Service level assurance system and method for wired and wireless broadband networks
US20090254613A1 (en) Method, apparatus, and system for acquiring and providing cpe function configuration information
WO2009003385A1 (fr) Procédés, appareils et systèmes pour mettre à jour un équipement
WO2007115488A1 (fr) Procédé, système et dispositif de configuration de paramètres de dispositif dans un réseau d&#39;accès de ligne d&#39;abonné numérique
WO2010127602A1 (zh) 终端参数的配置方法和系统、终端管理装置
US8914476B2 (en) Method for automatically configuring devices in telecommunication networks and devices for use with such methods
US9313108B2 (en) Flexible and scalable method and apparatus for dynamic subscriber services configuration and management
WO2009089771A1 (fr) Procédé et système de gestion de réseau, terminal et serveur de configuration automatique
KR20090008978A (ko) 디바이스 관리 서비스를 브로드밴드 통신 모듈이 없는전자기기에 제공하는 시스템 및 방법
KR20100029106A (ko) 모바일 단말기들의 웹 기반 오버―디―에어 제공 및 활성화
US20060199568A1 (en) Method for providing a search service using a mobile communication terminal and mobile communication terminal and server therefor
WO2008116405A1 (fr) Procédé pour produire une demande de service et système de commande en ligne
CN103560918B (zh) 一种管理cpe端口的方法及系统
CN111770151A (zh) 用于自定义流程的处理方法、装置、电子设备及存储介质
US20120015631A1 (en) Service processing method, communication system and relevant devices
US8838754B1 (en) Mobile device with a management forest in a device management network
WO2010124571A1 (zh) 节点信息获取方法、客户端、服务器
TWI474731B (zh) WiMAX用戶端及設置該WiMAX用戶端參數之方法
Cisco Cisco DPA 7630/7610 Voice Mail Gateway Version 1.2(1) Release Notes
WO2009006770A1 (fr) Procédé de gestion de nœud p2p
WO2013017020A1 (zh) 对可执行节点的操作方法及系统
Cisco Use Case Provisioning

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11731685

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2011731685

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2012133973

Country of ref document: RU