WO2009012696A1 - A communication device batch configuration managing method and the apparatus thereof - Google Patents

A communication device batch configuration managing method and the apparatus thereof Download PDF

Info

Publication number
WO2009012696A1
WO2009012696A1 PCT/CN2008/071658 CN2008071658W WO2009012696A1 WO 2009012696 A1 WO2009012696 A1 WO 2009012696A1 CN 2008071658 W CN2008071658 W CN 2008071658W WO 2009012696 A1 WO2009012696 A1 WO 2009012696A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration data
configuration
communication device
data
description
Prior art date
Application number
PCT/CN2008/071658
Other languages
French (fr)
Chinese (zh)
Inventor
Qiuhong Liu
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.
Publication of WO2009012696A1 publication Critical patent/WO2009012696A1/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
    • 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/0866Checking the configuration

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for batch configuration management of a communication device. Background technique
  • configuring and managing devices is an important means to maintain the normal and orderly operation of communication devices. It initializes devices and configures data for devices to enable devices to provide normal service services or optimize device performance.
  • GUI graphical user interface
  • the batch data configuration mode refers to batch configuration of multiple configuration items that are related to one device at the same time.
  • the middle routers, access servers, and other ports need to be configured.
  • Users can only perform each device on the interface. Repeated steps are not only cumbersome, inefficient, but also require many parameters to be manually entered, and the accuracy of the data is not high.
  • the other is based on a configuration data export tool to export the default data of the device to the text file for the network maintenance personnel.
  • the network maintenance personnel manually modify the relevant data in the text file and then load it into the device by using the import tool, which is generally Load into the device's memory, database, or configuration file.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method and a device for managing batch configuration of a communication device, so as to accurately and efficiently perform batch configuration management on the communication device.
  • the embodiment of the invention provides a method for batch configuration management of a communication device, and the method includes:
  • the embodiment of the invention further provides an apparatus for batch configuration management of a communication device, the device comprising:
  • a configuration data description unit configured to describe configuration data in each communication device based on a unified description format
  • a configuration data download unit configured to download configuration data in the communication device based on a unified description format description
  • the configuration data parsing unit (143) is configured to parse and display the downloaded configuration data to the outside world for editing;
  • the configuration data uploading unit (144) is configured to upload the externally edited configuration data to the selected target communication device;
  • the control unit (145) is configured to control the target communication device to load the received configuration data.
  • the embodiment of the invention further provides a method for batch configuration management of a communication device, the method comprising: downloading configuration data in the communication device;
  • the embodiment of the present invention further provides a device for managing batch configuration of a communication device, where the device includes: a configuration data download unit (151), configured to download configuration data in the communication device;
  • the configuration data description unit (152) is configured to describe the downloaded configuration data based on the unified description format;
  • the configuration data parsing unit (153) is configured to parse and display the configuration data based on the unified description format description to the outside world for editing;
  • the configuration data uploading unit (154) is configured to upload the externally edited configuration data to the selected target communication device; the data loading control unit (155) is configured to control the target communication device to load the received configuration data. .
  • the method for batch configuration management of a communication device according to an embodiment of the present invention is configured to download configuration data on a communication device to a local modification, and then batch configuration to the target communication device. It avoids lengthy and error-prone manual configuration and improves the accuracy of data configuration.
  • FIG. 1 is a flowchart of a method for batch configuration management of a communication device according to an embodiment of the present invention
  • FIG. 2 is a block diagram of a configuration data description file according to an embodiment of the present invention.
  • FIG. 3 is a block diagram of an interface organization description file according to an embodiment of the present invention.
  • FIG. 4 is a block diagram of a content of a control rule description file according to an embodiment of the present invention.
  • FIG. 5 is a block diagram showing the content of a data content description file according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a tree structure on a left side of an analysis interface according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a structure of a table on the right side of an analysis interface according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an interface when adding configuration data according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an interface of a check result list according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of an interface configuration of a target communication device according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of configuration data uploading according to an embodiment of the present invention.
  • FIG. 12 is a flowchart of performing batch configuration management on communication devices of different versions of the same type according to an embodiment of the present invention.
  • FIG. 13 is a flowchart of configuring data upgrade for a target communication device according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of an apparatus for batch configuration management of a communication device according to an embodiment of the present invention
  • FIG. 15 is a schematic structural diagram of another apparatus for batch configuration management of a communication device according to an embodiment of the present invention.
  • the externally edited configuration data is uploaded to the selected target communication device, and the control target communication device loads the received configuration data.
  • a preferred implementation is to describe the configuration data in Extensible Marker Language (XML), generate a configuration data description file, and parse the configuration item description file downloaded to the local XML description to obtain a common visual configuration.
  • XML Extensible Marker Language
  • Interface network maintenance personnel perform editing and configuration operations on the premise of perfect prompting and verification functions on the configuration interface, and then select one or more target communication devices, and upload the locally configured data to the resume transmission method by means of breakpoint transmission.
  • the configuration data is actually loaded onto the target communication device, thereby performing automatic batch configuration on multiple target communication devices.
  • an embodiment of the present invention provides a method for batch configuration management of a communication device, which specifically includes: Step 101: Describe configuration data in each communication device according to a unified description format, that is, adopt a common data description method to configure The data is described, and a configuration data description file is generated.
  • configuration data is usually stored in the form of a plain text file, an in-memory table or a database, a Management Information Base (MIB), and the like. But regardless of the form, it can be divided into the configuration data content part and the data description part, which is usually called the data dictionary.
  • the configuration data content part it is usually stored in the form of a two-dimensional relation table; in the data dictionary part, the storage location of the data corresponding to each configuration item, the data type of the field, the value range constraint, the business logic, and the like are described. If the communication device needs a certain record during the running process, the corresponding data content can be found according to the description of the data dictionary.
  • the embodiment of the present invention adopts an XML file. To describe.
  • the communication system can be configured in the order of the product one device type and one device version one configuration item
  • the data of each configuration item can be represented by a two-dimensional relationship, and each field of the configuration item can be valued. Scope constraints, data types, business logic, and interface display are described in multiple angles. Therefore, the configuration order, configuration data, and constraints on configuration data can be described to completely describe the configuration data on the communication device. Come.
  • the present invention employs three XML files to describe the configuration data.
  • the configuration data description file 200 includes three parts: the first part is the interface organization description file 201; the second part is the control rule description file 202; the third part is the data content description file 203. The following three parts are explained in detail separately:
  • the interface organization description file 201 is used to describe the organization display of the configuration items of the communication device on the interface, and specifically includes the display order and hierarchical relationship of the configuration items.
  • Each product corresponds to an interface organization description file.
  • the interface organization description file 201 is divided into four levels, and the contents in each level are sequentially stored in the order shown on the interface.
  • the first level is product information 301, including product identification ID, product name and other information
  • the second level is device type information 302, including device type ID, device type name and other information
  • the third level is device version information 303, including version ID
  • the fourth level is the configuration item information 304, including the configuration item ID, the configuration item name, and whether the interface is displayed or the like.
  • a specific configuration item can be nested under it.
  • the organization order and hierarchical relationship of all configuration items under one product can be described in the interface; in particular, the public configuration of the corresponding device type can be directly linked under the device type information level of the second level. Projects, these configuration items are common to all versions underneath.
  • devtype is a device type label, belonging to device type information 302-level
  • common is a public configuration label, which is hung under device type information 302-level
  • version is device version label, belonging to device version information 303-level
  • fun is The configuration item label belongs to configuration item information 304-level.
  • the other symbols used in the XML in the example are: id is the identification attribute corresponding to each level; disp is the display attribute corresponding to each level; name is the name attribute corresponding to the above levels.
  • the interface description file 201 can easily describe the interface presentation relationship between configuration items, and it is easy to expand. For example, adding a configuration item can add a fim at the corresponding level. Labels and corresponding attributes; delete a configuration item to delete the corresponding label. By the same token, it is convenient to implement the addition and removal of a device type and device version.
  • the control rule description file 202 is used to describe the correctness of the specific configuration fields in the communication device and the control of the interface elements, and specifically includes the data correctness control rules and the control rules displayed by the interface. Each configuration item corresponds to a control rule description file.
  • control rule description file 202 includes two parts, one for the configuration item control description 410 and the other for the interface element control description 420.
  • the configuration item control description 410 part is divided into four levels:
  • the first level is the overall control description 411 of the configuration item, including the configuration item ID, the presence or absence of the index, the ID of the parent configuration item, and whether it is a leaf on the configuration item function tree interface.
  • the second level is the table description 412 of the configuration data, mainly the display type of the table on the interface, such as horizontal display according to the field order, vertical display of the field, etc.;
  • the third level is the control description 413 of the configuration field, mainly the interface display control, the data correctness check rule, and the like, including the field ID, the name, the object identifier (OID, Object Identifier), the data type, the value range, and the storage.
  • the interface element description 420 and the table description 412 of the second-level configuration data in the configuration item control description 410 are juxtaposed at the same level, mainly including the button ID, the button title, the action type of the button, and the button execution completion. The operations that need to be performed, etc.
  • the following is an example of a control rule description file 202:
  • the data content description file 203 is used to describe the configuration data values, and is described in a hierarchical form.
  • the configuration data of each communication device corresponds to one data content description file.
  • the data content description file 203 is divided into four levels.
  • the first level is the device information description 501, including the device ID, the device name, the device type, and the device version information.
  • the second level is the configuration item description 502, including the configuration item ID and the configuration item name;
  • the third level is the configuration line description 503, The line number is described in the order of the lines.
  • the fourth level is the configuration field description 504, including the field ID, the field name, and the value of the field.
  • the description of the field is described in the order in which the fields are displayed on the interface.
  • the two-dimensional relationship of the configuration data can be conveniently described by the data content description file 203.
  • the configuration item name and the field name in the data content description file 203 are actually redundant information, specifically Excluding the corresponding information in the control rule description file 202, the information is only available in the local data content description file, and the data content description file actually transmitted to the communication device does not include the information.
  • the purpose of this is to facilitate manual viewing or editing without parsing the presentation.
  • the master-slave table in the communication device can be described by the interface organization description file 201, and the actual data is stored separately.
  • the interface organization description file 201 For a relational description that a table can be associated with a configuration table by a control rule, the data of the primary table and the secondary table are actually stored separately. This brings great flexibility and scalability to the data description.
  • Step 102 Download the configuration data based on the unified format description in the communication device, and download the configuration data based on the unified format description on the communication device to be configured to the local client, as the basis of the batch configuration data.
  • the configuration data includes three parts in the configuration data description file 200.
  • the process of downloading the configuration data is to download the configuration data description files from the communication device to the client.
  • There are various ways to download configuration data such as downloading configuration data based on File Transfer Protocol (FTP) or Secure File Transfer Protocol (SFTP).
  • FTP File Transfer Protocol
  • SFTP Secure File Transfer Protocol
  • Step 103 Parsing and displaying the downloaded configuration data.
  • the configuration data is parsed into a visual interface according to some rules defined in the configuration data description file 200, and the visualization is performed.
  • the configuration data is displayed in the form of the left tree and the right table.
  • the left tree is hierarchically displayed according to the product one device type, one device version, one device name, and one configuration item. See Figure 6, which is a schematic diagram of the left tree.
  • a hyperlink is provided at the configuration item level of the left tree, and the configuration item name is clicked, and the display information of each configuration field is obtained from the corresponding control rule description file 202 according to the ID of the current configuration item, and the column headings of the two-dimensional table are organized. Then, the data corresponding to the current configuration item ID is obtained from the data content description file 203, and the data of all the fields is assembled into a two-dimensional table displayed one by one in the upper right according to the line number and the column number.
  • the configuration item ID corresponding to the field is first found, and then the corresponding configuration data content is found according to the ID, and finally the assembly of the two-dimensional table is completed line by line.
  • the main table is displayed in the upper right half, and the table is displayed in In the lower right half, each has its own button operating area.
  • the relationship between the slave table and the master table is expressed by the parent configuration item ID in the control rule description file 202.
  • the corresponding slave table data is displayed below, as shown in FIG. 7 .
  • Step 104 Edit the configuration data, that is, the user performs the addition, deletion, and modification operations of the configuration data according to related prompts on the interface, so that the input data is desired by the user.
  • the user performs the addition, deletion, and modification operations of the configuration data according to related prompts on the interface, so that the input data is desired by the user.
  • Step 105 Verify the edited configuration data, perform correctness verification such as data validity and service relevance on the editing interface, and ensure the correctness of the configuration data.
  • the user needs to perform data verification when editing the configuration data for submission. These include: data type check, range constraint check, uniqueness check, data format check, data association, business logic check, and so on. After the verification is completed, the verification result will be displayed on the interface for user confirmation and correction. See Figure 9 for details.
  • the contents of the verification result list here include: configuration item name, field name, field value, error information description, and so on. If the configuration data is incorrect, the user can return to the editing interface according to the error reason and continue to modify until the configuration data is correct.
  • Step 106 Set the target communication device. Depending on the needs of the batch configuration, one or more communication devices can be selected as the target communication device for configuration.
  • the target communication device to be configured can be selected.
  • the process includes: selecting a source device name of the configured data on the tree of the left configuration item, and displaying the same category and the same version as the source communication device according to the configuration data content description file 200 on the right interface.
  • the current user has a list of target communication devices with the operation authority; the user can also click the device type name on the left configuration item tree, and according to the configuration data content description file 200, the current user has the operation permission under the device type on the right interface.
  • a list of target communication devices is shown in FIG. 10, wherein the user can select one or more target communication devices according to actual configuration requirements.
  • Step 107 Set the configuration mode of the target communication device. That is, an appropriate mode is selected to perform the configuration operation according to the needs of the target communication device configuration.
  • Configuration mode in this embodiment There are two ways to cover configuration and update configuration.
  • the overlay configuration refers to completely inserting new data edited by the user after deleting the configuration data existing on the target communication device.
  • the updating configuration refers to updating the corresponding original data content in the target communication device based on the corresponding content in the edited configuration data of the user, that is, replacing the part of the data on the target communication device that has new configuration data. Operation; No change is made to the part of the data on the target communication device that is not available in the new configuration data; the part of the data that is not in the new configuration data on the target communication device is inserted.
  • some configuration requirements are either full coverage or update coverage. In this case, this step is optional.
  • the configuration mode can be set for each target communication device, and the configuration mode can be set for all target communication devices in sequence.
  • Step 108 Upload configuration data to the target communication device, that is, upload the source configuration data to the target communication device in batch according to the target communication device list and the configuration mode set by the user.
  • the method of concurrently uploading configuration data is adopted, and a strategy of resuming transmission of a breakpoint is adopted in the process of single uploading configuration data.
  • Step 1101 Take the name, IP address, and connection port of the target communication device.
  • Step 1102 Check whether the running status of the target communication device is normal. If yes, go to step 1103; otherwise, indicate that data configuration is currently unavailable, and repeat step 1102.
  • Step 1103 Read the breakpoint information at the time of the last upload interrupt as the starting point for uploading the configuration data.
  • Step 1104 Establish a connection with the target communication device.
  • Step 1105 Upload configuration data to the target communication device.
  • Step 1106 If the uploading process is interrupted due to a problem with the target communication device, causing the uploading process to be interrupted, step 1107 is performed; if there is no problem with the target communication device during the uploading process, step 1108 is performed.
  • Step 1107 Save the breakpoint information of the upload process, and then return to step 1101.
  • Step 1108 Check whether the configuration data is completely uploaded. If yes, the process of uploading the configuration data ends. Otherwise, return to step 1105.
  • the process of uploading configuration data enables the embodiment of the present invention to implement off-line configuration of the target communication device, and can automatically detect and automatically upload the video communication device even if the target communication device is disconnected, thereby greatly reducing the degree of manual intervention. Improved automation of configuration management.
  • Step 109 Pre-processing the configuration data, that is, pre-processing the configuration data uploaded to the target communication device according to the current actual running environment of the target communication device, and providing the pre-processing result information to the user.
  • the pre-processing includes data consistency check, data conversion, resource application, memory or database, etc., converting the configuration data into an operation command on the running environment of the target communication device, and decomposing the configuration data file into several different configuration files. Convert to the internal required format, etc., in order to ensure the consistency and correctness of the data in the actual environment. Pre-processing is the operation inside the target communication device, which helps to identify potential problems before actually implementing the configuration data, reduce the time required to configure the data, and ensure the success of the configuration operation.
  • the pre-processing report is output to the user for analysis and viewing.
  • the contents of the pre-processing report mainly include: configuration item name, field name, field value, error information description, repair suggestion, etc. If the pre-processing results are all correct, the pre-processing is directly prompted to be successful. Otherwise, the pre-processing report is downloaded to the user for viewing. The user may re-download the configuration data description file of the target communication device according to the error reason and the repair suggestion, and edit or directly return to the editing. The interface continues to be modified until the configuration is correct. In particular, in some configuration scenarios where the configuration data does not involve a memory allocation, a resource application, or a database update, the foregoing pre-processing operations may not be required. In this case, this step is optional.
  • Step 110 Load the configuration data, that is, after the pre-processing succeeds, the control target communication device loads the configuration data for the pre-processing success, thereby completing the data configuration operation.
  • the configuration data is split into a configuration file corresponding to different functional components inside the target communication device, and formatted into an internal required format; thereby completing, adding, deleting, and modifying data to the managed object inside the target communication device, and Convert configuration data to actual run commands, and more.
  • the target communication device can operate according to the new configuration state.
  • Step 1201 Unifiedly editing and verifying common version data of different versions
  • Step 1202 Perform editing and verification of respective configuration data of different versions respectively.
  • Step 1203 Set different types of communication devices of the same type as target communication devices
  • Step 1204 Set a configuration mode of the corresponding version target communication device
  • Step 1205 Step 1207: Performs batch uploading, pre-processing, and loading of the configuration data, which is similar to the steps 108-110, and is not described here. At this time, all configuration items of communication devices of different versions of the same communication device are configured.
  • Step 1302 comparing the high version with the lower version, determining whether the lower version of the configuration item or field is deleted, if yes, executing step 1303; otherwise, executing step 1304;
  • Step 1306 If there is a configuration item in the high and low version, it is determined whether the field control range, the data type, and the like in the configuration item in the high version have changed compared with the low version. If yes, step 1307 is performed; Bay U, directly perform step 1308;
  • Step 1307 If the validity control rule such as the field range or the data type in the same configuration item of the high version and the lower version changes, directly modify the lower version of the data content file, and change the changed data according to the constraint of the new version.
  • Step 1308 Determine whether there is a version upgrade, that is, determine whether type is equal to 0, and if so, the configuration data upgrade process ends; otherwise, step 1309 is performed;
  • Step 1309 Determine whether the type type is only a high version and a relatively low version, that is, whether the type is equal to 1, if not, proceed to step 1310; if yes, perform step 1311;
  • Step 1310 Parsing the data content file after modifying the low-level configuration data content file according to the high-level configuration rule, and converting to a visual interface for editing and verifying the configuration item, wherein the processes of parsing, editing, and verifying are respectively referred to Step 103, step 104 and step 105, which are not described in detail herein;
  • Step 1311 Set the corresponding target communication device and configuration mode, upload the configuration data file, perform pre-processing of the data file, and perform actual loading of the configuration data after the pre-processing is successful, so that the updated target communication device runs under the new version.
  • the pre-processing operation of setting the configuration mode and the data file is optional. For details, refer to Step 107 and Step 109, and details are not described here.
  • the method for batch configuration management of a communication device uses XML to describe configuration data, and generates a general configuration data description file that is easy to edit, view, and process, and can be conveniently parsed by using the file.
  • Visualized user interface network maintenance personnel have a comprehensive prompt function and data verification function when performing configuration editing on the visual interface, which ensures the accuracy of data configuration.
  • due to the flexibility and scalability of the configuration file it is possible to adapt to communication devices where the configuration items change frequently and often need to be upgraded;
  • the selection function of the target communication device When uploading configuration data, the selection function of the target communication device is provided, and multiple target communication devices can be selected to be uploaded in parallel according to requirements, and multiple target communication devices are batch-configured;
  • configuration data file is downloaded to the local device for configuration, and the locally configured configuration data description file is uploaded by using a breakpoint resume transmission, thereby enabling off-line configuration of the communication device and reducing the degree of manual intervention. , improve the automation of configuration management;
  • pre-processing the configuration data uploaded to the target communication device helps to identify potential problems, reduces the time required for configuration operations, and improves the accuracy of the configuration operation. Sex, consistency and integrity;
  • the method for managing batch configuration of a communication device can not only implement configuration of multiple configuration items for one communication device at the same time, but also enable configuration of one or more configuration items for multiple communication devices simultaneously.
  • the embodiment of the present invention further provides a device for managing batch configuration management of a communication device, and the device for configuring batch management of the communication device includes:
  • the configuration data description unit 141 is configured to describe configuration data in each communication device based on the unified description format, and the description may be, but is not limited to, three parts based on an interface organization file, a control rule file, and a data content description file.
  • a preferred implementation is to use a generic XML language to describe configuration data in a communication device.
  • Configuration Data Download Unit 142 Used to download configuration data based on a unified description format description in the communication device.
  • the configuration data parsing unit 143 is configured to parse and display the downloaded configuration data to the outside world for editing.
  • the configuration data uploading unit 144 is used to upload the externally edited configuration data to the selected target communication device.
  • the corresponding data content included in the externally edited configuration data may be uploaded to the target communication device according to the configuration mode selected in advance for the target communication device.
  • a preferred implementation method is to interrupt the configuration data upload process, and continue to upload the un-uploaded configuration data from the interruption.
  • the data loading control unit 145 is configured to control the target communication device to load the received configuration data.
  • the above apparatus may further include:
  • the configuration data verification unit 146 is configured to perform verification on the externally edited configuration data, and provide the verification result information to the outside world. Further, the above apparatus may further include:
  • the configuration data pre-processing unit 147 is configured to pre-process the configuration data uploaded to the target communication device according to the current actual operating environment of the target communication device, and provide the pre-processing result information to the outside world.
  • the data loading control unit 145 is specifically configured to control the target communication device to load the configuration data of the pre-processing success after the pre-processing is successful.
  • the configuration data verification unit 146 and the configuration data preprocessing unit 147 in the apparatus for batch configuration management of the communication device are optional.
  • the various functional units mentioned in the above apparatus may be implemented based on software programming, or may be implemented based on retrofitting existing hardware devices.
  • the configuration of the communication device is improved by directly transmitting the configuration data file to the target communication device, instead of issuing the configuration command one by one. It can therefore be used for batch configuration and upgrade of different versions of communication devices.
  • the technical solution of the foregoing method embodiment is applicable to the configuration data in each managed communication device in the communication system has been described based on a unified description format. However, in the actual network system, there may be some original communication devices.
  • the configuration data in the configuration is not upgraded, that is, the configuration data in some original communication devices is not described using a unified description format, and in order to achieve the object of the present invention, the present embodiment further provides another communication device.
  • the method of batch configuration management includes:
  • the control target communication device loads the received configuration data.
  • the downloaded configuration data is described based on three parts: an interface organization description file, a control rule description file, and a data content description file.
  • an interface organization description file a control rule description file
  • a data content description file a data content description file.
  • an embodiment of the present invention provides a device for managing batch configuration of a communication device, which specifically includes:
  • the configuration data download unit 151 is for downloading configuration data in the communication device.
  • the configuration data description unit 152 is configured to describe the configuration data downloaded by the configuration data download unit 151 based on the unified description format, and the description may be performed by using, but not limited to, three parts: an interface organization file, a control rule file, and a data content description file. description.
  • a preferred implementation is to use a generic XML language to describe configuration data in a communication device.
  • the configuration data parsing unit 153 is configured to display the configuration data described by the configuration data description unit 152 based on the unified description format to the outside world for editing.
  • the configuration data uploading unit 154 is configured to upload the externally edited configuration data to the selected target communication device.
  • the data loading control unit 155 is configured to control the target communication device to load the received configuration data.
  • the embodiment of the present invention improves the efficiency of configuration of the communication device by directly transmitting the configuration data file between the device for managing the batch configuration of the communication device and the target communication device instead of issuing the configuration command one by one.
  • the embodiments of the present invention can be implemented by software, and correspondingly, the software can be stored in a readable storage medium, such as a hard disk, a floppy disk or an optical disk of a computer.
  • a readable storage medium such as a hard disk, a floppy disk or an optical disk of a computer.

