CN108319531A - A kind of detection method and detection device of configuration information - Google Patents

A kind of detection method and detection device of configuration information Download PDF

Info

Publication number
CN108319531A
CN108319531A CN201711378316.4A CN201711378316A CN108319531A CN 108319531 A CN108319531 A CN 108319531A CN 201711378316 A CN201711378316 A CN 201711378316A CN 108319531 A CN108319531 A CN 108319531A
Authority
CN
China
Prior art keywords
configuration information
detected
function module
detection
acquisition
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
CN201711378316.4A
Other languages
Chinese (zh)
Other versions
CN108319531B (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology 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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201711378316.4A priority Critical patent/CN108319531B/en
Publication of CN108319531A publication Critical patent/CN108319531A/en
Application granted granted Critical
Publication of CN108319531B publication Critical patent/CN108319531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of detection method of configuration information and detection devices, including:The configuration information that corresponding function module to be detected is obtained according to the function module identification information to be detected of acquisition, as the first configuration information;The configuration information that detection function module is treated according to the switch messages of acquisition carries out switching for master and backup discs;The configuration information for switching rear function module to be detected is obtained, as the second configuration information;It is whether correct that the second configuration information is detected according to the first configuration information.From the embodiment of the present invention, since function module to be detected can be arbitrary one or more functions module, switch messages can also be to include the information of any switchover mode, therefore the detection of correctness is carried out to the configuration information for switching rear function module to be detected for carrying out master and backup discs according to switch messages, realize the automatic detection that master and backup discs switch the configuration information of rear function module to be detected, detection process is dramatically simplified, detection flexibility ratio is improved.

Description

A kind of detection method and detection device of configuration information
Technical field
The present invention relates to field of computer technology more particularly to the detection methods and detection device of a kind of configuration information.
Background technology
Pretection switch function refers to, when double plate is in place simultaneously, restarting master, the configuration information in equipment can fall automatically It changes on standby disk, restarts standby disk, in the configuration information meeting auto switching to master in equipment, to carry out backup protection to ensure Ensure that the processing of original business is uninterrupted after switching.Using generally requiring to survey pretection switch function before pretection switch function Examination, to ensure the stability of pretection switch function, and to pretection switch function carry out test be detection single master and backup discs switch and Whether multiple master and backup discs switch rear configuration information correct.
In the related technology, automatic testing method detection whether correct, this automatic inspection of switching rear configuration information is often used Survey method is by the title of module to be detected, switchover mode and to switch the parameter informations such as number and be previously written test script, then Whether testing results script is correct to detect the configuration information after switching.
However, (i.e. fixed due to carrying fixed detection parameters information in the test script of this automatic testing method The title of module to be detected, switchover mode and switch number), when one or more in detection parameters information need to change, It also needs to tester's modification and even rewrites test script, therefore test process is very complicated, flexibility ratio is poor.
Invention content
In order to solve the above technical problem, the present invention provides a kind of detection method of configuration information and detection devices, can Dramatically simplify detection process, improves detection flexibility ratio.
In order to reach the object of the invention, the present invention provides a kind of detection methods of configuration information, including:
The configuration information of corresponding function module to be detected is obtained according to the function module identification information to be detected of acquisition, and Using the configuration information of acquisition as the first configuration information;
Switching for master and backup discs is carried out to the configuration information of the function module to be detected according to the switch messages of acquisition, In, the switch messages include switchover mode;
The configuration information for switching the rear function module to be detected is obtained, and using the configuration information of acquisition as the second configuration Information;
It is whether correct that second configuration information is detected according to first configuration information.
The switch messages further include switching number;
If the number of switching is twice or more than twice, cycle executes the acquisition and switches rear function module to be detected Configuration information operation;Wherein, it recycles the number of execution and described to switch number identical.
The function module identification information to be detected according to acquisition obtain corresponding function module to be detected match confidence Before breath, further include:
Obtain function module identification information to be detected input by user and with the function module identification information pair to be detected The expectation entry number answered;Wherein, the expectation entry number is user corresponding with the function module identification information to be detected The business entry number of detection it is expected in module to be detected;
Whether detected expectation entry number is correct;
The functional module information to be detected according to acquisition obtains the configuration information of corresponding function module to be detected, packet It includes:
If the expectation entry number obtained is correct, corresponding wait is obtained according to the function module identification information to be detected of acquisition The configuration information of detection function module.
The detection, which obtains, it is expected whether entry number is correct, including:
The configuration of corresponding function module identification information to be detected is obtained in the configuration information pre-detection script pre-established Information pre-detection script;
The configuration information pre-detection script obtained is run, the practical entry of business in the function module to be detected is obtained Number;
Whether the practical entry number of business is equal with the expectation entry number of acquisition in detected function module to be detected;
If the practical entry number of business is equal with the expectation entry number of acquisition in the function module to be detected obtained, determine It obtains and it is expected that entry number is correct.
It is described to obtain the configuration information for switching rear function module to be detected, and using the configuration information of acquisition as the second configuration Information, including:
Corresponding function module identification information to be detected is obtained in the configuration information detection script pre-established matches confidence Breath detection script;
The configuration information that operation obtains detects script, obtains the configuration information for switching the rear function module to be detected, and Using the configuration information of acquisition as second configuration information.
The configuration information pre-detection script is functional test tool QTP scripts;The acquisition is input by user to be detected Function module identification information and the expectation entry number corresponding with function module identification information to be detected, including:
Obtain the user inputted on the graphic interface generated by computer programming language Java it is described to be detected Function module identification information and the expectation entry number corresponding with function module identification information to be detected;
The configuration information pre-detection script that the operation obtains, obtains the practical item of business in the function module to be detected Mesh number, including:
Using preset Java function calls QTP interfaces, start preassembled QTP softwares;
The configuration information pre-detection script that QTP running softwares obtain is controlled, business in the function module to be detected is obtained Practical entry number.
The configuration information detection script is functional test tool QTP scripts;The configuration information detection that the operation obtains Script obtains the configuration information for switching rear function module to be detected, and using the configuration information of acquisition as the second configuration information, packet It includes:
Using preset Java function calls QTP interfaces, start preassembled QTP softwares;
It controls the configuration information that QTP running softwares obtain and detects script, obtain the configuration for switching rear function module to be detected Information, and using the configuration information of acquisition as the second configuration information.
The preset Java functions are QuickTest.Application interface functions.
It is described whether correct according to the first configuration information the second configuration information of detection, including:
Whether identical as first configuration information detect second configuration information;
If second configuration information is identical as first configuration information, the rear brake mould to be checked is switched in determination The configuration information of block is correct;
If second configuration information is differed with first configuration information, the rear brake to be checked is switched in determination The configuration information mistake of module.
The present invention also provides a kind of detection devices of configuration information, including:
First acquisition module obtains corresponding function module to be detected according to the function module identification information to be detected of acquisition Configuration information, using the configuration information of acquisition as the first configuration information;
Module is switched, it is active and standby for being carried out to the configuration information of the function module to be detected according to the switch messages of acquisition Disk is switched, wherein the switch messages include switchover mode;
Second acquisition module, for obtaining the configuration information for switching the rear function module to be detected, and matching acquisition Confidence breath is used as the second configuration information;
First detection module, it is whether correct for detecting second configuration information according to first configuration information.
Further include:
Third acquisition module, for obtain function module identification information to be detected input by user and with the measurement of power to be checked It can the corresponding expectation entry number of module id information;Wherein, the expectation entry number is in user and the brake mould to be checked The business entry number of detection it is expected in the corresponding module to be detected of block identification information;
Second detection module, it is whether correct for detected expectation entry number;
First acquisition module, if correct specifically for the expectation entry number obtained, according to the measurement of power to be checked of acquisition The configuration information of the corresponding function module to be detected of energy module id acquisition of information.
Second detection module is specifically used for:
The configuration of corresponding function module identification information to be detected is obtained in the configuration information pre-detection script pre-established Information pre-detection script;
The configuration information pre-detection script obtained is run, the practical entry of business in the function module to be detected is obtained Number;
Whether the practical entry number of business is equal with the expectation entry number of acquisition in detected function module to be detected;
If the practical entry number of business is equal with the expectation entry number of acquisition in the function module to be detected obtained, determine It obtains and it is expected that entry number is correct.
Second acquisition module is specifically used for:
Corresponding function module identification information to be detected is obtained in the configuration information detection script pre-established matches confidence Breath detection script;
The configuration information that operation obtains detects script, obtains the configuration information for switching the rear function module to be detected, and Using the configuration information of acquisition as second configuration information.
The configuration information pre-detection script is functional test tool QTP scripts;
The third acquisition module, specifically for obtaining the user in the figure generated by computer programming language Java Change on interface the function module identification information to be detected that inputs and described corresponding with function module identification information to be detected It is expected that entry number;
Second detection module is specifically additionally operable to:
Using preset Java function calls QTP interfaces, start preassembled QTP softwares;
The configuration information pre-detection script that QTP running softwares obtain is controlled, business in the function module to be detected is obtained Practical entry number.
The configuration information detection script is functional test tool QTP scripts;
Second acquisition module is specifically used for:
Using preset Java function calls QTP interfaces, start preassembled QTP softwares;
It controls the configuration information that QTP running softwares obtain and detects script, obtain the configuration for switching rear function module to be detected Information, and using the configuration information of acquisition as the second configuration information.
Compared with prior art, the present invention is included at least to be obtained according to the function module identification information to be detected of acquisition and be corresponded to Function module to be detected configuration information, and using the configuration information of acquisition as the first configuration information;According to switching for acquisition The configuration information that information treats detection function module carries out switching for master and backup discs;Obtain the configuration for switching rear function module to be detected Information, and using the configuration information of acquisition as the second configuration information;Whether the second configuration information is detected according to the first configuration information Correctly.From technical solution provided by the invention as it can be seen that since function module to be detected can be arbitrary one or more functions Module, switch messages can also be to include the information of any switchover mode, therefore fall to carrying out master and backup discs according to switch messages The configuration information for changing rear function module to be detected carries out the detection of correctness, realizes master and backup discs and switches rear function module to be detected The automatic detection of configuration information improve detection flexibility ratio to dramatically simplifying detection process.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and is obtained in claim and attached drawing.
Description of the drawings
Attached drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is a kind of flow diagram of the detection method of configuration information provided in an embodiment of the present invention;
Fig. 2 is a kind of function module selection interface schematic diagram provided in an embodiment of the present invention;
Fig. 3 is another function module selection interface schematic diagram provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of the detection method of another configuration information provided in an embodiment of the present invention;
Fig. 5 is a kind of pre-detection result schematic diagram of configuration information provided in an embodiment of the present invention;
Fig. 6 is a kind of testing result schematic diagram of configuration information provided in an embodiment of the present invention;
Fig. 7 is the testing result schematic diagram of another configuration information provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of the detection device of configuration information provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of the detection device of another configuration information provided in an embodiment of the present invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature mutually can arbitrarily combine.
The embodiment of the present invention provides a kind of detection method of configuration information, as shown in Figure 1, this method includes:
Step 101 obtains matching for corresponding function module to be detected according to the function module identification information to be detected of acquisition Confidence ceases, and using the configuration information of acquisition as the first configuration information.
It should be noted that the identification information of function module to be detected can be the title of function module to be detected, or Other can be with the information of unique mark function module to be detected.Pair obtained according to the function module identification information to be detected of acquisition The configuration information for the function module to be detected answered is the configuration information for not carrying out the module to be detected that master and backup discs are switched also, these letters Breath is likely located on master, can also be located on standby disk.
Specifically, function module may include virtual LAN (Virtual Local Area Network, VLAN) work( Energy module, trunk function modules, Eline function modules and tunnel function modules etc., if the mark of function module to be detected Information is the title of function module to be detected, then the title of function module to be detected can be generated by user by Java It is manually entered in graphic user interface (Graphical User Interface, GUI), can also be to be supplied in the gui The title of user's all functional modules and corresponding message box, representated by the symbol filled in message box according to user Acquired in information, the title for being supplied to user's all functional modules in the gui and corresponding check box are can also be, with basis User's choosing acquired in situation in check box.Specifically, it is assumed that the function module for being supplied to user all is VLAN Function module, Trunk function modules, Eline function modules and Tunnel function modules, it is assumed that the name of function module to be detected Title is the title for being supplied to user's all functional modules in the gui and corresponding message box, with according to user in message box institute The acquisition of information representated by symbol filled in, then the function module selection interface being presented to the user can with as shown in Fig. 2, Have functionality of vlan module and corresponding message box, trunk function modules and corresponding message box in Fig. 2, Eline function modules and Corresponding message box, tunnel function modules and corresponding message box, it is assumed that symbol " 1 " indicates that selection, symbol " 0 " expression are not selected It selects, then user can be inserted with 0 or 1 in message box corresponding with the title of shown function module on display interface, Assuming that user only wants to the configuration information of detection functionality of vlan module and the configuration information of Eline function modules is carrying out master and backup discs Switch after it is whether correct, then message box corresponding with functionality of vlan module can then neutralize and Eline function moulds in fig. 2 In the corresponding message box of block all insert " 1 ", and in message box corresponding with Trunk function modules and with Tunnel function modules " 0 " all is inserted in corresponding message box, such computer can obtain the entitled of module to be detected:Functionality of vlan module and Eline function modules;Assuming that the title of function module to be detected be supplied in the gui user's all functional modules title and Corresponding check box, with the choosing acquired in situation in check box according to user, then the function module being presented to the user Selection interface can be with as shown in figure 3, it is still assumed that user only wants to the configuration information and Eline functions of detection functionality of vlan module Whether the configuration information of module correct after carrying out the switching of master and backup discs, then functionality of vlan module can then answer in figure 3 It selects in frame and is chosen in the check box of Eline function modules, such computer can obtain the title of module to be detected For:Functionality of vlan module and Eline function modules.
Step 102, the configuration information that detection function module is treated according to the switch messages of acquisition carry out switching for master and backup discs.
Wherein, switch messages include switchover mode.
Specifically, switchover mode may include Forced Switch mode, it is Manual Switch mode, manual removal switchover mode, whole Machine restarts mode and restarts master mode etc..Switchover mode can in the gui be inputted by user, can also be carried in the gui All switchover modes of user are supplied, with acquired according to the user's choice, wherein all switchover modes of be supplied to user It can carry out enumerating display in the gui one by one, can also be shown in together in a drop-down menu, the present invention does not limit this It is fixed.
Step 103, acquisition switch the configuration information of rear function module to be detected, and using the configuration information of acquisition as second Configuration information.
Specifically, switch messages further include switching number;If switching number as twice or more than twice, cycle is executed and obtained Take the operation for the configuration information for switching rear function module to be detected;Wherein, the number for recycling execution is identical as number is switched.
It should be noted that the acquisition for switching number can in the gui be inputted by user.
Specifically, if it is primary to switch number, the primary configuration for obtaining and switching rear function module to be detected is executed The operation of information, the configuration information (i.e. the second configuration information) of the function module to be detected after what is obtained switch be exactly it is primary fall The configuration information of rear function module to be detected is changed, the configuration information for switching rear function module to be detected is obtained twice then executing The configuration information (i.e. the second configuration information) of operation, the function module to be detected after what is obtained switch is exactly to be waited for after once switching The configuration information of detection function module and the configuration information for switching rear function module to be detected twice;If it is n times to switch number, Wherein, N is the integer more than 1, then executing the operation that n times obtain the configuration information for switching rear function module to be detected, is switched The configuration information (i.e. the second configuration information) of function module to be detected afterwards is exactly once to switch matching for rear function module to be detected Confidence ceases ... the .N-1 configuration information for switching rear function module to be detected and n times switch rear function module to be detected with confidence Breath.
Step 104, according to the first configuration information detect the second configuration information it is whether correct.
Specifically, the first configuration information be do not carry out configuration information master and backup discs switch before function module to be detected match confidence Breath, and the second configuration information is the configuration information for having carried out configuration information master and backup discs and having switched rear function module to be detected, therefore root It is whether correct that the second configuration information can be detected according to the first configuration information
The detection method for the configuration information that the embodiment of the present invention is provided identifies according to the function module to be detected of acquisition and believes Breath obtains the configuration information of corresponding function module to be detected, and using the configuration information of acquisition as the first configuration information;According to The configuration information that the switch messages of acquisition treat detection function module carries out switching for master and backup discs;Rear brake to be checked is switched in acquisition The configuration information of module, and using the configuration information of acquisition as the second configuration information;Matched according to the first configuration information detection second Whether confidence breath is correct.From technical solution provided by the invention as it can be seen that since function module to be detected can be arbitrary one Or multiple function modules, switch messages can also be to include the information of any switchover mode, therefore to being carried out according to switch messages Master and backup discs switch rear function module to be detected configuration information carry out correctness detection, realize master and backup discs switch it is rear to be checked The automatic detection of the configuration information of brake module improves detection flexibility ratio to dramatically simplify detection process.
The embodiment of the present invention provides the detection method of another configuration information, as shown in figure 4, this method includes:
Step 201 obtains function module identification information to be detected input by user and is identified with function module to be detected and believed Cease corresponding expectation entry number.
Wherein, it is expected that entry number it is expected for user in the to be detected module corresponding with function module identification information to be detected The business entry number of detection.
Specifically, it is expected that entry number can be input by user, it is assumed that function module to be detected is functionality of vlan module, that Obtaining the expectation entry number corresponding with function module identification information to be detected input by user refers to just:It obtains input by user The business entry number of detection it is expected in functionality of vlan module;Assuming that function module to be detected is functionality of vlan module and Eline Function module, then obtaining the expectation entry number corresponding with function module identification information to be detected input by user and referring to just:It obtains It takes the business entry number input by user for it is expected detection in functionality of vlan module and it is expected detection in Eline function modules Business entry number.
Whether step 202, detected expectation entry number are correct.
Specifically, step 202 can be realized by step 202a~202d:
Step 202a, corresponding function module mark letter to be detected is obtained in the configuration information pre-detection script pre-established The configuration information pre-detection script of breath.
Specifically, configuration information pre-detection script is the script for obtaining the practical entry number of business in all functional modules, If the number of all functional modules is N, configuration information pre-detection script includes the script of this N number of function module, each The script of function module is the script for obtaining the practical entry number of business in the function module, it is therefore desirable in configuration information preliminary examination The configuration information pre-detection script for the information for obtaining the corresponding function module to be detected obtained is surveyed in script.As an example it is assumed that All functional modules include functionality of vlan module, Trunk function modules, Eline function modules and Tunnel function modules, that Configuration information pre-detection script is that configuration information pre-detection script comprising functionality of vlan module, Trunk function modules are matched Confidence cease pre-detection script, Eline function modules configuration information pre-detection script and Tunnel function modules configuration information The whole script of one of pre-detection script, wherein the configuration information pre-detection script of each function module and matching for other function modules It can be by being used to indicate that independent separator separates in script, if brake mould to be checked between confidence breath pre-detection script Block is functionality of vlan module and Tunnel function modules, then obtaining corresponding functionality of vlan module in configuration information pre-detection script The configuration information pre-detection script of this part of the configuration information pre-detection script of this part and corresponding Tunnel function modules.
Step 202b, the configuration information pre-detection script that operation obtains, obtains the reality of business in function module to be detected Entry number.
Specifically, the configuration information pre-detection script obtained may be the script of a function module to be detected, it is also possible to It is the script of multiple function modules to be detected, therefore, the practical entry number of business to be detected in obtained function module to be detected It may be the practical entry number of business to be detected in a module to be detected, it is also possible to industry to be detected in multiple modules to be detected The practical entry number of business.
Specifically, configuration information pre-detection script can be functional test tool QTP scripts, step 201 can be by such as Lower step is realized:
User is obtained in graphic user interface (the Graphical User generated by computer programming language Java Interface, GUI) on the function module identification information to be detected that inputs and corresponding with function module identification information to be detected It is expected that entry number.
Correspondingly, step 202b can be realized by step 202b1,202b2:
Step 202b1, using preset Java function calls QTP interfaces, start preassembled QTP softwares.
It should be noted that the step, which realizes Java, calls QTP softwares, to run QPT scripts in QTP softwares.
Specifically, preset Java functions are QuickTest.Application interface functions.
Step 202b2, the configuration information pre-detection script that control QTP running softwares obtain, obtains function module to be detected The practical entry number of middle business.
Step 202c, in detected function module to be detected the practical entry number of business whether the expectation item with acquisition Mesh number is equal.
If step 202d, the practical entry number of business and the expectation entry number of acquisition in the function module to be detected obtained It is equal, it determines to obtain and it is expected that entry number is correct.
Specifically, if in function module to be detected the practical entry number and acquisition of business to be detected brake mould to be checked The entry number of business to be detected is unequal in block, determines the entry number of the business to be detected in function module to be detected that obtains not just Really, this execution is jumped out, subsequent step is no longer carried out.
If step 203, the expectation entry number obtained are correct, obtained according to the function module identification information to be detected of acquisition The configuration information of corresponding function module to be detected.
Step 204, the configuration information that detection function module is treated according to the switch messages of acquisition carry out switching for master and backup discs.
Wherein, switch messages include switchover mode and switch number;If switching number twice or more than twice, to recycle Execute the operation for obtaining the configuration information for switching rear function module to be detected;Wherein, it recycles the number of execution and switches number phase Together.
Step 205 obtains corresponding function module identification information to be detected in the configuration information detection script pre-established Configuration information detect script.
Specifically, configuration information detection script is the script for the configuration information for obtaining all functional modules, if institute is active The number of energy module is N, then configuration information detection script includes the script of this N number of function module, the foot of each function module Originally it is the script for the configuration information for obtaining the function module, it is therefore desirable to which it is to be detected to obtain correspondence in configuration information detects script The configuration information of the information of function module detects script.As an example it is assumed that all functional modules include functionality of vlan module, Trunk function modules, Eline function modules and Tunnel function modules, then configuration information detection script is to include VLAN The configuration information detection script of function module, the configuration information detection script of Trunk function modules, Eline function modules are matched A whole script for setting infomation detection script and the configuration information detection script of Tunnel function modules, wherein each function module Configuration information detection script and the configuration information pre-detection script of other function modules between can be by being used in script Indicate that independent separator separates, if function module to be detected is functionality of vlan module and Tunnel function modules, Configuration information detects script and obtains the configuration information detection script of this part of corresponding functionality of vlan module and corresponding Tunnel functions The configuration information of this part of module detects script.
The configuration information that step 206, operation obtain detects script, and obtain switching rear function module to be detected matches confidence Breath, and using the configuration information of acquisition as the second configuration information.
Specifically, configuration information detection script can be QTP scripts.Correspondingly, step 206 can by step 206a, 206b is realized:
Step 206a, using preset Java function calls QTP interfaces, start preassembled QTP softwares.
Step 206b, the configuration information that control QTP running softwares obtain detects script, obtains switching rear brake mould to be checked The configuration information of block, and using the configuration information of acquisition as the second configuration information.
Whether step 207, the second configuration information of detection are identical as the first configuration information.
Specifically, if it is primary to switch number, the second configuration information is exactly once to switch rear function module to be detected Configuration information, then detecting, whether the second configuration information is identical as the first configuration information to refer to:Detection waits for after this time switching Whether the configuration information of detection function module is identical as the first configuration information;If it is the second configuration information twice to switch number It is exactly the configuration information once switched the configuration information of rear function module to be detected and switch rear function module to be detected twice, that Whether the second configuration information is identical as the first configuration information refers to for detection:Rear function module to be detected is once switched in detection Whether configuration information is identical as the first configuration information, and whether detection switches the configuration information of rear function module to be detected with the twice One configuration information is identical;If it is n times to switch number, wherein N is the integer more than 1, and the second configuration information is exactly once to switch .N-1 configuration information for switching rear function module to be detected of the configuration information ... of function module to be detected and n times wait for after switching afterwards The configuration information of detection function module, then detecting, whether the second configuration information is identical as the first configuration information to refer to:Detection Detection that whether configuration information for once switching rear function module to be detected is identical as the first configuration information ... is switched for N-1 times rear to be checked Whether the configuration information of brake module is identical as the first configuration information, and detection n times switch the configuration of rear function module to be detected Whether information is identical as the first configuration information.
If step 208, the second configuration information are identical as the first configuration information, rear function module to be detected is switched in determination Configuration information is correct.
If step 209, the second configuration information are differed with the first configuration information, rear function module to be detected is switched in determination Configuration information mistake.
Specifically, if it is primary to switch number, if that the second configuration information is differed with the first configuration information, really The configuration information mistake of rear function module to be detected is switched in this fixed time;If switching number twice or more than twice, See it is which secondary the first configuration information of configuration information for switching rear function module to be detected differs, it is different this time to switch The configuration information of function module to be detected is exactly mistake afterwards.
The detection method for the configuration information that the embodiment of the present invention is provided identifies according to the function module to be detected of acquisition and believes Breath obtains the configuration information of corresponding function module to be detected, and using the configuration information of acquisition as the first configuration information;According to The configuration information that the switch messages of acquisition treat detection function module carries out switching for master and backup discs;Rear brake to be checked is switched in acquisition The configuration information of module, and using the configuration information of acquisition as the second configuration information;Matched according to the first configuration information detection second Whether confidence breath is correct.From technical solution provided by the invention as it can be seen that since function module to be detected can be arbitrary one Or multiple function modules, switch messages can also be to include the information of any switchover mode, therefore to being carried out according to switch messages Master and backup discs switch rear function module to be detected configuration information carry out correctness detection, realize master and backup discs switch it is rear to be checked The automatic detection of the configuration information of brake module improves detection flexibility ratio to dramatically simplify detection process.
The detection method of configuration information provided in an embodiment of the present invention includes mainly two parts, first, carrying out master and backup discs configuration Pre-detection before information switching checks (primarily directed to the entry number of business) configuration present on current device, Ensure that the configuration information in equipment is correct before master and backup discs are switched;Second is that switching for master and backup discs configuration information is carried out, and Front and back configuration information is switched to master and backup discs to compare, the testing result after final output comparison.
Specifically, the pre-detection before master and backup discs configuration information is switched is broadly divided into following several steps:
(data_config, wherein 0 represents and do not detect, 1 represents for step 1, the detection mark inputted in the gui according to user Detection) function module title to be detected is obtained, and obtain the function module to be detected for the expectation detection that user inputs in the gui Business entry number has these information in the Excel tables automatically generated by Java functions, form format JavaTable File, this document is named as Startup_config1 and be stored in and the QTP scripts of configuration information pre-detection where path Under identical path.
Step 2, selection script path call the QTP scripts of configuration information pre-detection, wherein script path can be expanded Markup language (Extensible Markup Language, XML) file is opened up, selects the XML file that can call configuration information The QTP scripts of pre-detection.
Step 3 calls QTP interfaces by the QuickTest.Application interface functions carried in Java, starts QTP softwares.
Step 4 reads the file Startup_ that file format is JavaTable by the Excel components that QTP is carried The file of reading, is converted to the file of DataTable formats by config 1, and this document is named as DataTable_config It 1 and is stored in local QTP.
Step 5 reads DataTable_config 1 by QTP, according to measurement of power to be checked in DataTable_config 1 The title of energy module obtains the QTP scripts of the configuration information pre-detection of corresponding portion in the QTP scripts of configuration information pre-detection And run, generate configuration information pre-detection result (the practical business entry of function module i.e. to be detected of function module to be detected Number).
The result of acquisition is stored in file DataTable_config 1 by step 6, then again by DataTable_ Information in config 1 imports in the Startup_config 1 of file, then by Java function call files Startup_ Config 1, the function module to be detected that will be obtained in the practical business entry number of the function module to be detected of generation and step 1 Business entry number compared, it is in the gui that corresponding message box is shown in green if the two data are consistent, if the two Data are inconsistent, then it represents that testing result does not pass through, and corresponding information money is shown in red, and shows the measurement of power to be checked of generation The business entry number of the function module to be detected obtained in the practical business entry number and step 1 of energy module.Configuration information it is pre- Testing result can be as shown in Figure 5 (wherein, if the two data fill horizontal line when consistent in corresponding message box, if the two data When inconsistent vertical line is filled in corresponding message box), pre-detection result is shown as Fail, due to expectation detection input by user The business entry number of functionality of vlan module is consistent with the practical business entry number of functionality of vlan module, therefore functionality of vlan module pair The message box answered is filled with horizontal line, display the result is that it is input by user it is expected detection functionality of vlan module business entry number (8) and the practical business entry number of functionality of vlan module (8);Due to the Tunnel function moulds input by user for it is expected detection The business entry number of block and the practical business entry number of Tunnel function modules are inconsistent, Tunnel function module corresponding informance frames Filled with vertical line, display the result is that it is input by user it is expected detection Tunnel function modules business entry number (10) and The practical business entry number (1) of Tunnel function modules;Due to the business of the Eline function modules input by user for it is expected detection The practical business entry number of entry number and Eline function modules is inconsistent, and Eline function module corresponding informance frames are filled out with vertical line Fill, display the result is that it is input by user it is expected detection Eline function modules business entry number (4) and Eline function moulds The practical business entry number (0) of block.
Detection after master and backup discs configuration information is switched is broadly divided into following several steps:
(data_config, wherein 0 represents and do not detect, 1 represents for step 1, the detection mark inputted in the gui according to user Detection) function module title to be detected is obtained, obtain switchover mode (data_mode) and switch secondary that user inputs in the gui Number (data_num), and the IP address (data_ip_address) for the master and backup discs place computer switched is obtained, it will These information exist in the Excel tables automatically generated by Java functions, and form format is the file of JavaTable, by this article Part is named as Startup_config2 and is stored under path identical with path where the QTP scripts of configuration information pre-detection.
Step 2, selection script path call the QTP scripts of configuration information detection, wherein script path can be XML texts Part, the QTP scripts for selecting the XML file that configuration information can be called to detect.
Step 3 calls QTP interfaces by the QuickTest.Application interface functions carried in Java, starts QTP softwares.
Step 4 reads the file Startup_ that file format is JavaTable by the Excel components that QTP is carried The file of reading, is converted to the file of DataTable formats by config 2, and this document is named as DataTable_config It 2 and is stored in local QTP.
Step 5 reads data_ipaddress in DataTable_config by QTP, to find phase in webmaster The network element answered, obtaining the configuration information of function module to be detected (function module that data_config intermediate values are 1) (is at this time Javatable formats), the information of acquisition is imported in the QTP of local to the file for forming Datatable formats, this document is named For Startupconfig_before and it is stored under path identical with path where the QTP scripts that configuration information detects.
Step 6 reads DataTable_config 2 by QTP, according to switchover mode in DataTable_config 2 It is switched with the master and backup discs for switching number progress configuration information, after switching each time, according to the name of function module to be detected Claim the QTP scripts for the configuration information detection for obtaining corresponding portion in the QTP scripts that configuration information detects and run, generates The configuration information testing result of the function module to be detected of DataTable formats (switches the configuration of rear function module to be detected Information).
The testing result of the DataTable formats of acquisition is stored in entitled Startupconfig_after's by step 7 In file, the information in Startupconfig_before and Startupconfig_after is compared line by line, into And judges master and backup discs and switch front and back, the phenomenon that whether there is loading error or lose of configuration information.First by comparing result Report is preserved with Datatable formats, then is converted thereof into Excel formats and be stored under specified file path.For the ease of Tester checks testing result, more intuitively shows detection case, can be given birth at the TestResult of operation graphical interfaces At a hyperlink, click can obtain testing result, and (testing result is to be stored in the Excel formats under specified file The Report that Report is converted to html format is exported), the testing result of configuration information can be with as shown in fig. 6, due to every Configuration information after secondary master and backup discs are switched is correct, therefore testing result is shown as Pass, and specific test result can be such as Fig. 7 institutes Show.
Configuration information detection method provided by the invention is by the combination of Java and QTP softwares, one generated using Java GUI can generate configuration information file in such a way that interface inputs, be transmitted according to the parameter in configuration information file and flexibly be adjusted With and change automatic test script.For the tester for automating zero-base plinth, can also more simply and easily it execute Automatic test.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored with computer executable instructions, calculates Machine executable instruction is used to execute the detection method of any of the above-described configuration information.
The embodiment of the present invention also provides a kind of detection device of configuration information, as shown in figure 8, the detection device 3 includes:
First acquisition module 31, for obtaining corresponding measurement of power to be checked according to the function module identification information to be detected of acquisition The configuration information of energy module, using the configuration information of acquisition as the first configuration information.
Module 32 is switched, the configuration information for treating detection function module according to the switch messages of acquisition carries out master and backup discs Switch, wherein switch messages include switchover mode.
Second acquisition module 33, for obtaining the configuration information for switching rear function module to be detected, and by the configuration of acquisition Information is as the second configuration information.
First detection module 34, it is whether correct for detecting the second configuration information according to the first configuration information.
Further, switch messages further include switching number;If switching number as twice or more than twice, cycle is executed and obtained Take the operation for the configuration information for switching rear function module to be detected;Wherein, the number for recycling execution is identical as number is switched.
Further, on the basis of Fig. 8 corresponding embodiments, the embodiment of the present invention provides the detection of another configuration information Device, as shown in figure 9, the detection device 3 further includes:
Third acquisition module 35, for obtain function module identification information to be detected input by user and with brake to be checked The corresponding expectation entry number of module id information;Wherein, it is expected that entry number is in user and function module identification information to be detected The business entry number of detection it is expected in corresponding module to be detected.
Second detection module 36, it is whether correct for detected expectation entry number.
First acquisition module 31, if correct specifically for the expectation entry number obtained, according to the brake to be checked of acquisition The configuration information of the corresponding function module to be detected of module id acquisition of information.
Further, the second detection module 36, is specifically used for:
The configuration of corresponding function module identification information to be detected is obtained in the configuration information pre-detection script pre-established Information pre-detection script.
The configuration information pre-detection script obtained is run, the practical entry number of business in function module to be detected is obtained.
Whether the practical entry number of business is equal with the expectation entry number of acquisition in detected function module to be detected.
If the practical entry number of business is equal with the expectation entry number of acquisition in the function module to be detected obtained, determine It obtains and it is expected that entry number is correct.
Further, the second acquisition module 33 is specifically used for:
Corresponding function module identification information to be detected is obtained in the configuration information detection script pre-established matches confidence Breath detection script.
The configuration information that operation obtains detects script, obtains the configuration information for switching rear function module to be detected, and will obtain The configuration information obtained is as the second configuration information.
Further, configuration information pre-detection script is functional test tool QTP scripts.
Third acquisition module 35 is inputted specifically for acquisition user on the graphic user interface generated by Java to be checked Brake module id information and the expectation entry number corresponding with function module identification information to be detected.
Second detection module 36 is specifically additionally operable to:
Using preset Java function calls QTP interfaces, start preassembled QTP softwares.
The configuration information pre-detection script that QTP running softwares obtain is controlled, the reality of business in function module to be detected is obtained Border entry number.
Further, configuration information detection script is QTP scripts.
Second acquisition module 33 is specifically additionally operable to:
Using preset Java function calls QTP interfaces, start preassembled QTP softwares.
It controls the configuration information that QTP running softwares obtain and detects script, obtain the configuration for switching rear function module to be detected Information, and using the configuration information of acquisition as the second configuration information.
Further, preset Java functions are QuickTest.Application interface functions.
Further, first detection module 34 is specifically used for:
Whether identical as the first configuration information detect the second configuration information.
If the second configuration information is identical as the first configuration information, the configuration information for switching rear function module to be detected is determined Correctly.
If the second configuration information is differed with the first configuration information, determine switch rear function module to be detected match confidence Cease mistake.
The detection device for the configuration information that the embodiment of the present invention is provided identifies according to the function module to be detected of acquisition and believes Breath obtains the configuration information of corresponding function module to be detected, and using the configuration information of acquisition as the first configuration information;According to The configuration information that the switch messages of acquisition treat detection function module carries out switching for master and backup discs;Rear brake to be checked is switched in acquisition The configuration information of module, and using the configuration information of acquisition as the second configuration information;Matched according to the first configuration information detection second Whether confidence breath is correct.From technical solution provided by the invention as it can be seen that since function module to be detected can be arbitrary one Or multiple function modules, switch messages can also be to include the information of any switchover mode, therefore to being carried out according to switch messages Master and backup discs switch rear function module to be detected configuration information carry out correctness detection, realize master and backup discs switch it is rear to be checked The automatic detection of the configuration information of brake module improves detection flexibility ratio to dramatically simplify detection process.
In practical applications, first acquisition module 31, switch module 32, the second acquisition module 33, first detection mould Block 34, third acquisition module 35 and the second detection module 36 can be by the central processing units in the detection device of configuration information (Central Processing Unit, CPU), microprocessor (Micro Processor Unit, MPU), Digital Signal Processing Device (Digital Signal Processor, DSP) or field programmable gate array (Field Programmable Gate Array, FPGA) etc. realizations.
The embodiment of the present invention also provides a kind of device for detecting configuration information, including memory and processor, wherein The following instruction being executed by processor is stored in memory:
The configuration information of corresponding function module to be detected is obtained according to the function module identification information to be detected of acquisition, and Using the configuration information of acquisition as the first configuration information.
The configuration information that detection function module is treated according to the switch messages of acquisition carries out switching for master and backup discs, wherein falls It includes switchover mode to change information.
The configuration information for switching rear function module to be detected is obtained, and matches confidence using the configuration information of acquisition as second Breath.
It is whether correct that the second configuration information is detected according to the first configuration information.
Further, switch messages further include switching number;If switching number as twice or more than twice, cycle is executed and obtained Take the operation for the configuration information for switching rear function module to be detected;Wherein, the number for recycling execution is identical as number is switched.
Further, the following instruction being executed by processor also is stored in memory:
Obtain function module identification information to be detected input by user and corresponding with function module identification information to be detected It is expected that entry number;Wherein, it is expected that entry number be user in the to be detected module corresponding with function module identification information to be detected It is expected that the business entry number of detection.
Whether detected expectation entry number is correct.
If the expectation entry number obtained is correct, corresponding wait is obtained according to the function module identification information to be detected of acquisition The configuration information of detection function module.
Further, the following instruction being executed by processor specifically is stored in memory:
The configuration of corresponding function module identification information to be detected is obtained in the configuration information pre-detection script pre-established Information pre-detection script.
The configuration information pre-detection script obtained is run, the practical entry number of business in function module to be detected is obtained.
Whether the practical entry number of business is equal with the expectation entry number of acquisition in detected function module to be detected.
If the practical entry number of business is equal with the expectation entry number of acquisition in the function module to be detected obtained, determine It obtains and it is expected that entry number is correct.
Further, the following instruction being executed by processor also specifically is stored in memory:
Corresponding function module identification information to be detected is obtained in the configuration information detection script pre-established matches confidence Breath detection script.
The configuration information that operation obtains detects script, obtains the configuration information for switching rear function module to be detected, and will obtain The configuration information obtained is as the second configuration information.
Further, configuration information pre-detection script is QTP scripts.Also specifically be stored in memory it is following can be by processor The instruction of execution:
Obtain the function module identification information to be detected that is inputted on the graphic user interface generated by Java of user and with Expectation entry number corresponding to function module identification information to be detected.
Using preset Java function calls QTP interfaces, start preassembled QTP softwares.
The configuration information pre-detection script that QTP running softwares obtain is controlled, the reality of business in function module to be detected is obtained Border entry number.
Further, configuration information detection script is QTP scripts.Also specifically be stored in memory following can be held by processor Capable instruction:
Using preset Java function calls QTP interfaces, start preassembled QTP softwares.
It controls the configuration information that QTP running softwares obtain and detects script, obtain the configuration for switching rear function module to be detected Information, and using the configuration information of acquisition as the second configuration information.
Further, preset Java functions are QuickTest.Application interface functions.
Further, the following instruction being executed by processor also specifically is stored in memory:
Whether identical as the first configuration information detect the second configuration information.
If the second configuration information is identical as the first configuration information, the configuration information for switching rear function module to be detected is determined Correctly.
If the second configuration information is differed with the first configuration information, determine switch rear function module to be detected match confidence Cease mistake.
Although disclosed herein embodiment it is as above, content only for ease of understanding the present invention and use implementation Mode is not limited to the present invention.Technical staff in any fields of the present invention, do not depart from disclosed herein Under the premise of spirit and scope, any modification and variation can be carried out in the form and details of implementation, but the present invention's is special Sharp protection domain, still should be subject to the scope of the claims as defined in the appended claims.

Claims (15)

1. a kind of detection method of configuration information, which is characterized in that including:
The configuration information of corresponding function module to be detected is obtained according to the function module identification information to be detected of acquisition, and will be obtained The configuration information obtained is as the first configuration information;
Switching for master and backup discs is carried out to the configuration information of the function module to be detected according to the switch messages of acquisition, wherein institute It includes switchover mode to state switch messages;
The configuration information for switching the rear function module to be detected is obtained, and matches confidence using the configuration information of acquisition as second Breath;
It is whether correct that second configuration information is detected according to first configuration information.
2. detection method according to claim 1, which is characterized in that the switch messages further include switching number;
If the number of switching is twice or more than twice, cycle executes the acquisition and switches matching for rear function module to be detected The operation of confidence breath;Wherein, it recycles the number of execution and described to switch number identical.
3. detection method according to claim 1 or 2, which is characterized in that the function module to be detected according to acquisition Before identification information obtains the configuration information of corresponding function module to be detected, further include:
Obtain function module identification information to be detected input by user and corresponding with the function module identification information to be detected It is expected that entry number;Wherein, described it is expected that entry number is user corresponding with the function module identification information to be detected to be checked Survey the business entry number that detection it is expected in module;
Whether detected expectation entry number is correct;
The functional module information to be detected according to acquisition obtains the configuration information of corresponding function module to be detected, including:
If the expectation entry number obtained is correct, obtained according to the function module identification information to be detected of acquisition corresponding to be detected The configuration information of function module.
4. detection method according to claim 3, which is characterized in that the detection, which obtains, it is expected whether entry number is correct, Including:
The configuration information of corresponding function module identification information to be detected is obtained in the configuration information pre-detection script pre-established Pre-detection script;
The configuration information pre-detection script obtained is run, the practical entry number of business in the function module to be detected is obtained;
Whether the practical entry number of business is equal with the expectation entry number of acquisition in detected function module to be detected;
If the practical entry number of business is equal with the expectation entry number of acquisition in the function module to be detected obtained, determines and obtain It is expected that entry number is correct.
5. detection method according to claim 4, which is characterized in that matching for rear function module to be detected is switched in the acquisition Confidence ceases, and using the configuration information of acquisition as the second configuration information, including:
The configuration information inspection of corresponding function module identification information to be detected is obtained in the configuration information detection script pre-established Survey script;
The configuration information that operation obtains detects script, obtains the configuration information for switching the rear function module to be detected, and will obtain The configuration information obtained is as second configuration information.
6. detection method according to claim 5, which is characterized in that the configuration information pre-detection script is functional test Tool QTP scripts;It is described to obtain function module identification information to be detected input by user and identify letter with function module to be detected Corresponding expectation entry number is ceased, including:
Obtain the measurement of power to be checked that the user inputs on the graphic user interface generated by computer programming language Java It can module id information and the expectation entry number corresponding with function module identification information to be detected;
The configuration information pre-detection script that the operation obtains, obtains the practical entry of business in the function module to be detected Number, including:
Using preset Java function calls QTP interfaces, start preassembled QTP softwares;
The configuration information pre-detection script that QTP running softwares obtain is controlled, the reality of business in the function module to be detected is obtained Border entry number.
7. detection method according to claim 6, which is characterized in that the configuration information detection script is QTP scripts;Institute The configuration information detection script that operation obtains is stated, the configuration information for switching rear function module to be detected, and matching acquisition are obtained Confidence breath is used as the second configuration information, including:
Using preset Java function calls QTP interfaces, start preassembled QTP softwares;
It controls the configuration information that QTP running softwares obtain and detects script, obtain the configuration information for switching rear function module to be detected, And using the configuration information of acquisition as the second configuration information.
8. the detection method described according to claim 6 or 7, which is characterized in that the preset Java functions are QuickTest.Application interface functions.
9. detection method according to claim 5, which is characterized in that described according to the second configuration of the first configuration information detection Whether information is correct, including:
Whether identical as first configuration information detect second configuration information;
If second configuration information is identical as first configuration information, the rear function module to be detected is switched in determination Configuration information is correct;
If second configuration information is differed with first configuration information, the rear function module to be detected is switched in determination Configuration information mistake.
10. a kind of detection device of configuration information, which is characterized in that including:
First acquisition module obtains matching for corresponding function module to be detected according to the function module identification information to be detected of acquisition Confidence ceases, using the configuration information of acquisition as the first configuration information;
Module is switched, for carrying out master and backup discs to the configuration information of the function module to be detected according to the switch messages of acquisition It switches, wherein the switch messages include switchover mode;
Second acquisition module matches confidence for obtaining the configuration information for switching the rear function module to be detected, and by acquisition Breath is used as the second configuration information;
First detection module, it is whether correct for detecting second configuration information according to first configuration information.
11. detection device according to claim 10, which is characterized in that further include:
Third acquisition module, for obtain function module identification information to be detected input by user and with the brake mould to be checked The corresponding expectation entry number of block identification information;Wherein, the expectation entry number is in user and the function module mark to be detected Know the business entry number that detection it is expected in the corresponding module to be detected of information;
Second detection module, it is whether correct for detected expectation entry number;
First acquisition module, if correct specifically for the expectation entry number obtained, according to the brake mould to be checked of acquisition The configuration information of the corresponding function module to be detected of block identification acquisition of information.
12. detection device according to claim 11, which is characterized in that second detection module is specifically used for:
The configuration information of corresponding function module identification information to be detected is obtained in the configuration information pre-detection script pre-established Pre-detection script;
The configuration information pre-detection script obtained is run, the practical entry number of business in the function module to be detected is obtained;
Whether the practical entry number of business is equal with the expectation entry number of acquisition in detected function module to be detected;
If the practical entry number of business is equal with the expectation entry number of acquisition in the function module to be detected obtained, determines and obtain It is expected that entry number is correct.
13. detection device according to claim 10, which is characterized in that second acquisition module is specifically used for:
The configuration information inspection of corresponding function module identification information to be detected is obtained in the configuration information detection script pre-established Survey script;
The configuration information that operation obtains detects script, obtains the configuration information for switching the rear function module to be detected, and will obtain The configuration information obtained is as second configuration information.
14. detection device according to claim 12, which is characterized in that the configuration information pre-detection script is surveyed for function Trial work has QTP scripts;
The third acquisition module, specifically for obtaining the user in the graphical user generated by computer programming language Java The function module identification information to be detected inputted on interface and the phase corresponding with function module identification information to be detected Hope entry number;
Second detection module is specifically additionally operable to:
Using preset Java function calls QTP interfaces, start preassembled QTP softwares;
The configuration information pre-detection script that QTP running softwares obtain is controlled, the reality of business in the function module to be detected is obtained Border entry number.
15. detection device according to claim 13, which is characterized in that the configuration information detection script is functional test Tool QTP scripts;
Second acquisition module is specifically used for:
Using preset Java function calls QTP interfaces, start preassembled QTP softwares;
It controls the configuration information that QTP running softwares obtain and detects script, obtain the configuration information for switching rear function module to be detected, And using the configuration information of acquisition as the second configuration information.
CN201711378316.4A 2017-12-19 2017-12-19 Configuration information detection method and detection device Active CN108319531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711378316.4A CN108319531B (en) 2017-12-19 2017-12-19 Configuration information detection method and detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711378316.4A CN108319531B (en) 2017-12-19 2017-12-19 Configuration information detection method and detection device

Publications (2)

Publication Number Publication Date
CN108319531A true CN108319531A (en) 2018-07-24
CN108319531B CN108319531B (en) 2021-04-20

Family

ID=62890834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711378316.4A Active CN108319531B (en) 2017-12-19 2017-12-19 Configuration information detection method and detection device

Country Status (1)

Country Link
CN (1) CN108319531B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791233A (en) * 2004-12-14 2006-06-21 华为技术有限公司 Active/standby single board changeover testing method
CN101159775A (en) * 2007-10-16 2008-04-09 中兴通讯股份有限公司 Hardware module testing system and method
CN101196844A (en) * 2008-01-03 2008-06-11 中兴通讯股份有限公司 System and method of testing hardware module
US8929200B2 (en) * 2012-03-30 2015-01-06 Fujitsu Limited Communication device, communication system, and communication method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791233A (en) * 2004-12-14 2006-06-21 华为技术有限公司 Active/standby single board changeover testing method
CN101159775A (en) * 2007-10-16 2008-04-09 中兴通讯股份有限公司 Hardware module testing system and method
CN101196844A (en) * 2008-01-03 2008-06-11 中兴通讯股份有限公司 System and method of testing hardware module
US8929200B2 (en) * 2012-03-30 2015-01-06 Fujitsu Limited Communication device, communication system, and communication method

Also Published As

Publication number Publication date
CN108319531B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
US10284705B2 (en) Method and apparatus for controlling smart device, and computer storage medium
CN107133174A (en) Test case code automatically generating device and method
CN109495306B (en) Method and equipment for expanding capacity of service network
CN103152229B (en) Monitor control index item Dynamic Configuration
CN107066377B (en) Page element obtaining method based on Android system and terminal equipment
US20220244967A1 (en) Interface calling method and apparatus, and computer-readable storage medium
CN111930290B (en) Resource deployment method and device
US20170270229A1 (en) Information processing method and device and computer storage medium
CN105653338B (en) A kind of update method and device of application
CN105786695A (en) Data test method and system
CN111324540B (en) Interface testing method and device
US20210263837A1 (en) Real time fault localization using combinatorial test design techniques and test case priority selection
CN109471776A (en) A kind of vxworks operating system log collecting method based on Ethernet
WO2017142599A1 (en) Systems and methods for system configuration for communication network devices
CN108717357A (en) Page presentation code conversion method, device, equipment and computer storage media
CN108319531A (en) A kind of detection method and detection device of configuration information
CN111399972B (en) Method and device for capturing packets by virtual machine and computer readable storage medium
WO2021038335A1 (en) Method for onboarding a network function package in onap
CN106354966B (en) The method of the conversion of chip id E project file and rapid configuration artificial debugging environment
CN112507685B (en) YANG file verification method and device, electronic equipment and storage medium
CN115437940A (en) API (application programming interface) testing method suitable for financial cloud platform
CN112099879B (en) Configuration information management method and device, computer equipment and storage medium
JP6382610B2 (en) Simulator system, gateway system test apparatus, and gateway system test method
CN103678134B (en) The acquisition methods and device of the script information of browser pending fault analysis
CN109634712A (en) API function services method, apparatus, equipment and readable storage medium storing program for executing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant