CN103425497B - The method and apparatus that a kind of network engineering script is changed across producer - Google Patents

The method and apparatus that a kind of network engineering script is changed across producer Download PDF

Info

Publication number
CN103425497B
CN103425497B CN201310356936.3A CN201310356936A CN103425497B CN 103425497 B CN103425497 B CN 103425497B CN 201310356936 A CN201310356936 A CN 201310356936A CN 103425497 B CN103425497 B CN 103425497B
Authority
CN
China
Prior art keywords
functional parameter
producer
functional
module
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
CN201310356936.3A
Other languages
Chinese (zh)
Other versions
CN103425497A (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.)
Beijing Teamsun Technology Co Ltd
Original Assignee
Beijing Teamsun Technology 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 Beijing Teamsun Technology Co Ltd filed Critical Beijing Teamsun Technology Co Ltd
Priority to CN201310356936.3A priority Critical patent/CN103425497B/en
Publication of CN103425497A publication Critical patent/CN103425497A/en
Application granted granted Critical
Publication of CN103425497B publication Critical patent/CN103425497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses the method and apparatus that a kind of network engineering script is changed across producer, the method includes:Obtain the first functional parameter;Described first functional parameter comes from outside Target Transformation producer;First functional parameter is converted to corresponding second functional parameter of Target Transformation producer;Generate the network engineering script of Target Transformation producer according to the second functional parameter.Set up and encapsulate across the producer script grammatical ruless storehouse of each producer grammer redaction rule and the functional parameter model set up on this basis, achieve abstraction function parameter and the process generating script data according to functional parameter from script data, the script data enabling different manufacturers is embodied by the functional parameter of same format, such that it is able between the functional parameter of different manufacturers set up conversion corresponding relation it is achieved that engineering script data across producer conversion.

Description