Abstract

A communication device batch configuration managing method and the apparatus thereof belong to the communication field. The method includes: describing configuration data in every communication device based on a uniform description format; downloading the configuration data described by the uniform description format in the devices; analyzing and displaying the downloaded configuration data to outside for editing; uploading the configuration data edited by outside to the selected target communication device; controlling the target communication device to load the received configuration data. The apparatus includes a configuration data describing unit, a configuration data downloading unit, a configuration data analyzing unit, a configuration data uploading unit, and a data loading and controlling unit. It can carry out the data configuration accurately, effectively, expandably and off-line by adopting the general communication device batch configuration managing method provided by the invention, avoid the prolixity and error proneness of the hand-collocated manner, and improve the accuracy of the data configuration.

Description

通信设备批量配置管理的方法及其装置 技术领域  Method and device for batch configuration management of communication equipment
本发明涉及通信领域, 尤其涉及一种通信设备批量配置管理的方法及其装置。 背景技术  The present invention relates to the field of communications, and in particular, to a method and apparatus for batch configuration management of a communication device. Background technique
目前, 对设备进行配置管理是说维护通信设备正常有序运行的重要手段, 其通过初始化 设备并对设备进行数据配置, 以使设备提供正常的业务服务或使设备性能达到最优。  Currently, configuring and managing devices is an important means to maintain the normal and orderly operation of communication devices. It initializes devices and configures data for devices to enable devices to provide normal service services or optimize device performance.
对于大多数网络维护人员而言,对设备进行数据配置及其修改配置仍是一个手工过程, 这个过程在维护少量设备的情况下勉强能够胜任, 但对于多个或者整个通信网络中共性的 配置操作或者大数据量的配置操作 (如局数据制作、书计费数据调整、 批量业务加载 /卸载、 批量开销户、 批量开卡等操作) , 如果还是由网络维护人员对每台设备分别进行配置操作, 或者通过使用配置命令逐条配置相关数据 (如号段修改后, 对于每个变化的号段, 需要逐 条执行修改命令) , 将会导致维护任务量比较大、 效率比较低的问题, 这种情况下就需要 采用对通信设备进行批量配置的方式来解决。  For most network maintenance personnel, data configuration and modification of the device is still a manual process. This process is barely capable of maintaining a small number of devices, but for common configuration operations in multiple or entire communication networks. Or a large data volume configuration operation (such as office data creation, book billing data adjustment, batch service loading/unloading, batch overhead, batch card opening, etc.), if the network maintenance personnel separately configure each device Or, by using the configuration command to configure related data one by one (if the number segment is modified, the modification command needs to be executed one by one for each changed number segment), which will result in a large maintenance task and low efficiency. The next step is to solve the problem by batch configuration of communication devices.
批量配置数据的特征, 应至少包括下面的情形之一:  The characteristics of batch configuration data should include at least one of the following scenarios:
( 1 ) 对一个设备同时进行多个配置项目的配置。  (1) Configure multiple configuration items simultaneously for one device.
(2) 对多个设备同时进行一个或者多个配置项目的配置。  (2) Configure one or more configuration items simultaneously for multiple devices.
在现有技术中, 对通信设备进行批量配置管理的方式主要有两种:  In the prior art, there are mainly two ways to perform batch configuration management on a communication device:
一种是基于人机交互图形化用户界面(GUI, Graphical User Interface)来为网络维护人 员提供可视化的批量数据处理功能, 在该用户界面上会把每一类设备上功能相关的一些配 置项分类组合到一起, 网络维护人员在界面上顺序执行各个配置命令即可完成对设备的批 量数据配置。  One is based on a graphical user interface (GUI) to provide visual maintenance of batch data processing functions for network maintenance personnel. On the user interface, some configuration items related to functions on each type of device are classified. When combined, the network maintenance personnel can execute the configuration commands on the interface in sequence to complete the batch data configuration of the device.
但是,使用这种批量数据配置方式进行批量配置数据时,若配置需求发生变化时需要根 据变化后的需求信息重新编写应用程序来得到更新的用户界面, 这必将限制该种配置方式 的应用灵活性, 即配置功能的可扩展性差。  However, when using the batch data configuration method for batch configuration data, if the configuration requirements change, you need to rewrite the application according to the changed demand information to get the updated user interface, which will limit the application flexibility of this configuration mode. Sex, that is, the scalability of the configuration function is poor.
同时,这种批量数据配置方式是指对一个设备同时完成有关联关系的多个配置项 的批 量配置, 当面临对大量设备进行数据配置时 (例如在通信系统的开局、 升级以及割接等环 节中, 路由器、 接入服务器等端口都需要进行配置) , 用户只能在界面上对每个设备执行 重复的步骤, 不仅步骤繁琐, 效率低下, 而且许多参数需要人工输入, 数据的准确性不高。 另一种是基于一种配置数据导出工具来为网络维护人员导出设备的缺省数据到文本文 件中, 网络维护人员手工修改文本文件中的相关数据后再用导入工具加载到设备上, 一般 是加载到设备的内存、 数据库或者配置文件中。 At the same time, the batch data configuration mode refers to batch configuration of multiple configuration items that are related to one device at the same time. When faced with data configuration for a large number of devices (for example, in the start, upgrade, and cutover of the communication system) In the middle, routers, access servers, and other ports need to be configured.) Users can only perform each device on the interface. Repeated steps are not only cumbersome, inefficient, but also require many parameters to be manually entered, and the accuracy of the data is not high. The other is based on a configuration data export tool to export the default data of the device to the text file for the network maintenance personnel. The network maintenance personnel manually modify the relevant data in the text file and then load it into the device by using the import tool, which is generally Load into the device's memory, database, or configuration file.
但是, 使用这种批量数据配置方式进行批量配置数据时, 由于要直接修改配置文件, 没有及时的数据正确性校验, 用户必须熟悉配置文件的格式以及上下文关系才能正确修改。 对于一些数据关联性强的地方, 如果配置不一致将导致整个网络不通, 而网络中一旦出现 不一致的现象, 就得全部依赖手工检查完成。 进一步地, 网络维护人员必须联机才能将配 置文件加载到设备上, 并且一旦加载失败, 必须手工重复执行这个过程。 发明内容  However, when using this batch data configuration method for batch configuration data, because the configuration file is directly modified, and there is no timely data correctness check, the user must be familiar with the format and context of the configuration file to be correctly modified. For some places with strong data correlation, if the configuration is inconsistent, the whole network will be blocked, and if there is any inconsistency in the network, it must rely on manual inspection. Further, network maintenance personnel must be online to load the configuration file onto the device, and once the load fails, the process must be repeated manually. Summary of the invention
本发明实施例要解决的技术问题在于提供一种通信设备批量配置管理的方法及其装 置, 以便准确、 高效地对通信设备进行批量配置管理。  The technical problem to be solved by the embodiments of the present invention is to provide a method and a device for managing batch configuration of a communication device, so as to accurately and efficiently perform batch configuration management on the communication device.
本发明实施例提供了一种通信设备批量配置管理的方法, 所述方法包括:  The embodiment of the invention provides a method for batch configuration management of a communication device, and the method includes:
基于统一描述格式对各通信设备中的配置数据进行描述;  Describe the configuration data in each communication device based on the unified description format;
下载所述通信设备中基于统一描述格式描述的配置数据;  Downloading configuration data in the communication device based on a unified description format description;
将下载的配置数据解析显示给外界进行编辑;  Parsing the downloaded configuration data to the outside world for editing;
将外界编辑后的配置数据上传给选定的目标通信设备;  Uploading the edited configuration data to the selected target communication device;
控制所述目标通信设备对接收到的配置数据进行加载。  Controlling the target communication device to load the received configuration data.
本发明实施例还提供了一种通信设备批量配置管理的装置, 所述装置包括:  The embodiment of the invention further provides an apparatus for batch configuration management of a communication device, the device comprising:
配置数据描述单元 (141 ), 用于基于统一描述格式对各通信设备中的配置数据进行描 述;  a configuration data description unit (141), configured to describe configuration data in each communication device based on a unified description format;
配置数据下载单元 (142), 用于下载所述通信设备中基于统一描述格式描述的配置数 据;  a configuration data download unit (142), configured to download configuration data in the communication device based on a unified description format description;
配置数据解析单元 (143 ), 用于将下载的配置数据解析显示给外界进行编辑; 配置数据上传单元 (144), 用于将外界编辑后的配置数据上传给选定的目标通信设备; 数据加载控制单元 (145 ), 用于控制所述目标通信设备对接收到的配置数据进行加载。 本发明实施例还提供了一种通信设备批量配置管理的方法, 所述方法包括: 下载通信设备中的配置数据;  The configuration data parsing unit (143) is configured to parse and display the downloaded configuration data to the outside world for editing; the configuration data uploading unit (144) is configured to upload the externally edited configuration data to the selected target communication device; The control unit (145) is configured to control the target communication device to load the received configuration data. The embodiment of the invention further provides a method for batch configuration management of a communication device, the method comprising: downloading configuration data in the communication device;
基于统一描述格式对下载的配置数据进行描述;  Describe the downloaded configuration data based on the unified description format;
将基于统一描述格式描述的配置数据解析显示给外界进行编辑; 将外界编辑后的配置数据上传给选定的目标通信设备; Parsing and displaying the configuration data based on the unified description format description to the outside world for editing; Uploading the edited configuration data to the selected target communication device;
控制所述目标通信设备对接收到的配置数据进行加载。  Controlling the target communication device to load the received configuration data.
本发明实施例还对应的提供了一种通信设备批量配置管理的装置, 所述装置包括: 配置数据下载单元 (151 ), 用于下载通信设备中的配置数据;  The embodiment of the present invention further provides a device for managing batch configuration of a communication device, where the device includes: a configuration data download unit (151), configured to download configuration data in the communication device;
配置数据描述单元 (152), 用于基于统一描述格式对下载的配置数据进行描述; 配置数据解析单元 (153 ), 用于将基于统一描述格式描述的配置数据解析显示给外界 进行编辑;  The configuration data description unit (152) is configured to describe the downloaded configuration data based on the unified description format; the configuration data parsing unit (153) is configured to parse and display the configuration data based on the unified description format description to the outside world for editing;
配置数据上传单元(154), 用于将外界编辑后的配置数据上传给选定的目标通信设备; 数据加载控制单元(155 ), 用于控制所述目标通信设备对接收到的配置数据进行加载。 本发明实施例提出的通信设备批量配置管理的方法, 通过将通信设备上的配置数据下 载到本地修改, 然后批量配置到目标通信设备上去。 避免了冗长而易于出错的手工配置工 作, 提高了数据配置的准确性。 附图说明  The configuration data uploading unit (154) is configured to upload the externally edited configuration data to the selected target communication device; the data loading control unit (155) is configured to control the target communication device to load the received configuration data. . The method for batch configuration management of a communication device according to an embodiment of the present invention is configured to download configuration data on a communication device to a local modification, and then batch configuration to the target communication device. It avoids lengthy and error-prone manual configuration and improves the accuracy of data configuration. DRAWINGS
图 1为本发明一个实施例提供的通信设备批量配置管理的方法流程图;  FIG. 1 is a flowchart of a method for batch configuration management of a communication device according to an embodiment of the present invention;
图 2为本发明一个实施例提供的配置数据描述文件内容框图;  2 is a block diagram of a configuration data description file according to an embodiment of the present invention;
图 3为本发明一个实施例提供的界面组织描述文件内容框图;  3 is a block diagram of an interface organization description file according to an embodiment of the present invention;
图 4为本发明一个实施例提供的控制规则描述文件内容框图;  4 is a block diagram of a content of a control rule description file according to an embodiment of the present invention;
图 5为本发明一个实施例提供的数据内容描述文件内容框图;  FIG. 5 is a block diagram showing the content of a data content description file according to an embodiment of the present invention; FIG.
图 6为本发明一个实施例提供的解析界面左侧树结构的示意图;  FIG. 6 is a schematic diagram of a tree structure on a left side of an analysis interface according to an embodiment of the present invention;
图 7为本发明一个实施例提供的解析界面右侧表结构的示意图;  FIG. 7 is a schematic diagram of a structure of a table on the right side of an analysis interface according to an embodiment of the present invention;
图 8为本发明一个实施例提供的新增配置数据时的界面示意图;  FIG. 8 is a schematic diagram of an interface when adding configuration data according to an embodiment of the present invention; FIG.
图 9为本发明一个实施例提供的校验结果清单的界面示意图;  FIG. 9 is a schematic diagram of an interface of a check result list according to an embodiment of the present invention;
图 10为本发明一个实施例提供的目标通信设备配置的界面示意图;  FIG. 10 is a schematic diagram of an interface configuration of a target communication device according to an embodiment of the present invention;
图 11为本发明一个实施例提供的配置数据上传的流程图;  FIG. 11 is a flowchart of configuration data uploading according to an embodiment of the present invention;
图 12为本发明一个实施例提供的对相同类型不同版本的通信设备进行批量配置管理的 流程图;  FIG. 12 is a flowchart of performing batch configuration management on communication devices of different versions of the same type according to an embodiment of the present invention;
图 13本发明一个实施例提供的为目标通信设备配置数据升级的流程图;  FIG. 13 is a flowchart of configuring data upgrade for a target communication device according to an embodiment of the present invention; FIG.
图 14为本发明一个实施例提供的通信设备批量配置管理的装置的结构示意图; 图 15为本发明一个实施例提供的另一种通信设备批量配置管理的装置的结构示意图。 具体实施方式 FIG. 14 is a schematic structural diagram of an apparatus for batch configuration management of a communication device according to an embodiment of the present invention; FIG. 15 is a schematic structural diagram of another apparatus for batch configuration management of a communication device according to an embodiment of the present invention. detailed description
本发明实施例提出的第一种技术方案是:  The first technical solution proposed by the embodiment of the present invention is:
基于统一描述格式对各通信设备中的配置数据进行描述;  Describe the configuration data in each communication device based on the unified description format;
下载所述通信设备中基于统一描述格式描述的配置数据, 并将下载的配置数据解析显 示给外界进行编辑;  Downloading configuration data in the communication device based on the unified description format description, and displaying the downloaded configuration data to the outside world for editing;
将外界编辑后的配置数据上传给选定的目标通信设备, 以及控制目标通信设备对接收 到的配置数据进行加载。  The externally edited configuration data is uploaded to the selected target communication device, and the control target communication device loads the received configuration data.
一种较优的实施情况是用可扩充标记语言(XML, Extensible Marker Language)描述配 置数据, 生成配置数据描述文件, 将下载到本地的用 XML描述的配置项目描述文件解析, 得到通用的可视化配置界面, 网络维护人员在该配置界面上有完善提示和校验功能的前提 下进行编辑配置操作, 然后选择一个或多个目标通信设备, 将本地配置完成的数据采用断 点续传的方式上传到目标通信设备上, 根据目标通信设备当前的实际运行环境进行预处理 后, 将配置数据实际加载到目标通信设备上, 从而完成对多个目标通信设备进行自动批量 配置。  A preferred implementation is to describe the configuration data in Extensible Marker Language (XML), generate a configuration data description file, and parse the configuration item description file downloaded to the local XML description to obtain a common visual configuration. Interface, network maintenance personnel perform editing and configuration operations on the premise of perfect prompting and verification functions on the configuration interface, and then select one or more target communication devices, and upload the locally configured data to the resume transmission method by means of breakpoint transmission. On the target communication device, after the pre-processing is performed according to the current actual running environment of the target communication device, the configuration data is actually loaded onto the target communication device, thereby performing automatic batch configuration on multiple target communication devices.
下面结合说明书附图来说明本发明的具体实施方式。  Specific embodiments of the present invention are described below in conjunction with the drawings.
参见图 1, 本发明实施例提供了一种通信设备批量配置管理的方法, 具体包括: 步骤 101 : 基于统一描述格式对各通信设备中的配置数据进行描述, 即采用通用的数据 描述方法对配置数据进行描述, 生成配置数据描述文件。  Referring to FIG. 1, an embodiment of the present invention provides a method for batch configuration management of a communication device, which specifically includes: Step 101: Describe configuration data in each communication device according to a unified description format, that is, adopt a common data description method to configure The data is described, and a configuration data description file is generated.
在通信设备中,配置数据通常以普通的文本文件、内存表或者数据库、管理信息库 (MIB, Management Information Base) 等形式存储。 但不管形式如何, 都可分为配置数据内容部分 与数据描述部分, 通常将后者称为数据字典。 在配置数据内容部分, 通常按照二维关系表 的形式存放; 在数据字典部分, 描述了每个配置项目对应数据的存放位置、 字段的数据类 型、 取值范围约束、 业务逻辑等。 如果通信设备在运行过程中需要某条记录, 则可以根据 数据字典的描述找到对应的数据内容。  In a communication device, configuration data is usually stored in the form of a plain text file, an in-memory table or a database, a Management Information Base (MIB), and the like. But regardless of the form, it can be divided into the configuration data content part and the data description part, which is usually called the data dictionary. In the configuration data content part, it is usually stored in the form of a two-dimensional relation table; in the data dictionary part, the storage location of the data corresponding to each configuration item, the data type of the field, the value range constraint, the business logic, and the like are described. If the communication device needs a certain record during the running process, the corresponding data content can be found according to the description of the data dictionary.
为了生成便于编辑、 查看、 处理的通用配置数据描述文件, 同时可以适应配置项目变 化较为频繁并且经常需要升级的通信设备, 考虑配置数据描述文件的灵活性与扩展性, 本 发明实施例采用 XML文件来描述。  In order to generate a common configuration data description file that is easy to edit, view, and process, and to adapt to a communication device that changes frequently in configuration items and often needs to be upgraded, considering the flexibility and scalability of the configuration data description file, the embodiment of the present invention adopts an XML file. To describe.
由于在通信系统中都可以按照产品一设备类型一设备版本一配置项目的顺序来 配置, 每个配置项目的数据都可用二维关系来表示, 并且对于配置项目的每个字段都可以 从取值范围约束、 数据类型、 业务逻辑和界面显示等多个角度来描述, 因此, 把配置顺序、 配置数据以及对配置数据的约束描述出来就可以把通信设备上的配置数据完整地描述出 来。 本发明采用了三个 XML文件来描述配置数据。 Since the communication system can be configured in the order of the product one device type and one device version one configuration item, the data of each configuration item can be represented by a two-dimensional relationship, and each field of the configuration item can be valued. Scope constraints, data types, business logic, and interface display are described in multiple angles. Therefore, the configuration order, configuration data, and constraints on configuration data can be described to completely describe the configuration data on the communication device. Come. The present invention employs three XML files to describe the configuration data.
参见图 2, 配置数据描述文件 200包括三个部分: 第一部分是界面组织描述文件 201; 第二部分是控制规则描述文件 202; 第三部分是数据内容描述文件 203。 下面对这三部分分 别进行详细地说明:  Referring to Fig. 2, the configuration data description file 200 includes three parts: the first part is the interface organization description file 201; the second part is the control rule description file 202; the third part is the data content description file 203. The following three parts are explained in detail separately:
界面组织描述文件 201 用于对通信设备的配置项目在界面上的组织展示进行描述, 具 体包括配置项目的展示顺序与层次关系。 每个产品对应一个界面组织描述文件。 参见图 3, 界面组织描述文件 201 分为四级, 每一级中的内容按照界面上显示的顺序依次存放描述。 第一级是产品信息 301, 包括产品标识 ID 、产品名称等信息; 第二级是设备类型信息 302, 包括设备类型 ID、 设备类型名称等信息; 第三级是设备版本信息 303, 包括版本 ID、 版本 名称等; 第四级是配置项目信息 304, 包括配置项目 ID、 配置项目名称、 界面上是否显示 等信息。 特别地, 对于处在目录上的虚拟配置项目, 其下可以嵌套具体的配置项目。 通过 这四级描述, 可把一个产品下所有配置项目在界面上的组织顺序以及层次关系都描述出来; 特别地, 在第二级的设备类型信息一级下面可以直接挂相应设备类型的公共配置项目, 这 些配置项目是其下各个版本都共有的。  The interface organization description file 201 is used to describe the organization display of the configuration items of the communication device on the interface, and specifically includes the display order and hierarchical relationship of the configuration items. Each product corresponds to an interface organization description file. Referring to FIG. 3, the interface organization description file 201 is divided into four levels, and the contents in each level are sequentially stored in the order shown on the interface. The first level is product information 301, including product identification ID, product name and other information; the second level is device type information 302, including device type ID, device type name and other information; the third level is device version information 303, including version ID The fourth level is the configuration item information 304, including the configuration item ID, the configuration item name, and whether the interface is displayed or the like. In particular, for a virtual configuration item that is on a directory, a specific configuration item can be nested under it. Through the four levels of description, the organization order and hierarchical relationship of all configuration items under one product can be described in the interface; in particular, the public configuration of the corresponding device type can be directly linked under the device type information level of the second level. Projects, these configuration items are common to all versions underneath.
下面是界面组织描述文件 201的一个实例。 其中, product是产品标签, 属于产品信息 The following is an example of an interface organization description file 201. Where product is the product label and belongs to the product information
301一级; devtype是设备类型标签,属于设备类型信息 302—级; common是公共配置标签, 挂在设备类型信息 302—级下面; version是设备版本标签, 属于设备版本信息 303—级; fun为配置项目标签, 属于配置项目信息 304—级。实例中 XML所用到的其他符号含义为: id是上述各级对应的标识属性; disp是上述各级对应的显示属性; name是上述各级对应的 名称属性。 301 level; devtype is a device type label, belonging to device type information 302-level; common is a public configuration label, which is hung under device type information 302-level; version is device version label, belonging to device version information 303-level; fun is The configuration item label belongs to configuration item information 304-level. The other symbols used in the XML in the example are: id is the identification attribute corresponding to each level; disp is the display attribute corresponding to each level; name is the name attribute corresponding to the above levels.
<?xml version="1.0" encoding="GB2312" ?>  <?xml version="1.0" encoding="GB2312" ?>
<product id=" 1 " disp="l" name="infoX AAA"> <product id=" 1 " disp="l" name="infoX AAA">
<devtype id="8402" disp="l" name=" AAA System">  <devtype id="8402" disp="l" name=" AAA System">
<common id="1.0" disp="l" name="公共配置'' >  <common id="1.0" disp="l" name="Common Configuration'' >
<fun id="000184020001" disp="l" name= "区域信息配置" />  <fun id="000184020001" disp="l" name= "Regional Information Configuration" />
<fun id="000184020002" disp="l" name= "国内区号配置" l>  <fun id="000184020002" disp="l" name= "Domestic area code configuration" l>
<fun id="000184020003" disp="l" name= "国际区号配置" l>  <fun id="000184020003" disp="l" name= "International Area Code Configuration" l>
</common>  </common>
<version id="l.l" disp="l" name=" V100R002C01 ">  <version id="l.l" disp="l" name=" V100R002C01 ">
<fun id="000184021002" disp="l" name="BRAS节点管理" />  <fun id="000184021002" disp="l" name="BRAS Node Management" />
<fun id="000184021003" disp="l" name="PDSN节点管理" />  <fun id="000184021003" disp="l" name="PDSN Node Management" />
<fun id="000184021004" disp="l" name="Portal节点配置"〉  <fun id="000184021004" disp="l" name="Portal node configuration"
<fun id="000184021005" disp="l" name= "接入 Portal点管理" />  <fun id="000184021005" disp="l" name= "Access Portal Point Management" />
<fun id="000184021006" disp="l" name= "用户 Portal点管理" />  <fun id="000184021006" disp="l" name= "User Portal Point Management" />
<fun id="000184021007" disp="l" name="Portal适配点管理" />  <fun id="000184021007" disp="l" name="Portal Adaptation Point Management" />
</fun> </version> </fun> </version>
<version id=" 1.2" disp=" l " name="V100R002C02">  <version id=" 1.2" disp=" l " name="V100R002C02">
<fun id="000184022001 " disp=" l " name="BRAS节点管理" />  <fun id="000184022001 " disp=" l " name="BRAS Node Management" />
<fun id="000184022002" disp=" l " name="GGSN节点配置" />  <fun id="000184022002" disp=" l " name="GGSN node configuration" />
</version>  </version>
</devtype>  </devtype>
</product> </product>
从上面的示例可以看出, 通过界面组织描述文件 201 可以很方便地把配置项目之间的 界面展现关系描述出来, 而且很容易进行扩展, 如增加一个配置项目, 可在相应的层次增 加一个 fim标签以及相应的属性; 删除一个配置项目可删除对应的标签。 同样的道理, 可以 很方便地实现一个设备类型、 设备版本的加入和去除。  As can be seen from the above example, the interface description file 201 can easily describe the interface presentation relationship between configuration items, and it is easy to expand. For example, adding a configuration item can add a fim at the corresponding level. Labels and corresponding attributes; delete a configuration item to delete the corresponding label. By the same token, it is convenient to implement the addition and removal of a device type and device version.
控制规则描述文件 202用于对通信设备中具体配置字段的正确性与界面元素的控制进 行描述, 具体包括数据正确性控制规则和界面显示的控制规则。 每一个配置项目对应一个 控制规则描述文件。  The control rule description file 202 is used to describe the correctness of the specific configuration fields in the communication device and the control of the interface elements, and specifically includes the data correctness control rules and the control rules displayed by the interface. Each configuration item corresponds to a control rule description file.
参见图 4, 控制规则描述文件 202包括两部分, 一部分是配置项目控制描述 410, 另一 部分是界面元素控制描述 420。  Referring to Figure 4, the control rule description file 202 includes two parts, one for the configuration item control description 410 and the other for the interface element control description 420.
在配置项目控制描述 410部分, 分为四级: 第一级为配置项目的整体控制描述 411, 包 括配置项目 ID、 有无索引、 父配置项目的 ID、 在配置项目功能树界面上是否为叶子节点、 是否显示、 配置项目描述、 页面校验程序类等信息; 第二级为配置数据的表格描述 412, 主 要是表格在界面上的显示类型, 如按照字段顺序水平展示、 字段纵向展示等; 第三级为配 置字段的控制描述 413, 主要是界面显示控制、 数据正确性校验规则等, 具体包括字段 ID、 名称、 对象标识符 (OID, Object Identifier )、 数据类型、 取值范围、 存取权限、 界面上是否 显示、 编辑框类型 (如文本框还是下拉框等)、 编辑框的界面显示大小 (以象素为单位)、 是否主键、 缺省值、 是否必填、 提示信息 (Tips)、 关联到子表中的字段 ID、 按键的校验规 贝 1」、 提交时校验规则、 编辑框初始是否激活、 是否可以激活其他列、 激活其他列的条件、 被激活的字段 ID、 取值不能重复的类型 (在一个通信设备内唯一还是在整个通信网络内唯 一等)、 如果取值来源于其他配置规则给出取值规则、 如果是字符串则给出格式化规则、 如 果是选择框是否允许多选、 是否忽略大小写、 是否允许换行、 禁止输入的字符集合、 字段 如果对应的不是一个值而是一个表则给出该配置表的 ID等信息; 第四级为配置字段的属性 描述 414,主要是配置字段对应的枚举值映射关系、配置字段取值的自动产生规则等。其中, 界面元素控制描述 420与上述配置项目控制描述 410中的第二级配置数据的表格描述 412 并列处在同一级上, 主要包括按钮 ID、 按钮标题、 按钮的动作类型以及按钮执行完成后还 需要执行的操作等。 下面是控制规则描述文件 202的一个实例: In the configuration item control description 410 part, it is divided into four levels: The first level is the overall control description 411 of the configuration item, including the configuration item ID, the presence or absence of the index, the ID of the parent configuration item, and whether it is a leaf on the configuration item function tree interface. Node, whether to display, configuration item description, page verification program class and other information; The second level is the table description 412 of the configuration data, mainly the display type of the table on the interface, such as horizontal display according to the field order, vertical display of the field, etc.; The third level is the control description 413 of the configuration field, mainly the interface display control, the data correctness check rule, and the like, including the field ID, the name, the object identifier (OID, Object Identifier), the data type, the value range, and the storage. Whether to read permissions, whether to display on the interface, edit box type (such as text box or drop-down box, etc.), edit box interface display size (in pixels), whether primary key, default value, required or not, prompt information (Tips ), associated with the field ID in the sub-table, the checksum of the button 1", the check rule at the time of submission, the edit box Whether initial activation, whether other columns can be activated, conditions for activating other columns, activated field IDs, types that cannot be repeated (only within a communication device or unique within the entire communication network, etc.), if the value comes from Other configuration rules give the value rule, if it is a string, the formatting rule is given, if the selection box allows multiple selection, whether to ignore the case, whether to allow line breaks, to prohibit the input of the character set, if the field is not a corresponding one The value is a table to give the ID of the configuration table and other information; the fourth level is the attribute description 414 of the configuration field, mainly the enumeration value mapping relationship corresponding to the configuration field, and the automatic generation rule of the configuration field value. The interface element description 420 and the table description 412 of the second-level configuration data in the configuration item control description 410 are juxtaposed at the same level, mainly including the button ID, the button title, the action type of the button, and the button execution completion. The operations that need to be performed, etc. The following is an example of a control rule description file 202:
<?xml version="1.0" encoding="GB2312" ?> <?xml version="1.0" encoding="GB2312" ?>
<fiin id="000184020003" index="l " pfunid="000184020002" treenode="l" disp="l" desp="备机 节点基本信息配置" vfycmd="">  <fiin id="000184020003" index="l " pfunid="000184020002" treenode="l" disp="l" desp="standby node basic information configuration" vfycmd="">
<table disptype= " leveltbl ">  <table disptype= " leveltbl ">
<column id="l" name= "备机 IP 地址" datatype="IPAdress" datarange=" maxaccess="read-write" disp="l" edittype="text" editsize="22,5 key="l" defaultval="10.10.10.10" addmust="l" desp= "备用机器的物理 IP 地址" reltblfield="0" keypress="IPFormat" subvfy="" initact=" 1 ' ctlflag="0" ctlcond="" ctlfield="" exltype="network" getvalrule="' formatrule="" ignorecap=" 1 " newline="0" forbidset="" unit="' extfunid="" />  <column id="l" name= "standby IP address" datatype="IPAdress" datarange=" maxaccess="read-write" disp="l" edittype="text" editsize="22,5 key="l " defaultval="10.10.10.10" addmust="l" desp= "The physical IP address of the alternate machine" reltblfield="0" keypress="IPFormat" subvfy="" initact=" 1 ' ctlflag="0" ctlcond=" " ctlfield="" exltype="network" getvalrule="' formatrule="" ignorecap=" 1 " newline="0" forbidset="" unit="' extfunid="" />
<column id="2" name="备机 WAP 连接端 口 " datatype="INTEGER datarange=" 1000..9999" maxaccess="read- write" disp="l' edittype="text" editsize="22,5" key="0" defaultval="1000" addmust=" 1 ' desp="连接 WAP 的端口 " reltblfield='O" keypress="INTEGER subvfy="" initact=" 1 " ctlflag="0" ctlcond="" ctlfield="" exltype="' getvalrule="" formatrule="" ignorecap=" 1 " newline="0" forbidset="' unit:"" extfunid="" />  <column id="2" name="Standby WAP connection port" datatype="INTEGER datarange=" 1000..9999" maxaccess="read- write" disp="l' edittype="text" editsize="22, 5" key="0" defaultval="1000" addmust=" 1 ' desp="Connect to the WAP port" reltblfield='O" keypress="INTEGER subvfy="" initact=" 1 " ctlflag="0" ctlcond= "" ctlfield="" exltype="' getvalrule="" formatrule="" ignorecap=" 1 " newline="0" forbidset="' unit:"" extfunid="" />
</table>  </table>
<buttons>  <buttons>
<button id="1001" title="修改" actionType="Modify" proc="" />  <button id="1001" title="Modify" actionType="Modify" proc="" />
<button id="1002" title="增加" actionType="Add" proc="" />  <button id="1002" title="add" actionType="Add" proc="" />
</buttons>  </buttons>
</fiin> </fiin>
从上面的示例可以看出, 通过控制规则描述文件可以很方便地把配置项目的界面展示、 权限控制与数据合法性校验描述出来, 这样就可以很方便地将配置项目解析为可视化的界 面进行编辑, 保证了数据的正确性。  As can be seen from the above example, it is convenient to describe the interface display, permission control and data legality verification of the configuration item by controlling the rule description file, so that the configuration item can be conveniently parsed into a visual interface. Edit, to ensure the correctness of the data.
数据内容描述文件 203 用于对配置数据值进行描述, 采用分级形式描述, 每个通信设 备的配置数据对应一个数据内容描述文件。 参见图 5, 数据内容描述文件 203分为四级。 第 一级为设备信息描述 501, 包括设备 ID、 设备名称、 设备类型、 设备版本信息; 第二级是 配置项目描述 502,包括配置项目 ID、配置项目名称;第三级为配置行描述 503,包括行号, 按照行的先后顺序描述; 第四级为配置字段描述 504, 包括字段 ID、 字段名称、 字段的取 值等, 字段的描述按照字段在界面上显示的先后顺序进行描述。  The data content description file 203 is used to describe the configuration data values, and is described in a hierarchical form. The configuration data of each communication device corresponds to one data content description file. Referring to Figure 5, the data content description file 203 is divided into four levels. The first level is the device information description 501, including the device ID, the device name, the device type, and the device version information. The second level is the configuration item description 502, including the configuration item ID and the configuration item name; the third level is the configuration line description 503, The line number is described in the order of the lines. The fourth level is the configuration field description 504, including the field ID, the field name, and the value of the field. The description of the field is described in the order in which the fields are displayed on the interface.
下面是数据内容描述文件 203的一个实例:  The following is an example of a data content description file 203:
<?xml version="1.0" encoding="GB2312" ?>  <?xml version="1.0" encoding="GB2312" ?>
<dev id=" 1 " name="infoX AAA1 " devtype="8402" devversion="3.2.1 ">  <dev id=" 1 " name="infoX AAA1 " devtype="8402" devversion="3.2.1 ">
<fun id="000184020003" name= "备几节点基本信息配置" >  <fun id="000184020003" name= "Basic information configuration for standby nodes" >
<row id="l">  <row id="l">
<column id="l " name= "备机 IP地址" value="10.10.10.11" />  <column id="l " name= "standby IP address" value="10.10.10.11" />
<column id="2" name= "备机 WAP连接端口 " value="1001" />  <column id="2" name= "Backup WAP connection port" value="1001" />
</row> </fun> </row> </fun>
</dev>  </dev>
从上面的示例可以看出, 通过数据内容描述文件 203 可以很方便地把配置数据的二维 关系描述出来, 数据内容描述文件 203 中的配置项目名称、 字段名称实际上是属于冗余信 息, 具体与控制规则描述文件 202 中的相应信息重叠, 这些信息只有下载到本地的数据内 容描述文件中才有, 实际上传到通信设备上的数据内容描述文件是不包括这些信息的。 这 样做的目的在于当没有解析展示的情况下, 便于用手工查看或者编辑。  As can be seen from the above example, the two-dimensional relationship of the configuration data can be conveniently described by the data content description file 203. The configuration item name and the field name in the data content description file 203 are actually redundant information, specifically Excluding the corresponding information in the control rule description file 202, the information is only available in the local data content description file, and the data content description file actually transmitted to the communication device does not include the information. The purpose of this is to facilitate manual viewing or editing without parsing the presentation.
从配置数据描述文件 200包括的三部分来看, 对于通信设备中的主从表可以通过界面 组织描述文件 201 进行关联关系描述, 实际的数据还是分别存放。 对于从表可以通过控制 规则对一个字段关联到一个配置表的关系描述, 实际上主表与从表的数据还是分别存放。 这样就给数据描述带来很大的灵活性与很强的扩展性。  From the three parts included in the configuration data description file 200, the master-slave table in the communication device can be described by the interface organization description file 201, and the actual data is stored separately. For a relational description that a table can be associated with a configuration table by a control rule, the data of the primary table and the secondary table are actually stored separately. This brings great flexibility and scalability to the data description.
需要说明的是, 配置数据描述文件 200 中的分级层次在不脱离描述内容的前提下可以 减少或扩展。  It should be noted that the hierarchical level in the configuration data description file 200 can be reduced or expanded without departing from the description.
步骤 102: 下载通信设备中基于统一格式描述的配置数据, 将需要配置的通信设备上的 基于统一格式描述的配置数据下载到本地客户端, 作为批量配置数据的基础。  Step 102: Download the configuration data based on the unified format description in the communication device, and download the configuration data based on the unified format description on the communication device to be configured to the local client, as the basis of the batch configuration data.
配置数据包括配置数据描述文件 200 中的三个部分, 下载配置数据的过程就是把这些 配置数据描述文件从通信设备上下载到客户端。 配置数据的下载方式可以有多种, 如基于 文件传输协议 (FTP, File Transfer Protocol)或安全文件传输协议 ( SFTP, Secure File Transfer Protocol) 对配置数据进行下载。  The configuration data includes three parts in the configuration data description file 200. The process of downloading the configuration data is to download the configuration data description files from the communication device to the client. There are various ways to download configuration data, such as downloading configuration data based on File Transfer Protocol (FTP) or Secure File Transfer Protocol (SFTP).
步骤 103 : 解析显示下载的配置数据, 为了便于用户在本地客户端进行编辑与合法性校 验, 根据配置数据描述文件 200 中定义的一些规则把配置数据解析为可视化的界面显示出 来, 在这个可视化的界面中, 采用左树右表的形式进行配置数据的展示。 其中, 左树是按 照产品一设备类型一设备版本一设备名称一配置项目分级展示的, 参见图 6, 为左 树的示意图。  Step 103: Parsing and displaying the downloaded configuration data. In order to facilitate the user to perform editing and legality verification on the local client, the configuration data is parsed into a visual interface according to some rules defined in the configuration data description file 200, and the visualization is performed. In the interface, the configuration data is displayed in the form of the left tree and the right table. The left tree is hierarchically displayed according to the product one device type, one device version, one device name, and one configuration item. See Figure 6, which is a schematic diagram of the left tree.
在左树的配置项目一级设有超链接, 点击配置项目名称, 根据当前配置项目的 ID从相 应的控制规则描述文件 202 中获取各个配置字段的显示信息组织成二维表的各列标题, 再 从数据内容描述文件 203中获取当前配置项目 ID 对应的数据,根据行号与列号把所有字段 的数据组装成记录逐条显示在右上方的二维表格中。  A hyperlink is provided at the configuration item level of the left tree, and the configuration item name is clicked, and the display information of each configuration field is obtained from the corresponding control rule description file 202 according to the ID of the current configuration item, and the column headings of the two-dimensional table are organized. Then, the data corresponding to the current configuration item ID is obtained from the data content description file 203, and the data of all the fields is assembled into a two-dimensional table displayed one by one in the upper right according to the line number and the column number.
对于扩展表即一个字段中嵌套一个表格的情况, 是先找到该字段对应的配置项目 ID, 再根据 ID找到对应的配置数据内容, 最后再逐行逐列地完成二维表的组装显示在界面上。 对于主从表即一行记录对应一个二维表的情况, 则把主表显示在右上半部分, 从表显示在 右下半部分, 各自都有自己的按钮操作区。 其中从表与主表的关系是通过控制规则描述文 件 202中的父配置项目 ID来表达的, 每选择一条主表的记录, 则在下方显示相应的从表数 据, 见图 7所示。 For an extended table, that is, a case in which a table is nested in a field, the configuration item ID corresponding to the field is first found, and then the corresponding configuration data content is found according to the ID, and finally the assembly of the two-dimensional table is completed line by line. On the interface. For a master-slave table, that is, a row of records corresponding to a two-dimensional table, the main table is displayed in the upper right half, and the table is displayed in In the lower right half, each has its own button operating area. The relationship between the slave table and the master table is expressed by the parent configuration item ID in the control rule description file 202. Each time a record of the master table is selected, the corresponding slave table data is displayed below, as shown in FIG. 7 .
用户在当前编辑界面上可以很方便地看到数据的内容以及配置项目之间的关联, 如果 用户要修改数据则点击修改按钮进入修改界面, 如果想增加数据则点击新增按钮进入新增 数据的界面。 无论是编辑界面还是新增数据界面, 都会按照控制规则描述文件 202 中的定 义逐字段竖向显示在界面上。 对于每个字段, 都会按照字段名称、 编辑框、 字段的范围、 类型、 输入约束等顺序水平地描述出来, 以方便用户输入, 提高用户编辑的准确性, 其中 新增数据界面具体见图 8所示。  The user can easily see the content of the data and the association between the configuration items on the current editing interface. If the user wants to modify the data, click the Modify button to enter the modification interface. If you want to add data, click the Add button to enter the new data. interface. Whether it is the editing interface or the new data interface, it will be displayed vertically on the interface according to the definition in the control rule description file 202. For each field, it will be described horizontally according to the field name, edit box, range of field, type, input constraint, etc., to facilitate user input and improve the accuracy of user editing. The new data interface is shown in Figure 8. Show.
步骤 104:编辑配置数据,就是用户根据界面上的相关提示进行配置数据的增删改操作, 使得输入数据是用户所希望的。 这里对配置数据的编辑过程有完善的信息录入提示, 从而 可提高编辑配置数据的效率。  Step 104: Edit the configuration data, that is, the user performs the addition, deletion, and modification operations of the configuration data according to related prompts on the interface, so that the input data is desired by the user. Here, there is a complete information entry prompt for the editing process of the configuration data, thereby improving the efficiency of editing the configuration data.
步骤 105: 校验编辑后的配置数据, 在编辑界面上进行数据的有效性、 业务关联性等正 确性校验, 保证配置数据的正确性。  Step 105: Verify the edited configuration data, perform correctness verification such as data validity and service relevance on the editing interface, and ensure the correctness of the configuration data.
用户在编辑完配置数据进行提交时需要进行数据校验。 具体包括: 数据类型校验、 范 围约束校验、 唯一性校验、 数据格式校验、 数据关联关系、 业务逻辑校验等。 校验结束后 界面上会显示校验结果淸单便于用户确认与修正, 具体参见图 9所示。 这里校验结果淸单 的内容包括: 配置项目名称、 字段名称、 字段取值、 错误信息描述等。 如果配置数据有误, 用户可以根据错误原因返回到编辑界面继续修改直到配置数据正确。  The user needs to perform data verification when editing the configuration data for submission. These include: data type check, range constraint check, uniqueness check, data format check, data association, business logic check, and so on. After the verification is completed, the verification result will be displayed on the interface for user confirmation and correction. See Figure 9 for details. The contents of the verification result list here include: configuration item name, field name, field value, error information description, and so on. If the configuration data is incorrect, the user can return to the editing interface according to the error reason and continue to modify until the configuration data is correct.
步骤 106: 设置目标通信设备。 根据批量配置的需要, 可以选择一个或者多个通信设备 作为目标通信设备进行配置。  Step 106: Set the target communication device. Depending on the needs of the batch configuration, one or more communication devices can be selected as the target communication device for configuration.
当用户编辑完一个通信设备的全部配置数据时, 就可以选择要配置的目标通信设备了。 其过程包括: 在左边配置项目的树上选择一个己经配置好数据的源设备名称, 根据配置数 据内容描述文件 200在右边界面上会显示出与该源通信设备具有相同类别、 相同版本的、 当前用户拥有操作权限的目标通信设备列表; 用户也可以点击左边配置项目树上的设备类 型名称, 根据配置数据内容描述文件 200在右边界面上也会显示出该设备类型下当前用户 拥有操作权限的目标通信设备列表, 具体见图 10所示, 其中用户可以根据实际的配置需求 选择一个或者多个目标通信设备。  When the user edits all the configuration data of a communication device, the target communication device to be configured can be selected. The process includes: selecting a source device name of the configured data on the tree of the left configuration item, and displaying the same category and the same version as the source communication device according to the configuration data content description file 200 on the right interface. The current user has a list of target communication devices with the operation authority; the user can also click the device type name on the left configuration item tree, and according to the configuration data content description file 200, the current user has the operation permission under the device type on the right interface. A list of target communication devices is shown in FIG. 10, wherein the user can select one or more target communication devices according to actual configuration requirements.
步骤 107: 设置目标通信设备的配置模式。 即根据目标通信设备配置的需要选择一种恰 当的模式用来执行配置操作。  Step 107: Set the configuration mode of the target communication device. That is, an appropriate mode is selected to perform the configuration operation according to the needs of the target communication device configuration.
其中, 不同的配置模式对目标通信设备上的原有数据有不同的影响。本实施例中配置模 式包括覆盖配置与更新配置两种方式。 所述的覆盖配置指的是删除目标通信设备上已有的 配置数据后, 完全插入用户编辑后的新数据。 所述的更新配置指的是基于用户编辑后的配 置数据中的对应内容, 更新目标通信设备中对应的原有数据内容, 即对于目标通信设备上 有而新配置数据也有的那部分数据做替换操作; 对于目标通信设备上有而新配置数据没有 的那部分数据不做任何改动; 对于目标通信设备上没有而新配置数据中有的那部分数据做 插入操作。 另外, 有些配置需求要么全部是完全覆盖要么是更新覆盖, 这样的情况下, 本 步骤可选。 实际操作中, 根据实际的配置需要, 可以对每个目标通信设备进行配置模式的 设定, 对所有目标通信设备依次设置完成配置模式即可。 Among them, different configuration modes have different effects on the original data on the target communication device. Configuration mode in this embodiment There are two ways to cover configuration and update configuration. The overlay configuration refers to completely inserting new data edited by the user after deleting the configuration data existing on the target communication device. The updating configuration refers to updating the corresponding original data content in the target communication device based on the corresponding content in the edited configuration data of the user, that is, replacing the part of the data on the target communication device that has new configuration data. Operation; No change is made to the part of the data on the target communication device that is not available in the new configuration data; the part of the data that is not in the new configuration data on the target communication device is inserted. In addition, some configuration requirements are either full coverage or update coverage. In this case, this step is optional. In actual operation, according to the actual configuration requirements, the configuration mode can be set for each target communication device, and the configuration mode can be set for all target communication devices in sequence.
步骤 108: 向目标通信设备上传配置数据, 即根据用户设定的目标通信设备列表和配置 模式把源配置数据批量上载到目标通信设备上。 在多个目标通信设备的情况下, 采用并发 上载配置数据的方式, 并且在单一上传配置数据的过程中采用断点续传的策略。  Step 108: Upload configuration data to the target communication device, that is, upload the source configuration data to the target communication device in batch according to the target communication device list and the configuration mode set by the user. In the case of multiple target communication devices, the method of concurrently uploading configuration data is adopted, and a strategy of resuming transmission of a breakpoint is adopted in the process of single uploading configuration data.
参见图 11, 为向一个目标通信设备上传配置数据的流程图:  See Figure 11, for a flow chart for uploading configuration data to a target communication device:
步骤 1101 : 取目标通信设备的名称与 IP地址、 连接端口等信息。  Step 1101: Take the name, IP address, and connection port of the target communication device.
歩骤 1102: 检查目标通信设备的运行状态是否正常。 如果是, 执行步骤 1103 ; 否则, 表 明当前无法进行数据的配置, 重复执行步骤 1102。  Step 1102: Check whether the running status of the target communication device is normal. If yes, go to step 1103; otherwise, indicate that data configuration is currently unavailable, and repeat step 1102.
歩骤 1103 : 读取上一次上传中断时的断点信息作为上传配置数据的起始点。  Step 1103: Read the breakpoint information at the time of the last upload interrupt as the starting point for uploading the configuration data.
步骤 1104: 与目标通信设备建立连接。  Step 1104: Establish a connection with the target communication device.
步骤 1105 : 向目标通信设备上传配置数据。  Step 1105: Upload configuration data to the target communication device.
歩骤 1106: 如果上传过程由于目标通信设备出现问题, 从而导致上传过程中断时, 则执 行步骤 1107; 如果上传过程目标通信设备没有出现问题, 则执行步骤 1108。  Step 1106: If the uploading process is interrupted due to a problem with the target communication device, causing the uploading process to be interrupted, step 1107 is performed; if there is no problem with the target communication device during the uploading process, step 1108 is performed.
歩骤 1107: 保存该次上传过程的断点信息, 然后返回执行步骤 1101。  Step 1107: Save the breakpoint information of the upload process, and then return to step 1101.
歩骤 1108: 检查配置数据是否全部上传完成, 如果是, 则上传配置数据过程结束, 否则, 返回执行步骤 1105。  Step 1108: Check whether the configuration data is completely uploaded. If yes, the process of uploading the configuration data ends. Otherwise, return to step 1105.
这种上传配置数据的过程使得本发明实施例能够实现对目标通信设备的离线配置, 即 使在目标通信设备断连的情况下也能自动检测并视情况自动完成上传, 大大降低了人工干 预程度, 提高了配置管理的自动化。  The process of uploading configuration data enables the embodiment of the present invention to implement off-line configuration of the target communication device, and can automatically detect and automatically upload the video communication device even if the target communication device is disconnected, thereby greatly reducing the degree of manual intervention. Improved automation of configuration management.
步骤 109: 预处理配置数据, 即根据目标通信设备当前的实际运行环境, 对上传到目标 通信设备上的配置数据进行预处理, 并将预处理结果信息提供给用户。  Step 109: Pre-processing the configuration data, that is, pre-processing the configuration data uploaded to the target communication device according to the current actual running environment of the target communication device, and providing the pre-processing result information to the user.
其中, 预处理包括数据一致性校验、 数据转换、 资源申请、 内存或者数据库等, 将配 置数据转换为目标通信设备运行环境上的操作命令、 将配置数据文件分解为几个不同的配 置文件并转换为内部需要的格式等, 以便保证数据在实际环境上的一致性与正确性。 预处理是在目标通信设备内部进行的操作, 有助于在真正实施配置数据前发现潜在的 问题, 减少配置数据需要的时间, 确保配置操作的成功。 The pre-processing includes data consistency check, data conversion, resource application, memory or database, etc., converting the configuration data into an operation command on the running environment of the target communication device, and decomposing the configuration data file into several different configuration files. Convert to the internal required format, etc., in order to ensure the consistency and correctness of the data in the actual environment. Pre-processing is the operation inside the target communication device, which helps to identify potential problems before actually implementing the configuration data, reduce the time required to configure the data, and ensure the success of the configuration operation.
因为下发的配置数据通常涉及多个功能部件, 其逻辑结构与关联关系复杂而且很难定 位, 如果实施失败, 会增加网络维护的复杂性。 步骤 109 结束后输出预处理报告给用户分 析查看。 预处理报告的内容主要包括: 配置项目名称、 字段名称、 字段取值、 错误信息描 述、 修复建议等。 如果预处理结果全部正确, 则直接提示预处理成功, 否则把预处理报告 下载给用户查看, 用户根据错误原因与修复建议可以重新下载目标通信设备的配置数据描 述文件, 并编辑或者直接返回到编辑界面继续修改直到配置正确。 特别地, 在一些配置数 据不涉及到内存分配、 资源申请或者数据库更新等的配置场景中, 可以不需要进行上述的 预处理操作, 则这种情况下本步骤可选。  Because the configuration data that is delivered usually involves multiple functional components, its logical structure and association relationship are complex and difficult to locate. If the implementation fails, the complexity of network maintenance will increase. After step 109, the pre-processing report is output to the user for analysis and viewing. The contents of the pre-processing report mainly include: configuration item name, field name, field value, error information description, repair suggestion, etc. If the pre-processing results are all correct, the pre-processing is directly prompted to be successful. Otherwise, the pre-processing report is downloaded to the user for viewing. The user may re-download the configuration data description file of the target communication device according to the error reason and the repair suggestion, and edit or directly return to the editing. The interface continues to be modified until the configuration is correct. In particular, in some configuration scenarios where the configuration data does not involve a memory allocation, a resource application, or a database update, the foregoing pre-processing operations may not be required. In this case, this step is optional.
步骤 110: 加载配置数据, 即在预处理成功后, 控制目标通信设备加载对预处理成功的 配置数据, 从而完成数据配置操作。  Step 110: Load the configuration data, that is, after the pre-processing succeeds, the control target communication device loads the configuration data for the pre-processing success, thereby completing the data configuration operation.
将配置数据分拆到目标通信设备内部不同的功能部件对应的配置文件中, 并格式化为 内部需要的格式; 从而完成对目标通信设备内部的被管理对象进行数据的增加、 删除、 修 改, 以及将配置数据转换为实际的运行命令等。 经过配置数据的加载, 目标通信设备可以 按照新的配置状态运行。  The configuration data is split into a configuration file corresponding to different functional components inside the target communication device, and formatted into an internal required format; thereby completing, adding, deleting, and modifying data to the managed object inside the target communication device, and Convert configuration data to actual run commands, and more. After the configuration data is loaded, the target communication device can operate according to the new configuration state.
下面给出在通信设备配置的两种常见情况下, 利用本发明进行数据配置的过程。  The process of data configuration using the present invention in two common cases of communication device configuration is given below.
一、 对相同通信设备类型不同版本的批量数据配置, 以适应现网通信设备不同版本共 存的现象与需求。 例如, 在一个通信系统中, 同时存在 infoX AAA设备的两个版本, 一个 是低版本, 一个是高版本, 这两个版本具有大多数相同的配置项目。 这时不需要针对每一 个版本的配置项都从头到尾地配置一遍。 具体过程参见图 12所示:  1. Configure batch data of different versions of the same communication device type to adapt to the phenomenon and requirements of coexistence of different versions of the existing communication devices. For example, in a communication system, there are two versions of the infoX AAA device, one low version and one high version, both of which have most of the same configuration items. It is not necessary to configure the configuration items for each version from start to finish. The specific process is shown in Figure 12:
步骤 1201 : 统一完成不同版本公共配置数据的编辑与校验;  Step 1201: Unifiedly editing and verifying common version data of different versions;
步骤 1202: 分别完成不同版本各自配置数据的编辑与校验;  Step 1202: Perform editing and verification of respective configuration data of different versions respectively.
步骤 1203 : 将相同类型不同版本的通信设备设为目标通信设备;  Step 1203: Set different types of communication devices of the same type as target communication devices;
步骤 1204: 设置相应版本目标通信设备的配置模式;  Step 1204: Set a configuration mode of the corresponding version target communication device;
步骤 1205—步骤 1207: 进行配置数据的批量上传、 预处理、 加载, 与步骤 108—步骤 110类似, 此处不再赘述, 此时相同通信设备不同版本的通信设备所有配置项目配置完毕。  Step 1205—Step 1207: Performs batch uploading, pre-processing, and loading of the configuration data, which is similar to the steps 108-110, and is not described here. At this time, all configuration items of communication devices of different versions of the same communication device are configured.
二、 通信设备配置数据的升级, 以适应通信设备配置数据不断变化的需要。 例如, 在 一个通信系统中, 把 infoX AAA设备由低版本升级到高版本。 具体过程参见图 13所示: 步骤 1301:初始化代表高版本相对低版本改变类型的参数 type,赋值 type=0,当 type=0 时, 表明没有版本的升级; 步骤 1302: 将高版本与低版本相比, 判断是否删除了低版本的配置项目或者字段, 如 果是, 则执行步骤 1303 ; 否则, 则执行步骤 1304; Second, the upgrade of the communication device configuration data to adapt to the ever-changing needs of the communication device configuration data. For example, in a communication system, the infoX AAA device is upgraded from a lower version to a higher version. For the specific process, refer to FIG. 13: Step 1301: Initialize a parameter type that represents a higher version relative to a lower version change type, and assign type=0. When type=0, it indicates that there is no version upgrade; Step 1302: comparing the high version with the lower version, determining whether the lower version of the configuration item or field is deleted, if yes, executing step 1303; otherwise, executing step 1304;
步骤 1303 : 如果高版本与低版本相比有删减, 则将低版本配置内容中存在而高版本不 需要的数据删除掉, 转换为高版本的内容文件。 置位 type=l, 然后继续执行步骤 1304; 步骤 1304: 判断高版本相比低版本, 是否新增了几个配置项目或者在原来的配置项目 中是否有新增加的字段或者新增数据记录。 如果是, 则执行步骤 1305 ; 否则, 如果高版本 与低版本相比没有增加, 则直接执行步骤 1306;  Step 1303: If the high version is deleted compared with the lower version, the data that exists in the low version configuration content and is not needed by the high version is deleted and converted into a high version content file. Set type=l, and then proceed to step 1304; Step 1304: Determine whether the high version has several new configuration items or whether there are newly added fields or new data records in the original configuration item. If yes, go to step 1305; otherwise, if the high version does not increase compared with the low version, go directly to step 1306;
步骤 1305 : 如果高版本与低版本相比有增加, 则根据高版本的界面组织文件、 控制规 则描述文件把低版本中配置数据内容没有, 但新版本中有的配置数据先用空数据或者缺省 值填充后转换为高版本的配置数据, 即按照高版本的配置规则配置新增的配置数据, 置位 type=2; 然后继续执行步骤 1306; Step 1305: If the high version is compared with the lower version, the configuration data of the lower version is not according to the high-level interface organization file and the control rule description file, but the configuration data in the new version is first used with null data or missing. After the value is filled, the configuration data is converted to a higher version, that is, the new configuration data is configured according to the configuration rule of the high version, and type=2 is set ; then, step 1306 is continued;
步骤 1306: 如果配置项目高低版本中都有, 判断高版本中的配置项目中的字段范围、 数据类型等有效性控制规则与低版本相比是否发生了变化, 如果是, 则执行步骤 1307; 否 贝 U, 直接执行步骤 1308;  Step 1306: If there is a configuration item in the high and low version, it is determined whether the field control range, the data type, and the like in the configuration item in the high version have changed compared with the low version. If yes, step 1307 is performed; Bay U, directly perform step 1308;
步骤 1307: 如果高版本与低版本相同的配置项目中的字段范围或者数据类型等有效性 控制规则发生了变化, 则直接修改低版本的数据内容文件, 把发生变化的数据按照新版本 的约束与规则进行修改, 使之满足高版本界面组织、 控制规则的描述; 置位 type=3, 然后 继续执行步骤 1308;  Step 1307: If the validity control rule such as the field range or the data type in the same configuration item of the high version and the lower version changes, directly modify the lower version of the data content file, and change the changed data according to the constraint of the new version. The rules are modified to meet the description of the high-level interface organization and control rules; set type=3, and then continue to step 1308;
步骤 1308: 判断是否有版本的升级, 即判断 type是否等于 0, 如果是, 则配置数据升 级过程结束; 否则, 则执行步骤 1309;  Step 1308: Determine whether there is a version upgrade, that is, determine whether type is equal to 0, and if so, the configuration data upgrade process ends; otherwise, step 1309 is performed;
步骤 1309: 判断 type类型是否只是高版本相对低版本有所删减, 即判断 type是否等于 1, 如果不是, 则继续执行步骤 1310; 如果是, 则执行歩骤 1311 ;  Step 1309: Determine whether the type type is only a high version and a relatively low version, that is, whether the type is equal to 1, if not, proceed to step 1310; if yes, perform step 1311;
步骤 1310: 解析根据高版本的配置规则修改低版本配置数据内容文件后的数据内容文 件, 转换为可视化的界面进行配置项目的编辑与校验操作, 其中, 解析、 编辑与校验的过 程分别参见步骤 103、 步骤 104和步骤 105, 此处不再详述;  Step 1310: Parsing the data content file after modifying the low-level configuration data content file according to the high-level configuration rule, and converting to a visual interface for editing and verifying the configuration item, wherein the processes of parsing, editing, and verifying are respectively referred to Step 103, step 104 and step 105, which are not described in detail herein;
步骤 1311 : 设置相应的目标通信设备及配置模式, 上传配置数据文件, 进行数据文件 的预处理操作, 预处理成功后进行配置数据的实际加载, 这样更新目标通信设备在新版本 下运行。其中,设置配置模式和数据文件的预处理操作可选,具体参见步骤 107和歩骤 109, 此处不再赘述。  Step 1311: Set the corresponding target communication device and configuration mode, upload the configuration data file, perform pre-processing of the data file, and perform actual loading of the configuration data after the pre-processing is successful, so that the updated target communication device runs under the new version. The pre-processing operation of setting the configuration mode and the data file is optional. For details, refer to Step 107 and Step 109, and details are not described here.
本发明实施例提出的通信设备批量配置管理的方法, 由于采用 XML来描述配置数据, 生成便于编辑、 查看、 处理的通用配置数据描述文件, 利用该文件可以很方便地解析出可 视化的用户界面, 网络维护人员在可视化界面上进行配置编辑时有完善的提示功能以及数 据校验功能, 保证了数据配置的准确性。 此外由于配置文件的灵活性与扩展性, 可以适应 配置项目变化较为频繁并且经常需要升级的通信设备; The method for batch configuration management of a communication device according to the embodiment of the present invention uses XML to describe configuration data, and generates a general configuration data description file that is easy to edit, view, and process, and can be conveniently parsed by using the file. Visualized user interface, network maintenance personnel have a comprehensive prompt function and data verification function when performing configuration editing on the visual interface, which ensures the accuracy of data configuration. In addition, due to the flexibility and scalability of the configuration file, it is possible to adapt to communication devices where the configuration items change frequently and often need to be upgraded;
在上传配置数据时, 提供了目标通信设备的选择功能, 可以根据需要选择多个目标通 信设备并行上传, 对多个目标通信设备进行批量配置;  When uploading configuration data, the selection function of the target communication device is provided, and multiple target communication devices can be selected to be uploaded in parallel according to requirements, and multiple target communication devices are batch-configured;
进一步地, 采用将配置数据描述文件下载到本地的方式进行配置, 并采用断点续传的 方式上传本地配置好的配置数据描述文件, 从而能够实现对通信设备的离线配置, 降低了 人工干预程度, 提高了配置管理的自动化;  Further, the configuration data file is downloaded to the local device for configuration, and the locally configured configuration data description file is uploaded by using a breakpoint resume transmission, thereby enabling off-line configuration of the communication device and reducing the degree of manual intervention. , improve the automation of configuration management;
在配置数据实际加载前, 根据目标通信设备的实际运行环境, 对上传到目标通信设备 的配置数据进行预处理, 有助于发现潜在的问题, 减少配置操作需要的时间, 提高了配置 操作的准确性, 一致性与完整性;  Before the configuration data is actually loaded, pre-processing the configuration data uploaded to the target communication device according to the actual running environment of the target communication device helps to identify potential problems, reduces the time required for configuration operations, and improves the accuracy of the configuration operation. Sex, consistency and integrity;
另外, 本发明实施例提出的通信设备批量配置管理的方法, 不仅能够实现对一个通信 设备同时进行多个配置项目的配置, 而且能够实现对多个通信设备同时进行一个或者多个 配置项目的配置。 根据上述方法实施例的技术方案, 本发明实施例还提供了实施该技术方案的一种通信 设备批量配置管理的装置, 参见图 14, 该通信设备配置批量管理的装置包括:  In addition, the method for managing batch configuration of a communication device according to the embodiment of the present invention can not only implement configuration of multiple configuration items for one communication device at the same time, but also enable configuration of one or more configuration items for multiple communication devices simultaneously. . According to the technical solution of the foregoing method embodiment, the embodiment of the present invention further provides a device for managing batch configuration management of a communication device, and the device for configuring batch management of the communication device includes:
配置数据描述单元 141 : 用于基于统一描述格式对各通信设备中的配置数据进行描述, 描述时可以但不限于基于界面组织文件、 控制规则文件以及数据内容描述文件三个部分来 进行描述。 一种较优的实施方式是采用通用 XML 语言来对通信设备中的配置数据进行描 述。  The configuration data description unit 141 is configured to describe configuration data in each communication device based on the unified description format, and the description may be, but is not limited to, three parts based on an interface organization file, a control rule file, and a data content description file. A preferred implementation is to use a generic XML language to describe configuration data in a communication device.
配置数据下载单元 142: 用于下载通信设备中基于统一描述格式描述的配置数据。 配置数据解析单元 143 : 用于将下载的配置数据解析显示给外界进行编辑。  Configuration Data Download Unit 142: Used to download configuration data based on a unified description format description in the communication device. The configuration data parsing unit 143 is configured to parse and display the downloaded configuration data to the outside world for editing.
配置数据上传单元 144: 用于将外界编辑后的配置数据上传给选定的目标通信设备。上 传时可以按照预先为目标通信设备选定的配置模式, 将外界编辑后的配置数据中包含的对 应数据内容上传给目标通信设备。 一种较优的实施方式是在配置数据上传过程中若发生中 断, 下次从中断处继续上传未上传的配置数据。  The configuration data uploading unit 144: is used to upload the externally edited configuration data to the selected target communication device. When uploading, the corresponding data content included in the externally edited configuration data may be uploaded to the target communication device according to the configuration mode selected in advance for the target communication device. A preferred implementation method is to interrupt the configuration data upload process, and continue to upload the un-uploaded configuration data from the interruption.
数据加载控制单元 145 : 用于控制目标通信设备对接收到的配置数据进行加载。  The data loading control unit 145 is configured to control the target communication device to load the received configuration data.
进一步地, 上述装置还可以包括:  Further, the above apparatus may further include:
配置数据校验单元 146: 用于对外界编辑后的配置数据进行校验, 以及将校验结果信息 提供给外界。 进一步地, 上述装置还可以包括: The configuration data verification unit 146 is configured to perform verification on the externally edited configuration data, and provide the verification result information to the outside world. Further, the above apparatus may further include:
配置数据预处理单元 147: 用于将上传到目标通信设备上的配置数据, 根据目标通信 设备当前的实际运行环境进行预处理, 以及将预处理结果信息提供给外界。  The configuration data pre-processing unit 147: is configured to pre-process the configuration data uploaded to the target communication device according to the current actual operating environment of the target communication device, and provide the pre-processing result information to the outside world.
相应地, 上述数据加载控制单元 145具体用于控制目标通信设备在预处理成功后, 加 载预处理成功的配置数据。  Correspondingly, the data loading control unit 145 is specifically configured to control the target communication device to load the configuration data of the pre-processing success after the pre-processing is successful.
其中, 上述通信设备批量配置管理的装置中的配置数据校验单元 146和配置数据预处 理单元 147可选。 另外, 上述装置中所提到的各个功能单元可以基于软件编程来实现, 也 可以基于改造现有的硬件设备来实现。  The configuration data verification unit 146 and the configuration data preprocessing unit 147 in the apparatus for batch configuration management of the communication device are optional. In addition, the various functional units mentioned in the above apparatus may be implemented based on software programming, or may be implemented based on retrofitting existing hardware devices.
本发明实施例通过通信设备批量配置管理的装置与目标通信设备间采用直接传输配置 数据文件, 而不是逐条命令下发配置命令, 提高了对通信设备配置的效率。 因此可用于对 通信设备不同版本的批量配置与升级。 上述方法实施例的技术方案, 适用于通信系统中的各个被管理的通信设备中的配置数 据已经基于统一的描述格式进行了描述, 然而在实际网络系统中, 有可能会存在有些原始 的通信设备中的配置数据没有进行升级, 即没有使用统一的描述格式对某些原始的通信设 备中的配置数据进行描述, 而为了同样能够达到本发明的目的, 本实施例还提供了另一种 通信设备批量配置管理的方法, 具体包括:  In the embodiment of the present invention, the configuration of the communication device is improved by directly transmitting the configuration data file to the target communication device, instead of issuing the configuration command one by one. It can therefore be used for batch configuration and upgrade of different versions of communication devices. The technical solution of the foregoing method embodiment is applicable to the configuration data in each managed communication device in the communication system has been described based on a unified description format. However, in the actual network system, there may be some original communication devices. The configuration data in the configuration is not upgraded, that is, the configuration data in some original communication devices is not described using a unified description format, and in order to achieve the object of the present invention, the present embodiment further provides another communication device. The method of batch configuration management includes:
下载通信设备中的配置数据;  Download configuration data in the communication device;
基于统一描述格式对下载的配置数据进行描述;  Describe the downloaded configuration data based on the unified description format;
将基于统一描述格式描述的配置数据解析显示给外界进行编辑;  Parsing and displaying the configuration data based on the unified description format description to the outside world for editing;
将外界编辑后的配置数据上传给选定的目标通信设备;  Uploading the edited configuration data to the selected target communication device;
控制目标通信设备对接收到的配置数据进行加载。  The control target communication device loads the received configuration data.
其中对下载的配置数据基于界面组织描述文件、 控制规则描述文件以及数据内容描述 文件三个部分来进行描述。 此外有关其他技术实现细节请参照上述第一种方法实施例的相 关阐述, 此处不再赘述。  The downloaded configuration data is described based on three parts: an interface organization description file, a control rule description file, and a data content description file. For details about other technical implementations, please refer to the related description of the first method embodiment, and details are not described herein again.
本发明实施例通过将通信设备上的配置数据下载到本地修改, 然后批量配置到目标通 信设备上, 提高了数据配置的准确性。 参见图 15, 为对应上述第二种方法实施例的技术方案, 本发明实施例提出了一种通信 设备批量配置管理的装置, 具体包括:  In the embodiment of the present invention, the configuration data on the communication device is downloaded to the local modification, and then batch configured to the target communication device, thereby improving the accuracy of data configuration. Referring to FIG. 15, which is a technical solution corresponding to the foregoing second method embodiment, an embodiment of the present invention provides a device for managing batch configuration of a communication device, which specifically includes:
配置数据下载单元 151 : 用于下载通信设备中的配置数据。 配置数据描述单元 152: 用于基于统一描述格式对上述配置数据下载单元 151下载的 配置数据进行描述, 描述时可以但不限于基于界面组织文件、 控制规则文件以及数据内容 描述文件三个部分来进行描述。一种较优的实施方式是采用通用 XML语言来对通信设备中 的配置数据进行描述。 The configuration data download unit 151: is for downloading configuration data in the communication device. The configuration data description unit 152 is configured to describe the configuration data downloaded by the configuration data download unit 151 based on the unified description format, and the description may be performed by using, but not limited to, three parts: an interface organization file, a control rule file, and a data content description file. description. A preferred implementation is to use a generic XML language to describe configuration data in a communication device.
配置数据解析单元 153 : 用于将配置数据描述单元 152基于统一描述格式描述的配置数 据解析显示给外界进行编辑。  The configuration data parsing unit 153: is configured to display the configuration data described by the configuration data description unit 152 based on the unified description format to the outside world for editing.
配置数据上传单元 154: 用于将外界编辑后的配置数据上传给选定的目标通信设备。 数据加载控制单元 155 : 用于控制目标通信设备对接收到的配置数据进行加载。  The configuration data uploading unit 154: is configured to upload the externally edited configuration data to the selected target communication device. The data loading control unit 155: is configured to control the target communication device to load the received configuration data.
有关该装置的其他相关实现细节请参见上述图 14所示装置的工作原理介绍。  For other relevant implementation details of the device, please refer to the working principle of the device shown in Figure 14 above.
本发明实施例通过在通信设备批量配置管理的装置与目标通信设备间采用直接传输配 置数据文件, 而不是逐条命令下发配置命令, 提高了对通信设备配置的效率。  The embodiment of the present invention improves the efficiency of configuration of the communication device by directly transmitting the configuration data file between the device for managing the batch configuration of the communication device and the target communication device instead of issuing the configuration command one by one.
本发明实施例可以通过软件实现, 相应地软件可以存储到可读取的存储介质中, 例如, 计算机的硬盘、 软盘或者光盘中。  The embodiments of the present invention can be implemented by software, and correspondingly, the software can be stored in a readable storage medium, such as a hard disk, a floppy disk or an optical disk of a computer.
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和 范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and the modifications of the invention

