CN101179444B - Configuration take-effective method, configuration system and configuration gateway - Google Patents

Configuration take-effective method, configuration system and configuration gateway Download PDF

Info

Publication number
CN101179444B
CN101179444B CN2007101986380A CN200710198638A CN101179444B CN 101179444 B CN101179444 B CN 101179444B CN 2007101986380 A CN2007101986380 A CN 2007101986380A CN 200710198638 A CN200710198638 A CN 200710198638A CN 101179444 B CN101179444 B CN 101179444B
Authority
CN
China
Prior art keywords
configuration
information
data
parameter
configuration parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2007101986380A
Other languages
Chinese (zh)
Other versions
CN101179444A (en
Inventor
侯越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2007101986380A priority Critical patent/CN101179444B/en
Publication of CN101179444A publication Critical patent/CN101179444A/en
Application granted granted Critical
Publication of CN101179444B publication Critical patent/CN101179444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a configuration validation method, a configuration system and a configuration gateway. The received configuration command is transformed into the configuration data which does not contain the type information of the configuration parameter and the length information of the configuration parameter and the configuration data is sent to a service module, and thus the type information of the configuration parameter and the length information of the configuration parameter is not included in the configuration data and the dereferencing information of the configuration parameter or the dereferencing information and the parameter marker of the configuration parameter is only reserved, thus greatly reducing the needed data quantity. Only a small data quantity can implement the configuration function and the utilization ratio of the data space is very high.

Description

Configuration take-effective method, configuration-system and h.323-configured gateway
Technical field
The present invention relates to communication technical field, particularly configuration take-effective method, configuration-system and h.323-configured gateway.
Background technology
At present, communication apparatus often needs to support simultaneously multiple different configuration tool owing to using the different of scene and concrete business.Business module in equipment is realized a cover configuration feature at every kind of configuration tool, often adopt the method that the configuring request of different configuration tools all is converted to unified internal data format, business module only need be handled unified internal data format and not need to be concerned about the difference of different configuration tools.
The structure of existing configuration-system comprises h.323-configured gateway (CFG) and business module as shown in Figure 1.Man-machine interface language (MML) service module, Binary Interface (BIN) service module, command line interface (CLI) service module, Simple Network Management Protocol (SNMP) service module, XML (extensible Markup Language) (XML) service modules etc. receive its corresponding configuration tool editor's configuration order, and the configuration order that receives sent to h.323-configured gateway, the different configuration order that h.323-configured gateway will receive from these different configuration service modules, after being converted to the configuration data of unified internal data format, be issued to the business module that is configured, business module is carried out configuration operation according to the content in the configuration data, realizes the configuration to business module.
General TLV (Type Length Value, type, length, the value) coded format that adopts is used as unified internal data format in the prior art, describes the parameter of configuration.In the TLV coded format, all need type of service, length and value information to describe for each configuration parameter item.In addition, generally also need to add that for each parameter item parameter sign (i) to distinguish each parameter, forms the i-TLV form.Generally has as shown in Figure 2 form with the configuration parameter of i-TLV format description.
Among Fig. 2, a configuration data will comprise the parameter list number and the relevant parameters tabulation of the parameter of required configuration, comprises length, the number of parameters in this parameter list and the concrete parameter of this parameter list in each parameter list again; The parameter I D, parameter type, parameter value length and the parameter value that also comprise this parameter in each parameter.Such as, disposing a port numbers parameter, this parameter value is 15, uses this configuration parameter of i-TLV format description so, and the maximum length that will describe its parameter type and be a numeral, this parameter is 8, and this parameter value is 15.If certain configuration parameter value has only 2 bytes, need 20 multibytes altogether with this configuration data of i-TLV format description, the data space utilance has only about 10%.
This shows that in the prior art, the data volume that is configured the configuration data after gateway is changed is very big, the data space utilance is very low.
Summary of the invention
The embodiment of the invention provides a kind of configuration take-effective method, and the data volume that is configured the configuration data after gateway is changed is very little, and the data space utilance is very high.
The embodiment of the invention provides a kind of configuration-system, and the data volume that is configured the configuration data after gateway is changed is very little, and the data space utilance is very high.
The embodiment of the invention provides a kind of h.323-configured gateway, and the data volume of the configuration data after the conversion is very little, and the data space utilance is very high.
For achieving the above object, the technical scheme of the embodiment of the invention specifically is achieved in that
A kind of configuration take-effective method, this method comprises:
According to predefined information model, the configuration order that receives is converted to the configuration data of the length information of the type information that do not contain configuration parameter and configuration parameter, and sends to business module;
Wherein, described configuration data comprises: the opcode information of expression action of configuration, expression are configured the operand data of the actual operand example ID that is configured object of operand class ID, the expression of object classification, configuration parameter value that expression is configured object and the operand data length of expression operand data message length.
A kind of configuration-system, this system comprises:
H.323-configured gateway is used for according to predefined information model, the configuration order that receives is converted to the configuration data that does not contain configuration parameter type information and configuration parameter length information; Wherein, described configuration data comprises: the opcode information of expression action of configuration, expression are configured the operand data of the actual operand example ID that is configured object of operand class ID, the expression of object classification, configuration parameter value that expression is configured object and the operand data length of expression operand data message length;
Business module is used to receive the configuration data that does not contain configuration parameter type information and configuration parameter length information that h.323-configured gateway sends, and carries out the configuration operation in the configuration data.
A kind of h.323-configured gateway, this h.323-configured gateway comprises:
The configuration order receiver module is used to receive configuration order;
Modular converter is used to receive the configuration order that the configuration order receiver module sends, and according to predefined information model, this configuration order is converted to the configuration data that does not contain configuration parameter type information and configuration parameter length information; Wherein, described configuration data comprises: the opcode information of expression action of configuration, expression are configured the operand data of the actual operand example ID that is configured object of operand class ID, the expression of object classification, configuration parameter value that expression is configured object and the operand data length of expression operand data message length;
The configuration data sending module is used to receive the configuration data that does not contain configuration parameter type information and configuration parameter length information that modular converter sends, and sends to business module.
As seen from the above technical solutions, this configuration take-effective method and the configuration-system of the embodiment of the invention are converted to the configuration data that does not contain configuration parameter type information and configuration parameter length information with the configuration order that receives, and send to business module.Like this, configuration parameter type information and configuration parameter length information are not included in the configuration data, data volume seldom only keeps the value information of configuration parameter or the value information and the parameter sign of configuration parameter, can significantly reduce required data volume, as long as can realize configuration feature.This h.323-configured gateway of the embodiment of the invention, the configuration data after the conversion do not contain configuration parameter type information and configuration parameter length information, therefore have only data volume seldom.
Description of drawings
Fig. 1 is existing configuration-system structure chart;
Fig. 2 is the data structure diagram of existing configuration data;
Fig. 3 is the configuration take-effective method flow chart of the embodiment of the invention;
Fig. 4 is the data structure diagram of the configuration data of the embodiment of the invention;
Fig. 5 is the configuration-system structure chart of the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
The embodiment of the invention mainly is that the configuration order that will receive is converted to the configuration data that does not contain configuration parameter type information and configuration parameter length information, and sends to business module.Like this, configuration parameter type information and configuration parameter length information are not included in the configuration data, only keep the value information of configuration parameter or the value information and the parameter sign of configuration parameter, can significantly reduce required data volume, as long as data volume seldom can realize configuration feature, and the utilance of data space is very high.
Fig. 3 is the collocation method flow chart of the embodiment of the invention, and as shown in Figure 3, this flow process specifically may further comprise the steps:
Step 301 is converted to the configuration order that receives the configuration data that does not contain configuration parameter type information and configuration parameter length information.
Step 302 sends configuration data to business module.
In the step 301, the configuration data that does not contain configuration parameter type information and configuration parameter length information is the configuration data of the relative existing i-TLV form that comprises configuration parameter type information and configuration parameter length information, it is with the type information and the length information cancellation of configuration parameter in the i-TLV form, the value information that only keeps configuration parameter forms V format; The value information and the parameter sign that perhaps keep configuration parameter form the i-V form.
Specifically, the concrete data structure of the configuration data after the conversion as shown in Figure 4,
Comprise in this configuration data: command code, operand class ID, operand example ID, operand data length and operand data.
Wherein command code comprises: create, delete and revise three kinds of basic operations, any operation can combine by these three kinds of basic operations.
Wherein create expression and create single configuration object; Deleted representation deletion single operation object; Revise expression and revise an attribute or a plurality of attribute of single operation object.
Operand class ID is predefined overall unique ID for each operand class distribution, in order to discern this operand class.
The operand example ID is the predefined overall unique ID of each operand example allocation that is, in order to discern this operand.The operand example is the segmentation of operand class, represents concrete operand.
The operand data length, the length of the next item down content of expression in the data structure is represented the data length of operand data item exactly.
The operand data are according to the difference of command code and difference.
If command code is to create, then the operand data comprise in the configuration order of receiving, the value information of the configuration parameter of this operand; If there is not the value information of the configuration parameter of operand in the configuration order, then the operand data comprise the default value of the configuration parameter of configuration object.
If command code is deletion, then the operand data comprise the preceding value information of configuration parameter deletion of this operand.
If command code is to revise, then the operand data comprise the preceding and amended value information of configuration parameter modification of this operand; If revise a plurality of configuration objects simultaneously, then the operand data also need to comprise the parameter sign of the configuration parameter of each operand.
The conversion of concrete configuration order, change according to predefined information model, this predefined information model can be by various programming language definition, do not contain configuration parameter type information and configuration parameter length information in this information model, comprise the value information of configuration parameter or comprise the value information of configuration parameter and the parameter sign of configuration parameter.
Information model with the XML definition is an example, and the information model of definition is specifically as follows:
<Class?Port>
<element?PortID/>
<element?IpAddress/>
<Class/>
Generate the data structure of this operand correspondence according to above information model, be specifically as follows:
struct?PortData
{
int?PortID;
string?IpAddress;
};
According to above data structure, can form configuration data as long as the parameter value of corresponding configuration parameters inserted, no longer need the type and the length information of configuration parameter.
Certainly, use language definition information models such as IDL or C also to be fine.After configuration data sent to business module, business module can be carried out configuration operation according to this configuration data.
If the configuration data of business module internal data structure part can directly adopt above data structure to define, perhaps be appreciated that and directly handle this data structure.Business module does not just need the configuration data as the existing i-TLV of execution form so, visit data in the data structure by specific function interface, and directly handle this configuration data, thereby avoid causing the inefficiency of data access, business module depends on the problem of the access interface of data structure simultaneously.
Introduce the collocation method of the embodiment of the invention above, introduce the configuration-system and the h.323-configured gateway of the embodiment of the invention below in detail.
Fig. 5 is the configuration-system structure chart of the embodiment of the invention, and as shown in Figure 5, this configuration-system comprises: h.323-configured gateway 501 and business module 502.
H.323-configured gateway 501 is used for the configuration order that will receive, is converted to the configuration data that does not contain configuration parameter type information and configuration parameter length information.
Business module 502 is used to receive that h.323-configured gateway 501 sends, and does not contain the configuration data of configuration parameter type information and configuration parameter length information, carries out the configuration operation in the configuration data.
Wherein, h.323-configured gateway 501 comprises: configuration order receiver module 503, modular converter 504 and configuration data sending module 505.
Configuration order receiver module 503 is used to receive configuration order.
Modular converter 504 is used to receive the configuration order that configuration order receiver module 504 sends, and this configuration order is converted to the configuration data that does not contain configuration parameter type information and configuration parameter length information.
Configuration data sending module 505 is used to receive that modular converter 504 sends, and does not contain the configuration data of configuration parameter type information and configuration parameter length information, and sends to business module 502.
Wherein, modular converter according to predefined information model, is converted to the type information that do not contain configuration parameter and the length information of configuration parameter with the configuration order that receives, contains the configuration data of the value information of configuration parameter.
Perhaps, modular converter according to predefined information model, is converted to the type information that do not contain configuration parameter and the length information of configuration parameter with the configuration order that receives, contains the configuration data of the parameter sign of the value information of configuration parameter and configuration parameter.
By the above embodiments as seen, the embodiment of the invention is converted to the configuration data that does not contain configuration parameter type information and configuration parameter length information with the configuration order that receives, and sends to business module.Like this, configuration parameter type information and configuration parameter length information are not included in the configuration data, only keep the value information of configuration parameter or the value information and the parameter sign of configuration parameter, can significantly reduce required data volume, as long as data volume seldom can realize configuration feature, and the utilance of data space is very high.
Institute is understood that; the above is a better embodiment of the present invention only, and is not intended to limit the scope of the invention, and is within the spirit and principles in the present invention all; any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a configuration take-effective method is characterized in that, this method comprises:
According to predefined information model, the configuration order that receives is converted to the configuration data of the length information of the type information that do not contain configuration parameter and configuration parameter, and sends to business module;
Wherein, described configuration data comprises: the opcode information of expression action of configuration, expression are configured the operand data of the actual operand example ID that is configured object of operand class ID, the expression of object classification, configuration parameter value that expression is configured object and the operand data length of expression operand data message length.
2. configuration take-effective method as claimed in claim 1 is characterized in that, contains the value information of described configuration parameter in the described operand data.
3. configuration take-effective method as claimed in claim 2 is characterized in that, also comprises in the described operand data: the parameter sign of configuration parameter.
4. configuration take-effective method as claimed in claim 3, it is characterized in that, the described configuration data that does not contain configuration parameter type information and configuration parameter length information that the configuration order that receives is converted to, comprise: with the configuration parameter information in the configuration order that receives, be converted to according to predefined information model and do not contain configuration parameter type information and configuration parameter length information, contain the configuration data of the parameter sign of the value information of configuration parameter and configuration parameter.
5. configuration take-effective method as claimed in claim 4, it is characterized in that, described predefined information model is defined by XML (extensible Markup Language) XML, do not contain configuration parameter type information and configuration parameter length information in this information model, contain the value information of configuration parameter and the parameter sign of configuration parameter.
6. a configuration-system is characterized in that, this system comprises:
H.323-configured gateway is used for according to predefined information model, the configuration order that receives is converted to the configuration data that does not contain configuration parameter type information and configuration parameter length information; Wherein, described configuration data comprises: the opcode information of expression action of configuration, expression are configured the operand data of the actual operand example ID that is configured object of operand class ID, the expression of object classification, configuration parameter value that expression is configured object and the operand data length of expression operand data message length;
Business module is used to receive the configuration data that does not contain configuration parameter type information and configuration parameter length information that h.323-configured gateway sends, and carries out the configuration operation in the configuration data.
7. a h.323-configured gateway is characterized in that, this h.323-configured gateway comprises:
The configuration order receiver module is used to receive configuration order;
Modular converter is used to receive the configuration order that the configuration order receiver module sends, and according to predefined information model, this configuration order is converted to the configuration data that does not contain configuration parameter type information and configuration parameter length information; Wherein, described configuration data comprises: the opcode information of expression action of configuration, expression are configured the operand data of the actual operand example ID that is configured object of operand class ID, the expression of object classification, configuration parameter value that expression is configured object and the operand data length of expression operand data message length
The configuration data sending module is used to receive the configuration data that does not contain configuration parameter type information and configuration parameter length information that modular converter sends, and sends to business module.
8. h.323-configured gateway as claimed in claim 7, it is characterized in that, described modular converter, with the configuration order that receives according to predefined information model, be converted to the type information that do not contain configuration parameter and the length information of configuration parameter, contain the configuration data of the value information of configuration parameter.
9. h.323-configured gateway as claimed in claim 7, it is characterized in that, described modular converter, with the configuration order that receives according to predefined information model, be converted to the type information that do not contain configuration parameter and the length information of configuration parameter, contain the configuration data of the parameter sign of the value information of configuration parameter and configuration parameter.
CN2007101986380A 2007-12-11 2007-12-11 Configuration take-effective method, configuration system and configuration gateway Active CN101179444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101986380A CN101179444B (en) 2007-12-11 2007-12-11 Configuration take-effective method, configuration system and configuration gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101986380A CN101179444B (en) 2007-12-11 2007-12-11 Configuration take-effective method, configuration system and configuration gateway

Publications (2)

Publication Number Publication Date
CN101179444A CN101179444A (en) 2008-05-14
CN101179444B true CN101179444B (en) 2010-12-08

Family

ID=39405544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101986380A Active CN101179444B (en) 2007-12-11 2007-12-11 Configuration take-effective method, configuration system and configuration gateway

Country Status (1)

Country Link
CN (1) CN101179444B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532758B (en) * 2013-10-18 2016-04-13 烽火通信科技股份有限公司 Be applicable to the configuration processing method of transmission of future generation, data equipment fusion
CN105429786B (en) * 2015-10-30 2018-10-12 上海斐讯数据通信技术有限公司 The implementation method and network management configuration module of network management configuration module based on TLV structures
CN105808777A (en) * 2016-03-29 2016-07-27 中国建设银行股份有限公司 Trigger type parameter effect taking method and device
CN105978705A (en) * 2016-04-15 2016-09-28 烽火通信科技股份有限公司 Method and system for carrying out coding transmission on management data
CN109542357B (en) * 2018-12-03 2022-03-08 郑州云海信息技术有限公司 Command parameter assembling method, system, equipment and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6339595B1 (en) * 1997-12-23 2002-01-15 Cisco Technology, Inc. Peer-model support for virtual private networks with potentially overlapping addresses
CN1783872A (en) * 2004-11-30 2006-06-07 广东省电信有限公司科学技术研究院 Method for realizing network configuration interface for opening mobile communication service
CN1792064A (en) * 2003-06-19 2006-06-21 思科技术公司 Technique for notifying eigrp neighbors when destroying adjacencies in a computer network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6339595B1 (en) * 1997-12-23 2002-01-15 Cisco Technology, Inc. Peer-model support for virtual private networks with potentially overlapping addresses
CN1792064A (en) * 2003-06-19 2006-06-21 思科技术公司 Technique for notifying eigrp neighbors when destroying adjacencies in a computer network
CN1783872A (en) * 2004-11-30 2006-06-07 广东省电信有限公司科学技术研究院 Method for realizing network configuration interface for opening mobile communication service

Also Published As

Publication number Publication date
CN101179444A (en) 2008-05-14

Similar Documents

Publication Publication Date Title
CN100478956C (en) Method and corresponding system for creating and obtaining report forms
CN100395987C (en) Method and system for realizing telecommunication network universal performance management
CN101166118B (en) A method for processing user configuration information and service report system
CN101321080B (en) Method for configuring network appliance, network appliance and network system
CN101968793B (en) Method and system for checking on basis of disparate data source data
CN1980144A (en) Method for quickly configurating large data-quantity network management data
CN101179444B (en) Configuration take-effective method, configuration system and configuration gateway
CN101815012B (en) Method and device for acquiring performance data
CN1394036A (en) Network management system based on strategy
CN101247434B (en) Traffic analyzing method and system
CN101170436B (en) A method for managing template in network management system
CN101316296A (en) Method and system for managing generation of multiple electronic work orders
CN102090039B (en) A method of performing data mediation, and an associated computer program product, data mediation device and information system
CN101110858A (en) Telecommunication report generation system and method thereof
CN101150434A (en) An object-oriented function deployment method in network management
CN101529807B (en) A method and system for realizing universal interfaces in the network management system
CN108171640B (en) Data storage system and statistical method for ship communication system
CN104731804B (en) A kind of method and device for establishing general polling frame
CN101694661A (en) Method and device for generating statistical form and statistical server
CN101754155A (en) Call bill format conversion method and device and call bill processing method and system
CN101192975B (en) Access management sub-system of network management system
CN103092607A (en) Encoding and decoding method of telecommunications call ticket
CN100499648C (en) Adaptive method and device for network element interface protocol
CN100423492C (en) Management information base processing method
CN102904739A (en) Method for realizing event transmission and common information model (CIM) server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant