CN101325514A - Communication network management adapter frame with configurable flow and implementing method - Google Patents
Communication network management adapter frame with configurable flow and implementing method Download PDFInfo
- Publication number
- CN101325514A CN101325514A CNA2008101426330A CN200810142633A CN101325514A CN 101325514 A CN101325514 A CN 101325514A CN A2008101426330 A CNA2008101426330 A CN A2008101426330A CN 200810142633 A CN200810142633 A CN 200810142633A CN 101325514 A CN101325514 A CN 101325514A
- Authority
- CN
- China
- Prior art keywords
- message
- function treatment
- interface
- conversion
- command
- 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.)
- Pending
Links
Images
Abstract
The invention discloses a communication network for communication network management adapter frame implementing method with configurable flow path, including the following steps: a function processing object message conversion manager, managing upward/downward conversion mappings object, completing the upward/downward conversion of message; according to the flow path allocate policy, commanding a scheduling device to control executive mode of flow path command configuration files; a adapter frame reading object and command executing policy in the middle data structure, for realizing an adapter with configurable flow path. Due to separation of configuration files and written codes, conventional adapters are simplified into pure function module units, specifically the flow path of adapters can be configured in the configuration files. Different flow path configurations realize adapting between different apparatus, and flow path difference and variation of different apparatus can be flexible replied through the configuration files without rewriting codes. Thereby reuse property of the function processing objects is improved, and efficiency and flexibility of the network management development are improved.
Description
Technical field
The present invention relates to the adaptation application field between the communication network management distinct device, configurable communication network management adapter frame of in particular a kind of flow process and implementation method.
Background technology
At present, the utilization of network management system in communication field very extensively, and adapter is one of visual plant in the network management system and chief component, its effect is the difference of shielding distinct device, and finish the mutual conversion of message between the distinct interface, to realize adaptive between the distinct device.
But, traditional NM adapter is hard coded chassis configuration all generally speaking, be that different functional sequences all is to be solidificated in the code of different adapters with logical process, different equipment relies on different adapters to realize that the characteristics of its specificity are apparent in view.
And, increase along with the replacement development of mechanics of communication and equipment service time, the webmaster product of same equipment is also more and more, the technology that adds equipment is update also, based on each different technology but the identical new used equipment of function, its functional sequence and logical process scheme that realizes adapter framework also all may change in generation.
Obviously, the versatility of traditional older generation's NM adapter and compatibility are not fine, can not change the order flow process neatly, and the reusability of function treatment object unit is also relatively poor; The adapter of this generation of will looking for novelty must have very powerful adaptation matching capacity, to adapt to the needs of complicated realistic development.
Therefore, prior art still awaits improving and development.
Summary of the invention
The problem to be solved in the present invention is, configurable communication network management adapter frame of a kind of flow process and implementation method are provided, the different command flow process that can adapt to distinct device, and do not need to write again code for this reason, and according to different needs modification configuration files, flow process is ordered in change neatly, and the reusability of function treatment object unit is good, has stronger versatility and compatibility.
Technical scheme of the present invention is as follows:
The configurable communication network management adapter frame implementation method of a kind of flow process may further comprise the steps:
The mapping object of A, function treatment object message management conversion management up/down conversion, and finish the up/down conversion of message;
B, according to the flow process collocation strategy, the executive mode of command scheduler control flow command configuration file;
C, described adapter framework read object and the command execution strategy in the intermediate data structure, the configurable adapter of realization flow.
Described method, wherein, the concrete operation carried out in steps A of described manager also comprises:
A1, call the downward conversion that message is finished in downward message converting objects, and send to equipment or next stage webmaster;
Replying and reporting of A2, receiving equipment or next stage webmaster upwards changed message by the message converting objects that makes progress, and sent to upper level processing module or upper level webmaster.
Described method, wherein, the operation of carrying out described flow process command configuration file among the step B specifically also comprises:
B1, give each command configuration function treatment object and message converting objects, be used for described adapter framework and read;
The command execution strategy of B2, configure dedicated is so that described adapter framework difference fill order handling process.
Described method wherein, is also reused described function treatment object during configuration order among the described step B1.
Described method, wherein, the configuration of described step B when the change flow process also comprises:
Putting in order of B3, adjustment command configuration function treatment object and message converting objects;
The command execution strategy of B4, adjustment configure dedicated;
The combination of B5, the described function treatment object of adjustment and command execution strategy.
Described method wherein, also is configured to down the object handles interface before the described steps A:
The function treatment interface: decompose the set that application function becomes one group of function treatment object unit, each functional object unit all is the special setting to this interface;
The interface of message conversion downwards: each object that carries out downward message conversion all is the special setting to this interface;
The interface that the message that makes progress is changed: the object of each message conversion that makes progress all is the special setting to this interface.
Described method, wherein, described function treatment interface also derives from the function treatment object, and finishes every application layer order by the combination of described function treatment object.
Described method, wherein, described configuration specifically also comprises:
The interface of described downward message conversion derives from downward message converting objects;
The interface of described upwards message conversion derives from upwards message converting objects;
The described downward message converting objects and the message converting objects that makes progress are made up in pairs, finish the up/down conversion of message.
Described method wherein, also disposes described intermediate data structure, as Data transmission between function treatment object and message converting objects after the steps A.
The configurable communication network management adapter frame of a kind of flow process, be included in the function treatment object message conversion manager in the described framework, an and command scheduler that is connected by intermediate data structure, it is characterized in that, also comprise function treatment interface, message translation interface downwards/upwards, in order to derive from function treatment object, downward/upwards message converting objects, and by the flow process collocation strategy, by the executive mode of described command scheduler control flow command configuration file, with the configurable adapter of realization flow.
Configurable communication network management adapter frame of a kind of flow process provided by the present invention and implementation method, since configuration file with write code and separate, make traditional adapter be reduced to the pure function modular unit, especially the flow process of adapter can be configured in configuration file, different flow process configurations, with realize different order flow process function combinations, thereby realize adaptive between the distinct device; Exactly because also function treatment object unit and order the separating of flow process, tackle distinct device flow process difference and change flexibly by configuration file, and do not need to write again code for this reason, improved the reusability of function treatment object unit, network management system development efficiency and flexibility have also greatly been improved, strengthen the adaptation matching capacity of adapter of new generation, had good versatility and compatibility, met the needs of complicated realistic development.
Description of drawings
Fig. 1 is a configurable adapter framework structural representation of the present invention;
Fig. 2 is a configurable adapter framework realization flow schematic diagram of the present invention.
Embodiment
Below with reference to shown in accompanying drawing, the embodiment and the embodiment of the configurable communication network management adapter frame implementation method of flow process of the present invention described in detail.
Configurable communication network management adapter frame of flow process of the present invention and implementation method, main core point are that functional object separates with the order flow process, in conjunction with the command execution strategy, and the configurable communication network management adapter frame of realization flow; Be well known to those skilled in the art as for technology such as code, message, order and intermediate data, do not repeat them here.
Technical scheme of the present invention may further comprise the steps, as shown in Figure 2:
Step 1, special function treatment object message conversion manager of realization are used for managing the converting objects of a series of message up/down, finish the up/down conversion of a series of messages.
Before step 1, dispose one group of general object handles interface earlier, each object all is the specific implementation or special setting of docking port, comprising:
1, function treatment interface: concrete application function can be broken down into the set of one group of function treatment object unit, and each functional object unit all is to the specific implementation of function treatment interface or special the setting.
2, the interface of message conversion downwards: each object that carries out downward message conversion all is to the specific implementation of this interface or special the setting.
3, the interface of message conversion upwards: the object of each message conversion that make progress all is to the specific implementation of this interface or special setting.
And after step 1, dispose a general intermediate data structure again, be used for Data transmission between different process object and message converting objects.
The command scheduler of step 2, an adapter of realization, according to different flow process collocation strategies, the different executive modes of control command, for example executed in parallel, perhaps serial execution or the like.
Then after step 2, a command configuration file is set again, gives a series of function treatment object of each command configuration and message converting objects, and the command execution strategy of configure dedicated.
Function treatment object and message converting objects in step 3, the adapter framework reading order configuration file, in conjunction with the command execution strategy, difference fill order handling process.
What deserves to be mentioned is that function treatment object unit can be repeated in many places to use, only need in the command configuration file of correspondence, dispose and get final product.Under the situation that the function collection does not change, the order and the implementation strategy of object just can change the command process flow process in the change configuration file.So just reach functional object and ordered separating of flow process, thereby realized configurable communication network management adapter frame.
Be further described with embodiment below, as shown in Figure 1, this embodiment is the realization of a configurable transmission network management adapter framework of flow process.
At first, define one group of general object handles interface, comprising:
Define a function treatment object interface IProcess, the function treatment object process that all are concrete
1, process
2..., process
nAll be to derive from from IProcess; A series of process
nThe object combination just can be finished the concrete application layer order of a rule; And every application layer order all is broken down into a series of process
nObject is realized;
Definition is used for the interface M2Abase of downward message conversion, the downward message converting objects M2A that all are concrete
1, M2A
2..., M2A
nAll be from M2ABase, to derive from;
Definition is used for the upwards interface A2MBase of message conversion, the upwards message converting objects A2M that all are concrete
1, A2M
2..., A2M
nAll be from A2MBase, to derive from.
In view of the interchange of information two-way flow often, so M2A
nAnd A2M
nAlso often be to occur in pairs, much to M2A
nAnd A2M
nCombination, just can finish from simple to the conversion of the up/down of complicated message.
Secondly, realize a specific process object U2M manager, be used for managing a series of message mapping object M2A
nAnd A2M
n, carry out various simple to complicated message conversion.On the one hand, the U2M object is by calling M2A
nObject is finished the downward conversion of message, and sends to equipment or next stage webmaster; On the other hand, A2M is passed through in replying and reporting of receiving equipment or next stage webmaster
nObject sends to upper level processing module such as server or upper level webmaster to upwards conversion of message.
Secondly, define a general intermediate data structure CProcessData again, be used at different process object process
nWith message converting objects M2A
nAnd A2M
nBetween Data transmission.A character string and void have been defined among the intermediate data structure CProcessData simultaneously
*The map mapping structure of corresponding relation between the pointer, the user can utilize specific character string to preserve the internal storage data of any type, comprises the I/O of order, the intermediate data that produces in the processing procedure etc.
Then, realize an adapter command scheduler Scheduler, according to different flow process collocation strategies, the different executive modes of control command comprise that executed in parallel, serial are carried out, whether mutual exclusion and whether waiting for or the like between the order.
Follow again, realize an xml command configuration file, give a series of process of each command configuration
nObject and M2A
nAnd A2M
nObject, and dispose specific command execution strategy.
The content of mentioned order configuration can be schematically as follows:
<commandCode?cmdCode=″1000″>
<processNode>
<processName>Process?1</processName>
</processNode>
<processNode>
<processName>U2M</processName>
<para?id=″Strategy″>serial</para>
<para?id=”M2A”>M2AObject</para>
<para?id=”A2M”>A2MObject</para>
</processNode>
<processNode>
<processName>Processn</processName>
</processNode>
</commandCode>
At last, adapter framework reads the middle Process of described xml command configuration file
n, M2A
nAnd A2M
nObject, in conjunction with the command execution strategy, difference fill order handling process.
This shows that function treatment object unit can be repeated in many places to use, only need in the command configuration file of correspondence, dispose and get final product, such as, function treatment object Process
1Both can in order 1, be configured, also can in order 2, be configured, improve the reusability of function treatment object unit greatly.
It should be noted that each object configuration puts in order and collocation strategy in the command configuration file, determined this to order the execution flow process of each function treatment object unit.If one change has taken place in the flow process of order, and the function treatment object set does not change, so as long as by adjusting Process in the configuration file
1To Process
nPut in order and with the syntagmatic of command execution strategy, just can change the order flow process neatly, and need not to carry out the change of code, so just reached separating of functional object and order flow process, thereby realized configurable communication network management adapter frame.
Functional object can adopt existing various possible schemes with the isolation technics of order flow process according to practical application in the above embodiment, is well known to those skilled in the art, and also repeats no more at this.
The configurable communication network management adapter frame of a kind of flow process and the implementation method that are provided in the specific embodiment of the invention, since configuration file with write code and separate, make traditional adapter be reduced to the pure function modular unit, especially the flow process of adapter can be configured in configuration file, different flow process configurations, with realize different order flow process functional objects combinations, thereby realize adaptive between the distinct device; Exactly because also function treatment object unit and order the separating of flow process, tackle distinct device flow process difference and change flexibly by configuration file, and do not need to write again code for this reason, improved the reusability of function treatment object unit, network management system development efficiency and flexibility have also greatly been improved, strengthen the adaptation matching capacity of adapter of new generation, had good versatility and compatibility, met the needs of complicated realistic development.
Should be understood that; for those of ordinary skills; can be improved according to the explanation of such scheme or conversion, the permutation and combination of functional object and order flow process for example, and all these improve and conversion all should belong to the protection range of claims of the present invention.
Claims (10)
1, the configurable communication network management adapter frame implementation method of a kind of flow process may further comprise the steps:
The mapping object of A, function treatment object message management conversion management up/down conversion, and finish the up/down conversion of message;
B, according to the flow process collocation strategy, the executive mode of command scheduler control flow command configuration file;
C, described adapter framework read object and the command execution strategy in the intermediate data structure, the configurable adapter of realization flow.
2, method according to claim 1 is characterized in that, the concrete operation carried out in steps A of described manager also comprises:
A1, call the downward conversion that message is finished in downward message converting objects, and send to equipment or next stage webmaster;
Replying and reporting of A2, receiving equipment or next stage webmaster upwards changed message by the message converting objects that makes progress, and sent to upper level processing module or upper level webmaster.
3, method according to claim 2 is characterized in that, the operation of carrying out described flow process command configuration file among the step B specifically also comprises:
B1, give each command configuration function treatment object and message converting objects, be used for described adapter framework and read;
The command execution strategy of B2, configure dedicated is so that described adapter framework difference fill order handling process.
4, method according to claim 3 is characterized in that, also reuses described function treatment object among the described step B1 during configuration order.
5, method according to claim 4 is characterized in that, the configuration of described step B when the change flow process also comprises:
Putting in order of B3, adjustment command configuration function treatment object and message converting objects;
The command execution strategy of B4, adjustment configure dedicated;
The combination of B5, the described function treatment object of adjustment and command execution strategy.
6, method according to claim 1 is characterized in that, also is configured to down the object handles interface before the described steps A:
The function treatment interface: decompose the set that application function becomes one group of function treatment object unit, each functional object unit all is the special setting to this interface;
The interface of message conversion downwards: each object that carries out downward message conversion all is the special setting to this interface;
The interface that the message that makes progress is changed: the object of each message conversion that makes progress all is the special setting to this interface.
7, method according to claim 6 is characterized in that, described function treatment interface also derives from the function treatment object, and finishes every application layer order by the combination of described function treatment object.
8, method according to claim 6 is characterized in that, described configuration specifically also comprises:
The interface of described downward message conversion derives from downward message converting objects;
The interface of described upwards message conversion derives from upwards message converting objects;
The described downward message converting objects and the message converting objects that makes progress are made up in pairs, finish the up/down conversion of message.
9, according to claim 7 or 8 described methods, it is characterized in that, also dispose described intermediate data structure after the steps A, as Data transmission between function treatment object and message converting objects.
10, the configurable communication network management adapter frame of a kind of flow process, be included in the function treatment object message conversion manager in the described framework, an and command scheduler that is connected by intermediate data structure, it is characterized in that, also comprise function treatment interface, message translation interface downwards/upwards, in order to derive from function treatment object, downward/upwards message converting objects, and by the flow process collocation strategy, by the executive mode of described command scheduler control flow command configuration file, with the configurable adapter of realization flow.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101426330A CN101325514A (en) | 2008-07-21 | 2008-07-21 | Communication network management adapter frame with configurable flow and implementing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101426330A CN101325514A (en) | 2008-07-21 | 2008-07-21 | Communication network management adapter frame with configurable flow and implementing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101325514A true CN101325514A (en) | 2008-12-17 |
Family
ID=40188857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008101426330A Pending CN101325514A (en) | 2008-07-21 | 2008-07-21 | Communication network management adapter frame with configurable flow and implementing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101325514A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017000678A1 (en) * | 2015-07-01 | 2017-01-05 | 中兴通讯股份有限公司 | Packet communication method and system between network management systems |
CN111447257A (en) * | 2020-03-09 | 2020-07-24 | 中国建设银行股份有限公司 | Message conversion method and device |
CN111695840A (en) * | 2019-03-11 | 2020-09-22 | 北京京东尚科信息技术有限公司 | Method and device for realizing flow control |
-
2008
- 2008-07-21 CN CNA2008101426330A patent/CN101325514A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017000678A1 (en) * | 2015-07-01 | 2017-01-05 | 中兴通讯股份有限公司 | Packet communication method and system between network management systems |
CN106330519A (en) * | 2015-07-01 | 2017-01-11 | 中兴通讯股份有限公司 | Communication method and system for messages among network management systems |
CN106330519B (en) * | 2015-07-01 | 2019-12-17 | 中兴通讯股份有限公司 | Method and system for communication of messages between network management systems |
CN111695840A (en) * | 2019-03-11 | 2020-09-22 | 北京京东尚科信息技术有限公司 | Method and device for realizing flow control |
CN111695840B (en) * | 2019-03-11 | 2023-11-07 | 北京京东振世信息技术有限公司 | Method and device for realizing flow control |
CN111447257A (en) * | 2020-03-09 | 2020-07-24 | 中国建设银行股份有限公司 | Message conversion method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105867944A (en) | Web front-end terminal operating layer and implementing method thereof | |
CN105162629A (en) | Method for achieving automatic binding of double network cards under LINUX system | |
CN100561476C (en) | A kind of code generating method based on the ASN type object | |
CN102681843B (en) | Method and system for performing asynchronous programming code | |
CN103729742B (en) | A kind of Data Resources Management System based on SOA framework and executing model drive structure | |
CN101583160A (en) | Device for realizing hierarchical quality of service business and method | |
CN107391155A (en) | A kind of packaging method and device | |
CN107145353A (en) | Software frame and Design of Software Framework method | |
CN101325514A (en) | Communication network management adapter frame with configurable flow and implementing method | |
CN104951519A (en) | Method and device for generating serial numbers | |
CN102831000B (en) | The method and system of system upgrade | |
CN101986282B (en) | Topology adaptation method and device | |
CN109947025B (en) | Cluster measurement and control device configuration method | |
CN100417095C (en) | Method and system for realizing network management and network element configuration operation | |
US20200293997A1 (en) | Maintenance staff scheduling method based on compound internet of things (iot) and iot system | |
CN102073521A (en) | Software updating system of plug-in card type machine and software updating method | |
CN101763340B (en) | Business bill conversion method, device and system | |
CN104506948A (en) | Message passing method and message passing system between middleware and user interfaces | |
CN101616040B (en) | Method and device for managing equipment | |
CN107357529A (en) | A kind of storage cluster online upgrading method and system | |
CN103186413B (en) | A kind of mailbox service realizes framework and its implementation | |
CN107818010A (en) | The method and apparatus switched between different maps | |
CN107045538A (en) | A kind of web terminal based on kettle exchanges management method | |
CN1703006A (en) | System and method for conversation cancellation treatment in application server | |
CN101286876A (en) | Configuring method and device for customer premise device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20081217 |