Claims

权 利 要 求 书 Claim
1、 一种通信设备批量配置管理的方法, 其特征在于, 所述方法包括: A method for batch configuration management of a communication device, the method comprising:
基于统一描述格式对各通信设备中的配置数据进行描述;  Describe the configuration data in each communication device based on the unified description format;
下载所述通信设备中基于统一描述格式描述的配置数据;  Downloading configuration data in the communication device based on a unified description format description;
将下载的配置数据解析显示给外界进行编辑;  Parsing the downloaded configuration data to the outside world for editing;
将外界编辑后的配置数据上传给选定的目标通信设备;  Uploading the edited configuration data to the selected target communication device;
控制所述目标通信设备对接收到的配置数据进行加载。  Controlling the target communication device to load the received configuration data.
2、 如权利要求 1所述的方法, 其特征在于, 所述对各通信设备中的配置数据进行描述 具体为:  2. The method according to claim 1, wherein the describing the configuration data in each communication device is specifically:
对各通信设备中的配置数据基于界面组织描述文件、控制规则描述文件以及数据内容描 述文件三个部分来进行描述。  The configuration data in each communication device is described based on three parts: an interface organization description file, a control rule description file, and a data content description file.
3、如权利要求 2所述的方法, 其特征在于, 所述界面组织描述文件用于对所述通信设 备的配置项目在界面上的组织展示进行描述, 具体分为下述四级来描述:  The method according to claim 2, wherein the interface organization description file is used to describe the organization display of the configuration item of the communication device on the interface, and is specifically described in the following four levels:
第一级描述产品信息;  The first level describes the product information;
第二级描述设备类型信息;  The second level describes device type information;
第三级描述设备版本信息;  The third level describes device version information;
第四级描述配置项目信息。  The fourth level describes the configuration item information.
4、如权利要求 2所述的方法, 其特征在于, 所述控制规则描述文件具体分为配置项目 控制描述和界面元素控制描述。  The method according to claim 2, wherein the control rule description file is specifically divided into a configuration item control description and an interface element control description.
5、如权利要求 4所述的方法,其特征在于,所述配置项目控制描述具体分为下述四级: 第一级为配置项目的整体控制描述;  The method according to claim 4, wherein the configuration item control description is specifically divided into the following four levels: The first level is an overall control description of the configuration item;
第二级为配置数据的表格描述;  The second level is a table description of the configuration data;
第三级为配置字段的控制描述;  The third level is the control description of the configuration field;
第四级为配置字段的属性描述。  The fourth level is the attribute description of the configuration field.
6、如权利要求 2所述的方法, 其特征在于, 所述数据内容描述文件用于对配置数据值 进行描述, 具体分为下述四级:  The method according to claim 2, wherein the data content description file is used to describe the configuration data value, and is specifically divided into the following four levels:
第一级为设备信息描述;  The first level is a description of the device information;
第二级为配置项目描述;  The second level is the configuration item description;
第三级为配置行描述; 第四级为配置字段描述。 The third level is the configuration line description; The fourth level is the configuration field description.
7、 如 1〜6任一权利要求所述的方法, 其特征在于, 所述对各通信设备中的配置数据 进行描述具体为:  7. The method according to any one of claims 1 to 6, wherein the describing the configuration data in each communication device is specifically:
基于可扩展标记语言来对各通信设备中的配置数据进行描述。  The configuration data in each communication device is described based on an extensible markup language.
8、 如权利要求 1所述的方法, 其特征在于, 所述方法还包括:  8. The method of claim 1, wherein the method further comprises:
对外界编辑后的配置数据进行校验, 以及  Verify the edited configuration data from the outside world, and
将校验结果信息提供给外界。  The verification result information is provided to the outside world.
9、 根据权利要求 1所述的方法, 其特征在于, 所述将外界编辑后的配置数据上传给选 定的目标通信设备具体包括:  The method according to claim 1, wherein the uploading the externally edited configuration data to the selected target communication device comprises:
按照预先为目标通信设备选定的配置模式, 将外界编辑后的配置数据中包含的对应数 据内容上传给所述目标通信设备。  The corresponding data content included in the externally edited configuration data is uploaded to the target communication device according to a configuration mode selected in advance for the target communication device.
10、 如权利要求 9所述的方法, 其特征在于, 所述配置模式是指: 删除所述目标通信 设备上已有的配置数据后, 插入外界编辑后的配置数据的覆盖配置模式。  The method according to claim 9, wherein the configuration mode is: after deleting the configuration data existing on the target communication device, inserting an overlay configuration mode of the externally edited configuration data.
11、 如权利要求 9 所述的方法, 其特征在于, 所述配置模式是指: 基于外界编辑后的 配置数据中的对应数据内容, 更新所述目标通信设备中对应原有数据内容的更新配置模式。  The method according to claim 9, wherein the configuration mode is: updating an update configuration of the corresponding original data content in the target communication device based on the corresponding data content in the externally edited configuration data. mode.
12、 如权利要求 1 所述的方法, 其特征在于, 在配置数据上传过程中若发生中断, 下 次从中断处继续上传未上传的配置数据。  12. The method according to claim 1, wherein if an interruption occurs during the configuration data uploading process, the unuploaded configuration data is continuously uploaded from the interruption.
13、 如权利要求 1 所述的方法, 其特征在于, 所述将外界编辑后的配置数据上传给选 定的目标通信设备之后还包括:  The method according to claim 1, wherein the uploading the externally edited configuration data to the selected target communication device further comprises:
根据所述目标通信设备当前的实际运行环境, 对上传到所述目标通信设备上的配置数 据进行预处理, 并将预处理结果信息提供给外界;  Pre-processing the configuration data uploaded to the target communication device according to the current actual operating environment of the target communication device, and providing the pre-processing result information to the outside;
相应地, 所述控制所述目标通信设备对接收到的配置数据进行加载具体为:  Correspondingly, the controlling the target communication device to load the received configuration data is specifically:
在预处理成功后, 控制所述目标通信设备加载预处理成功的配置数据。  After the pre-processing is successful, the target communication device is controlled to load the configuration data of the pre-processing success.
14、 一种通信设备批量配置管理的装置, 其特征在于, 所述装置包括:  14. A device for batch configuration management of a communication device, the device comprising:
配置数据描述单元( 141 ),用于基于统一描述格式对各通信设备中的配置数据进行描述; 配置数据下载单元 (142), 用于下载所述通信设备中基于统一描述格式描述的配置数 据;  a configuration data description unit (141) for describing configuration data in each communication device based on a unified description format; a configuration data download unit (142) for downloading configuration data based on a unified description format description in the communication device;
配置数据解析单元 (143 ), 用于将下载的配置数据解析显示给外界进行编辑; 配置数据上传单元(144), 用于将外界编辑后的配置数据上传给选定的目标通信设备; 数据加载控制单元(145 ), 用于控制所述目标通信设备对接收到的配置数据进行加载。 The configuration data parsing unit (143) is configured to parse and display the downloaded configuration data to the outside world for editing; the configuration data uploading unit (144) is configured to upload the externally edited configuration data to the selected target communication device; The control unit (145) is configured to control the target communication device to load the received configuration data.
15、 如权利要求 14所述的装置, 其特征在于, 所述配置数据描述单元 (141 ) 对各通 信设备中的配置数据基于界面组织描述文件、 控制规则描述文件以及数据内容描述文件三 个部分来进行描述。 The device according to claim 14, wherein the configuration data description unit (141) pairs each The configuration data in the letter device is described based on three parts: an interface organization description file, a control rule description file, and a data content description file.
16、 如权利要求 14或 15所述的装置, 其特征在于, 所述配置数据描述单元(141 )基 于可扩展标记语言来对所述通信设备中的配置数据进行描述。  The apparatus according to claim 14 or 15, wherein the configuration data description unit (141) describes configuration data in the communication device based on an extensible markup language.
17、 如权利要求 14所述的装置, 其特征在于, 所述装置还包括:  The device of claim 14, wherein the device further comprises:
配置数据校验单元 (146), 用于对外界编辑后的配置数据进行校验, 以及将校验结果 信息提供给外界。  The configuration data verification unit (146) is configured to perform verification on the externally edited configuration data and provide the verification result information to the outside world.
18、 如权利要求 14所述的装置, 其特征在于, 所述配置数据上传单元 (144) 具体用 于按照预先为目标通信设备选定的配置模式, 将外界编辑后的配置数据中包含的对应数据 内容上传给所述目标通信设备。  The device according to claim 14, wherein the configuration data uploading unit (144) is specifically configured to: perform corresponding to the externally edited configuration data according to a configuration mode selected in advance for the target communication device. The data content is uploaded to the target communication device.
19、 如权利要求 14所述的装置, 其特征在于, 所述配置数据上传单元 (144) 在配置 数据上传过程中若发生中断, 下次从中断处继续上传未上传的配置数据。  The device according to claim 14, wherein the configuration data uploading unit (144) continues to upload the unuploaded configuration data from the interruption if an interruption occurs during the configuration data uploading process.
20、 如权利要求 14所述的装置, 其特征在于, 所述装置还包括:  The device of claim 14, wherein the device further comprises:
配置数据预处理单元 (147), 用于根据所述目标通信设备当前的实际运行环境, 对上 传到所述目标通信设备上的配置数据进行预处理, 以及将预处理结果信息提供给外界; 相应地, 所述数据加载控制单元(145 )具体用于控制所述目标通信设备在预处理成功 后, 加载预处理成功的配置数据。  a configuration data pre-processing unit (147), configured to pre-process configuration data uploaded to the target communication device according to a current actual operating environment of the target communication device, and provide pre-processing result information to the outside; The data loading control unit (145) is specifically configured to control the target communication device to load the configuration data of the pre-processing success after the pre-processing is successful.
21、 一种通信设备批量配置管理的方法, 其特征在于, 所述方法包括:  A method for batch configuration management of a communication device, the method comprising:
下载通信设备中的配置数据;  Download configuration data in the communication device;
基于统一描述格式对下载的配置数据进行描述;  Describe the downloaded configuration data based on the unified description format;
将基于统一描述格式描述的配置数据解析显示给外界进行编辑;  Parsing and displaying the configuration data based on the unified description format description to the outside world for editing;
将外界编辑后的配置数据上传给选定的目标通信设备;  Uploading the edited configuration data to the selected target communication device;
控制所述目标通信设备对接收到的配置数据进行加载。  Controlling the target communication device to load the received configuration data.
22、如权利要求 21所述的方法,其特征在于,所述对下载的配置数据进行描述具体为: 对下载的配置数据基于界面组织描述文件、 控制规则描述文件以及数据内容描述文件 三个部分来进行描述。  The method according to claim 21, wherein the describing the downloaded configuration data is specifically: the downloaded configuration data is based on three parts: an interface organization description file, a control rule description file, and a data content description file. To describe.
23、 一种通信设备批量配置管理的装置, 其特征在于, 所述装置包括:  A device for managing batch configuration of a communication device, the device comprising:
配置数据下载单元 (151 ), 用于下载通信设备中的配置数据;  a configuration data download unit (151) for downloading configuration data in the communication device;
配置数据描述单元 (152), 用于基于统一描述格式对下载的配置数据进行描述; 配置数据解析单元 (153 ), 用于将基于统一描述格式描述的配置数据解析显示给外界 进行编辑; 配置数据上传单元(154), 用于将外界编辑后的配置数据上传给选定的目标通信设备; 数据加载控制单元(155 ), 用于控制所述目标通信设备对接收到的配置数据进行加载。 The configuration data description unit (152) is configured to describe the downloaded configuration data based on the unified description format; the configuration data parsing unit (153) is configured to parse and display the configuration data based on the unified description format description to the outside for editing; The configuration data uploading unit (154) is configured to upload the externally edited configuration data to the selected target communication device; the data loading control unit (155) is configured to control the target communication device to load the received configuration data. .
24、 如权利要求 23所述的装置, 其特征在于, 所述配置数据描述单元 (152) 具体用 于基于统一描述格式, 对下载的配置数据基于界面组织描述文件、 控制规则描述文件以及 数据内容描述文件三个部分来进行描述。 The device according to claim 23, wherein the configuration data description unit (152) is specifically configured to: based on the unified description format, the downloaded configuration data is based on an interface organization description file, a control rule description file, and data content. Describe the three parts of the document for description.
PCT/CN2008/071658 2007-07-24 2008-07-16 A communication device batch configuration managing method and the apparatus thereof WO2009012696A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB2007101297246A CN100566357C (en) 2007-07-24 2007-07-24 Communication apparatus batch configuration managerial approach and device thereof
CN200710129724.6 2007-07-24

Publications (1)

Publication Number Publication Date
WO2009012696A1 true WO2009012696A1 (en) 2009-01-29

Family

ID=38912944

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/071658 WO2009012696A1 (en) 2007-07-24 2008-07-16 A communication device batch configuration managing method and the apparatus thereof

Country Status (2)

Country Link
CN (1) CN100566357C (en)
WO (1) WO2009012696A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017215445A1 (en) * 2016-06-16 2017-12-21 中兴通讯股份有限公司 Device information acquisition method and device
CN110928533A (en) * 2019-11-21 2020-03-27 国网智能科技股份有限公司 Incremental technology-based intelligent station data type template display method and system

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100566357C (en) * 2007-07-24 2009-12-02 华为技术有限公司 Communication apparatus batch configuration managerial approach and device thereof
CN102270117A (en) * 2010-06-04 2011-12-07 上海三旗通信科技有限公司 WAP (wireless application protocol) and MMS (multimedia messaging service) visual configuration tool
CN102013994B (en) * 2010-11-02 2014-04-09 中兴通讯股份有限公司 Method, terminal and system for implementing network element version compatibility in network management
CN102843245B (en) * 2011-06-20 2017-08-18 中兴通讯股份有限公司 Configuration data exchange method and device
JP2014102816A (en) * 2012-10-26 2014-06-05 Ricoh Co Ltd Setting support device, setting support system, and setting support method
CN103209338A (en) * 2013-02-04 2013-07-17 奥维通信股份有限公司 Online dynamic configuration system and method for multiplexer
CN103578032A (en) * 2013-11-14 2014-02-12 中国银行股份有限公司 Data processing system
CN103634144B (en) * 2013-11-15 2017-06-13 新浪网技术(中国)有限公司 The configuration file management method of many IDC clusters, system and equipment
CN104168306A (en) * 2014-06-26 2014-11-26 湖北安标信息技术有限公司 Configuration integration method based on distributed system
CN104468419A (en) * 2014-12-22 2015-03-25 上海斐讯数据通信技术有限公司 Method and system for recovering configuration of interchanger and interchanger
CN105591803A (en) * 2015-08-24 2016-05-18 杭州华三通信技术有限公司 Resource processing method and equipment
CN106603259B (en) * 2015-10-16 2019-08-30 大唐移动通信设备有限公司 The configuration data method of calibration and device of network element, network management device
CN105354671A (en) * 2015-11-06 2016-02-24 中国南方电网有限责任公司 Universal configuration management system and enterprise-level information system comprising same
CN105306273B (en) * 2015-11-10 2018-12-14 中国建设银行股份有限公司 Process configuration method and device
CN107547217B (en) * 2016-06-24 2022-05-10 中兴通讯股份有限公司 Router service configuration method and router
CN106254128A (en) * 2016-08-24 2016-12-21 北京紫金支点技术有限公司 A kind of ATM configuration parameter management method based on server and system
CN106940721B (en) * 2017-03-15 2020-02-14 国信电子票据平台信息服务有限公司 Data processing method and system for user-defined selection box
CN107291865A (en) * 2017-06-13 2017-10-24 苏州弘铭检测科技有限公司 A kind of workshop appliance monitoring system describes method
CN107742185A (en) * 2017-10-12 2018-02-27 深圳云集智造系统技术有限公司 Loading method, device, terminal and the computer-readable recording medium of ERP system
CN107733708B (en) * 2017-10-16 2020-09-18 平安科技(深圳)有限公司 Equipment parameter configuration method and device, computer equipment and storage medium
CN109800023A (en) * 2017-11-10 2019-05-24 沈阳芯源微电子设备股份有限公司 A kind of automatic double surface gluer parameter configuring system and its design method
CN107864060B (en) * 2017-11-13 2020-09-01 广东电网有限责任公司电力科学研究院 Method and device for synchronizing switch configuration tool and switch
CN108829880B (en) * 2018-06-27 2020-12-01 烽火通信科技股份有限公司 Method for configuration management of optical network terminal equipment
CN109245953B (en) * 2018-11-22 2022-11-01 新华三技术有限公司 Network configuration method and device
CN111508601A (en) * 2019-01-30 2020-08-07 深圳迈瑞生物医疗电子股份有限公司 Information management equipment and information configuration method
CN110083608B (en) * 2019-04-26 2021-10-15 北京零秒科技有限公司 Content management method and device based on knowledge base
CN110297791A (en) * 2019-06-28 2019-10-01 深圳忆联信息系统有限公司 A kind of method and its system for effectively improving solid state hard disk serial ports and opening card speed
CN111585792B (en) * 2020-04-17 2023-05-26 湖南三一智能控制设备有限公司 Data port configuration method and data port configuration device
CN113179332B (en) * 2021-06-28 2021-09-17 脉策(上海)智能科技有限公司 Method, electronic device and storage medium for acquiring configuration information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1437365A (en) * 2002-02-04 2003-08-20 华为技术有限公司 Off-line data configuration method for communication equipment
CN1455549A (en) * 2002-04-30 2003-11-12 华为技术有限公司 Method of configuration and upgrade of network apparatus in communication system
CN1742268A (en) * 2002-12-20 2006-03-01 诺基亚公司 Automated bulk configuration of network devices
CN101083684A (en) * 2007-07-24 2007-12-05 华为技术有限公司 Communication apparatus batch configuration managerial approach and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1437365A (en) * 2002-02-04 2003-08-20 华为技术有限公司 Off-line data configuration method for communication equipment
CN1455549A (en) * 2002-04-30 2003-11-12 华为技术有限公司 Method of configuration and upgrade of network apparatus in communication system
CN1742268A (en) * 2002-12-20 2006-03-01 诺基亚公司 Automated bulk configuration of network devices
CN101083684A (en) * 2007-07-24 2007-12-05 华为技术有限公司 Communication apparatus batch configuration managerial approach and apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017215445A1 (en) * 2016-06-16 2017-12-21 中兴通讯股份有限公司 Device information acquisition method and device
CN110928533A (en) * 2019-11-21 2020-03-27 国网智能科技股份有限公司 Incremental technology-based intelligent station data type template display method and system
CN110928533B (en) * 2019-11-21 2023-04-14 山东鲁软数字科技有限公司智慧能源分公司 Incremental technology-based intelligent station data type template display method and system