The method and apparatus that a kind of network engineering script is changed across producer
Technical field
The present invention relates to network device management field, method that more particularly, to a kind of network engineering script is changed across producer and Device.
Background technology
The script configuration management of the network equipment and intellectual analysis are importances of network engineering and operation management.? On present market, the genuine business of the network equipment is provided with the control function of network equipment script configuration file, logical for some Network device management, still rests on the SNMP of the network equipment(Simple Network Management Protocol, Simple Network Management Protocol)Monitoring aspect, obtains the script configuration information of some network equipments simply by snmp protocol, monitoring Network equipment operation conditions, without regard to the comprehensive specification monitoring for network configuration script file.
In prior art, to IP data network configuration Intelligent treatment, market there is also what some were developed by third party Device configuration management software, proposes the concept of configuration centralized management, main realizes the inquiry to configuration script, modification, backup, extensive The function such as multiple.The defect of these softwares is that the species to equipment is supported not it is impossible to existing mainstream vendor is completely covered first, Can not extend;Next to that the customization to specification lacks support, because specification has one for different network environments and different users Fixed difference, as open in name, description, management address setting, generic service etc.;It is the configuration comparison point of these softwares again Analysis, is simply compared to the text of former and later two configuration files of equipment, proposes diversity, and ease for use not and cannot expand Exhibition.
Content of the invention
The present invention provides a kind of foundation between the functional parameter of different manufacturers to change corresponding relation, realizes network engineering foot This across producer conversion method and device.
For realizing said method and device, the present invention employs the following technical solutions:
On the one hand a kind of method changed across producer using network engineering script, including:
Obtain the first functional parameter;Described first functional parameter comes from outside Target Transformation producer;
First functional parameter is converted to corresponding second functional parameter of Target Transformation producer;
Generate the network engineering script of Target Transformation producer according to the second functional parameter.
Wherein, also included before described acquisition the first functional parameter:
Preset across producer engineering script grammatical ruless storehouse, set up on the basis of grammatical ruless storehouse functional parameter model and Functional parameter conversion module;
On the basis of functional parameter model, the work(extracting and processing functional module in script data is set up to different manufacturers Model can be processed by parameter extraction;
Described functional parameter extraction process model is made up of for extracting and processing different work(multiple extraction process modules Can module.
Wherein, described acquisition the first functional parameter is specially:
Identification provides the device type of the first producer and the version of the first functional parameter, the equipment of identification Target Transformation producer Type and version, determine each self-corresponding functional parameter extraction process model of the first producer and Target Transformation producer and Liang Ge producer Between Parameters Transformation functional parameter conversion module;
Identification provides the functional module in the script data of the first producer of the first functional parameter;
According to functional module from device type and version corresponding functional parameter extraction process model and functional parameter conversion Template chooses functional parameter extraction process model and the functional parameter conversion module of coupling;
The first function in the network engineering script of the first producer is obtained according to the functional parameter extraction process model of coupling Parameter.
Wherein, described first functional parameter is converted to corresponding second functional parameter of Target Transformation producer it is specially:
First functional parameter according to the transformational rule of the functional parameter conversion module setting of coupling and is changed corresponding relation Be converted to the second functional parameter, wherein said first functional parameter and the second functional parameter include the title of functional module, function With parameter value and the form before and after the first functional parameter and the conversion of the second functional parameter is identical for parameter name in parameter list.
Wherein, the described network engineering script according to the second functional parameter generation Target Transformation producer is specially:
Determine Target Transformation producer corresponding functional parameter model;
The title of each functional module according to the second functional parameter, at the functional parameter extraction of coupling Target Transformation producer The extraction process module of reason model, generates the network engineering script of Target Transformation producer according to the functional parameter model determining.
Wherein, described acquisition the first functional parameter is specially:
Obtain the first functional parameter from default functional parameter list;Described first functional parameter comes from Target Transformation Outside producer.
On the other hand the device changed across producer using a kind of network engineering script, including:
Acquiring unit, for obtaining in the network engineering script of the first producer according to the functional parameter extraction model of coupling First functional parameter;
Converting unit, for being converted to corresponding second functional parameter of Target Transformation producer by the first functional parameter;
Signal generating unit, for generating the network engineering script of Target Transformation producer according to the second functional parameter.
Wherein, also include default unit, described default unit includes:
Basic presetting module, for presetting the grammatical ruless storehouse of across producer engineering script, on the basis of grammatical ruless storehouse Set up functional parameter model and functional parameter conversion module;
Model presetting module, extracts and process script number for setting up to different manufacturers on the basis of functional parameter model Functional parameter extraction process model according to middle functional module;
Described functional parameter extraction process model is made up of for extracting and processing different work(multiple extraction process modules Can module.
Wherein, described acquiring unit includes:
Producer's identification module, provides device type and the version of the first producer of the first functional parameter, identification for identification The device type of Target Transformation producer and version, determine that each self-corresponding functional parameter of the first producer and Target Transformation producer extracts Process the functional parameter conversion module of Parameters Transformation between model and Liang Ge producer;
Identification of function module, provides the function mould in the script data of the first producer of the first functional parameter for identification Block;
Extract matching module, for according to functional module from device type and version corresponding functional parameter extraction process mould Type and functional parameter conversion module choose the functional parameter extraction process model mating and functional parameter conversion module;
Parameter extraction module, for obtaining the network engineering of the first producer according to the functional parameter extraction process model of coupling The first functional parameter in script.
Wherein, described converting unit specifically for:
First functional parameter according to the transformational rule of the functional parameter conversion module setting of coupling and is changed corresponding relation Be converted to the second functional parameter, wherein said first functional parameter and the second functional parameter include the title of functional module, function With parameter value and the form before and after the first functional parameter and the conversion of the second functional parameter is identical for parameter name in parameter list.
Wherein, described signal generating unit includes:
Model determining module, for determining Target Transformation producer corresponding functional parameter model;
Script generation module, for the title of each functional module according to the second functional parameter, mates Target Transformation factory The extraction process module of the functional parameter extraction process model of family, generates Target Transformation producer according to the functional parameter model determining Network engineering script.
Wherein, described acquiring unit specifically for:
Obtain the first functional parameter from default functional parameter list;Described first functional parameter comes from Target Transformation Outside producer.
The beneficial effects of the present invention is:By setting up across the producer script grammer encapsulating each producer grammer redaction rule Rule base and the functional parameter model set up on this basis it is achieved that from script data abstraction function parameter and according to function Parameter generates the process of script data so that the script data of different manufacturers can carry out body by the functional parameter of same format Existing, such that it is able to set up conversion corresponding relation between the functional parameter of different manufacturers it is achieved that engineering script data is across producer Conversion.
Brief description
Fig. 1 is the first embodiment flow chart of the method that a kind of present invention network engineering script is changed across producer;
Fig. 2 is the second embodiment flow chart of the method that a kind of present invention network engineering script is changed across producer;
Fig. 3 is a kind of parameter pair before and after functional module is changed by the method that producer changes for the present invention network engineering script Answer schematic diagram;
Fig. 4 is the coupling flow process of the methodological function Parameters Transformation template that a kind of present invention network engineering script is changed across producer Figure;
Fig. 5 is the extraction process flow chart of the methodological function parameter that a kind of present invention network engineering script is changed across producer;
Fig. 6 is that each functional parameter of method that a kind of present invention network engineering script is changed across producer generates scenario process Flow chart
Fig. 7 is the block diagram of the device that a kind of present invention network engineering script is changed across producer;
Fig. 8 is the block diagram of the default unit of device that a kind of present invention network engineering script is changed across producer;
Fig. 9 is the block diagram of the acquiring unit of device that a kind of present invention network engineering script is changed across producer;
Figure 10 is the block diagram of the signal generating unit of device that a kind of present invention network engineering script is changed across producer;
Figure 11 is the operating frame diagram inventing the device that a kind of network engineering script is changed across producer.
Specific embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by specific embodiment.
Fig. 1 is the first embodiment flow chart of the method that a kind of present invention network engineering script is changed across producer.This method It is mainly used in the Intelligent treatment to the configuration of IP data network, number of devices is huge, the network of multi-vendor complex environment, in net It is the important means that service stability ensures that the specification of network engineering construction and network O&M stage guarantee configuration script is deferred to, we Method is a kind of the Automation Design for script configuration.As illustrated, the method for this conversion includes:
Step 110:Obtain the first functional parameter;Described first functional parameter comes from outside Target Transformation producer.
Functional parameter includes the imperatival module name of script data every, parameter name and parameter value, wherein subfunction mould Block name comprises father's functional module name.
Step 120:First functional parameter is converted to corresponding second functional parameter of Target Transformation producer;
First functional parameter is converted to the second functional parameter by the setting according to functional parameter conversion module.
Step 130:Generate the network engineering script of Target Transformation producer according to the second functional parameter.
After converting functional parameter, system generates script data according to corresponding functional parameter model.
Across the producer script grammatical ruless storehouse of each producer grammer redaction rule is encapsulated by foundation and builds on this basis Vertical functional parameter model it is achieved that from abstraction function parameter in script data and according to functional parameter generate script data at Reason is so that the script data of different manufacturers can be embodied by the functional parameter of same format, such that it is able in different manufacturers Functional parameter between set up conversion corresponding relation it is achieved that engineering script data across producer conversion.
The second embodiment flow chart of the method that a kind of Fig. 2 present invention network engineering script is changed across producer.The present embodiment Described is the network equipment of existing first producer in certain network, and its network engineering script requires according to the entirety of network Set, the network equipment of existing second producer is newly added in network, need to reconfigure network engineering script to it, but Artificial treatment there may be the input that mistake greatly or easily in workload, the method passing through in the present embodiment to change across producer Time is arranged automatically.As illustrated, the method includes:
Step 201:Preset the grammatical ruless storehouse of across producer engineering script, set up function ginseng on the basis of grammatical ruless storehouse Exponential model and functional parameter conversion module.
Across the producer making of syntax library script of engineering script and the basis of conversion.Across producer engineering script grammatical ruless are by closing Key word, parameter, command statement and functional module composition, wherein keyword and parameter are most basic elements, organize order already issued by them Make sentence, then by command statement composition function module.Functional module also can comprise sub-function module, is the base of composition script data This element, each script data is made up of multiple functional modules.
Keyword is imperatival basic element, for forming the command statement of relevant manufacturers, as Huawei is presented herein below Some keyword examples.
sysname
traffic
ntp-service
Parameter is bracketed by bracket, including string argument, standard parameter and three kinds of optional parameters.
It is typical string argument example below, other similar.
[*]:Any character string parameter;
[IP]:IP address argument;
[PORT]:Port parameter;
[WWW]:Domain name parameters.
It is standard parameter example below, parameter name is bracketed by double quotation marks, must be defined in network element naming rule.
[" network element device title "]:Network element device name parameter;
[" port describes title "]:Port describes name parameter.
It is optional parameters example below, parameter name is made up of some keywords, is separated with " | " between parameter.
[inbound|outbound]:Parameter is inbound or outbound;
[public|private|]:Parameter is public or private or is sky.
Command statement is at least made up of a keyword, after keyword can with multiple keywords or multiple parameters, they it Between separated with space, the such as following number order sentence example for Huawei.
Sysname [" network element device title "];
ip netstream export source[IP];
ip netstream export host[IP][PORT].
Functional module is at least made up of a command statement, also can nested sub-function module, the network equipment is constituted by it Script configuration information.When script makes, every command statement can have "+" and "-" attribute, "+" attribute represents this function Module can comprise this command statement of a plurality of identical, and "-" attribute represents that this functional module can not comprise this command statement, otherwise table It is shown with and only one this command statement;Functional module also have "+" and "-" attribute, "+" attribute represents script data or father This function of multiple identicals can be comprised, "-" attribute represents in script data or father's functional module and can not comprise this in functional module Function, otherwise indicates and this function of only one of which.In actual application, every command statement and functional module can be increased Comment line, is easy to the engineers and technicians when engineering script makes and changes and understands every command statement and each functional module Usage.As the following DNS functional module for Huawei and Log functional module example.
Set up conversion and corresponding relation between the functional parameter of different manufacturers, realize the turning across producer of functional parameter Change.Rule between the conversion of functional parameter is as follows:
String argument corresponds to string argument, and type must be mated, and for example any character string parameter can only correspond to Any character string parameter, IP address argument can only correspond to IP address argument etc..
Standard parameter corresponds to standard parameter, and parameter name must be consistent.
The corresponding optional parameters of optional parameters or string argument, can carry out parameter value conversion, can for changing different manufacturers Radix Ginseng selection numerical value(Keyword)Difference, also can be exchanged into string argument.For example assume that optional parameters is [aaa | bbb | bbb], Format transformation sentence { aaa- then can be set when setting up corresponding relation>AAA;bbb->BBB;ccc->CCC}.
Article one, command statement can be exchanged into several command statements under difference in functionality module, can root when setting up transformational relation Manually increase virtual parameter and preset parameter value parameter according to practical situation, parameter is discardable or reuses, the wherein life of conversion Make statement parameter value all must have assignment.
Command statement under same functional module may specify in conversion and newly increases functional module(Sub-function module)Or turn Change in existing functional module(Sub-function module)In command statement.For example assume that a command statement only comprises p1, p2 and p3 Parameter, then can increase a virtual parameter v1 and fixing value parameter p4 according to practical situation in conversion, can be exchanged into not Three command statements under congenerous module, have wherein reused p1 parameter, have abandoned p3 parameter, the function ginseng between them Number corresponding relation is as shown in Figure 3.
Step 202:On the basis of functional parameter model, different manufacturers are set up and extract and process function in script data The functional parameter extraction process model of module;Described functional parameter extraction process model is made up of multiple extraction process modules and is used for Extract and process different functional modules.
Functional parameter extraction process model is actually functional parameter extraction model and functional parameter processes the synthesis of model. Functional parameter extraction model is set up on the basis in each producer's script grammatical ruless storehouse, is made up of multiple functional modules, uses In the function of being comprised of extracting in script data and functional parameter list.In actual application, each producer can set up many Individual functional parameter extraction model, for different device types and different editions, is easy to extend.
When from producer's script grammatical ruless storehouse, selection needs the function of comprising to set up One function parameter extraction model, it is System can automatically generate the parameter of extraction according to the command statement that functional module is comprised.For the order language not comprising design parameter Sentence, system can arrange a virtual parameter, be used for setting up parameter corresponding relation, conversion command statement function.As following for Huawei Functional parameter extraction model example, comprise DNS functional module and Log functional module, wherein output parameter is given birth to automatically by system Become, actual parameter is represented with p plus sequence number, such as p1, virtual parameter represents that with v plus sequence number such as v1 is all bracketed by braces.
It is consistent with functional parameter extraction model structure that functional parameter processes model, that is, arrange the function of what a producer It can also be used to functional parameter processes model after parameter extraction model, simply functional parameter extraction model is used for from foot to be converted Abstraction function parameter list in notebook data, functional parameter processes model and is then used for the foot after generating conversion from functional parameter list Notebook data.So the title of model is defined as functional parameter extraction process model according to its actual function.
Step 203:Identification provides the device type of the first producer and the version of the first functional parameter, identifies Target Transformation factory Family device type and version, determine each self-corresponding functional parameter extraction process model of the first producer and Target Transformation producer and The functional parameter conversion module of Parameters Transformation between Liang Ge producer.
Because in actual application, each producer can set up multiple functional parameter extraction process models, for different Device type and different editions, are easy to extend.
Step 204:Identification provides the functional module in the script data of the first producer of the first functional parameter.
Step 205:According to functional module from device type and version corresponding functional parameter extraction process model and function Parameters Transformation template chooses functional parameter extraction process model and the functional parameter conversion module of coupling.
Specific as shown in Figure 4 according to the flow chart of functional module matching feature Parameters Transformation template.
Step 206:Obtained in the network engineering script of the first producer according to the functional parameter extraction process model of coupling First functional parameter.
First matching feature module is needed during abstraction function parameter from script data to be converted, that is, same in script data Command statement under functional module all can find corresponding function under certain functional module in functional parameter extraction process model Parameter extraction command statement.Just can be according to the functional parameter command statement abstraction function ginseng of coupling after having mated functional module Number, obtains the imperatival module name of script data every, parameter name and parameter value.Specific extraction process as shown in figure 5, its Neutron function module name comprises father's functional module name, is separated by " | ", and such as module entitled " AAA | BBB " represents under AAA module BBB sub-function module.
It is for example the corresponding relation between script data command statement and functional parameter model command statement below
Extracting, by string matching, the functional parameter obtaining is
DNS:{p1}:gd.chinamobile.com
DNS:{p2}:211.136.192.6
Log:{v1}:{v1}
Step 207:By the first functional parameter according to coupling functional parameter conversion module setting transformational rule and conversion Corresponding relation is converted to corresponding second functional parameter of Target Transformation producer, wherein said first functional parameter and the second function ginseng Parameter name in several titles including functional module, functional parameter list and parameter value and the first functional parameter and the second function Form before and after Parameters Transformation is identical.
Specific transformational rule has been described in step 201, and here is omitted.
Step 208:Determine Target Transformation producer corresponding functional parameter model;
Step 209:The title of each functional module according to the second functional parameter, the function ginseng of coupling Target Transformation producer The extraction process module of number extraction process model, generates the network engineering script of Target Transformation producer according to functional parameter model.
After converting functional parameter, system generates script data according to corresponding functional parameter model, specifically corresponding all The handling process of functional module is as shown in Figure 6.
For example the functional parameter after conversion is
DNS:{p1}:gd.chinamobile.com
DNS:{p2}:211.136.192.6
Log:{v1}:{v1}
Functional parameter extraction process model is
Replaced by parameter, the script data of generation is
dns domain gd.chinamobile.com
dns server211.136.192.6
info-center enable
In general, accurate in order to ensure the network engineering script after changing, one will be had after converting The process of manual examination and verification.
Preferably, obtain the first functional parameter from default functional parameter list;Described first functional parameter comes from Outside Target Transformation producer.
Because except obtaining functional parameter from network existing device, also can preset function parameter arrange according to actual needs Table, is equivalent to the backup of configuration, when needing conversion, directly obtains functional parameter from backup, completes to convert.
The first embodiment of the device 600 that a kind of present invention network engineering script is changed across producer as shown in fig. 7, comprises:
Acquiring unit 610, for obtaining the network engineering script of the first producer according to the functional parameter extraction model of coupling In the first functional parameter;
Converting unit 620, for being converted to Target Transformation producer by the first functional parameter according to functional parameter conversion module Corresponding second functional parameter;
Signal generating unit 630, for generating the network engineering script of Target Transformation producer according to the second functional parameter.
Specifically, also include default unit 650, as shown in figure 8, default unit 650 includes:
Basic presetting module 651, for presetting the grammatical ruless storehouse of across producer engineering script, on the basis in grammatical ruless storehouse On set up functional parameter model and functional parameter conversion module;
Model presetting module 652, extracts and process foot for setting up to different manufacturers on the basis of functional parameter model The functional parameter extraction process model of functional module in notebook data;
Described functional parameter extraction process model is made up of for extracting and processing different work(multiple extraction process modules Can module.
Specifically, as shown in figure 9, described acquiring unit 610 includes:
Producer's identification module 611, provides device type and the version of the first producer of the first functional parameter, knows for identification The device type of other Target Transformation producer and version, determine that each self-corresponding functional parameter of the first producer and Target Transformation producer carries Take the functional parameter conversion module processing Parameters Transformation between model and Liang Ge producer;
Identification of function module 612, provides the function in the script data of the first producer of the first functional parameter for identification Module;
Extract matching module 613, for according to functional module at device type and version corresponding functional parameter extraction Reason model and functional parameter conversion module choose the functional parameter extraction process model mating and functional parameter conversion module;
Parameter extraction module 614, for obtaining the network of the first producer according to the functional parameter extraction process model of coupling The first functional parameter in engineering script.
Specifically, converting unit 630 is used for:
First functional parameter according to the transformational rule of the functional parameter conversion module setting of coupling and is changed corresponding relation Be converted to the second functional parameter, wherein said first functional parameter and the second functional parameter include the title of functional module, function With parameter value and the form before and after the first functional parameter and the conversion of the second functional parameter is identical for parameter name in parameter list.
Specifically, as shown in Figure 10, signal generating unit 640 includes:
Model determining module 641, for determining Target Transformation producer corresponding functional parameter model;
Script generation module 642, for the title of each functional module according to the second functional parameter, mates Target Transformation The extraction process module of the functional parameter extraction process model of producer, generates Target Transformation factory according to the functional parameter model determining The network engineering script of family.
Preferably, described acquiring unit 610 specifically for:
Obtain the first functional parameter from default functional parameter list;Described first functional parameter comes from Target Transformation Outside producer.
In sum, the network engineering script in the present invention across the conversion of producer be all to have operated in the framework of Figure 11 Become.
By the cooperating of above-mentioned each module, by setting up across the producer script encapsulating each producer grammer redaction rule Grammatical ruless storehouse and the functional parameter model set up on this basis it is achieved that from script data abstraction function parameter and according to Functional parameter generates the process of script data so that the script data of different manufacturers can be carried out by the functional parameter of same format Embody, such that it is able to set up conversion corresponding relation between the functional parameter of different manufacturers it is achieved that engineering script data is across factory The conversion of family.When being necessary, the first functional parameter also can only be obtained, then by the first functional parameter and historical record or net Parameter preset contrast in network, judges and monitors the safety and stability of network.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto, Any people being familiar with this technology disclosed herein technical scope in, the change or replacement that can readily occur in, all should cover Within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (4)

1. a kind of method that network engineering script is changed across producer is it is characterised in that include:
Preset the grammatical ruless storehouse of across producer engineering script, set up functional parameter model and function on the basis of grammatical ruless storehouse Parameters Transformation template;
On the basis of functional parameter model, different manufacturers are set up with the function ginseng extracting and processing functional module in script data Number extraction process model;
Described functional parameter extraction process model is made up of for extracting and processing different function moulds multiple extraction process modules Block;
Identification provides the device type of the first producer and the version of the first functional parameter, the device type of identification Target Transformation producer And version, determine between each self-corresponding functional parameter extraction process model of the first producer and Target Transformation producer and Liang Ge producer The functional parameter conversion module of Parameters Transformation;
Identification provides the functional module in the script data of the first producer of the first functional parameter;
According to functional module from device type and version corresponding functional parameter extraction process model and functional parameter conversion module Choose functional parameter extraction process model and the functional parameter conversion module of coupling;
The first functional parameter in the network engineering script of the first producer is obtained according to the functional parameter extraction process model of coupling; Described first functional parameter comes from outside Target Transformation producer;
First functional parameter is changed according to the transformational rule of the functional parameter conversion module setting of coupling and conversion corresponding relation For the second functional parameter, wherein said first functional parameter and the second functional parameter include the title of functional module, functional parameter With parameter value and the form before and after the first functional parameter and the conversion of the second functional parameter is identical for parameter name in list;
Determine Target Transformation producer corresponding functional parameter model;
The title of each functional module according to the second functional parameter, the functional parameter extraction process mould of coupling Target Transformation producer The extraction process module of type, generates the network engineering script of Target Transformation producer according to the functional parameter model determining.
2. the method that a kind of network engineering script according to claim 1 is changed across producer is it is characterised in that obtain described First functional parameter is specially:
Obtain the first functional parameter from default functional parameter list;Described first functional parameter comes from Target Transformation producer Outside.
3. the device that a kind of network engineering script is changed across producer is it is characterised in that include:
Default unit, including:Basic presetting module and model presetting module;
Described basis presetting module, for presetting the grammatical ruless storehouse of across producer engineering script, on the basis of grammatical ruless storehouse Set up functional parameter model and functional parameter conversion module;
Described model presetting module, extracts and process script number for setting up to different manufacturers on the basis of functional parameter model Functional parameter extraction process model according to middle functional module;
Wherein, described functional parameter extraction process model is made up of for extracting and processing different work(multiple extraction process modules Can module;
Described device also includes:Acquiring unit, converting unit and signal generating unit;
Described acquiring unit, including:Producer's identification module, identification of function module, extraction matching module, parameter extraction module;
Wherein, described producer identification module, provides device type and the version of the first producer of the first functional parameter for identification, The device type of identification Target Transformation producer and version, determine each self-corresponding functional parameter of the first producer and Target Transformation producer The functional parameter conversion module of Parameters Transformation between extraction process model and Liang Ge producer;
Described identification of function module, provides the function mould in the script data of the first producer of the first functional parameter for identification Block;
Described extraction matching module, for according to functional module from device type and version corresponding functional parameter extraction process mould Type and functional parameter conversion module choose the functional parameter extraction process model mating and functional parameter conversion module;
Described parameter extraction module, for obtaining the network engineering of the first producer according to the functional parameter extraction process model of coupling The first functional parameter in script;
Described converting unit, for by the first functional parameter according to coupling functional parameter conversion module setting transformational rule and Conversion corresponding relation is converted to the second functional parameter, and wherein said first functional parameter and the second functional parameter include functional module Title, before and after the parameter name in functional parameter list and parameter value and the first functional parameter and the conversion of the second functional parameter Form is identical;
Described signal generating unit, for generating the network engineering script of Target Transformation producer according to the second functional parameter;
Wherein, described signal generating unit includes:
Model determining module, for determining Target Transformation producer corresponding functional parameter model;
Script generation module, for the title of each functional module according to the second functional parameter, mates Target Transformation producer The extraction process module of functional parameter extraction process model, generates the net of Target Transformation producer according to the functional parameter model determining Network engineering script.
4. a kind of network engineering script according to claim 3 is changed across producer method is it is characterised in that described acquisition Unit specifically for:
Obtain the first functional parameter from default functional parameter list;Described first functional parameter comes from Target Transformation producer Outside.
CN201310356936.3A 2013-08-15 2013-08-15 The method and apparatus that a kind of network engineering script is changed across producer Active CN103425497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310356936.3A CN103425497B (en) 2013-08-15 2013-08-15 The method and apparatus that a kind of network engineering script is changed across producer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310356936.3A CN103425497B (en) 2013-08-15 2013-08-15 The method and apparatus that a kind of network engineering script is changed across producer

Publications (2)

Publication Number Publication Date
CN103425497A CN103425497A (en) 2013-12-04
CN103425497B true CN103425497B (en) 2017-03-01

Family

ID=49650291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310356936.3A Active CN103425497B (en) 2013-08-15 2013-08-15 The method and apparatus that a kind of network engineering script is changed across producer

Country Status (1)

Country Link
CN (1) CN103425497B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984539B (en) * 2014-04-14 2018-04-27 美的集团股份有限公司 A kind of home appliance operation method and system
CN106445485A (en) * 2016-03-28 2017-02-22 中国电力科学研究院 Software version consistency detection system and detection method thereof
CN108376068A (en) * 2016-11-26 2018-08-07 深圳壹账通智能科技有限公司 The conversion method and conversion equipment of Bean page assembly
CN107864152B (en) * 2017-12-08 2020-04-28 武汉虹信技术服务有限责任公司 Method for rapidly completing intelligent building multi-protocol adaptation engineering template by using VBA
WO2019127229A1 (en) * 2017-12-28 2019-07-04 深圳市大疆创新科技有限公司 Method and device for displaying monitored data and unmanned aerial vehicle monitoring system
CN109446100B (en) * 2018-11-12 2022-06-07 郑州云海信息技术有限公司 Method and device for managing script file of equipment
CN109829004B (en) * 2018-12-26 2022-03-01 阿波罗智能技术(北京)有限公司 Data processing method, device and equipment based on unmanned vehicle and storage medium
CN113037559B (en) * 2021-03-18 2023-06-02 四川九州电子科技股份有限公司 Automatic configuration system and method based on optical line terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1615480A (en) * 2001-11-21 2005-05-11 安特瑞西斯网络股份有限公司 Translating configuration files among network devices
CN101534227A (en) * 2009-04-16 2009-09-16 北京星网锐捷网络技术有限公司 Network management software test method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1615480A (en) * 2001-11-21 2005-05-11 安特瑞西斯网络股份有限公司 Translating configuration files among network devices
CN101534227A (en) * 2009-04-16 2009-09-16 北京星网锐捷网络技术有限公司 Network management software test method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
网络仿真器NS-2及其一个应用实例;吴仕浩等;《计算机仿真》;20040731;第21卷(第7期);全文 *

Also Published As

Publication number Publication date
CN103425497A (en) 2013-12-04

Similar Documents

Publication Publication Date Title
CN103425497B (en) The method and apparatus that a kind of network engineering script is changed across producer
US9628206B2 (en) Endpoint parameter management architecture for audio mixers
US9864346B2 (en) Method for connecting a substation automation device according to IEC61850 to any industry automation field bus
EP2351302B1 (en) Unified interface for configuring multiple networking technologies
CN106713357A (en) Universal network protocol analysis method
CN110324169A (en) A kind of method and apparatus of interface management
CN104102510B (en) Integration and configuration system for IEC (international electrotechnical commission) 61850 network processor chips
CN101815093A (en) Method for adapting webpage to mobile terminal and mobile terminal page adaptation device
CN105207366B (en) Distribution terminal plug and play model configuration tool and its implementation based on IEC61850
CN1997199B (en) An integrated testing system and method for 3G network management interface
CN103914307A (en) Interactive-interface fast implementation method based on reusable library
JP6805832B2 (en) Generate multiple worksheet exports
CN109196565A (en) Data concentrator and its operating method
CN105812368A (en) Universal programming method for multiple communication protocols
CN108255837A (en) A kind of SQL resolvers and method
CN103970655A (en) Server automatic cluster testing method based on expect
CN109976803A (en) A kind of generation method and device of file
CN109446042A (en) A kind of blog management method and system for intelligent power equipment
JP6909877B2 (en) White Box How to Realize OTN Hardware Devices, Devices, Storage Media
CN104063227B (en) A kind of instruction learning method based on Internet of Things
CN109445384A (en) A kind of more apparatus control systems
WO2015154588A1 (en) Serial port information transmission method, single board device and common single board
CN104578418B (en) Configuration method and system of automatic power distribution equipment based on 101 protocols, and equipment
CN105868410A (en) Model-driven intelligent SCD (substation configuration description) file and CIM/E (common information model/efficiency) file conversion tool and method
CN110209722A (en) A kind of data-interface for data exchange

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant