CN1555012A - Unified converting method for interface data in telecommunication network management system and its system - Google Patents

Unified converting method for interface data in telecommunication network management system and its system Download PDF

Info

Publication number
CN1555012A
CN1555012A CNA2003101175541A CN200310117554A CN1555012A CN 1555012 A CN1555012 A CN 1555012A CN A2003101175541 A CNA2003101175541 A CN A2003101175541A CN 200310117554 A CN200310117554 A CN 200310117554A CN 1555012 A CN1555012 A CN 1555012A
Authority
CN
China
Prior art keywords
interface
information
definition
data
platform
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.)
Granted
Application number
CNA2003101175541A
Other languages
Chinese (zh)
Other versions
CN1299200C (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2003101175541A priority Critical patent/CN1299200C/en
Publication of CN1555012A publication Critical patent/CN1555012A/en
Application granted granted Critical
Publication of CN1299200C publication Critical patent/CN1299200C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The present invention discloses a united interface data converting method and system in telecommunication network management system. The method includes providing different platform data structure converting tool, configuring file information definition, realizing the united conversion with the configuration file, providing the united conversion between the program interfaces of different platforms and providing the united conversion between the interface data of different functional interfaces in telecommunication network management background software. The method makes it possible to complete foreground development and background development in different selected platform and to realize the interface data conversion unitedly, and this is favorable to utilization of the characteristics in different programming modes. The present invention can reuse well the software program to lower the development and maintenance cost greatly.

Description

The method and the system thereof of the unified conversion of interface data in the telecom network management system
Technical field
The present invention relates to telecom network management system, be specifically related to the method and system of interface data conversion in a kind of telecom network management system.
Background technology
Telecommunicatioin network management is the emphasis that telecom equipment manufacturers and telecom operation commercial city are concerned about, telecommunication apparatus in the process of operation, the webmaster operating personnel of telecom equipment manufacturers and telecom operators can by the telecommunicatioin network management daemon software to the equipment on foreground operate, centralization monitoring and management.
Existing telecommunicatioin network management foreground environment division generally all adopts the C language to develop, and webmaster part in backstage then can adopt different language such as Java to develop.Because mutual more complicated between the program of different platform, the back partition of telecommunicatioin network management has all adopted C or the C Plus Plus identical or compatible with the foreground environment division to develop mostly at present, so proportion is still very limited on the whole on the telecommunicatioin network management backstage of adopting Java to develop at present.But because of Java has compared some distinctive advantages with C or C++, as platform-neutral, use simple, good OO encapsulation etc., therefore adopting Java to develop the telecommunicatioin network management backstage also is a kind of good selection.
In telecommunication management network (TMN) standard telecommunicatioin network management is divided into workstation function (WSF), mediating function (MF), operation system function (OSF), Network Element Function (NEF) and Q interface Adapter Function (QAF), wherein each function certainly is made up of a plurality of subfunction moulds again.Between workstation function by Telecommunication Management Network regulation between these functional modules and the interface between the operation system function (F), the different telecommunication management network or the interface (Q3) between interface (X), operation system function and the Network Element Function between the non-telecommunication management network biconditional operation systemic-function or the interface (Qx) between operation system function and the coordination function carry out alternately.Therefore each sub-function module in these functions is organized by the interface of definition with regard to carrying out mutual data in order to carry out alternately with the sub-function module of other function.In the reality exploitation, each sub-function module of difference in functionality is probably by different people's exploitations, so the realization of docking port data-switching also will be varied, so there is following defective: the complicacy and the maintenance difficulties that have increased the telecommunicatioin network management daemon software, increase cost of development greatly, also increase the coupling between the software sub-function module.
Summary of the invention
The object of the present invention is to provide the method and system of the unified conversion of interface data between forward and backward interface of a kind of telecommunicatioin network management and each function of telecommunicatioin network management backstage, thereby overcome the shortcoming that telecommunicatioin network management of the prior art backstage development platform is selected interface data conversion overlapping development between limited, each functional interface.
Technical scheme of the present invention is as follows:
The system of the unified conversion of interface data in a kind of telecom network management system, it comprises a configuration information definition module and a telecommunicatioin network management backstage interface at least; Described configuration information definition module is used for disposing the different information between different platform, promptly interstructural nest information, identical platform lower interface and interstructural corresponding relation and special construction information; Described backstage interface is the set that a plurality of background function interfaces are formed, and the conversion between each background function interface can be carried out in its inside.
Described system, wherein, described system also comprises a foreground interface under identical platform, this foreground interface is connected with the foreground equipment of telecommunicatioin network management, communicates between AM/BAM by the conversion between forward and backward the interface.
Described system, wherein, described system comprises foreground interface and the described telecommunicatioin network management backstage interface under the different platform under different platform, and a different platform data structure definition modular converter, be used for change between described forward and backward interface and each functional interface of backstage between conversion.
Described system, wherein, described special construction information comprises that at least data head adds data segment structure information.
Described system, wherein, described different platform comprises C/C++ platform and Java platform at least.
The method of the unified conversion of interface data in a kind of telecom network management system, it comprises at least:
Interface performance analysis and conversion method between profile information define method and each the background function interface;
Described profile information define method may further comprise the steps the generation configuration information:
A) nest information of definition structure;
B) corresponding relation between defining interface and the structure;
Interface performance analysis and conversion method may further comprise the steps between described each background function interface:
C) the runtime information analysis mechanism of utilizing various development languages to provide obtains organization definition information;
D) utilize this runtime information analysis mechanism to obtain wanting the data of translation interface;
E) read in the described configuration information that generates according to described profile information define method;
F) utilize described runtime information analysis mechanism to obtain to generate the organization definition information of interface;
G) utilize described runtime information analysis mechanism to dynamically arrange data to generating interface structure.
Described method, wherein, described method also comprises forward and backward interface conversion method, conversion method is identical between identical platform this forward and backward interface conversion method of following time and described each background function interface.
Described method, wherein, described method also comprises forward and backward interface conversion method and different platform data structure definition conversion method in different platform following time, the step of described different platform data structure definition conversion method is as follows:
H) data structure definition of particular platform is carried out pre-service;
I) data structure definition of particular platform is carried out semanteme and grammatical analysis, the generative grammar tree;
J) generate the data structure definition source code of another different platform according to this syntax tree;
The step of forward and backward interface conversion method of described different platform comprises:
K) communication receives byte arrays based on socket;
L) method that provides of the described source code that utilizes described different platform data structure definition module to generate is converted to described byte arrays the object of foreground or backstage platform;
M) utilize runtime information analysis mechanism that the object that obtains in the step 1) is carried out performance analysis, and be set to foreground or backstage interface data structure dynamically.
Described method, wherein, described step a) is specifically further comprising the steps of:
A1), the nested information of enumerating of definition structure;
A2), the information of the nested associating of definition structure;
A3), the information of definition ad hoc structure.
Described method, wherein, described step a3) ad hoc structure described in comprises that at least data head adds the structure of data segment.
Method provided by the present invention and system thereof are because the method and the profile information define method that have adopted different platform data structure definition modular converter to provide can use telecommunicatioin network management foreground and backstage to select different platforms to develop; Because runtime information analysis mechanism and profile information define method have been adopted in the conversion between interface, can unify to realize the conversion of interface data, thereby the present invention more helps the utilization to the characteristics of different programming modes simultaneously.
Simultaneously, therefore can improve the multiplexing program of software, also just reduce the cost of exploitation, maintenance greatly because the conversion of interface data can unify to carry out.
Description of drawings
In the accompanying drawing,
Fig. 1 a, Fig. 1 b and Fig. 1 c are respectively three kinds of composition case structure synoptic diagram of system of the present invention;
Fig. 2 a and Fig. 2 b are respectively the realization flow figure of the different platform data structure definition conversion method between C language file header structure of the present invention and the java class definition;
Fig. 3 is profile information define method realization flow figure of the present invention;
Fig. 4 is the data-interface of forward and backward of the telecommunicatioin network management of the inventive method and system thereof and the interface synoptic diagram between each function of TMN;
Fig. 5 is the realization flow figure of the unified conversion of interface data between the different platform of the present invention;
Fig. 6 is unified conversion method realization flow figure between the interface data of difference in functionality under the identical platform of the present invention.
Embodiment
Describe the present invention in detail with reference to several preferred embodiments of the present invention and accompanying drawing thereof below.
Shown in Fig. 1 a, Fig. 1 b and Fig. 1 c, three preferred embodiments for the unified system that changes of interface data in the telecom network management system of the present invention, wherein the architectural feature with the embodiment shown in Fig. 1 a is the most comprehensive, telecommunicatioin network management interface data of the present invention is unified converting system and is formed and to comprise that a different platform data structure definition modular converter, a foreground interface are that foreground environment division, a backstage interface of telecommunicatioin network management is the telecommunicatioin network management back partition, and a configuration information definition module.Described backstage interface is the set that a plurality of background function interface 1~n form, and the conversion between each background function interface can be carried out in its inside; The conversion of described different platform data structure definition be used for change between described forward and backward interface and each functional interface of backstage between conversion.Described different platform data structure definition modular converter in the system of the present invention can be used to realize obtaining corresponding java class according to C-structure, or the C-structure that obtains being correlated with according to java class, i.e. the function of conversion; Described foreground environment division in the system of the present invention is used for reported data or receive and to carry out certain operation from the data and the instruction of described back partition; Described telecommunicatioin network management back partition in the system of the present invention handle from the data of front stage operation equipment the most at last result be shown to man-machine interface, also can issue an instruction simultaneously and come described foreground equipment is operated; Described configuration file definition module in the system of the present invention is used for providing the different platform different information, be interstructural nest information, identical platform lower interface and interstructural corresponding relation and special construction information, special construction comprises that at least data head adds the data segment structure here.
Three kinds of composition situations of system of the present invention:
Composition situation one, as shown in Figure 1a, system of the present invention comprises telecommunicatioin network management foreground interface, different platform data structure definition modular converter, configuration information definition module and telecommunicatioin network management backstage interface, and the foreground equipment that described telecommunicatioin network management foreground interface promptly connects has adopted different platforms with described telecommunicatioin network management backstage interface, and this different platform can be C/C++ platform and Java platform.Telecommunicatioin network management backstage interface described here refers to the set of interface between each function in the Telecommunication Management Network standard.
Composition situation two, shown in Fig. 1 b, system of the present invention is made up of telecommunicatioin network management foreground interface, configuration information definition module and telecommunicatioin network management backstage interface, and this telecommunicatioin network management foreground interface has adopted identical platform with telecommunicatioin network management backstage interface.Telecommunicatioin network management backstage interface described here refers to the set of interface between each function in the described Telecommunication Management Network standard.
Composition situation three, shown in Fig. 1 c, system of the present invention is made up of configuration information definition module and telecommunicatioin network management backstage interface.Telecommunicatioin network management backstage interface described here refers to the set of interface between each function in the Telecommunication Management Network standard.
Described telecommunicatioin network management interface data of the present invention is unified conversion method, as Fig. 2 a~shown in Figure 6, comprise the unified conversion method of interface data between unified conversion method between method that different platform data structure modular converter provides, profile information define method, different platform interface and the telecommunicatioin network management back partition difference in functionality at least.
The difference of each composition situation of corresponding system of the present invention, the method of the unified conversion of interface data also has difference in the telecom network management system of the present invention, corresponding composition situation one, the method for the invention comprise forward and backward interface conversion method under the different platform data structure definition conversion method of utilizing described different platform data structure definition module to carry out, profile information define method, the different platform, interface performance analysis and the conversion method between each functional interface of backstage.Corresponding the composition situation two and the composition situation three of system of the present invention, the method for the invention comprises interface performance analysis and conversion method between profile information define method and each functional interface of backstage.
What need here to illustrate a bit is for composition situation two, owing to selected identical platform for forward and backward, therefore the interface conversion process between each functional interface of transfer process and backstage between forward and backward interface is identical, so the method for composition situation two pairing systems of the present invention of system of the present invention comprises interface performance analysis and conversion method between profile information define method and each functional interface of backstage.
Different platform data structure definition conversion method step is as follows:
1. the data structure definition of particular platform is carried out pre-service;
2. the data structure definition of particular platform is carried out semanteme and grammatical analysis, the generative grammar tree;
3. generate the data structure definition source code of different platform according to syntax tree.
The particular platform here comprises C/C++ platform and Java platform at least.
Profile information define method step is as follows:
1. the nest information of definition structure;
2. the corresponding relation between defining interface and the structure.
Step 1 is further comprising the steps of:
1-1. the information of the nested enum of definition struct;
1-2. the information of the nested union of definition struct.
1-3. the information of definition ad hoc structure.
Ad hoc structure described in the step 1-3 comprises that at least data head adds the structure of data segment.
Forward and backward interface conversion step based on different platform:
1. communication receives byte arrays based on socket;
2. utilize different platform data structure definition module to generate method that source code provides (here
Method refers to the method in the object-oriented), byte arrays is converted to the object of foreground or backstage platform;
3. utilize runtime information analysis mechanism that the object that obtains in the step 2 is carried out performance analysis, and be set to foreground or backstage interface data structure dynamically.
Interface performance analysis and conversion method step are as follows between each function of backstage:
1. the runtime information analysis mechanism of utilizing various development languages to provide obtains organization definition information;
2. utilize runtime information analysis mechanism to obtain wanting the data of translation interface;
3. read in the configuration information that generates according to the profile information define method;
4. utilize runtime information analysis mechanism to obtain to generate the organization definition information of interface;
5. utilize runtime information analysis mechanism to dynamically arrange data to generating interface structure.
The method that different platform data structure definition modular converter in the inventive method provides comprises pre-service, semanteme and grammatical analysis at least and generates step such as platform particular code according to syntax tree.Described pre-service comprises header file, the macro definition of handling in the C language, also comprises that the import statement is handled in the Java language simultaneously; Semantic and grammatical analysis comprises at least according to C-structure or java class and defines the syntax tree that obtains C-structure or java class correspondence; Generate the platform particular code according to syntax tree and comprise that at least syntax tree according to java class generates the corresponding C code and generates corresponding Java code according to the syntax tree of C-structure.
Shown in Fig. 2 a, concrete example has illustrated that the different platform data structure modular converter in the system and method for the present invention realizes the transfer process between C-structure header file and the java class.This process is that static state is finished, and that is to say to finish before foreground equipment and the operation of backstage interface.Generate java class and generate the similar process of C-structure from java class from C-structure, in service in reality does not need to change mutually, only needs to generate another kind of definition based on a kind of definition and get final product.Generating java class with the C-structure header file below is example, and its specific implementation process can be described below:
A) earlier the C-structure header file is compiled pre-service;
B) this C-structure header file is carried out the syntax and semantics analysis and obtain grammer, semantic tree, in this grammer, semantic tree, mainly comprise structure struct information table, associating union information table and enum information table;
C) generate the source code that corresponding java class defines according to described grammer, semantic tree.
Flow process shown in Fig. 2 b promptly is the process steps that is generated C-structure by the java class definition, and its specific implementation process can be described below:
A ') definition compiles pre-service to java class earlier;
B ') the syntax and semantics analysis is carried out in this java class definition and obtained grammer, semantic tree, in this grammer, semantic tree, mainly comprise the concrete class of structure Java, union structure and enum structure;
C ') generates the source code of corresponding C-structure header file according to described grammer, semantic tree.The java class that generates all has following method (the method here refers to the method in the object-oriented process):
1) with the building method that generates the Java object that does not contain occurrence;
2) with generating the building method that contains concrete Java object;
3) obtain the method for byte arrays according to the Java object;
4) obtain the method for corresponding byte arrays length according to the Java object.
These 4 methods have been finished following two main functions:
1) no categorical data byte[] Java of array resolves, promptly can be according to byte[] obtain a Java object that occurrence should be arranged mutually;
2) can Java object of instantiation, this object carried out assignment after, can obtain a typeless byte[according to the object of this value of having].
Structure struct in the described C-structure header file, unite union and enumerate enum all corresponding the concrete class of Java, union structure and enum structure, the java class that generates is except 4 above methods, and the different platform data structure crossover tool in the system and method for the present invention also provides and the structure specific method.
Also provide for the enum structure:
1) obtains enumerating the method for index value;
2) method of enumerating index value is set.
These two methods are used to obtain and be provided with the index value of enumerating.
Also provide two methods for the union structure:
1) obtains wanting in the co-ordinative construction method of processing field;
2) method of wanting processing field in the co-ordinative construction is set.
This method of two types is used for obtaining or being provided with the value of wanting processing field in the co-ordinative construction.
In this exemplifying embodiment of the present invention, finished after the conversion of different platform data structure definition, just can carry out further work (system forms if according to composition situation one, and ordinal relation is arranged between the method): adopt the profile information define method that provides in the system of the present invention to write configuration file.The purpose of configuration file is that the corresponding informance that provides additional information and nest information and interface and structure is realized unified conversion, and configuration file define method process as shown in Figure 3 in the system and method for the present invention.
Described profile information define method step is as shown in Figure 3, and is specific as follows:
Definition C-structure header file;
The nest information of definition structure;
Corresponding relation between defining interface and the structure.
The nest information of described definition structure specifically also comprises:
The nested information of enumerating enum of definition structure struct;
The information of the nested associating of definition structure struct union;
The additional information of definition associating union;
The additional information of enum is enumerated in definition;
The information of definition ad hoc structure, described ad hoc structure comprises that at least data head adds the structure of data segment.
Described profile information define method in the inventive method at least also comprises with described configuration file and java class represents associating (union) structure, the additional information of enumerating the specific structure of (enum) structure and some telecommunicatioin network managements and a corresponding informance between nest information and interface and the structure in the C language.Described ad hoc structure comprises that at least message header adds the message structure that varistructured message body is formed.
As shown in Figure 3, when being embedded with the union structure in the struct structure: provide the identification field of class name, union structure of union type attribute field name, the corresponding java class of union structure in the corresponding java class of struct and one in need configuration file and obtain the interface that the union structure is wanted processing field at system and method for the present invention.When being embedded with the enum structure in the described struct structure: need provide the field name of enum type attribute in the corresponding java class of struct, the class name of the corresponding java class of enum structure in the configuration file at system and method for the present invention.
In the configuration file of system and method for the present invention, except the nest information that provides different structure, also to provide the configuration information of various ad hoc structures and the corresponding informance between interface and the structure.To provide the value of identification field and the mapping relations between the processing field for the union structure; To provide enumerated value and enumerate mapping relations between the index value for the enum structure; Add varistructure message body for message header and will provide message number with the mapping relations between the message body.The corresponding informance of interface and structure will provide the pairing data structure definition of each interface in configuration file.With described C-structure header file definition, and nested union information, enum information among the above-mentioned struct, the additional information of all union, the additional information of all enum, the configuration information of ad hoc structure and interface and structure corresponding informance write described configuration file.
The unified conversion method of forward and backward interface of the different platform in the inventive method comprises at least that also the java class according to C byte arrays (byte[]) and C-structure correspondence obtains the case method of a corresponding java class or obtains the byte arrays method of the corresponding C-structure of java class according to the example of a java class.
As shown in Figure 4, described between forward and backward of the telecommunicatioin network management in the system and method for the present invention, the data communication interface between each functional interface of background net management software.The foreground interface of telecommunicatioin network management is that the interface data between foreground equipment or foreground network element and the background net management software is typeless byte[]; Interface by described Telecommunication Management Network definition between each function of background net management software carries out alternately.
As shown in Figure 5, uniform data transfer process between forward and backward of the telecommunicatioin network management in the system and method for the present invention has been described.The step based on forward and backward interface conversion of different platform of the inventive method comprises:
Communication receives byte arrays based on socket;
The method (the method here refers to the method in the object-oriented) that the described source code that utilizes different platform data structure definition module to generate provides is converted to described byte arrays the object of foreground or backstage platform;
Utilize the described object of runtime information analysis mechanism to carry out performance analysis, and be set to foreground or backstage interface data structure dynamically.
Interface performance analysis and conversion method step between each functional interface of described backstage are as follows:
The runtime information analysis mechanism of utilizing various development languages to provide obtains organization definition information;
Utilize runtime information analysis mechanism to obtain wanting the data of translation interface;
Read in the described configuration information that generates according to the profile information define method;
Utilize runtime information analysis mechanism to obtain to generate the organization definition information of interface;
Utilize runtime information analysis mechanism to dynamically arrange described data to the interface structure that will generate.
As shown in Figure 5, the described foreground interface 1 of system of the present invention does not stop to monitor the message (step 2 and 4) of backstage interface 3, and foreground socket is carried out read-write operation, and (socket is closed in step 6 in the back that finishes for the read-write process of socket, step 5).The read-write processing procedure of described backstage interface is carried out (the read-write process of socket successively, step 5), at first receive and come from described foreground socket output byte data b yte[], carry out data-switching and construct a Java object, call the byte arrays method that obtains of Java object then, obtain byte arrays, and output in the input byte arrays of described foreground socket, socket is closed in step 6 in the back that finishes.Socket is a kind of communication modes based on the server/customer end mode that is provided by operating system, and foreground socket is equivalent to server program (step 1), backstage socket is equivalent to client-side program (step 3) here.
Send a piece of news to the foreground from the backstage, forward and backward interface in the system and method for the present invention is unified the processing that conversion method is mainly finished following step:
1) backstage obtains a java class object of assignment, and this java class is generated by different platform data structure definition crossover tool;
2) call this Java example to obtain byte arrays according to the Java object be the pairing byte[of instance objects];
3) the Socket communication means that calls the Java platform and provide sends to the foreground;
4) foreground receives this byte[] after, to this byte[] carry out compulsory type conversion and obtain a C or C++ object.
Report a piece of news to the backstage from the foreground, unified conversion method need be finished the processing of following step between the AM/BAM interface in the system and method for the present invention:
1) foreground is called the Socket communication that the VxWorks platform provides and is reported a piece of news to the backstage;
2) backstage receives described byte[] after the array, find relevant java class according to configuration file;
3) reflex mechanism of utilization among a Java particular configuration method calling this java class obtains a java example.
Under the telecommunicatioin network management daemon software identical platform in the inventive method between the difference in functionality interface data unify conversion method and comprise at least according to the interface between workstation function and the operation system function (F), between the different telecommunication management networks or the interface (X) between the non-telecommunication management network biconditional operation systemic-function, an interface data in the interface (Qx) between interface between operation system function and the Network Element Function (Q3) or operation system function and the coordination function generates other interface definition data; Also comprise simultaneously the mutual conversion between the self defined interface the defining interface in described Telecommunication Management Network.
The interface data of having described as shown in Figure 6 between the background net management software difference in functionality in the system and method for the present invention is unified transfer process.If the Java exploitation has been adopted on the backstage, the runtime information analysis mechanism (being reflex mechanism) that the Java platform provides has mainly been used in the realization of this process so, and each difference in functionality module is followed a unified expansion principle simultaneously.
Be that example is elaborated with the corresponding Java object of F mouth message and byte arrays (byte[]) below.Logical data in the F message is made up of the tabulation of a plurality of " parameter name=parameter values " herein, and the unified transfer process performing step from F mouth message to the Java object is as follows so:
1) tabulation of a plurality of " parameter name=parameter values " in the F mouth message is organized by the unified principle of launching;
2) employing reflex mechanism and unified expansion principle are carried out performance analysis to the attribute of Java object;
3) from the tabulation of current " parameter name=parameter value " according to the parameter name value of getting parms and adopt reflex mechanism to compose certain corresponding attribute to the Java object.
4) attribute to the Java object circulates or the recurrence processing, up to the processing of finishing each attribute.
Unified conversion from the Java object to F mouth message is the inverse process of F mouth message to the unified conversion of Java object, and the step of realization is as follows:
1) employing reflex mechanism and unified expansion principle are carried out performance analysis to the attribute of Java object;
2) tabulation of newly-built " parameter name=parameter value ";
3) adopt reflex mechanism according to attribute-name getattr value, and with the mapping of attribute-name and property value to joining the tabulation of newly-built " parameter name=parameter value ";
4) attribute to the Java object circulates or the recurrence processing, up to the processing of finishing each attribute.
If adopted the composition situation two and the composition situation three of system of the present invention, so corresponding exemplifying embodiment is compared with above-mentioned exemplifying embodiment, and the step that the method for utilizing different platform data structure definition modular converter to provide is carried out the data structure definition conversion can be provided.Also can save simultaneously a part of step of profile information definition (writing), get final product promptly in configuration file, only for the corresponding relation between outgoing interface and the structure.
Method provided by the present invention and system thereof are because the method and the profile information define method that have adopted above-mentioned different platform data structure definition modular converter to provide can use telecommunicatioin network management foreground and backstage to select different platforms to develop; Because runtime information analysis mechanism and profile information define method have been adopted in the conversion between interface, can unify to realize the conversion of interface data, thereby the present invention more helps the utilization to the characteristics of different programming modes simultaneously.Simultaneously, therefore can improve the multiplexing program of software, also just reduce the cost of exploitation, maintenance greatly because the conversion of interface data can unify to carry out.
It should be understood that to those skilled in the art, can be equal to change or replacement by technical conceive according to the present invention, and all these changes or replacement all should belong to the protection domain of claims of the present invention.

Claims (10)

1, the system of the unified conversion of interface data in a kind of telecom network management system, it comprises a configuration information definition module and a telecommunicatioin network management backstage interface at least; Described configuration information definition module is used for disposing the different information between different platform, promptly interstructural nest information, identical platform lower interface and interstructural corresponding relation and special construction information; Described backstage interface is the set that a plurality of background function interfaces are formed, and the conversion between each background function interface can be carried out in its inside.
2, system according to claim 1, it is characterized in that, described system also comprises a foreground interface under identical platform, this foreground interface is connected with the foreground equipment of telecommunicatioin network management, communicate between AM/BAM by the conversion between forward and backward the interface, described foreground equipment is used for reported data or receive and to carry out certain operation from the data and the instruction of described back partition.
3, system according to claim 1, it is characterized in that, described system comprises foreground interface and the described telecommunicatioin network management backstage interface under the different platform under different platform, and a different platform data structure definition modular converter, be used for change between described forward and backward interface and each functional interface of backstage between conversion; Described telecommunicatioin network management backstage interface is handled the data from described foreground equipment, and result is shown to man-machine interface the most at last, also can issue an instruction simultaneously and come described foreground equipment is operated.
According to claim 1,2 or 3 described systems, it is characterized in that 4, described special construction information comprises that at least data head adds data segment structure information.
5, system according to claim 4 is characterized in that, described different platform comprises C/C++ platform and Java platform at least.
6, the method for the unified conversion of interface data in a kind of telecom network management system as claimed in claim 1, it comprises at least:
Interface performance analysis and conversion method between profile information define method and each the background function interface;
Described profile information define method may further comprise the steps the generation configuration information:
A) nest information of definition structure;
B) corresponding relation between defining interface and the structure;
Interface performance analysis and conversion method may further comprise the steps between described each background function interface:
C) the runtime information analysis mechanism of utilizing various development languages to provide obtains organization definition information;
D) utilize this runtime information analysis mechanism to obtain wanting the data of translation interface;
E) read in the described configuration information that generates according to described profile information define method;
F) utilize described runtime information analysis mechanism to obtain to generate the organization definition information of interface;
G) utilize described runtime information analysis mechanism to dynamically arrange data to generating interface structure.
7, method according to claim 6 is characterized in that, described method also comprises forward and backward interface conversion method, and conversion method is identical between identical platform this forward and backward interface conversion method of following time and described each background function interface.
8, method according to claim 6, it is characterized in that, described method also comprises forward and backward interface conversion method and different platform data structure definition conversion method in different platform following time, and the step of described different platform data structure definition conversion method is as follows:
H) data structure definition of particular platform is carried out pre-service;
I) data structure definition of particular platform is carried out semanteme and grammatical analysis, the generative grammar tree;
J) generate the data structure definition source code of another different platform according to this syntax tree;
The step of forward and backward interface conversion method of described different platform comprises:
K) communication receives byte arrays based on socket;
L) method that provides of the described source code that utilizes described different platform data structure definition module to generate is converted to described byte arrays the object of foreground or backstage platform;
M) utilize runtime information analysis mechanism to step l) in the object that obtains carry out performance analysis, and be set to foreground or backstage interface data structure dynamically.
9, according to claim 6,7 or 8 described methods, it is characterized in that described step a) is specifically further comprising the steps of:
A1), the nested information of enumerating of definition structure;
A2), the information of the nested associating of definition structure;
A3), the information of definition ad hoc structure.
10, method according to claim 9 is characterized in that, described step a3) described in ad hoc structure comprise that at least data head adds the structure of data segment.
CNB2003101175541A 2003-12-26 2003-12-26 Unified converting method for interface data in telecommunication network management system and its system Expired - Fee Related CN1299200C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101175541A CN1299200C (en) 2003-12-26 2003-12-26 Unified converting method for interface data in telecommunication network management system and its system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101175541A CN1299200C (en) 2003-12-26 2003-12-26 Unified converting method for interface data in telecommunication network management system and its system

Publications (2)

Publication Number Publication Date
CN1555012A true CN1555012A (en) 2004-12-15
CN1299200C CN1299200C (en) 2007-02-07

Family

ID=34337865

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101175541A Expired - Fee Related CN1299200C (en) 2003-12-26 2003-12-26 Unified converting method for interface data in telecommunication network management system and its system

Country Status (1)

Country Link
CN (1) CN1299200C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119526B (en) * 2007-09-13 2010-11-10 中兴通讯股份有限公司 Message interface entire configurable framework device in mobile communication system and method therefor
CN101227312B (en) * 2007-01-19 2012-05-23 中兴通讯股份有限公司 Method for improving correctness of coding and decoding in network managing system
US8453158B2 (en) 2008-10-17 2013-05-28 Huawei Technologies Co., Ltd. Method, apparatus, and system for enhancing application reliability of a script-based service
CN104123135A (en) * 2014-07-04 2014-10-29 北京思特奇信息技术股份有限公司 Method and device for unifying background interfaces
CN105336026A (en) * 2015-10-28 2016-02-17 广州穗通金融服务有限公司 Method and system for supporting multiple brands of electronic coded locks
CN107278363A (en) * 2015-03-27 2017-10-20 英特尔公司 System and technology for network service
CN109379326A (en) * 2018-08-29 2019-02-22 中国建设银行股份有限公司 XML message rule method of calibration, equipment and storage medium
CN109697062A (en) * 2019-01-14 2019-04-30 深圳孟德尔软件工程有限公司 A kind of multi-source data exchange system and fusion method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100404282B1 (en) * 2000-07-21 2003-11-01 (주)에스오엔코리아 Personal telecommunication supporting system capable of providing optimized internet service in various telecommunication network environment and personal telecommunication client using the same
KR100444198B1 (en) * 2001-06-13 2004-08-11 엘지전자 주식회사 Telecommunication Management Network System Using CORBA Interface And Interface Implimentation Method In That System
CN1459953A (en) * 2002-05-22 2003-12-03 西门子(中国)有限公司 03 meso interface communication method used for electrocommunication network and 03 mesoservice apparatus

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227312B (en) * 2007-01-19 2012-05-23 中兴通讯股份有限公司 Method for improving correctness of coding and decoding in network managing system
CN101119526B (en) * 2007-09-13 2010-11-10 中兴通讯股份有限公司 Message interface entire configurable framework device in mobile communication system and method therefor
US8453158B2 (en) 2008-10-17 2013-05-28 Huawei Technologies Co., Ltd. Method, apparatus, and system for enhancing application reliability of a script-based service
CN104123135A (en) * 2014-07-04 2014-10-29 北京思特奇信息技术股份有限公司 Method and device for unifying background interfaces
CN104123135B (en) * 2014-07-04 2018-04-17 北京思特奇信息技术股份有限公司 A kind of method and device of unified back office interface
CN107278363A (en) * 2015-03-27 2017-10-20 英特尔公司 System and technology for network service
CN105336026A (en) * 2015-10-28 2016-02-17 广州穗通金融服务有限公司 Method and system for supporting multiple brands of electronic coded locks
CN105336026B (en) * 2015-10-28 2018-04-17 广州穗通金融服务有限公司 A kind of method and system for supporting multi-brand electronic password lock
CN109379326A (en) * 2018-08-29 2019-02-22 中国建设银行股份有限公司 XML message rule method of calibration, equipment and storage medium
CN109697062A (en) * 2019-01-14 2019-04-30 深圳孟德尔软件工程有限公司 A kind of multi-source data exchange system and fusion method

Also Published As

Publication number Publication date
CN1299200C (en) 2007-02-07

Similar Documents

Publication Publication Date Title
CN101047556A (en) Integral maintaining method and system for multi-equipment
CN100337235C (en) Method and apparatus for accessing database
CN1691626A (en) Method and system for communication between coordinator-based wireless networks
CN1531829A (en) Method and system for checking configuration of nodes in telecommunications network
CN1192310A (en) Billing for communications usage
CN101035027A (en) Network management interface information interaction method, device and notice reporting method
CN1731748A (en) Testing system and method
CN1299200C (en) Unified converting method for interface data in telecommunication network management system and its system
CN1812397A (en) Network management interface adapter and information interacting method
CN101060645A (en) A communication method, equipment and system
CN1669272A (en) Management system and method for service subscription provisioning
CN1859359A (en) Realizing method and its device for communication protocol described by abstract grammar rule
CN1852153A (en) Fault/alarm management system and method based on simple network management protocol
CN1842999A (en) Method for establishing wireless self-organized communication network,wireless self-organized communication net receiving and transmitting apparatus and base station and the network
CN1790957A (en) Apparatus testing method
CN1275143C (en) Data processing system and method
CN1201941A (en) Message handling method, message handling apparatus, and memory media for storing message handling apparatus controlling program
CN1863346A (en) Multi-mode base station wireless system
CN1677932A (en) Network management configuration method and apparatus thereof
CN1008875B (en) The control system that is used for communication between the unit
CN1946234A (en) Method for realizing ring service and homing position register
CN1960367A (en) Method for associating general multiple protocols
CN1878206A (en) Event subscription method and system
CN1859591A (en) Method and system for applying intelligent net service
CN101067853A (en) On-line modular system and method for assisting examination and approval of countryside homestead

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070207