Also Published As

Publication number Publication date
CN100566357C (en) 2009-12-02
CN101083684A (en) 2007-12-05

Similar Documents

Publication Publication Date Title
WO2009012696A1 (en) A communication device batch configuration managing method and the apparatus thereof
US11386077B2 (en) System and method for building business service model
US10275776B1 (en) Techniques for compliance testing
CN102364894B (en) Issuing method for configuration data file and network management equipment
CN111061817B (en) Adaptive business construction system, method and computer readable medium
US8782182B2 (en) Generating device-specific configurations
US6625590B1 (en) Command line interface for reducing user input in a network management device
CA2457440C (en) System and method for the automatic installation and configuration of an operating system
US20040268298A1 (en) Generation of configuration instructions using an abstraction technique
EP3152650B1 (en) High-speed application for installation on mobile devices for permitting remote configuration of such mobile devices
CN102097015B (en) Operation instruction processing system and method
US20060047723A1 (en) Custom database system and method of building the same
CN111737227A (en) Data modification method and system
CN106990974A (en) A kind of APP applications update method, device and electronic equipment
US20100011018A1 (en) Custom database system and method of building the same
US20020129132A1 (en) Network management apparatus, network communication apparatus, network communication program, network communication method and computer network system
US20080022258A1 (en) Custom database system and method of building and operating the same
WO2005089350A2 (en) Custom database system and method of building the same
US8631393B2 (en) Custom database system and method of building and operating the same
CN107220133A (en) A kind of data interactive method, apparatus and system
CN112732675B (en) Lightweight database system for teaching
US20230035835A1 (en) System and method of a modular framework for configuration and reuse of web components
JP2003208500A (en) Business process definition display method, system and program
CN117851336A (en) Method, device, equipment and medium for simulating BMC function
AU2002337038A1 (en) System and method for the automatic installation and configuration of an operating system

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: 08783702

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08783702

Country of ref document: EP

Kind code of ref document: A1