CN102790694A - Method and device for organizing information of network element management layer - Google Patents

Method and device for organizing information of network element management layer Download PDF

Info

Publication number
CN102790694A
CN102790694A CN2011101329421A CN201110132942A CN102790694A CN 102790694 A CN102790694 A CN 102790694A CN 2011101329421 A CN2011101329421 A CN 2011101329421A CN 201110132942 A CN201110132942 A CN 201110132942A CN 102790694 A CN102790694 A CN 102790694A
Authority
CN
China
Prior art keywords
message
network element
management layer
configuration information
element side
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
Application number
CN2011101329421A
Other languages
Chinese (zh)
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 CN2011101329421A priority Critical patent/CN102790694A/en
Publication of CN102790694A publication Critical patent/CN102790694A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and a device for organizing information of a network element management layer and relates to the communication field. By means of the method and the device for organizing information of the network element management layer, the problem of poor expandability and maintainability of a network management system is solved. The method comprises the steps of constructing an extensive makeup language (XML) framework file, wherein at least one configuration information of network element side network element management layer information transmitted from a network element side to a network management side is stored in the XML framework file; extracting the configuration information matched with the current trigger condition from the XML framework file when the preset trigger condition is met; and constructing the network element side network element management layer information according to the configuration information. By means of the technical scheme, the method and the device for organizing information of the network element management layer are suitable for telecommunication management networks, and a test mechanism which is easy to maintain can be achieved.

Description

NE management layer message groups organization method and device
Technical field
The present invention relates to the communications field, relate in particular to a kind of NE management layer message groups organization method and device.
Background technology
The layering logic layers architecture of telecommunication management network (TMN) is divided into transaction management layer, SML, NML, NE management layer and Network Element Layer.Wherein, NE management layer corresponding the function of network management system, realize operation and management to one or more network elements.
Carry out alternately between network management system and the network element through self-defining NE management layer message, the interface testing between network management system and the network element just becomes very important part in the webmaster test.For the interface between network management system and the network element is tested fully, must all travel through all message between network management system and network element one time at present, this just must develop the response that a stubs comes the message that analogue network element sends network management system.At present, the response of stubs various message that network management system is sent realizes through hard coded in program.After stubs is received network management system sent request message, at first from message header, parse message identifier (ID), get into a switch-case statement then, a kind of request message of the corresponding processing of each branch of this switch-case statement.When handling request message; At first in the message header of receiveing the response, fill out a message id; Then to each member's assignment of some structures; The message body that this structure is just receiveed the response is combined into one to the message header that generates and message body at last and receives the response and send to network management system.The implementation of network element system and the implementation of stubs are similar, and network element is also realized through hard coded in program the response of the various message that network management system is sent.If between network management system and network element, increase a pair of message, just must in the switch-case statement, increase a branch and handle newly-increased message.
Therefore, the shortcoming of present this implementation is when the interface between network management system and the network element changes, and must correspondingly make amendment to the realization code of stubs and network element, and the extensibility of system and maintainability are all poor.
Summary of the invention
The invention provides a kind of NE management message groups organization method and device, solved the problem of network management system extensibility with maintainable difference.
A kind of NE management message groups organization method comprises:
Make up extend markup language (XML) framework file, in said XML framework file, store the configuration information of the network element side NE management layer message of at least one network element side direction webmaster side transmission;
When satisfying the trigger condition that presets, from said XML framework file, extract configuration information with current trigger condition coupling;
According to said configuration information structure network element side NE management layer message.
Preferably; Said trigger condition is specially the request message that webmaster side direction network element side is sent; Said network element side NE management layer message is specially response message, and is said when satisfying the trigger condition that presets, and from said XML framework file, extracts the configuration information that matees with current trigger condition and be specially:
When receiving the request message of webmaster side transmission, from said XML framework file, extract the configuration information of described request message corresponding response message.
Preferably; Said trigger condition is specially the network element side unidirectional message trigger point of customization in advance; Said network element side NE management layer message is specially network element side unidirectional message; Said when satisfying the trigger condition that presets, from said XML framework file, extract the configuration information that matees with current trigger condition and be specially:
When reaching the network element side unidirectional message trigger point of said customization in advance, extract the configuration information of the network element side NE management layer message of this trigger point appointment.
Preferably, said configuration information comprises message macrodefinition, structure definition and message assignment, comprises according to said configuration information structure network element side NE management layer message:
According to said message macrodefinition, construct the message header of said network element side NE management layer message;
Construct the message body of said network element side NE management layer message according to the definition of said structure and message assignment;
Merge said message header and said message body, obtain said network element side NE management layer message.
Preferably, the assignment mode of said message assignment is fixed variable value assignment or interval value circulation assignment or enumerates the circulation assignment.
Preferably, said message body according to said structure definition and message assignment structure network element side NE management layer message is specially:
Said message assignment is packed into each structure that said structure defines defined message body; When said network element side NE management message is response message; Said message assignment is fixed value or the value from the structure of said NE management layer message, obtained; When said network element side NE management message was network element side unidirectional message, said message assignment was a fixed value.
Preferably, after the said step, also comprise according to said configuration information structure network element side NE management layer message:
Send the send mode of parameter-definition according to the message that presets, send said network element side NE management message, said message mode is one or more combination of following manner:
The circulation of a plurality of interval values sends, many fixed value message circulation are sent, many enumerated values circulations are sent, send frequency by message sends.
Preferably, said network element management level message groups organization method also comprises:
In running, revise said configuration information, comprising:
Revise the particular content of existing configuration information;
Add new trigger condition and the configuration information that is complementary with it.
Preferably, said network element management level message groups organization method also comprises:
Select at least one said XML framework file stored configuration information to generate one or more sets automatic test cases and derive said automatic test cases.
The present invention also provides a kind of NE management layer message tissue device, comprising:
Document management module is used to make up XML framework file, in said XML framework file, stores the configuration information of the network element side NE management layer message of at least one network element side direction webmaster side transmission;
The configuration information extraction module is used for when satisfying the trigger condition that presets, and from said XML framework file, extracts the configuration information with current trigger condition coupling;
The message molded tissue block is used for according to said configuration information structure network element side NE management layer message.
Preferably, said configuration information extraction module comprises:
The first configuration information extraction unit is used for when receiving the request message of webmaster side transmission, from said XML framework file, extracting the configuration information of described request message corresponding response message;
The second configuration information extraction unit is used for when reaching the network element side unidirectional message trigger point of said customization in advance, extracting the configuration information of the network element side NE management layer message of this trigger point appointment.
Preferably, said configuration information comprises message macrodefinition, structure definition and message assignment, and said message molded tissue block comprises:
The message header structural unit is used for according to said message macrodefinition, constructs the message header of said network element side NE management layer message;
The message body structural unit is used for constructing according to the definition of said structure and message assignment the message body of said network element side NE management layer message;
The message combinations unit is used to merge said message header and said message body, obtains said network element side NE management layer message.
Preferably, said network element management level message tissue device also comprises:
The message management module is used for sending according to the message that presets the send mode of parameter-definition, sends said NE management message, and said message mode is one or more combination of following manner:
The circulation of a plurality of interval values sends, many fixed value message circulation are sent, many enumerated values circulations are sent, send frequency by message sends;
Select at least one said XML framework stored configuration information to generate one or more sets automatic test cases and derive said automatic test cases;
In running, revise the particular content of existing configuration information, or add new trigger condition and the configuration information that is complementary with it.
The invention provides a kind of NE management message groups organization method and device; Make up XML framework file, in said XML framework file, store the configuration information of the network element side NE management layer message of at least one network element side direction webmaster side transmission, when satisfying the trigger condition that presets; From said XML framework file, extract configuration information with current trigger condition coupling; According to said configuration information structure network element side NE management layer message, storage such as NE management layer interaction message and configuration information in XML framework file independently, only need be carried out the operation of file-level to the maintenance of data; And need not revise the code of network management system and network element side; Reduced maintenance difficulties, improved system flexibility, solved the problem of network management system extensibility with maintainable difference.
Description of drawings
The flow chart of a kind of NE management layer message groups organization method that Fig. 1 provides for embodiments of the invention one;
Fig. 2 is the particular flow sheet of step 103 among Fig. 1;
The organization chart of a kind of NE management layer message groups organization method that Fig. 3 provides for embodiments of the invention two;
Fig. 4 is the organization flow chart of response message in the embodiment of the invention two;
Fig. 5 is a specifically realization of message body structure in the embodiments of the invention two;
The structural representation of a kind of NE management layer message tissue device that Fig. 6 provides for embodiments of the invention three;
Fig. 7 is the structural representation of configuration information extraction module 602 among Fig. 6;
Fig. 8 is the structural representation of message molded tissue block 603 among Fig. 6;
The structural representation of another NE management layer message tissue device that Fig. 9 provides for embodiments of the invention three;
The structural representation of the device of a kind of NE management layer message tissue that Figure 10 provides for embodiments of the invention four;
The structural representation of the device of a kind of NE management layer message tissue that Figure 11 provides for embodiments of the invention five.
Embodiment
Hereinafter will combine accompanying drawing that embodiments of the invention are elaborated.Need to prove that under the situation of not conflicting, embodiment among the application and the characteristic among the embodiment be combination in any each other.
At first combine accompanying drawing, embodiments of the invention one are described.
The embodiment of the invention provides a kind of NE management layer message groups organization method, and the flow process of interacting message is as shown in Figure 1 before to use this method to accomplish network management system and network element (or stubs), comprising:
Step 101, make up XML framework file, in said XML framework file, store the configuration information of the network element side NE management layer message that at least one network element side direction webmaster side sends;
In the embodiment of the invention; For the NE management layer message between network element and network management system (like SCOKET message); Hard coded in program not, but through definition XML framework file, in the framework file, network element side NE management layer interaction message and corresponding configuration information are described.
NE management layer message comprises request message, response message and network element side unidirectional message, and wherein, request message is the message that webmaster side direction network element side is sent, and response message and network element side unidirectional message are the message that network element side direction webmaster side is sent.Request message is the trigger condition of response message, the network element side after receiving the request message that network management system sends, promptly corresponding with this request message answer message according to the corresponding configuration information structuring of storing in the XML framework file; And the trigger condition of network element side unidirectional message is the trigger point that customizes in advance, when arriving this trigger point, promptly constructs and send network element side unidirectional message.
Preferably, said XML framework file can identify the label as the configuration information of corresponding response message with the message header of request message.
Step 102, when satisfying the trigger condition preset, from said XML framework file, extract configuration information with current trigger condition coupling;
Said trigger condition is specially the request message that webmaster side direction network element side is sent; Said network element side NE management layer message is specially response message; Said when satisfying the trigger condition that presets, from said XML framework file, extract the configuration information that matees with current trigger condition and be specially:
When receiving the request message of webmaster side transmission, from said XML framework file, extract the configuration information of described request message corresponding response message.
Said trigger condition is specially the network element side unidirectional message trigger point of customization in advance; Said network element side NE management layer message is specially network element side unidirectional message; Said when satisfying the trigger condition that presets, from said XML framework file, extract the configuration information that matees with current trigger condition and be specially:
When reaching the network element side unidirectional message trigger point of said customization in advance, extract the configuration information of the network element side NE management layer message of this trigger point appointment.
Step 103, according to said configuration information structure network element side NE management layer message;
Said configuration information comprises message macrodefinition, structure definition and message assignment.This step is specifically as shown in Figure 2, comprising:
Step 1031, according to said message macrodefinition, construct the message header of said network element side NE management layer message;
Step 1032, construct the message body of said network element side NE management layer message according to the definition of said structure and message assignment;
The mode of message assignment has two kinds, and the one, directly in configuration file, carry out clear and definite assignment; The 2nd, obtain from a certain member's of the structure of the NE management layer message (like request message) that receives value.
Step 1033, the said message header of merging and said message body obtain said network element side NE management layer message.
Step 104, send the send mode of parameter-definition, send said network element side NE management message according to the message that presets;
In the embodiment of the invention, the user also can send parameter by free customized messages, can carry out the transmission of message flow sequence.Also can be used for sending message flow, make the process of transmitting of network element side NE management layer message configurable, may command can be operated.
The message mode that message is sent parameter-definition can be but is not limited to one or more combination of following mode:
The circulation of a plurality of interval values sends, many fixed value message circulation are sent, many enumerated values circulations are sent, send frequency by message sends.
Step 105, in running, revise said configuration information;
In this step; Can be according to actual needs; Revise the particular content (like the assignment again of message values, the variation of document architecture label etc.) that has configuration information in normal operation (being that network element or stubs are normal carries out in the process of interacting message with network management system), or add new trigger condition and the configuration information that is complementary with it (like the expansion of message constituent act).
Realized the flexible expansion and the maintenance of message, according to the framework of message file, the label definition combines the architectural characteristic of message itself, realizes the polytropy and the extensibility of message.
And in normal course of operation, accomplished to NE management layer message to the maintenance of configuration information; Do not need system break work, realized that the heat of NE management layer message loads, when change takes place message; Only need to revise the message definition in the XML framework file; Use corresponding NE management layer message and its corresponding message to the time, get final product complete call through hot load mode, need not reload whole message arrangement file once more through restarting stubs.
Step 106, select at least one said XML framework file stored configuration information to generate one or more sets automatic test cases and derive said automatic test cases;
This step is an optional step.Needs according to practical application; Configuration information in the XML framework file capable of using generates one or more sets automatic test cases and derives said automatic test cases; Every cover test case comprises at least one configuration information, can construct at least a network element side NE management layer information.
Below in conjunction with accompanying drawing, embodiments of the invention two are described.
Referring to Fig. 3, message groups organization method one embodiment of the present invention is proposed, it comprises:
301, message-pairs is used to define the message pairing, request message and corresponding response message.
302, message-structs is used to define the structure of every message.
303, message-values is used to define the value value of message.
Preferably, below be the organizational form embodiment of a kind of message to message-pairs:
Figure BDA0000062716500000091
Main message and the corresponding response message that receives of describing.Definition request message name and response message name.
Below be the organizational form embodiment of a kind of message structure message-structs:
Figure BDA0000062716500000092
Figure BDA0000062716500000101
Describe message and the corresponding structure of network element response message that network management system is sent, wherein, for nested structure, father's structure type and minor structure body type also must be stated in this document so.
Below be the organizational form embodiment of a kind of message values message-values:
Figure BDA0000062716500000102
Figure BDA0000062716500000111
The member's of the structure that corresponding relation between describing message and the structure and response message are corresponding value.Wherein, the member's of the said enantiomorph of receiveing the response value has two kinds of situation: the one, directly in configuration file, carry out clear and definite assignment; The 2nd, obtain by a certain member's of the structure of request message value.
Referring to Fig. 4, the flow process of response message tissue is following:
Whether step 401 is judged type of message, be interaction message.
Step 402 if interaction message is analyzed req message, after network element receives the req message of sending, obtains message id through resolving message header.
Step 403, the structure message header according to the message id of req message, needing to obtain the ack message responded in to message-pairs in message, obtains message id, the message header that structure is receiveed the response.
Step 404 is if unidirectional message obtains structure according to the message macrodefinition and constructs message header.
Step 405, structure message body.According to the structured file message-structs of message, obtain the structure ReqStruct of message req and the structure AckStruct of message ack.Structure message body.Through the query configuration file, can obtain each member's in the structure side-play amount, this side-play amount is used when the message body that structure is receiveed the response.
Step 406 merges message, combines one of formation to the message header that generates in above-mentioned two steps and message body and receives the response, and changes into byte stream.
Step 407, additional messages customized parameter information, message groups casts off, loading messages.
Preferably; For step 405; Structure message body; Be specially, network element obtains receiveing the response ID and constructs the message header of receiveing the response in configuration file message-pairs after, in file messages-values, inquire this receive the response corresponding structure and value of each structure member.If structure body member is directly by assignment; After then converting this value to the binary word throttling; Copy the appropriate location of message body byte stream to, this position can be calculated the side-play amount of this structure member in structure through inquiry file message-structs and obtained; If being a certain structure member by corresponding requests message, this structure member obtains; Then a certain position from the message body byte stream of request message begins; The byte of copy certain-length is to a certain position of the body byte stream of receiveing the response, and source position, destination locations and the byte number of byte stream copy can calculate through inquiry file message-structs.
Referring to Fig. 5, an embodiment of a message body structure is provided.At first, the type of the member byteAckAttr of structure AckStruct is byte, accounts for a byte, and side-play amount is 0, and value is 2, so the index of the message body of message ack1 is that the content of 0 byte is 02H; Secondly, the type of member intAckAttr is int, accounts for four bytes; Side-play amount is 1, and value derives from the member intReqAttr of the corresponding structure ReqStruct of message req1, and the type of intReqAttr is int; Account for four bytes; Side-play amount is 0, therefore is the index of the message body of message req1 the content of four bytes of 0 beginning, and the index that copies the message body of message ack1 successively to is that four bytes of 1 beginning get final product;
Once more, the type of member byteeArrayAckAttr is the byte array, and length is 2; Side-play amount is 5; The value of first element is 5, so the index of the message body of message ack1 is that the content of 5 byte is 05H, and second element do not have assignment; Get default value 0, so the index of the message body of message ack1 is that the content of 6 byte is 0.
At last, member structAckAttr is a structure that name is NestedAckStruct, and the type of the member byteNestAckAttr of this structure is byte; Account for a byte; Side-play amount in structure AckStruct is 7, and value derives from the member byteReqAttr of the corresponding structure ReqStruct of message req1, and the type of byteAttr is byte; Account for a byte; Therefore side-play amount is 4, is the index of the message body of req1 the content of 4 byte, and the index that copies the message body of message ack1 to is to get final product in 7 the byte.The type of the member shortNestAckAttr of structure NestedAckStruct is short; Account for two bytes; Side-play amount in structure AckStruct is 8; Its value derives from the member structArrayReqAttr of the corresponding structure ReqStruct of message req1, and member structArrayReqAttr is the structure array of a NestedReqStruct by name, and the type of the member shortNestReqAttr of this structure is short; Account for two bytes; Therefore the side-play amount of member shortNestAckAttr in structure ReqStruct of first element of structure array structArrayReqAttr is 5, is the index of the message body of req1 the content of two bytes of 5 beginnings, and the index that copies the message body of message ack1 to is to get final product in 8 two bytes beginning.The type of the member shortNestAckAttr02 of structure NestedAckStruct is short; Account for two bytes; Side-play amount in structure AckStruct is 10; Value is 9, so the index of the message body of message ack1 is that the content of 10 byte is 0, is 09H and index is the content of 11 byte.So just constructed the message body of message ack1.
Preferably, under the above-mentioned make, revise message if desired; Only need to revise configuration file, need not change code, improved operability and maintainability greatly; Realize the full decoupled of stubs and message tissue, and need not restart, can realize organizing the heat of message to load.
Below in conjunction with accompanying drawing, embodiments of the invention three are described.
The embodiment of the invention provides a kind of NE management layer message tissue device, and its structure is as shown in Figure 6, comprising:
Document management module 601 is used to make up XML framework file, in said XML framework file, stores the configuration information of the network element side NE management layer message of at least one network element side direction webmaster side transmission;
Information extraction modules 602 is used for when satisfying the trigger condition that presets, and from said XML framework file, extracts the configuration information with current trigger condition coupling;
Message molded tissue block 603 is used for according to said configuration information structure network element side NE management layer message.
Preferably, the structure of said configuration information extraction module 602 is as shown in Figure 7, comprising:
The first configuration information extraction unit 6021 is used for when receiving the request message of webmaster side transmission, from said XML framework file, extracting the configuration information of described request message corresponding response message;
The second configuration information extraction unit 6022 is used for when reaching the network element side unidirectional message trigger point of said customization in advance, extracting the configuration information of the network element side NE management layer message of this trigger point appointment.
Said configuration information comprises message macrodefinition, structure definition and message assignment, and preferred, the structure of said message molded tissue block 603 is as shown in Figure 8, comprising:
Message header structural unit 6031 is used for according to said message macrodefinition, constructs the message header of said network element side NE management layer message;
Message body structural unit 6032 is used for constructing according to the definition of said structure and message assignment the message body of said network element side NE management layer message;
Message combinations unit 6033 is used to merge said message header and said message body, obtains said network element side NE management layer message.
Preferably, this device is as shown in Figure 9, also comprises:
Message management module 604 is used for sending according to the message that presets the send mode of parameter-definition, sends said NE management message, and said message mode is one or more combination of following manner:
The circulation of a plurality of interval values sends, many fixed value message circulation are sent, many enumerated values circulations are sent, send frequency by message sends; With,
Select at least one said XML framework stored configuration information to generate one or more sets automatic test cases and derive said automatic test cases; In running, revise the particular content of existing configuration information, or add new trigger condition and the configuration information that is complementary with it.
Below in conjunction with accompanying drawing, embodiments of the invention four are described.
Referring to Figure 10, the embodiment of the invention provides a kind of device of NE management layer message tissue, and it comprises: document management module 1001; Message molded tissue block 1002; Message management module 1003, wherein file organization module 1001 is used for configuration message file, and message molded tissue block 1002 is used for making up organizes message; Message management module 1003 is used for sending parameter from customizing message, supports to derive automatic test cases simultaneously.
Preferably, above-mentioned document processing module 1001 can be specifically according to the message macrodefinition, and message is right, message structure, and message values is organized.There are two kinds of situation in the source of message values: the one, directly in configuration file, carry out clear and definite assignment; The 2nd, obtain by a certain member's of the structure of corresponding requests message value.Message is carried out clear and definite assignment, include but not limited to: fixed variable value assignment; Interval value circulation assignment; Enumerated value assignment and circulation.
Preferably, above-mentioned message construction module 1002 is from the profile management module reading configuration file information; According to the information structuring configuration messages sequence in the configuration file.
Preferably, above-mentioned message management module 1003 is used for subscriber customized message parameter information; Can customize according to user's wish and user demand, as message transmission frequency is set, be used for pressure test; Message is set to circulation and sends; Be used to simulate the actual use scene of true network element, message is set to delay time and sends after the set time, satisfies the test under the network delay conditions of demand.
Preferably, above-mentioned message management module supports message heat after changing to load, and can support the derivation of test case simultaneously, and customizable many cover automatic test cases satisfy the testing requirement of different scenes.
Below in conjunction with accompanying drawing, embodiments of the invention five are described.
Referring to Figure 11, the embodiment of the invention provides a kind of device of NE management layer message tissue, and it comprises: document management module 1101, message molded tissue block 1102 also comprises outside the interacting message module 1103, interacting message module 1104.Wherein interacting message module 1104 is used to organize the mutual of information apparatus and network management system, comprises the reception downstream message, and sends the message flow that builds.
Preferably, interacting message module 1103 also can be sent unidirectional message, directly carries out alternately according to the type of message and the Element management system that define.Can be applicable in the multiple system that interacting message arranged the tissue part that accomplishes message.
The NE management layer message tissue device that embodiments of the invention provide can be integrated on the network element side apparatus such as network element or stubs, to carry out interacting message with network management system.
Describe in the face of embodiments of the invention six down.
The embodiment of the invention provides a kind of NE management layer message tissue device: comprise document management module, message molded tissue block, message management module.Wherein said document management module is used to dispose network element and all mutual NE management layer message and configuration informations of NM server, and with above-mentioned storage in XML framework file; Said message molded tissue block is used for from the configuration information of framework file extraction message, according to the response message or the message sequence of these configuration information histological structure one-tenth needs; Said message management module is supported automatic test, can manage message, and auxiliary settings such as the transmission call by value parameter of response message and frequency, and generate many cover automatic test cases.
Preferably, said document management module comprises the message macrodefinition, interacting message pairing, the structured file definition of message, field assignment in the message structure.Each mutual NE management layer message is separate in the XML framework file, and the low coupling of maintenance update is maintainable strong.
Preferably, said message molded tissue block comprises the assembly unit to response message, resolves, can be to the flexible tissue of mould response message.
Preferably, said message management module is supported the fixed value circulation to message parameter, the enumerated value circulation, and different scenes are satisfied in the customization of message frequency, and support to organize file organization to become many cover automatic test cases message.
Preferably, the NE management layer message tissue device that embodiments of the invention provided also comprises:
The interacting message module needs SOCKET communication, receives downstream message on the one hand, returns corresponding message on the other hand, can send upstream message simultaneously, accomplishes the interactive application of NE management layer message tissue device and network management system.
The NE management message tissue device that embodiments of the invention provide; Can combine with the NE management message groups organization method that embodiments of the invention are provided; Make up XML framework file, in said XML framework file, store the configuration information of at least one pair of mutual NE management layer message, when receiving the NE management layer message of NE management layer transmission; From said XML framework file, extract the configuration information of the corresponding mutual NE management layer message of said NE management layer message; According to said configuration information, construct the response message of said NE management layer message, with storage such as NE management layer interaction message and configuration informations in XML framework file independently; Maintenance to data only need be carried out the operation of file-level; And need not revise the code of network management system and network element side, and reduced maintenance difficulties and system flexibility, solved the problem of network management system extensibility with maintainable difference.Realized the full decoupled of NE management layer message tissue device and message content; In the test of network management system or network element system; When the interface between network management system and the network element changes; Needn't make amendment to the realization code of stubs, only need revise configuration file as required and get final product, and be implemented in the heat loading of operation.Message is realized the variation management, freely dispose many-valued and the multiple send mode of customization, cover the various interface type comprehensively, optimized the method for testing to the interface testing of network management system and network element system, extensibility is with maintainable strong.
Certainly, NE management layer message is sent and to be not limited to send to webmaster, and it is also passable to send to network element system, so long as the method that all can use this paper to provide of interacting message.Further, the file organization mode that the present invention mentions also is not limited to condition managing, performance management, and alarm management, diagnostic tests etc. can use method of the present invention to launch.The present invention also can have other various embodiments; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to appended claim of the present invention and protection range.
The all or part of step that the one of ordinary skill in the art will appreciate that the foregoing description program circuit that can use a computer is realized; Said computer program can be stored in the computer-readable recording medium; Said computer program (like system, unit, device etc.) on the relevant hardware platform is carried out; When carrying out, comprise one of step or its combination of method embodiment.
Alternatively, all or part of step of the foregoing description also can use integrated circuit to realize, these steps can be made into integrated circuit modules one by one respectively, perhaps a plurality of modules in them or step is made into the single integrated circuit module and realizes.Like this, the present invention is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in the foregoing description can adopt the general calculation device to realize, they can concentrate on the single calculation element, also can be distributed on the network that a plurality of calculation element forms.
Each device/functional module/functional unit in the foregoing description is realized with the form of software function module and during as independently production marketing or use, can be stored in the computer read/write memory medium.The above-mentioned computer read/write memory medium of mentioning can be a read-only memory, disk or CD etc.
Any technical staff who is familiar with the present technique field can expect changing or replacement in the technical scope that the present invention discloses easily, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the described protection range of claim.

Claims (13)

1. a NE management layer message groups organization method is characterized in that, comprising:
Make up extend markup language (XML) framework file, in said XML framework file, store the configuration information of the network element side NE management layer message of at least one network element side direction webmaster side transmission;
When satisfying the trigger condition that presets, from said XML framework file, extract configuration information with current trigger condition coupling;
According to said configuration information structure network element side NE management layer message.
2. NE management layer message groups organization method according to claim 1; It is characterized in that; Said trigger condition is specially the request message that webmaster side direction network element side is sent; Said network element side NE management layer message is specially response message, and is said when satisfying the trigger condition that presets, and from said XML framework file, extracts the configuration information that matees with current trigger condition and be specially:
When receiving the request message of webmaster side transmission, from said XML framework file, extract the configuration information of described request message corresponding response message.
3. NE management layer message groups organization method according to claim 1; It is characterized in that; Said trigger condition is specially the network element side unidirectional message trigger point of customization in advance; Said network element side NE management layer message is specially network element side unidirectional message, and is said when satisfying the trigger condition that presets, and from said XML framework file, extracts the configuration information that matees with current trigger condition and be specially:
When reaching the network element side unidirectional message trigger point of said customization in advance, extract the configuration information of the network element side NE management layer message of this trigger point appointment.
4. according to claim 1 or 2 or 3 described NE management layer message groups organization methods, it is characterized in that said configuration information comprises message macrodefinition, structure definition and message assignment, comprise according to said configuration information structure network element side NE management layer message:
According to said message macrodefinition, construct the message header of said network element side NE management layer message;
Construct the message body of said network element side NE management layer message according to the definition of said structure and message assignment;
Merge said message header and said message body, obtain said network element side NE management layer message.
5. NE management layer message groups organization method according to claim 4 is characterized in that, the assignment mode of said message assignment is fixed variable value assignment or interval value circulation assignment or enumerates the circulation assignment.
6. according to claim 1 or 5 described NE management layer message groups organization methods, it is characterized in that said message body according to said structure definition and message assignment structure network element side NE management layer message is specially:
Said message assignment is packed into each structure that said structure defines defined message body; When said network element side NE management message is response message; Said message assignment is fixed value or the value from the structure of said NE management layer message, obtained; When said network element side NE management message was network element side unidirectional message, said message assignment was a fixed value.
7. NE management layer message groups organization method according to claim 1 is characterized in that, after the said step according to said configuration information structure network element side NE management layer message, also comprises:
Send the send mode of parameter-definition according to the message that presets, send said network element side NE management message, said message mode is one or more combination of following manner:
The circulation of a plurality of interval values sends, many fixed value message circulation are sent, many enumerated values circulations are sent, send frequency by message sends.
8. according to claim 1 or 4 described NE management layer message groups organization methods, it is characterized in that this method also comprises:
In running, revise said configuration information, comprising:
Revise the particular content of existing configuration information;
Add new trigger condition and the configuration information that is complementary with it.
9. a kind of NE management message groups organization method according to claim 1 is characterized in that this method also comprises:
Select at least one said XML framework file stored configuration information to generate one or more sets automatic test cases and derive said automatic test cases.
10. a NE management layer message tissue device is characterized in that, comprising:
Document management module is used to make up XML framework file, in said XML framework file, stores the configuration information of the network element side NE management layer message of at least one network element side direction webmaster side transmission;
The configuration information extraction module is used for when satisfying the trigger condition that presets, and from said XML framework file, extracts the configuration information with current trigger condition coupling;
The message molded tissue block is used for according to said configuration information structure network element side NE management layer message.
11. NE management layer message according to claim 10 tissue device is characterized in that said configuration information extraction module comprises:
The first configuration information extraction unit is used for when receiving the request message of webmaster side transmission, from said XML framework file, extracting the configuration information of described request message corresponding response message;
The second configuration information extraction unit is used for when reaching the network element side unidirectional message trigger point of said customization in advance, extracting the configuration information of the network element side NE management layer message of this trigger point appointment.
12. NE management layer message according to claim 10 tissue device is characterized in that, said configuration information comprises message macrodefinition, structure definition and message assignment, and said message molded tissue block comprises:
The message header structural unit is used for according to said message macrodefinition, constructs the message header of said network element side NE management layer message;
The message body structural unit is used for constructing according to the definition of said structure and message assignment the message body of said network element side NE management layer message;
The message combinations unit is used to merge said message header and said message body, obtains said network element side NE management layer message.
13. NE management layer message according to claim 10 tissue device is characterized in that this device also comprises:
The message management module is used for sending according to the message that presets the send mode of parameter-definition, sends said NE management message, and said message mode is one or more combination of following manner:
The circulation of a plurality of interval values sends, many fixed value message circulation are sent, many enumerated values circulations are sent, send frequency by message sends;
Select at least one said XML framework stored configuration information to generate one or more sets automatic test cases and derive said automatic test cases;
In running, revise the particular content of existing configuration information, or add new trigger condition and the configuration information that is complementary with it.
CN2011101329421A 2011-05-20 2011-05-20 Method and device for organizing information of network element management layer Pending CN102790694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101329421A CN102790694A (en) 2011-05-20 2011-05-20 Method and device for organizing information of network element management layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101329421A CN102790694A (en) 2011-05-20 2011-05-20 Method and device for organizing information of network element management layer

Publications (1)

Publication Number Publication Date
CN102790694A true CN102790694A (en) 2012-11-21

Family

ID=47156001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101329421A Pending CN102790694A (en) 2011-05-20 2011-05-20 Method and device for organizing information of network element management layer

Country Status (1)

Country Link
CN (1) CN102790694A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016131328A1 (en) * 2015-08-03 2016-08-25 中兴通讯股份有限公司 Network-element-simulator-based testing method and device
CN110191156A (en) * 2019-05-08 2019-08-30 深圳前海微众银行股份有限公司 A kind of data processing method and device based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1343426A (en) * 1999-03-16 2002-04-03 诺基亚网络有限公司 Method and apparatus for defining interface and telecommunication system
US20060161685A1 (en) * 2001-08-13 2006-07-20 Sun Microsystems, Inc. Client aware extensible markup language content retrieval and integration in a wireless portal system
CN101500343A (en) * 2008-02-02 2009-08-05 中兴通讯股份有限公司 Method for semi-automatically implementing interface in telecommunication managing network management
CN101888655A (en) * 2010-06-28 2010-11-17 中兴通讯股份有限公司 Method and device for configuring network element data in template way in network management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1343426A (en) * 1999-03-16 2002-04-03 诺基亚网络有限公司 Method and apparatus for defining interface and telecommunication system
US20060161685A1 (en) * 2001-08-13 2006-07-20 Sun Microsystems, Inc. Client aware extensible markup language content retrieval and integration in a wireless portal system
CN101500343A (en) * 2008-02-02 2009-08-05 中兴通讯股份有限公司 Method for semi-automatically implementing interface in telecommunication managing network management
CN101888655A (en) * 2010-06-28 2010-11-17 中兴通讯股份有限公司 Method and device for configuring network element data in template way in network management system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016131328A1 (en) * 2015-08-03 2016-08-25 中兴通讯股份有限公司 Network-element-simulator-based testing method and device
CN110191156A (en) * 2019-05-08 2019-08-30 深圳前海微众银行股份有限公司 A kind of data processing method and device based on block chain
CN110191156B (en) * 2019-05-08 2021-11-09 深圳前海微众银行股份有限公司 Data processing method and device based on block chain

Similar Documents

Publication Publication Date Title
CN1941899B (en) System and method for downloading contents
CN103002010B (en) A kind of data-updating method based on incremental data, device and system
CN101313495B (en) Method, system and apparatus for data synchronization
CN109756366A (en) System is realized in intelligent network SCP cloud service based on CAAS
CN101453705B (en) Off-line browsing system for news
CN105740337B (en) A kind of event fast matching method in distribution subscription system based on content
CN100552679C (en) Regular text data is imported the method for database
CN100483386C (en) Information management system and method
US20050160088A1 (en) System and method for metadata-based distribution of content
CN101193077A (en) Method and system for subscribing matching
CN102483734A (en) Remote data backup method and remote data backup system using the same
CN107888666A (en) A kind of cross-region data-storage system and method for data synchronization and device
CN103179193B (en) Data transmission system and data transmission method for distribution application system
CN102339285A (en) Method and system for automatically matching web application with terminal and network side equipment
CN109508319A (en) A kind of cross-platform resource management system of 3D and method
CN109739661A (en) The method, apparatus and system of information updating between a kind of cooperative module
US20070094278A1 (en) Data transfer services
CN102790694A (en) Method and device for organizing information of network element management layer
CN102843310A (en) Method and system for releasing and subscribing information in wide area network based on gossip protocol
CN104202431A (en) Personalized unit address book synchronization method and device as well as intelligent communication system
CN103024049A (en) System capable of achieving browser data synchronization
CN109729121A (en) A kind of cloud storage system and the method for realizing self-defining data processing in cloud storage system
CN101668259A (en) Implement method of color ring back tone service and system
CN111090530B (en) Distributed inter-process communication bus system
CN102638569A (en) File distribution synchronizing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121121