CN100542109C - Method of testing, system and collocation method thereof and system - Google Patents

Method of testing, system and collocation method thereof and system Download PDF

Info

Publication number
CN100542109C
CN100542109C CNB2007100869727A CN200710086972A CN100542109C CN 100542109 C CN100542109 C CN 100542109C CN B2007100869727 A CNB2007100869727 A CN B2007100869727A CN 200710086972 A CN200710086972 A CN 200710086972A CN 100542109 C CN100542109 C CN 100542109C
Authority
CN
China
Prior art keywords
management system
element management
facility information
rule
information
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.)
Expired - Fee Related
Application number
CNB2007100869727A
Other languages
Chinese (zh)
Other versions
CN101026511A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2007100869727A priority Critical patent/CN100542109C/en
Publication of CN101026511A publication Critical patent/CN101026511A/en
Application granted granted Critical
Publication of CN100542109C publication Critical patent/CN100542109C/en
Expired - Fee Related 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 provides a kind of method of testing, system and collocation method thereof and system, wherein said method of testing comprises: the rule of obtaining the needs checking; Obtain the order that Element management system issues; Analyze order and the described rule of checking that needs that described Element management system issues and whether mate, if do not match, the message information of generation error then, and comparative result returned to Element management system.The present invention can verify the correctness of the user definition rule corresponding net element management system function of described interpolation according to the user definition rule that the user adds voluntarily, makes the analogue network element management system possess Element management system is carried out the ability of business function verification of correctness and possess facility information is carried out pre-configured ability.

Description

Method of testing, system and collocation method thereof and system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method of testing, system and collocation method thereof and system.
Background technology
Communication equipment all needs to test fully and verify before coming into operation, stable when guaranteeing that equipment puts into effect.
The mirror image laboratory is a kind of laboratory of using real equipment to build, be used for simulating existing network running environment, is used for the location that the test and being used for before networking is pinpointed the problems to existing network to communication equipment.
But the breadboard cost of mirror image is very high, so the analogue network element management system is arisen at the historic moment.The analogue network element management system product of some comparative maturities is simulated an existing network environment by the platform of a simple easy operating at present, and being used for provides information service, monitors designated port and carry out information exchange with Element management system for network element.
In real work, the exploitation of Element management system often is ahead of the exploitation of equipment, and before equipment was not developed, Element management system can not be verified the correctness of own service function.And above-mentioned analogue network element management system can not provide this service for checking credentials for Element management system;
In the existing network environment, all facility informations all must be accurately when requiring Element management system to link to each other with actual equipment, and this just requires a great deal of time relevant information is set.And above-mentioned analogue network element management system does not possess facility information is carried out pre-configured ability.
Summary of the invention
For this reason, embodiment of the invention technical problem to be solved is: a kind of method of testing, system and collocation method thereof and system are provided, make the analogue network element management system possess Element management system is carried out the ability of business function verification of correctness and possess facility information is carried out pre-configured ability.
The embodiment of the invention provides a kind of method of configuration device information, and this method comprises the steps:
Add the pre-configured facility information rule that needs checking, and resolve loading;
The order of the pre-configured facility information that the reception Element management system issues, and resolve loading; Whether the pre-configured facility information rule of analyzing the needs checking of the order of the pre-configured facility information that described Element management system issues and described interpolation mates, if coupling, then pre-configured facility information is correct, generate correct message information and return to Element management system, if do not match, then pre-configured facility information is incorrect, the message information of generation error returns to Element management system, and the device data synchronization request of response Element management system returns to Element management system with described pre-configured facility information when pre-configured facility information is correct;
Element management system sends to equipment with described pre-configured facility information;
Equipment receives described pre-configured facility information.
The embodiment of the invention also provides a kind of system that disposes the facility information of Element management system management, and this system comprises the analogue network element management system, the equipment of Element management system and Element management system management;
The analogue network element management system is used to verify whether pre-configured facility information is correct; The analogue network element management system comprises: control centre, protocol adaptation center and user definition rule, and the protocol adaptation center is handed down to the order of Element management system in the control centre;
Described protocol adaptation center comprises: acquiring unit, pre-authentication unit, comparative analysis unit and return the unit;
Acquiring unit is used to obtain the order that Element management system issues;
The pre-authentication unit is used for the rule according to the user definition rule, resolves to load the rule that needs checking;
Whether the comparative analysis unit is used to analyze the order that described Element management system issues and the rule of described needs checking and mates, if coupling then generates correct message information, if do not match, and generation error message information then;
Return the unit, be used for the message information that the comparative analysis unit generates is returned to the control centre, the control centre returns to Element management system with message information;
Described Element management system is used for issuing the device data synchronization request to the analogue network element management system, and the facility information that the analogue network element management system is pre-configured sends to the equipment of Element management system management;
The equipment of described Element management system management is used to dispose described pre-configured facility information.
In sum, the analogue network element management system that the embodiment of the invention provides, owing to comprise user definition rule and pre-authentication unit, the method of testing of utilizing the embodiment of the invention to provide makes the analogue network element management system can verify the correctness of the user definition rule corresponding net element management system function of described interpolation according to the user definition rule that the user adds voluntarily;
The method and system of the configuration device information that the embodiment of the invention provides, owing to used the described analogue network element management system of the embodiment of the invention, it is pre-configured to have realized that device configuration information can carry out on the analogue network element management system, be synchronized on the equipment by Element management system again, accelerated the efficient of equipment beginning.
Description of drawings
Fig. 1 is embodiment of the invention analogue network element management system and Element management system structural representation;
Fig. 2 is that resolve and adaptive schematic flow sheet at embodiment of the invention protocol adaptation center;
Fig. 3 is the proof procedure schematic flow sheet of the embodiment of the invention after extensive;
Fig. 4 is the example flow schematic diagram figure of the embodiment of the invention at proof procedure;
Fig. 5 realizes real equipment preconfigured information systems exchange schematic diagram for the embodiment of the invention.
Embodiment
Below, in conjunction with the accompanying drawings the embodiment of the invention is described in detail.
Embodiment one
As shown in Figure 1, analogue network element management system 50 and Element management system 20.
Analogue network element management system 50 comprises: user interface elements 51, control centre 52, analyzing component unit 53, configuration file 54, protocol adaptation center 55, analog message 56 and user definition rule 57;
Wherein, user definition rule 57 is used for the rule set that the user adds self-defining non-analog message voluntarily;
Wherein, described protocol adaptation center 55 comprises:
Pre-authentication unit 551 is used for the rule according to the user definition rule, resolves the rule that loads pre-authentication, and the step of wherein resolving loading is as follows:
1, in an embodiment, rule is described with simple binary expression formula, and as A>B, A=B or A<B, wherein A is a destination object, and such as certain field in certain bar order of certain equipment, at this object, the user can specify corresponding condition.Whole rule is described with the xml file, and outermost layer is an equipment, is command keyword then, is the specific field in the order then, and at different levels, the user can specify the condition of judgement.
2, resolving the process of loading rule, is exactly the xml file of resolution rules correspondence, and content is put in the internal memory, takes during for analysis.
3, the process of pre-authentication after receiving the order that Element management system issues, is analyzed according to the rule of equipment correspondence exactly.The rule that is provided with such as the user is that the value of the C field in the order of A equipment B is greater than 100, during pre-authentication, can judge at first whether the order that receives is the B order of A equipment, if not, ignore rule then, if, then take out the C field, whether judge its value greater than 100, if satisfy condition, then checking is passed through.
Acquiring unit 552 is used to obtain the order that Element management system issues;
Whether comparative analysis unit 553 is used to analyze the order that described Element management system issues and the rule of described needs checking and mates, if coupling then generates correct message information, if do not match, and generation error message information then;
Return unit 554, be used for the message information that the comparative analysis unit generates is returned to the control centre.
The user starts analogue network element management system 50 by user interface elements 51, sets corresponding analogue network element parameter then, starts analogue network element;
All configuration files of analyzing component unit 53 analytic simulation network elements, and the information of resolving sent to control centre 52, show by control centre's 52 notice user interface elements 51;
Element management system 20 sends the control centre 52 of connection device request to the analogue network element management system, control centre 52 checks whether described analogue network element corresponding equipment monitor process starts, if be not activated, then start described analogue network element corresponding equipment monitor process, if start, then the equipment monitor process by described network element derives the equipment work thread;
The order that Element management systems issue is resolved at equipment work thread request protocol adaptation center 55, and the result that will resolve and analog message 56 compare;
The process of described comparison is:
Protocol adaptation center 55 receives the order that Element management system issues by control centre 52, seeks corresponding analog message 56 according to described order, and two kinds of situations are here arranged:
A kind ofly be: if do not find corresponding analog message, then resolve described order according to the protocol format of protocol adaptation central store, if described order meets the protocol format of protocol adaptation central store, then think and resolve successfully, generate the correct information message, return to Element management system by the protocol adaptation center by the control centre, if described order does not meet the protocol format of protocol adaptation central store, then think and resolve failure, the generation error infomational message returns to Element management system by the protocol adaptation center by the control centre;
Another kind is: if can find corresponding analog message, then read described analog message content, and by the control centre message content that reads is returned to Element management system by the protocol adaptation center.
The described analogue network element management system 50 of present embodiment is provided with user definition rule 57 and is provided with pre-authentication unit 551 in protocol adaptation center 55 in analogue network element management system 50;
This makes analogue network element management system 50 to resolve order or request that Element management system 20 issues according to user-defined rule.The direct application of this function is exactly the correctness that is used for verifying Element management system 20 functions newly developed, that is to say, in actual R﹠D process, before true equipment is not developed, generate analogue network element with the analogue network element management system and simulate real equipment, whether correct with the corresponding function newly developed of checking Element management system.
Below, introduce in detail in conjunction with Fig. 2: the flow process whether Application Example one described analogue network element management system 50, checking Element management system 20 functions newly developed be correct, verify that specifically the step of flow process is:
The protocol contents that add to need checking in the user definition rule 57 of analogue network element management system 50, this protocol contents are included in the interface document that equipment side provides, and include command format and the corresponding returned content of order;
Step 601, analogue network element management system 50 at first load the described protocol contents that newly is added in the user definition rule 57 of pre-authentication according to configure order information in the interface document when starting the protocol contents corresponding simulating network element of described needs checking;
Afterwards, the command format of this protocol contents correspondence and the returned content of described order correspondence are resolved, and the content after will resolving, promptly analysis result is loaded in the internal memory;
Step 602, Element management system 20 connects described analogue network element, and whether its function newly developed of Element management system 20 pretests is correct, issues corresponding order to analogue network element management system 50;
Step 603, after the order that analogue network element management system 50 reception Element management systems 20 issue, at first the command field of this order is resolved, take out the command format of having resolved the pre-authentication of finishing then and compare from internal memory, its content relatively comprises: the field that comprises in the described analysis result is compared;
Step 604, more whether determining step 603 is described successful, if, then change step 605, if not, then change step 607;
Step 605 is according to interface document configure order return information, loading command returned content;
Step 606 generates correct message information, and preserves correct message information in this locality;
Step 607, the generation error message information;
Step 608 with described message information, returns to Element management system 20;
Element management system 20, receive the message that analogue network element management system 50 returns after, message content is analyzed, whether correct to judge described function newly developed, be specially:
If in the message that analogue network element management system 50 is returned, its return code is 0, thinks that then the content of returning is correct, otherwise, think that the content of returning is wrong.The content of only returning is correct, represents that just function newly developed is correct.
At above-mentioned checking flow process, can provide an example after extensive, as shown in Figure 3.
Element management system pre-authentication business packet, be whether packet is correct, after sending a command to the pre-authentication unit of analogue network element management system, the pre-authentication unit is verified described business packet according to the user definition rule, and will be verified that the result returns to the Element management system verification.
Described user definition rule, it is a rule set, can dynamically add according to user's needs, in actual design, can adopt the pattern of strategy, for example the validation criteria of a certain business function is whether the result set of analyzing when this business is actual to be carried out is the bar number of appointment, for example greater than 5, if the bar number of appointment is then carried out flow process as shown in Figure 4:
Element management system pre-authentication business packet sends to the pre-authentication unit of analogue network element management system, the bar number that the pre-authentication unit comprises greater than the result set of 5 the described business packet of rule analysis according to result set, if the bar number that comprises is greater than 5, think that then described business packet function is correct, return results is given Element management system, if the bar number that comprises is not more than 5, then think described business packet capability error, return results is given Element management system.
As seen, the user can add custom rule voluntarily in the user definition rule, realizes an extendible general authentication policy.
Have the ability of verifying Element management system function correctness based on the analogue network element management system, the described analogue network element management system of the application embodiment of the invention can realize the scheme to the pre-configured facility information of real equipment.
As shown in Figure 5, the system of configuration device information comprises analogue network element management system 50, Element management system 20 and real equipment 90, and the pre-configured detailed process of this pre-configured facility information system's realization facility information is:
Step 901, Element management system 20 is to the pre-configured facility information of analogue network element management system 50 requests; Here, the authentication function of application simulation Element management system 50 can guarantee that pre-configured facility information is correct;
Step 902, analogue network element management system 50 responds the request of Element management systems 20, returns the preconfigured information of Element management system request;
Step 903, Element management system 20 are carried out preliminary treatment with described information after obtaining described preconfigured information from analogue network element management system 50, promptly be reassembled into the command mode that is fit to issue, and the described information after will handling are handed down to real equipment 90;
Step 904, real equipment 90 receives the order that Element management system 20 issues, and carries out, and the described information of carrying in the order is write this locality, returns execution result simultaneously;
So far, just be synchronized on the real equipment 90 at facility information pre-configured on the analogue network element management system 50, its benefit is to accelerate the speed of real equipment configuration device information, accelerates on-the-spot beginning.
In sum, the analogue network element management system that the embodiment of the invention provides, owing to comprise user definition rule and pre-authentication unit, the verification method that utilizes the embodiment of the invention to provide makes the analogue network element management system can verify the correctness of the user definition rule corresponding net element management system function of described interpolation according to the user definition rule that the user adds voluntarily;
The method and system of the configuration device information that the embodiment of the invention provides, owing to used the described analogue network element management system of the embodiment of the invention, it is pre-configured to have realized that device configuration information can carry out on the analogue network element management system, be synchronized on the equipment by Element management system again, accelerated the efficient of equipment beginning.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1, a kind of method of configuration device information is characterized in that, this method comprises the steps:
Add the pre-configured facility information rule that needs checking, and resolve loading;
The order of the pre-configured facility information that the reception Element management system issues, and resolve loading;
Whether the pre-configured facility information rule of analyzing the needs checking of the order of the pre-configured facility information that described Element management system issues and described interpolation mates, if coupling, then pre-configured facility information is correct, generate correct message information and return to Element management system, if do not match, then pre-configured facility information is incorrect, the message information of generation error returns to Element management system, and the device data synchronization request of response Element management system returns to Element management system with described pre-configured facility information when pre-configured facility information is correct;
Element management system sends to equipment with described pre-configured facility information;
Equipment receives described pre-configured facility information.
2, method according to claim 1 is characterized in that, the described pre-configured facility information rule that needs checking is included in the interface document that equipment side that Element management system manages provides.
3, method according to claim 1 is characterized in that, the described pre-configured facility information rule parsing of checking that needs is loaded, and comprising: load the protocol contents of needs checking, resolve the field in the described agreement, and analysis result is preserved.
4, method according to claim 3 is characterized in that, the command analysis of the pre-configured facility information that the Element management system that receives is issued comprises: the field to the order of described pre-configured facility information is resolved.
5, method according to claim 3 is characterized in that, described Element management system sends to described pre-configured facility information before the equipment, comprising:
Described pre-configured facility information is reassembled into the command format that is fit to described equipment application.
6, a kind of system that disposes the facility information of Element management system management is characterized in that described system comprises the analogue network element management system, the equipment of Element management system and Element management system management;
The analogue network element management system is used to verify whether pre-configured facility information is correct; The analogue network element management system comprises: control centre, protocol adaptation center and user definition rule, and the protocol adaptation center is handed down to the order of Element management system in the control centre;
Described user definition rule is used for the user and adds the rule set that oneself defines voluntarily;
Described protocol adaptation center comprises: acquiring unit, pre-authentication unit, comparative analysis unit and return the unit;
Acquiring unit is used to obtain the order that Element management system issues;
The pre-authentication unit is used for the rule according to the user definition rule, resolves to load the rule that needs checking;
Whether the comparative analysis unit is used to analyze the order that described Element management system issues and the rule of described needs checking and mates, if coupling then generates correct message information, if do not match, and generation error message information then;
Return the unit, be used for the message information that the comparative analysis unit generates is returned to the control centre, the control centre returns to Element management system with message information;
Described Element management system is used for issuing the device data synchronization request to the analogue network element management system, and the facility information that the analogue network element management system is pre-configured sends to the equipment of Element management system management;
The equipment of described Element management system management is used to dispose described pre-configured facility information.
CNB2007100869727A 2007-03-27 2007-03-27 Method of testing, system and collocation method thereof and system Expired - Fee Related CN100542109C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100869727A CN100542109C (en) 2007-03-27 2007-03-27 Method of testing, system and collocation method thereof and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100869727A CN100542109C (en) 2007-03-27 2007-03-27 Method of testing, system and collocation method thereof and system

Publications (2)

Publication Number Publication Date
CN101026511A CN101026511A (en) 2007-08-29
CN100542109C true CN100542109C (en) 2009-09-16

Family

ID=38744445

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100869727A Expired - Fee Related CN100542109C (en) 2007-03-27 2007-03-27 Method of testing, system and collocation method thereof and system

Country Status (1)

Country Link
CN (1) CN100542109C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453746B (en) * 2007-12-03 2010-06-23 大唐移动通信设备有限公司 Test method, system for base station service function and test controller
CN101252469B (en) * 2008-03-24 2010-07-14 中兴通讯股份有限公司 Multi-net elements automated testing method
CN102064976B (en) * 2009-11-17 2013-05-29 鼎桥通信技术有限公司 Synchronization configuration system and method for testing network element and simulation network element testing tool
CN108234183A (en) * 2016-12-22 2018-06-29 中国电信股份有限公司 The configuration system and method for distal end business
CN109856482A (en) * 2019-01-29 2019-06-07 芯海科技(深圳)股份有限公司 A kind of method of quick test USB-PD module
CN110443529A (en) * 2019-09-06 2019-11-12 深圳前海微众银行股份有限公司 Resource regulating method, device, equipment and computer readable storage medium
CN112632105B (en) * 2020-01-17 2021-09-10 华东师范大学 System and method for verifying correctness of large-scale transaction load generation and database isolation level
CN114745258B (en) * 2020-12-23 2023-09-05 中移(苏州)软件技术有限公司 Method, device, equipment and storage medium for generating network element function body

Also Published As

Publication number Publication date
CN101026511A (en) 2007-08-29

Similar Documents

Publication Publication Date Title
CN100542109C (en) Method of testing, system and collocation method thereof and system
CN108170612B (en) Automatic testing method and device and server
EP2244418A1 (en) Database security monitoring method, device and system
CN111586147B (en) Node synchronization method, device, equipment and storage medium of block chain
CN105302721A (en) System and method for realizing integration testing of centralized analog server in cloud computing platform
US20170109260A1 (en) Test Simulation for Software Defined Networking Environments
CN110515628A (en) Using dispositions method and device
US9401957B2 (en) System and method for synchronization between servers
RU2662405C2 (en) Certification documents automatic generation
CN107066307A (en) A kind of outer batch orientation upgrading BMC of the band of easy O&M method
CN101145130A (en) Simple network management protocol software test device and test method
CN113687858B (en) Configuration file checking method and device, electronic equipment and storage medium
CN106406826A (en) Joint debugging task establishment method, system joint debugging method and device
CN109815112B (en) Data debugging method and device based on functional test and terminal equipment
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
CN116257438A (en) Updating method of interface test case and related equipment
CN114817022A (en) Railway electronic payment platform test method, system, equipment and storage medium
EP2225638B1 (en) Electronic technical logbook
CN111726255B (en) Processing method and device for network change
US20210075701A1 (en) Method and system for onboarding a virtual network function package utilized by one or more network services
CN110190980B (en) System and method for supporting plug-in access to different blockchain alliance chain networks
CN116450107A (en) Method and device for secondary development of software by low-code platform and electronic equipment
CN114598680B (en) Domain name management method, device and storage medium
CN113949632B (en) Dynamic node configuration method and device for block chain
CN106330556B (en) A kind of method and apparatus calling related information for generating service module

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1112969

Country of ref document: HK

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090916

Termination date: 20130327