CN102036275A - Simulator and message processing method - Google Patents

Simulator and message processing method Download PDF

Info

Publication number
CN102036275A
CN102036275A CN2010105905952A CN201010590595A CN102036275A CN 102036275 A CN102036275 A CN 102036275A CN 2010105905952 A CN2010105905952 A CN 2010105905952A CN 201010590595 A CN201010590595 A CN 201010590595A CN 102036275 A CN102036275 A CN 102036275A
Authority
CN
China
Prior art keywords
simulator
management equipment
network management
message
network element
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
CN2010105905952A
Other languages
Chinese (zh)
Other versions
CN102036275B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201010590595.2A priority Critical patent/CN102036275B/en
Publication of CN102036275A publication Critical patent/CN102036275A/en
Application granted granted Critical
Publication of CN102036275B publication Critical patent/CN102036275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a simulator and a message processing method. The method comprises that: the simulator selects a loaded network element model, and determines a corresponding message configuration file according to the network element model; and the simulator determines a test result of network management equipment according to the message configuration file and reports the test result to the network management equipment. In the method, through a non-standard interface between the network element equipment and network management equipment, service data is reported according to test requirement, the coverage and efficiency of a network management test are greatly improved, and a performance test also can be smoothly carried out under the condition of lacking a real network.

Description

A kind of simulator and message treatment method
Technical field
The present invention relates to communication technical field, relate in particular to a kind of simulator and message treatment method.
Background technology
Under the perfect condition, the test environment of webmaster test constitutes consistent with the actual Operation Network of telecommunications, (the Time Division-Synchronous Code Division Multiple Access of TD-SCDMA as shown in Figure 1, TD SDMA) Operation Network test environment networking schematic diagram, by an OMC (OperationsMaintenance Center, operation maintenance center, be the network management system of telecommunications) a plurality of RNC (Radio Network Controller, radio network controller) of system management and under relevant device form.Before beginning to carry out the webmaster test, need be with RNC, NodeB (Node B, be the base station) etc. device upgrade or be downgraded to corresponding version, and guarantee that whole wireless access network (comprising RNC, NodeB and UE (UserEquipment, the subscriber equipment) equipment of etc.ing) normally moves.
In the functional test procedures of webmaster, need be by carrying out actual wireless side business or on equipment, carrying out special operation and trigger various test scenes or produce corresponding data.And the performance pressure test of webmaster needs test environment that enough big network and traffic carrying capacity is provided, and the pressure that forms is mensurable and controlled, thereby can test comprehensively and targetedly.
Because use true network element device to test in the prior art, in realizing process of the present invention, the inventor finds to exist at least in the prior art following problem:
1) the webmaster test need be tested on the different network elements version, and there are problems such as big, the consuming time length of workload in auxiliary works such as the promotion and demotion of network element device, operation maintenance; And webmaster test through regular meeting because the test preparation of resources such as network element is smooth does not delay or can not carry out.
2) exploitation of the redaction of webmaster and network element device is generally carried out simultaneously, height dependence between current webmaster and the network element can cause in the development process, equipment side does not have the webmaster of corresponding version, the situation that the webmaster side does not have the testing equipment of corresponding version, thereby cause a large amount of defectives and problem just can come out after equipment and the issue of webmaster official release, the progress of research and development of products and quality all do not reach expected effect.
3) the webmaster test needs some special items of test, uses real network element device to trigger the test scene difficulty, even can't carry out.For example, need special alarm during test webmaster alarming processing or comprise the reporting of alarm of some special content; Test webmaster performance need customize the occurrence of the performance index that report etc. when handling.
4) may there be defective in the software of network element device or the hardware,, then needs artificial location and solution, thereby bring unpredictable risk, also be unfavorable for carrying out of webmaster automatic test to test activity in case network element breaks down in test activity.
5) network element device involves great expense, and builds the network that is used for functional test in test laboratory environment, can significantly improve testing cost; And performance test is built corresponding environment and is tested infeasible owing to need the scale of network enough big.
Summary of the invention
The embodiment of the invention provides a kind of simulator and message treatment method, to improve the coverage rate and the efficient of webmaster test.
In order to achieve the above object, the embodiment of the invention provides a kind of message treatment method, comprising:
Simulator is selected the network element model of loading, and determines corresponding message arrangement file according to described network element model;
Described simulator is determined the test result of Network Management Equipment according to described message arrangement file, and described test result is reported described Network Management Equipment.
The embodiment of the invention provides a kind of simulator, comprising:
Select module, be used to select the network element model that loads;
First determination module, the network element model that is used for selecting according to described selection module is determined corresponding message arrangement file;
Second determination module is used for determining according to the message arrangement file that described first determination module is determined the test result of Network Management Equipment;
Sending module is used for the test result that described second determination module is determined is reported described Network Management Equipment.
Compared with prior art, the present invention has the following advantages at least:
By realizing the non-standard interface between network element device and the webmaster, according to testing requirement reporting service data, improved the coverage rate and the efficient of webmaster test greatly, also make performance test under the situation that lacks live network, can carry out smoothly simultaneously.
Description of drawings
In order to be illustrated more clearly in technical scheme of the present invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a TD-SCDMA Operation Network test environment networking schematic diagram in the prior art;
Fig. 2 is the system configuration schematic diagram of a kind of simulator of providing of the embodiment of the invention one;
Fig. 3 is the schematic diagram of partial content in the model definition file of 4.00.00 version network element in the embodiment of the invention one;
Fig. 4 is the schematic diagram of message arrangement file in the embodiment of the invention one;
Fig. 5 is a communication module business processing flow schematic diagram in the embodiment of the invention one;
Fig. 6 is the schematic diagram that the configuration service that delta file issues is arranged in the embodiment of the invention one;
Fig. 7 is a simulator working method and main schematic flow sheet in the embodiment of the invention one;
Fig. 8 is a kind of message treatment method schematic flow sheet that the embodiment of the invention two provides;
Fig. 9 is a kind of simulator structural representation that the embodiment of the invention three provides.
Embodiment
OMC is responsible for the equipment in the communication network is carried out Operation and Maintenance, presents information such as total system running status to Upper NM Station, O﹠M personnel.Wherein, the function of webmaster and performance test need rely on the business network with considerable scale that real network element device constitutes, and time and Financial cost that it is built and safeguards are higher; Under the test environment that simultaneously true network element constitutes, because the professional and complexity of its operation, a lot of test scenes trigger difficulty or can't carry out.Many restrictions of using the real equipment test to exist have hindered, comprehensively test early stage to the webmaster product.At the problems referred to above, the embodiment of the invention provides a kind of simulator and message treatment method, by realizing the nonstandard interface between network element device and webmaster, according to testing requirement reporting service data, improve the coverage rate and the efficient of webmaster test greatly, also made performance test under the situation that lacks live network, can carry out smoothly simultaneously.
Below in conjunction with the accompanying drawing among the present invention, the technical scheme among the present invention is clearly and completely described, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
For the test that makes Network Management Equipment can not rely on network element device, improve flexibility and convenience in the test process, the embodiment of the invention one provides a kind of simulator, and that this simulator is that a kind of message value is handled is configurable, can simulate a plurality of network element versions simultaneously, be easy to the network element simulator expanding and safeguard.For convenience of description, be example with the RNC network element in the simulation TD-SCDMA network in the embodiment of the invention, the technical scheme of simulator is illustrated.For the pairing simulator of other network elements in the other system, similar with the simulator that the embodiment of the invention provides, give unnecessary details no longer in detail in the embodiment of the invention.
As shown in Figure 2, the system configuration of the simulator that provides of the embodiment of the invention one includes but not limited to: graphical interfaces, Service Processing Module, communication module, statistical module, tool model, model/configuration file, element configuration data, message arrangement file.
Wherein, load model and the configuration file that needs during this simulator operation, the simulation of the various functions of RNC can be provided after OMC inserts, the flow process that needs RNC initiatively to initiate can be initiated on the simulator graphical interfaces; Can finish automatically by the flow process that OMC initiates.In whole test process, except that change message value content, need not artificial participation; Below each composition is elaborated:
(1) model/configuration file
A, model definition as shown in Figure 3, are the schematic diagram of partial content in the model definition file of 4.00.00 version network element.
1) in the embodiment of the invention, this model may be defined as following hierarchical structure:
<configuration>
<module>
<section>
<msg>
</msg>
</section>
</module>
</configuration>
2) IP address and the listening port that the simulator of appointment network element device version number and configuration starts in root node configuration.
3) module and the section dummy node for ease of managing and checking is used for the classification of tag system functional module and concrete operation, or an action of network element device; Comprise a plurality of msg nodes under the section node, each msg node is a contact message that defines in the internal agreement between network element device and the Network Management Equipment (being network management system).
4) the msg node comprises content at least: the specific definition information of protocol message, for example, variety of event result, field composition and data type etc.; Simulator is handled the processor class title that this message will be used, and information such as the position of this message value configuration file, title.Wherein, to be convenient to the purpose checking and safeguard in order reaching, can to keep some descriptive contents in this node, whether these contents exist the use that can not have influence on simulator.
B, configuration file
1) common value configuration file commonconf.xml, some public value information have been disposed in this document, as RNSID (Radio Network Subsystem ID, RNS sign), NE type etc., need avoid repeated configuration in each concrete message arrangement file in the practical application.
2) type definition file typedef.xml, this document is the data type used to simulator of the data type of network element device side or a mapping of length, comprising grand, the structure of network element device side definition and the basic data types such as UINT among C, the C++.
3) the enumeration definition file .xml that " enumerates title ", this document has defined the mapping relations of using in the network element model of enumerating title and actual value.
4) network element device side management object type file and management object structured file, wherein, defined the types value of network element device side object correspondence in the management object type file, types value as the CPU on the veneer (CentralProcessing Unit, central processing unit) object correspondence is 34607111; The management object structured file has defined the hierarchical structure of various different stage objects, and the expression byte number that wherein each layer adopted.
(2) element configuration data.Wherein, the employed configuration data of all corresponding true network element device of cover of the network element model of each version is (as binary MDF (primary data file, the key data file) list file), CRUD that is issued by Network Management Equipment (Create Retrieve Update Delete increases inquiry and upgrades deletion) and operation such as synchronously are all based on this configuration data.
(3) message arrangement file
In the practical application, whether whether the value of reported by network element equipment message is configurable and be provided with flexible, the convenience of Network Management Equipment test and the raising of efficient there is very big influence, in the embodiment of the invention, in the realization of simulator, reporting message is configured to the message arrangement file, content is the set of usable levels, and provide the order and at random two kinds read mode, this type of message arrangement file can dispose and revise immediately.
In test process, can control the content of reported data by the mode of revising the message arrangement file and on graphical interfaces, directly revising message content, and this modification can come into force immediately; Functions such as performance data for reporting special alarm and appointment numerical value all can realize in this way.
In performance test, by varying number and the report cycle that usable levels in the message arrangement file is set, can be easy to form the test pressure that needs, and the controlled amount of this test pressure.The schematic diagram of message arrangement file as shown in Figure 4, the conf=among Fig. 4 " ./config/authconf.xml "/configuration item, be and specified simulator when handling ID for the message of " 40010001 ", need be from file authconf.xml value.
(4) communication module
Communication module business processing flow schematic diagram as shown in Figure 5, communication module is responsible for the transmitting-receiving of data between simulator and the Network Management Equipment and the feedback of Link State.Wherein, all there are two to block chained list in each network element model, are respectively applied for the access of user uplink and downstream message, and constitute message queue; Main and this message queue of communication module carries out alternately, in communication thread, adopted the passage technology selected among the Java NIO, in communication process if link problem, can be by to the corresponding unusual upwards based on feedback link state of catching in time during then high-level business is handled, and can carry out the preparation that reconnects.
(5) Service Processing Module
In Service Processing Module, comprise message distribution processor, background monitoring thread and complementary content such as file load, parsing, and comprise that general service is handled and particular service is handled two major parts.Wherein:
A) general service is handled, refer to professional (default first kind business) handle and report, response message etc. need not special processing, adopt the handling process of the analogue network element equipment of giving tacit consent in the Service Processing Module, and resolve content in the message arrangement file according to the structure in the network element model, field, data type, report after forming message.In the embodiment of the invention, the counter of above-mentioned Network Management Equipment access authentication, heartbeat maintenance and Network Management Equipment performance module inquiry in real time etc. are most professional, all can finish simulation by general business processing flow.
B) particular service is handled and flow process
For default second type service (for example, the business of more complicated in the functions such as alarm, performance, configuration, software), the processor of acquiescence can't be finished the processing of whole flow process, in the embodiment of the invention, can be default second type service corresponding processor (being the processor of write specialized) is set, finish handling process by this processor to the treatment of simulated network element device of desired data, and resolve content in the message arrangement file according to the structure in the network element model, field, data type, report after forming message.
In the specific implementation of simulator, part identical in the different processor can be extracted and set up an abstract class, realize self-defining Iprocessor interface by abstract class, all processors all will be inherited this abstract class or realize the Iprocessor interface, dispose under the information node of the class title of processor correspondence in the network element model.
For example, in some operation of configuration feature, because Network Management Equipment is not only to network element device transmit operation message, also can issue delta file simultaneously or in message, require network element device configuration data packing to be uploaded etc., the simulation of the inner complicated business of this network element device needs the processor of a special use to realize, the schematic diagram that the configuration service that delta file issues is arranged as shown in Figure 6.
(6) statistical module and tool model
Statistical module is used for the corresponding reported data amount of default second type service (as business such as alarm, performances) of statistics, and upgrades in the log file of correspondence.Wherein, can produce Network Management Equipment in the operation flow of data or message pressure in business such as alarm, performances, statistical module is added up the data volume that simulator reports, and can be in the log file of correspondence real-time update.Concrete, the statistical module action reports the end back to initiate by the particular service processor of realization IstatSubject interfaces such as alarm, performance; Method in the statistical disposition interface is adjusted back, and the concrete class of statistical disposition, file is added up, write to data with existing and this reported data amount according to certain strategy.
The integrated FTP of tool model (File Transfer Protocol, file transfer protocol (FTP)), operation such as File Compress, for the function of finishing Service Processing Module provides relevant interface, be mainly used in processing and the transmission of in the correlation function test of presetting the second type service module (as modules such as configuration, software, performance, alarms) of Network Management Equipment, finishing file.Wherein, the FTP module in the tool model is being done further encapsulation to the third party on the disclosed corresponding basic function, login is provided, transmission mode is set, chdirs, pick and place file, closes interfaces such as connection to caller.In addition, tool model provides some public data processing, file read-write ability; The File Compress function is used for the network element device configuration data and uploads operation flow, is responsible for the configuration data of simulator this locality is compressed into the zip file according to the agreement agreement, and is uploaded to by processor under the ftp server path of Network Management Equipment appointment.Therefore, when the test result with Network Management Equipment reported Network Management Equipment, simulator can directly report Network Management Equipment with test result; Also test result can be reported the ftp server of Network Management Equipment appointment, and to this ftp server, obtain this test result by Network Management Equipment.
(7) based on above-mentioned each file (as message arrangement file, model/configuration file etc.) and functional module, the Network Management Equipment authentication by and can keep mutual heartbeat after, can carry out the processing of regular traffic, whether this business can be according to being to be divided into two classes from what network element device was initiated: network element device initiatively reports the professional and network element device passive response class business of class; On simulator, this two classes business realizes by initiatively reporting with the passive response process.Simulator working method as shown in Figure 7 and main schematic flow sheet comprise: load, unload the model process; Network Management Equipment (being network management system) access authentication process; Heartbeat keeps process; Initiatively report process or passive response process.Described the working method and main flow process of simulator in Fig. 7, the realization of each process comprises:
A, loading, unloading model
1) after the user starts simulator, select to load the network element model of certain version, load and finish back renewable display result on graphical interfaces, the while can select the model of other version to load.Wherein, configurable different IP address, port combination in the model of a plurality of versions.In the embodiment of the invention, select the process of the network element model of loading, the process of the network element model that the selection that can trigger for giving the correct time in the simulator active loads; Perhaps, simulator receives the message of Network Management Equipment, the process of the network element model that the selection that triggers during passive response loads.
2) after the user selects to have loaded and do not start the model of Business Processing, can unload, unloading back renewable display result on graphical interfaces, the backstage discharges the corresponding resource that takies.
B, Network Management Equipment access authentication
Access authentication process is the initial step that network element device and Network Management Equipment connect, and authentication can normally be carried out by other business of back, and this process can be handled by the general service in the Service Processing Module and finish automatically.In the practical application, be failed authentication, can simulate the failed authentication flow process that Network Management Equipment inserts by revising message arrangement file (authentication message value configuration file) content; Wherein, the process of access authentication comprises:
1) user selects certain behind any one node on the stress model, clicks the start button on the graphical interfaces, starts the Business Processing process of simulator to this model.
2) simulator is set up relevant resource (being the authentication resource) and is waited for that Network Management Equipment inserts.
3) when Network Management Equipment inserts, send authentication request to simulator.
4) simulator receives the authentication request from Network Management Equipment.
5) simulator carries out authentication according to this authentication request to the access of Network Management Equipment, and authenticating result is returned to described Network Management Equipment.
In the embodiment of the invention, receive authentication request by the communication module of simulator, and put it in the message queue from Network Management Equipment; Afterwards, Service Processing Module finds the processor and the message arrangement file of coupling from model, and execution is called processing and carried out authentication with the access to Network Management Equipment; And authenticating result is transferred to communication module and is returned to Network Management Equipment.
C, heartbeat keep
In the telecommunication system, in order to guarantee that Network Management Equipment to the transactional of network element device operation and keep the consistency of the information such as alarm, configuration, equipment state of Network Management Equipment and network element device, needs between to set up heartbeat detection mechanism.Wherein, heartbeat detection mechanism generally is embodied as both sides' jumping of making up one's mind mutually in the real network environment, and in the simulator of the embodiment of the invention, can be by the heartbeat message of Network Management Equipment timing active initiation, simulator is receiving Network Management Equipment regularly behind the heartbeat message that simulator sends, send the response message of heartbeat message to Network Management Equipment, thereby realize keeping normal heartbeat.Similarly be also can in the simulator running, realize the process that heartbeat is failed with authentication process by the content of revising in the message arrangement file (heartbeat message value configuration file).
D, initiatively report process; Wherein, initiatively report process to comprise the processing of information such as reported by network element equipment alarm, performance, configuration or data, initiate by graphical interfaces on simulator, this process comprises:
1) message arrangement value file is prepared, and this process can be revised or the direct file modification by graphical interfaces.
2) on graphical interfaces, initiate initiatively to report operation.
3) Service Processing Module finds the processor and the message arrangement file of coupling from the network element model, carries out and calls processing.
In the embodiment of the invention, behind the network element model of having selected to load when simulator, the business information that reports as required (as need report and alarm class business), then can from the network element model, find the processor and the message arrangement file (can determine corresponding message arrangement file) of coupling according to this business information according to the network element model, and carry out and call processing, thereby determine the test result (in the process of message call configuration file, can obtain the test result of Network Management Equipment) of Network Management Equipment according to this message arrangement file.In the process of the test result of determining Network Management Equipment according to the message arrangement file, simulator can be according to the content in the information analysis message arrangement file of network element model, and determines the test result of Network Management Equipment according to analysis result.
4) give Network Management Equipment by communication module reporting message (being the message of the test result correspondence of Network Management Equipment), or by the ftp server of tool model reporting message to the Network Management Equipment appointment.
5) will alarm, performance etc. can add up the reported data amount that Network Management Equipment forms pressure, and record file.
E, passive response process; Wherein, the passive response process is the Business Processing that analogue network element device responds Network Management Equipment issues operation requests, and this process is initiated by the operation requests that Network Management Equipment issues, rather than initiates by graphical interfaces on simulator, and this process comprises:
1) message arrangement value file is prepared, and this process can be revised or the direct file modification by graphical interfaces.
2) simulator receives the operation requests that issues from Network Management Equipment, and initiates to report operation.
3) Service Processing Module finds the processor and the message arrangement file of coupling from the network element model, carries out and calls processing.
In the embodiment of the invention, behind the network element model of having selected to load when simulator, the business information that reports as required, then can from the network element model, find the processor and the message arrangement file of coupling according to this business information, and carry out and call processing, thereby determine the test result of Network Management Equipment according to this message arrangement file.In the process of the test result of determining Network Management Equipment according to the message arrangement file, simulator can be according to the content in the information analysis message arrangement file of network element model, and determines the test result of Network Management Equipment according to analysis result.
4) give Network Management Equipment by the communication module reporting message, or by the ftp server of tool model reporting message to the Network Management Equipment appointment.
In sum, the passive response process with initiatively report process compare difference be following some: a) operation requests that issued by Network Management Equipment of passive response process is initiated, rather than on the simulator graphical interfaces; B) business can not form pressure to Network Management Equipment, does not therefore have the data statistics process; C) Network Management Equipment can issue delta file, relates to the associative operation of element configuration data.
In sum, by the technical scheme that adopts the embodiment of the invention to provide, at least one or more that have the following advantages: 1) realize inside proprietary protocol and interactive interface between network element device and Network Management Equipment in the pure software mode, the webmaster test needn't depend on network element device, test activity is carried out early, and testing cost is cheap, efficient is high; 2) can simulate the network element device of a plurality of versions simultaneously, the network element device version change by load different editions, the different processor of configuration carries out, can not impact testing progress; 3) but the work that simulator redaction characteristic increases finish within a short period of time, and test is provided provide powerful support for as early as possible; 4), can make test process more smooth and easy and convenient to the ability that the modification on message value file (being the message arrangement file) or the graphical interfaces comes into force immediately, non-network element device proactive process is finished automatically and the network element proactive process is manually initiated; 5) be easy to carry out the performance pressure test of the modules such as alarm, performance, configuration of Network Management Equipment by simulator, and the pressure that forms is controlled, mensurable; 6) isolated of the influence of network element device defective, the manual test of Network Management Equipment and automatic test are carried out smoothly the Network Management Equipment test.
Based on the inventive concept same with above-mentioned simulator, the embodiment of the invention two provides a kind of message treatment method, and as shown in Figure 8, this method may further comprise the steps:
Step 801, simulator is selected the network element model of loading, and determines corresponding message arrangement file according to the network element model.
In the embodiment of the invention, also comprise after the network element model that simulator is selected to load: the process of Network Management Equipment access authentication; This process is specially:
Simulator is set up the authentication resource and is waited for the access of Network Management Equipment; When inserting, Network Management Equipment receives authentication request from Network Management Equipment; Simulator carries out authentication according to authentication request to the access of Network Management Equipment, and authenticating result is returned to Network Management Equipment.
Also comprise after the network element model that simulator is selected to load: the process that simulator and Network Management Equipment heartbeat keep; This process is specially:
Simulator receives the heartbeat message that Network Management Equipment regularly sends to simulator, and sends the response message of heartbeat message to Network Management Equipment.
Simulator is selected the process of the network element model of loading, comprising: the process of the network element model that the selection of the triggering of giving the correct time in the simulator active loads; Perhaps, simulator receives the message of Network Management Equipment, the process of the network element model that the selection that triggers during passive response loads.
In the embodiment of the invention, determine corresponding message arrangement file according to the network element model, also comprise before: simulator is revised the process of message value in the message arrangement file.
Step 802, simulator is determined the test result of Network Management Equipment according to the message arrangement file, and test result is reported Network Management Equipment.
In this step, simulator is determined to comprise the test result of Network Management Equipment according to the message arrangement file: simulator is according to the content in the information analysis message arrangement file of network element model, and determines the test result of Network Management Equipment according to analysis result.
Further, simulator is according to the content in the information analysis message arrangement file of network element model, comprise: simulator is to the handling process of default first kind service analogue network element device, and resolves content in the message arrangement file according to the structure in the network element model, field, data type; Perhaps,
Simulator is provided with corresponding processor for default second type service, by the handling process of processor to the treatment of simulated network element device of desired data, and resolves content in the message arrangement file according to the structure in the network element model, field, data type.
Reporting in the process of default second type service, the reported data amount of the default second type service correspondence of simulator statistics, and in the log file of correspondence, upgrade.
In the embodiment of the invention, test result is reported Network Management Equipment, comprising: simulator directly reports Network Management Equipment with test result; Perhaps,
Simulator reports the ftp server of Network Management Equipment appointment with test result, and obtains test result by Network Management Equipment to ftp server.
In the embodiment of the invention, the content that defines in the network element model comprises: the IP address and the listening port of specifying the simulator startup of network element device version number and configuration; The protocol message of inside between network element device and the Network Management Equipment; The details of protocol message.
The message arrangement file of message arrangement file for disposing immediately and revise; In test process, control by the mode of revising the message arrangement file and on graphic interface, revising message content and to report content; In the performance test process, by varying number and the report cycle that usable levels in the message arrangement file is set, the control test pressure.
In the embodiment of the invention, by realizing the non-standard interface between network element device and the webmaster, according to testing requirement reporting service data, improved the coverage rate and the efficient of webmaster test greatly, also make performance test under the situation that lacks live network, can carry out smoothly simultaneously.
Based on the inventive concept same with said method, a kind of simulator also is provided in the embodiment of the invention three, as shown in Figure 9, this simulator comprises:
Select module 11, be used to select the network element model that loads;
First determination module 12 is used for determining corresponding message arrangement file according to the network element model that described selection module 11 is selected;
Second determination module 13 is used for determining according to the message arrangement files that described first determination module 12 is determined the test result of Network Management Equipment;
Sending module 14 is used for the test result that described second determination module 13 is determined is reported described Network Management Equipment.
This simulator also comprises access authentication module 15, is used for described Network Management Equipment is carried out the process of access authentication; Described access authentication module 15, the access that specifically is used to set up the authentication resource and waits for described Network Management Equipment; When inserting, described Network Management Equipment receives authentication request from described Network Management Equipment; According to described authentication request authentication is carried out in the access of described Network Management Equipment, and authenticating result is returned to described Network Management Equipment.
This simulator comprises that also heartbeat keeps module 16, is used for described simulator and described Network Management Equipment are carried out the process that heartbeat keeps; Described heartbeat keeps module 16, specifically is used to receive the heartbeat message that described Network Management Equipment regularly sends to described simulator, and sends the response message of described heartbeat message to described Network Management Equipment.
Described selection module 11 specifically is used in give the correct time on the initiatively process of the network element model that triggering selection loads of described simulator; Perhaps, the process of the network element model that triggering selection loads when receiving the message passive response of described Network Management Equipment.
This simulator also comprises modified module 17, is used for revising message arrangement file message value.
In the embodiment of the invention, described second determination module 13 specifically is used for the content according to the described message arrangement file of the information analysis of described network element model, and determines the test result of described Network Management Equipment according to analysis result.
Described second determination module 13 is further used for the handling process to default first kind service analogue network element device, and resolves content in the described message arrangement file according to structure, field, data type in the described network element model; Perhaps, for default second type service is provided with corresponding processor, by the handling process of described processor, and resolve content in the described message arrangement file according to structure, field, data type in the described network element model to the treatment of simulated network element device of desired data.
Reporting in the process of described default second type service, this simulator also comprises: statistical module 18 is used to add up the reported data amount of the described default second type service correspondence, and upgrades in the log file of correspondence.
Described sending module 14 specifically is used for directly described test result being reported described Network Management Equipment; Perhaps, described test result is reported the ftp server of described Network Management Equipment appointment, and to described ftp server, obtain described test result by described Network Management Equipment.
In the embodiment of the invention, the content that defines in the described network element model comprises: the IP address and the listening port of specifying the simulator startup of network element device version number and configuration; The protocol message of inside between network element device and the described Network Management Equipment; The details of protocol message.
The message arrangement file of described message arrangement file for disposing immediately and revise; In test process, control by the mode of revising described message arrangement file and on graphic interface, revising message content and to report content; In the performance test process, by the varying number and the report cycle of usable levels in the described message arrangement file being set, the control test pressure.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
In the embodiment of the invention, by realizing the non-standard interface between network element device and the webmaster, according to testing requirement reporting service data, improved the coverage rate and the efficient of webmaster test greatly, also make performance test under the situation that lacks live network, can carry out smoothly simultaneously.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (22)

1. a message treatment method is characterized in that, comprising:
Simulator is selected the network element model of loading, and determines corresponding message arrangement file according to described network element model;
Described simulator is determined the test result of Network Management Equipment according to described message arrangement file, and described test result is reported described Network Management Equipment.
2. the method for claim 1 is characterized in that, also comprises after the network element model that described simulator is selected to load: the process of described Network Management Equipment access authentication; This process is specially:
Described simulator is set up the authentication resource and is waited for the access of described Network Management Equipment; When inserting, described Network Management Equipment receives authentication request from described Network Management Equipment;
Described simulator carries out authentication according to described authentication request to the access of described Network Management Equipment, and authenticating result is returned to described Network Management Equipment.
3. the method for claim 1 is characterized in that, also comprises after the network element model that described simulator is selected to load: the process that described simulator and described Network Management Equipment heartbeat keep; This process is specially:
Described simulator receives the heartbeat message that described Network Management Equipment regularly sends to described simulator, and sends the response message of described heartbeat message to described Network Management Equipment.
4. the method for claim 1 is characterized in that, described simulator is selected the process of the network element model of loading, comprising:
Give the correct time on the initiatively process of the network element model that the selection that triggers loads of described simulator; Perhaps, described simulator receives the message of described Network Management Equipment, the process of the network element model that the selection that triggers during passive response loads.
5. the method for claim 1 is characterized in that, determines corresponding message arrangement file according to described network element model, also comprises before: described simulator is revised the process of message value in the message arrangement file.
6. the method for claim 1 is characterized in that, described simulator is determined to comprise the test result of Network Management Equipment according to described message arrangement file:
Described simulator is according to the content in the described message arrangement file of the information analysis of described network element model, and determines the test result of described Network Management Equipment according to analysis result.
7. method as claimed in claim 6 is characterized in that, described simulator comprises according to the content in the described message arrangement file of the information analysis of described network element model:
Described simulator is to the handling process of default first kind service analogue network element device, and resolves content in the described message arrangement file according to structure, field, data type in the described network element model; Perhaps,
Described simulator is provided with corresponding processor for default second type service, by the handling process of described processor, and resolve content in the described message arrangement file according to structure, field, data type in the described network element model to the treatment of simulated network element device of desired data.
8. method as claimed in claim 7 is characterized in that, reporting in the process of described default second type service, described method also comprises:
The reported data amount of the described default second type service correspondence of described simulator statistics, and in the log file of correspondence, upgrade.
9. the method for claim 1 is characterized in that, described test result is reported described Network Management Equipment, comprising:
Described simulator directly reports described Network Management Equipment with described test result; Perhaps,
Described simulator reports the ftp server of described Network Management Equipment appointment with described test result, and obtains described test result by described Network Management Equipment to described ftp server.
10. as each described method of claim 1-9, it is characterized in that the content that defines in the described network element model comprises:
Specify the IP address and the listening port of the simulator startup of network element device version number and configuration;
The protocol message of inside between network element device and the described Network Management Equipment;
The details of protocol message.
11., it is characterized in that the message arrangement file of described message arrangement file as each described method of claim 1-9 for disposing immediately and revise;
In test process, control by the mode of revising described message arrangement file and on graphic interface, revising message content and to report content;
In the performance test process, by the varying number and the report cycle of usable levels in the described message arrangement file being set, the control test pressure.
12. a simulator is characterized in that, comprising:
Select module, be used to select the network element model that loads;
First determination module, the network element model that is used for selecting according to described selection module is determined corresponding message arrangement file;
Second determination module is used for determining according to the message arrangement file that described first determination module is determined the test result of Network Management Equipment;
Sending module is used for the test result that described second determination module is determined is reported described Network Management Equipment.
13. simulator as claimed in claim 12 is characterized in that, also comprises the access authentication module, is used for described Network Management Equipment is carried out the process of access authentication;
Described access authentication module, the access that specifically is used to set up the authentication resource and waits for described Network Management Equipment; When inserting, described Network Management Equipment receives authentication request from described Network Management Equipment; According to described authentication request authentication is carried out in the access of described Network Management Equipment, and authenticating result is returned to described Network Management Equipment.
14. simulator as claimed in claim 12 is characterized in that, comprises that also heartbeat keeps module, is used for described simulator and described Network Management Equipment are carried out the process that heartbeat keeps;
Described heartbeat keeps module, specifically is used to receive the heartbeat message that described Network Management Equipment regularly sends to described simulator, and sends the response message of described heartbeat message to described Network Management Equipment.
15. simulator as claimed in claim 12 is characterized in that,
Described selection module specifically is used in give the correct time on the initiatively process of the network element model that triggering selection loads of described simulator; Perhaps, the process of the network element model that triggering selection loads when receiving the message passive response of described Network Management Equipment.
16. simulator as claimed in claim 12 is characterized in that, also comprises:
Modified module is used for revising message arrangement file message value.
17. simulator as claimed in claim 12 is characterized in that,
Described second determination module specifically is used for the content according to the described message arrangement file of the information analysis of described network element model, and determines the test result of described Network Management Equipment according to analysis result.
18. simulator as claimed in claim 17 is characterized in that,
Described second determination module is further used for the handling process to default first kind service analogue network element device, and resolves content in the described message arrangement file according to structure, field, data type in the described network element model; Perhaps,
For default second type service is provided with corresponding processor, by the handling process of described processor, and resolve content in the described message arrangement file according to structure, field, data type in the described network element model to the treatment of simulated network element device of desired data.
19. simulator as claimed in claim 18 is characterized in that, reporting in the process of described default second type service, also comprises:
Statistical module is used to add up the reported data amount of the described default second type service correspondence, and upgrades in the log file of correspondence.
20. simulator as claimed in claim 12 is characterized in that,
Described sending module specifically is used for directly described test result being reported described Network Management Equipment; Perhaps,
Described test result is reported the ftp server of described Network Management Equipment appointment, and to described ftp server, obtain described test result by described Network Management Equipment.
21., it is characterized in that the content that defines in the described network element model comprises as each described simulator of claim 12-20:
Specify the IP address and the listening port of the simulator startup of network element device version number and configuration;
The protocol message of inside between network element device and the described Network Management Equipment;
The details of protocol message.
22., it is characterized in that the message arrangement file of described message arrangement file as each described simulator of claim 12-20 for disposing immediately and revise;
In test process, control by the mode of revising described message arrangement file and on graphic interface, revising message content and to report content;
In the performance test process, by the varying number and the report cycle of usable levels in the described message arrangement file being set, the control test pressure.
CN201010590595.2A 2010-12-08 2010-12-08 Simulator and message processing method Active CN102036275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010590595.2A CN102036275B (en) 2010-12-08 2010-12-08 Simulator and message processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010590595.2A CN102036275B (en) 2010-12-08 2010-12-08 Simulator and message processing method

Publications (2)

Publication Number Publication Date
CN102036275A true CN102036275A (en) 2011-04-27
CN102036275B CN102036275B (en) 2014-12-17

Family

ID=43888432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010590595.2A Active CN102036275B (en) 2010-12-08 2010-12-08 Simulator and message processing method

Country Status (1)

Country Link
CN (1) CN102036275B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223653A (en) * 2011-06-15 2011-10-19 中兴通讯股份有限公司 Method and system for testing telephone traffic performance of operation maintenance center (OMC)
CN102740342A (en) * 2012-06-08 2012-10-17 大唐移动通信设备有限公司 Network management equipment performance simulation test method and system
CN103634158A (en) * 2012-08-20 2014-03-12 百度在线网络技术(北京)有限公司 A pressure test method for an SNMP management process and an apparatus
CN103684925A (en) * 2013-12-26 2014-03-26 浙江宇视科技有限公司 Performance test method based on simulation terminal
CN104104663A (en) * 2013-04-09 2014-10-15 深圳中兴网信科技有限公司 Distributed invocation framework, and devices and data transmission method thereof
CN104796302A (en) * 2015-04-17 2015-07-22 大唐移动通信设备有限公司 Method and system for testing network element simulators
CN105119742A (en) * 2015-07-22 2015-12-02 上海斐讯数据通信技术有限公司 Performance data analog generator and performance data analog generation method based on Java Swing component
WO2016119238A1 (en) * 2015-01-30 2016-08-04 Hewlett-Packard Development Company, L.P. Identifying heartbeat messages
CN105843629A (en) * 2016-04-20 2016-08-10 中国电子科技集团公司第二十八研究所 Simulation information generating method and device for command and control system software
WO2017036197A1 (en) * 2015-09-02 2017-03-09 中兴通讯股份有限公司 Method and device for managing network element model
CN107483295A (en) * 2017-09-22 2017-12-15 武汉虹信通信技术有限责任公司 A kind of method of testing of network management system disposal ability
CN107493587A (en) * 2016-06-13 2017-12-19 中兴通讯股份有限公司 A kind of WMG method of testing, apparatus and system
CN109348498A (en) * 2018-10-30 2019-02-15 京信通信***(中国)有限公司 NM server test method, device and system
CN114124727A (en) * 2021-11-08 2022-03-01 中信科移动通信技术股份有限公司 Network management communication pressure testing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1287427A (en) * 1999-11-05 2001-03-14 深圳市中兴通讯股份有限公司 Analogue web element testing method based on message recording and playback
WO2003069935A1 (en) * 2002-02-15 2003-08-21 Validitas Oy Device for testing packet-switched cellular radio network
CN1901479A (en) * 2005-07-19 2007-01-24 中兴通讯股份有限公司 Analogue method based on custom-made multiple type net element
CN1992635A (en) * 2005-12-27 2007-07-04 中兴通讯股份有限公司 Method of simulating SNMP network element and performing network management system test with the network element

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1287427A (en) * 1999-11-05 2001-03-14 深圳市中兴通讯股份有限公司 Analogue web element testing method based on message recording and playback
WO2003069935A1 (en) * 2002-02-15 2003-08-21 Validitas Oy Device for testing packet-switched cellular radio network
CN1901479A (en) * 2005-07-19 2007-01-24 中兴通讯股份有限公司 Analogue method based on custom-made multiple type net element
CN1992635A (en) * 2005-12-27 2007-07-04 中兴通讯股份有限公司 Method of simulating SNMP network element and performing network management system test with the network element

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223653A (en) * 2011-06-15 2011-10-19 中兴通讯股份有限公司 Method and system for testing telephone traffic performance of operation maintenance center (OMC)
CN102740342A (en) * 2012-06-08 2012-10-17 大唐移动通信设备有限公司 Network management equipment performance simulation test method and system
CN102740342B (en) * 2012-06-08 2015-11-25 大唐移动通信设备有限公司 The analog detection method of Network Management Equipment performance and system
CN103634158B (en) * 2012-08-20 2018-05-04 百度在线网络技术(北京)有限公司 A kind of method for testing pressure and device of snmp management process
CN103634158A (en) * 2012-08-20 2014-03-12 百度在线网络技术(北京)有限公司 A pressure test method for an SNMP management process and an apparatus
CN104104663A (en) * 2013-04-09 2014-10-15 深圳中兴网信科技有限公司 Distributed invocation framework, and devices and data transmission method thereof
CN104104663B (en) * 2013-04-09 2018-06-19 深圳中兴网信科技有限公司 A kind of distribution invocation framenort, equipment and its data transmission method
CN103684925A (en) * 2013-12-26 2014-03-26 浙江宇视科技有限公司 Performance test method based on simulation terminal
US10708153B2 (en) 2015-01-30 2020-07-07 Micro Focus Llc Identifying heartbeat messages
WO2016119238A1 (en) * 2015-01-30 2016-08-04 Hewlett-Packard Development Company, L.P. Identifying heartbeat messages
CN104796302A (en) * 2015-04-17 2015-07-22 大唐移动通信设备有限公司 Method and system for testing network element simulators
CN105119742B (en) * 2015-07-22 2018-04-10 上海斐讯数据通信技术有限公司 A kind of performance data simulation maker and generation method based on java Swing components
CN105119742A (en) * 2015-07-22 2015-12-02 上海斐讯数据通信技术有限公司 Performance data analog generator and performance data analog generation method based on Java Swing component
WO2017036197A1 (en) * 2015-09-02 2017-03-09 中兴通讯股份有限公司 Method and device for managing network element model
CN105843629A (en) * 2016-04-20 2016-08-10 中国电子科技集团公司第二十八研究所 Simulation information generating method and device for command and control system software
CN107493587A (en) * 2016-06-13 2017-12-19 中兴通讯股份有限公司 A kind of WMG method of testing, apparatus and system
CN107493587B (en) * 2016-06-13 2021-04-20 中兴通讯股份有限公司 Media gateway testing method, device and system
CN107483295A (en) * 2017-09-22 2017-12-15 武汉虹信通信技术有限责任公司 A kind of method of testing of network management system disposal ability
CN109348498A (en) * 2018-10-30 2019-02-15 京信通信***(中国)有限公司 NM server test method, device and system
CN114124727A (en) * 2021-11-08 2022-03-01 中信科移动通信技术股份有限公司 Network management communication pressure testing method and system
CN114124727B (en) * 2021-11-08 2023-10-31 中信科移动通信技术股份有限公司 Network management communication pressure testing method and system

Also Published As

Publication number Publication date
CN102036275B (en) 2014-12-17

Similar Documents

Publication Publication Date Title
CN102036275B (en) Simulator and message processing method
US10089106B2 (en) Communications network, computer architecture, computer-implemented method and computer program product for development and management of femtocell-based applications
CN110266716B (en) Unified service platform system of power grid
CN103248535B (en) A kind of cloud system method of testing and device
WO2016184175A1 (en) Database processing method and apparatus
CN109710346A (en) Server management method, device, equipment and computer readable storage medium
CN101257406B (en) Method and system for discovering net elements
CN102354296B (en) A kind of monitoring system and method that can expanding monitoring resources
US10970127B1 (en) Systems and methods for virtual machine resource optimization using machine learning techniques
CN101099398B (en) Method and devices for matching data between a manager and an agent in a management network
CN108600034A (en) Traffic pressure management method, device, equipment, system and storage medium
CN104978172A (en) Integrated management and control method, system and equipment of SDN (Software Defined Networking) applications
CN106844793A (en) Management method, the apparatus and system of example service
CN110933178A (en) Method for adjusting node configuration in cluster system and server
WO2023131343A1 (en) Stress test method and system, and device and storage medium
CN103516851A (en) Cloud testing platform system for wireless products
CN109597764A (en) A kind of test method and relevant apparatus of catalogue quota
CN112114939A (en) Distributed system deployment equipment and method
CN109218401A (en) Log collection method, system, computer equipment and storage medium
CN101242617B (en) A testing system and method for original performance statistical data
CN110784358A (en) Method and device for constructing network call relation topological graph
CN104937613A (en) Heuristics to quantify data quality
CN103475521B (en) A kind of method and apparatus of deployment server
CN113163008A (en) Connection intelligent management method and device of network service system and related equipment thereof
CN112559124A (en) Model management system and target operation instruction processing method and device

Legal Events

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