CN109361531A - A kind of communication equipment is not easy to reappear the reproducing method of problem, system and equipment - Google Patents

A kind of communication equipment is not easy to reappear the reproducing method of problem, system and equipment Download PDF

Info

Publication number
CN109361531A
CN109361531A CN201811025192.6A CN201811025192A CN109361531A CN 109361531 A CN109361531 A CN 109361531A CN 201811025192 A CN201811025192 A CN 201811025192A CN 109361531 A CN109361531 A CN 109361531A
Authority
CN
China
Prior art keywords
reappeared
test path
path
communication equipment
test
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
CN201811025192.6A
Other languages
Chinese (zh)
Other versions
CN109361531B (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.)
Wuhan Ruisikangda Communication 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 CN201811025192.6A priority Critical patent/CN109361531B/en
Publication of CN109361531A publication Critical patent/CN109361531A/en
Application granted granted Critical
Publication of CN109361531B publication Critical patent/CN109361531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

It is not easy to reappear reproducing method, system and the equipment of problem the invention discloses a kind of communication equipment, wherein, the reproducing method includes: that all operation/configuration steps by tested communication equipment before problem to be reappeared occurs in set period of time divide multiple sections times according to test executive sequence, and it includes one or more operation/configuration steps arranged side by side that each section time interior;A plurality of test path is generated according to the operation in each section time/configuration step;It controls the tested communication equipment and runs each test path, whether generation by monitoring the problem to be reappeared in the process of running, find out the test path that problem to be reappeared occurs.The present invention can automatically analyze the reproduction condition to go wrong in single device.

Description

A kind of communication equipment is not easy to reappear the reproducing method of problem, system and equipment
Technical field
The present invention relates to communication equipment measuring technology, espespecially a kind of communication equipment is not easy to reappear the reproducing method of problem, is System and equipment.
Background technique
With the development of communication network, network size is increasing, in network the complexity of communication equipment and and other The relevance of communication equipment is increasing.When communication equipment breaks down, because network needs to restore in time, leaves positioning for and ask The time of topic is seldom, and subproblem is thus caused to be difficult to confirm.In addition, problem may no longer occur after network recovery, Further increase the difficulty of the positioning and solution of these problems.In this way, the stability to network brings certain hidden danger.
It is not easy to reappear the generation of problem, analyzes its reason, the unusable problem of remover apparatus, interface or cable itself, It may be related with network environment, operation/configuration sequence and abnormality processing etc..Complexity is usually built by current communication devices provider Running environment, be not easy to reappear the reproduction condition of problem by manual analysis, and carry out network test.
It is limited by technical staff's working experience, knowledge, manual analysis is not easy to reappear the reproduction condition of problem, is easy Existing careless mistake, causes that problem, or the position inaccurate to problem can not be reappeared.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of communication equipment be not easy to reappear problem reproducing method, System and equipment can automatically analyze the reproduction condition to go wrong in single device.
In order to reach the object of the invention, it is not easy to reappear the reproducing method of problem the present invention provides a kind of communication equipment, institute The method of stating includes:
By all operation/configuration steps of the tested communication equipment before problem to be reappeared occurs in set period of time according to survey It includes one or more operation/configuration steps arranged side by side in multiple sections times, each section time that examination execution sequence, which divides,;
A plurality of test path is generated according to the operation in each section time/configuration step;
It controls the tested communication equipment and runs each test path, asked by monitoring described in the process of running wait reappear Whether topic occurs, the test path that problem to be reappeared occurs is found out.
As a kind of implementation, the operation according in each section time/configuration step generates a plurality of test path, packet It includes:
An operation/configuration step is chosen out of each section time;
The step sequence for combining the operation/configuration step chosen out of each section time according to the test executive sequence Column are used as a test path.
As a kind of implementation, the control tested communication equipment runs each test path, by running Whether monitoring problem the to be reappeared generation in the process, the test path that problem to be reappeared occurs is found out, comprising:
Tested communication equipment is controlled successively to test according to the number of run n of preset single test path each item that reruns Path;
The frequency m that every test path waits for reproduction problem when reruning n times is recorded, when m is greater than 0, this Test path is the test path that problem to be reappeared occurs.
As a kind of implementation, the method also includes:
The test path of problem to be reappeared occurs for every, removes wherein to the generation of the problem to be reappeared without contribution Operation/configuration step, to obtain the reproduction path of the problem to be reappeared.
As a kind of implementation, the test path for every occurring problem to be reappeared is removed wherein to described Operation/configuration step of the generation of problem to be reappeared without contribution, to obtain the reproduction path of the problem to be reappeared, comprising:
The test path for every occurring problem to be reappeared, using the test path of generation problem to be reappeared as initial Test path, and it is current test path that the initial testing path, which is arranged,;Remove in current test path any one operation/ Configuration step generates new test path;
For the getable every new test path of institute, controls tested communication equipment and run new test path, running Monitor whether the problem to be reappeared occurs in journey;For the new test path of problem to be reappeared has occurred, judge it includes Whether operation/configuration step number meets preset condition: if so, recording the new test path is target detection path;If it is not, continuing Using the new test path as current test path;
According to the target detection path of record, the reproduction path of the problem to be reappeared is determined.
As a kind of implementation, it is described judgement it includes operation/configuration step number whether meet preset condition, wrap It includes:
Whether operation/configuration step the number for judging that new test path includes is less than or equal to the first preset value;Or
The new test path of problem to be reappeared has occurred compared to the operation that initial testing path has been got rid of/configuration step in judgement Whether operation/configuration step number L2 ratio that rapid number L1 and initial testing path include is greater than or equal to the second preset value.
As a kind of implementation, the method also includes:
The operating condition of tested communication equipment is recorded in real time, and the operating condition includes: the behaviour that tested communication equipment carries out Work/configuration content and operation/configuration sequence;
After being not easy the problem of reappearing generation, using the problem as problem to be reappeared, set from the tested communication of record All operations/configuration step of the tested communication equipment before problem to be reappeared occurs in set period of time is extracted in standby operating condition Suddenly.
It is not easy to reappear the recurrence system of problem the present invention also provides a kind of communication equipment, the system comprises:
Data acquisition module, for all behaviour by tested communication equipment before problem to be reappeared occurs in set period of time Work/configuration step divides multiple sections times according to test executive sequence, each section interior operations arranged side by side including one or more/match Set step;
Test module, for generating a plurality of test path according to the operation in each section time/configuration step;It controls described tested Communication equipment runs each test path, whether generation by monitoring the problem to be reappeared in the process of running, finds out generation The test path of problem to be reappeared.
As a kind of implementation, the test module is a plurality of for being generated according to the operation in each section time/configuration step Test path, comprising:
An operation/configuration step is chosen out of each section time;It will be out of each section time according to the test executive sequence The step sequence that operation/configuration step of selection combines is as a test path.
As a kind of implementation, the test module runs each item test road for controlling the tested communication equipment Diameter finds out the test path that problem to be reappeared occurs whether generation by monitoring the problem to be reappeared in the process of running, wraps It includes:
Tested communication equipment is controlled successively to test according to the number of run n of preset single test path each item that reruns Path;The frequency m that every test path waits for reproduction problem when reruning n times is recorded, when m is greater than 0, this test Path is the test path that problem to be reappeared occurs.
As a kind of implementation, the test module is also used to occur every the test path of problem to be reappeared, Removal is wherein to the generation of the problem to be reappeared without operation/configuration step of contribution, to obtain answering for the problem to be reappeared Existing path.
As a kind of implementation, the test module is gone for every occurring the test path of problem to be reappeared Operation/configuration step except the generation wherein to the problem to be reappeared without contribution, to obtain the reproduction of the problem to be reappeared Path, comprising:
The test path for every occurring problem to be reappeared, using the test path of generation problem to be reappeared as initial Test path, and it is current test path that the initial testing path, which is arranged,;Remove in current test path any one operation/ Configuration step generates new test path;For the getable every new test path of institute, controls tested communication equipment operation and newly survey Path is tried, monitors whether the problem to be reappeared occurs in the process of running;For the new test road of problem to be reappeared has occurred Diameter, judge it includes operation/configuration step number whether meet preset condition: if so, record the new test path as target survey Try path;If it is not, continuing using the new test path as current test path;According to the target detection path of record, institute is determined State the reproduction path of problem to be reappeared.
As a kind of implementation, the test module, for judge it includes operation/configuration step number whether meet Preset condition, comprising:
Whether operation/configuration step the number for judging that new test path includes is less than or equal to the first preset value;Or judgement hair The new test path for having given birth to problem to be reappeared is surveyed compared to operation/configuration step number L1 that initial testing path has been got rid of with initial Whether operation/configuration step number L2 ratio that examination path includes is greater than or equal to the second preset value.
As a kind of implementation, the system also includes:
Logging modle, for recording the operating condition of tested communication equipment in real time, the operating condition includes: tested communication Operation/configuration the content and operation/configuration sequence that equipment carries out;
Data acquisition module is also used to after being not easy the problem of reappearing generation, using the problem as problem to be reappeared, from note Tested communication equipment set period of time before problem to be reappeared occurs is extracted in the operating condition of the tested communication equipment of record Interior all operation/configuration steps.
It is not easy to reappear the reproduction equipment of problem the embodiment of the invention also provides a kind of communication equipment, the equipment includes:
Memory, for storing computer executable instructions;
Processor, for executing the computer executable instructions, to realize that communication equipment as described above is not easy to reappear The step of reproducing method of problem.
The embodiment of the invention also provides a kind of computer readable storage medium, the media storage has computer executable Instruction, the computer executable instructions realize that communication equipment as described above is not easy to reappear answering for problem when being executed by processor The step of existing method.
Compared with prior art, the present invention includes: that in problem to be reappeared preceding set period of time is occurred for tested communication equipment Interior all operation/configuration steps divided in multiple sections times, each section time according to test executive sequence include it is one or more simultaneously Operation/configuration step of column;A plurality of test path is generated according to the operation in each section time/configuration step;It controls described tested logical Letter equipment runs each test path, whether generation by monitoring the problem to be reappeared in the process of running, find out generation to The test path of reproduction problem.The present invention can automatically analyze out the reproduction condition for being not easy to reappear problem in single device, no With building complex environment, it is possible to reduce the possible omission of manual analysis.
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 objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, 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 that communication equipment provided in an embodiment of the present invention is not easy to reappear the reproducing method flow chart of problem;
Fig. 2 is that a kind of test path of the embodiment of the present invention forms schematic diagram;
Fig. 3 is that another communication equipment provided in an embodiment of the present invention is not easy to reappear the reproducing method flow chart of problem;
Fig. 4 is the method flow diagram in the reproduction path that the embodiment of the present invention obtains problem to be reappeared;
Fig. 5 is the method flow schematic diagram for reappearing problem shown in application example of the present invention;
Fig. 6 is that communication equipment provided in an embodiment of the present invention is not easy to reappear the recurrence system comprising modules figure of problem.
Specific embodiment
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 can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
It is not easy to reappear the reproducing method of problem the present invention provides a kind of communication equipment, the method is a kind of automation survey Method for testing can be executed by corresponding automatic test device, and the automatic test device may differ from tested communication equipment It is individually present, may alternatively be integrated on tested communication equipment, as shown in Figure 1, which comprises
S101 presses all operation/configuration steps of the tested communication equipment before problem to be reappeared occurs in set period of time Divide according to test executive sequence includes one or more operation/configuration steps arranged side by side in multiple sections times, each section time;
Operation/configuration step refers to operating procedure in the embodiment of the present invention, and/or, configuration step;
Set period of time before problem to be reappeared occurs can be based on tested in practical application lead to by those skilled in the art The network environment of letter equipment and the business realized are simultaneously empirically determined, and for example, 30 minutes;The number of section time can be by Those skilled in the art are according to operation/configuration number before problem to be reappeared generation, and the warp to such case study to be reappeared Determination is tested, the value of typical section time number is less than or equal to 20, for example, 10.In tested communication equipment operational process in real time Operation/the configuration step for recording tested communication equipment, after triggering the reproduction for treating reproduction problem request, from the record Corresponding contents are extracted, to obtain all operation/configuration steps before problem to be reappeared occurs in set period of time.Each section is taken second place Between sequence be test executive sequence.For example, be divided into 5 sections time, sequence be successively paragraph 1 time, the 2nd section time ..., 5th section time, wherein operation/configuration step in paragraph 1 time is the step of should being performed at first in test process, in the 2nd section time Operation/configuration step be the step of should being secondly performed in test process, and so on, the 5th section operation/configuration step For the step of should being finally performed in test process.Section belonging to operation/configuration step time, can be obtained by looking into mapping table It arrives, which has collected multiple sections corresponding a plurality of operation/configuration contents in advance.In addition, tester can also be by the behaviour of record Work/configuration sequence and operation/configuration content update the mapping table as reference.
S102 generates a plurality of test path according to the operation in each section time/configuration step;
As a kind of implementation, a plurality of test path is generated according to the operation in each section time/configuration step, comprising:
S1021 chooses an operation/configuration step out of each section time;
S1022 combines the operation/configuration step chosen out of each section time according to the test executive sequence Sequence of steps is as a test path.
For that can find the occurrence condition for being not easy to reappear problem, the embodiment of the present invention considers that may cause the problem goes out comprehensively Existing step sequence, obtains each test path under various step combinations.In embodiments of the present invention, a test road Diameter is made of sequence of steps, is specifically formed by an operation in each section time/configuration step according to section time sequence combination, wherein one An operation/configuration step in a section time is referred to as a node.Fig. 2 has shown that a kind of test path forms schematic diagram, shares 5 A section time, successively are as follows: the 0th section (including step Init), paragraph 1 time (including step A, step B and step C), the 2nd section time (including step D, step E and step F), the 3rd section time (including step G and step H) and the 4th section time (including step End). For being tested a kind of situation that communication equipment is network management, step A can be creation PTN ELine business, and step B can be creation PTN ELan business, step C can be creation PTN ETree business;Step D can be modification business, and step E can be deletion Business, step F can be deployment business;Step G can be to carry out source synchronous business to network element, and step H can be deletion Net element business.Step Init and End may respectively be environment and initially clear up with environment, it is ensured that the consistency of initial launch environment.Its The generation of whole test paths can be obtained by following algorithm.
PathList (Init, End)={ PL (Init, A)+PL (A, End), PL (Init, B)+PL (B, End), PL (Init,C)+PL(C,End)};Wherein,
PL (A, End)={ PL (A, D)+PL (D, End), PL (A, E)+PL (E, End), PL (A, F)+PL (F, End) },
PL (B, End)={ PL (B, D)+PL (D, End), PL (B, E)+PL (E, End), PL (B, F)+PL (F, End) },
PL (C, End)={ PL (C, D)+PL (D, End), PL (C, E)+PL (E, End), PL (C, F)+PL (F, End) }
And so on, until obtaining 18 whole test paths:
1st article of test path: PL (Init, A)+PL (A, D)+PL (D, G)+PL (G, End), i.e. step Init+A+D+G+ End;
2nd article of test path: PL (Init, A)+PL (A, D)+PL (D, H)+PL (H, End), i.e. step Init+A+D+H+ End;
3rd article of test path: PL (Init, A)+PL (A, E)+PL (E, G)+PL (G, End), i.e. step Init+A+E+G+ End;
4th article of test path: PL (Init, A)+PL (A, E)+PL (E, H)+PL (H, End), i.e. step Init+A+E+H+ End;
5th article of test path: PL (Init, A)+PL (A, F)+PL (F, G)+PL (G, End), i.e. step Init+A+F+G+ End;
6th article of test path: PL (Init, A)+PL (A, F)+PL (F, H)+PL (H, End), i.e. step Init+A+F+H+ End;
... etc..
S103 controls the tested communication equipment and runs each test path, described to multiple by monitoring in the process of running Whether existing problem occurs, the test path that problem to be reappeared occurs is found out.
In the embodiment of the present invention, operation/configuration step may include one or more of:
Operation/configuration step mark, operation/configuration step content description and operation/configuration step execution code.
Operation test path includes: the operation/configuration step sequence execution code for executing the path and being included.
When operation/configuration step includes operation/configuration step mark, and/or, it, can when operation/configuration step content describes After obtaining whole test paths, for each of these test path: obtaining test script and the test of the test path Data;It controls tested communication equipment and test script is executed based on acquired test data, to carry out asking under the test path Topic reproduction test, wherein described problem reproduction test can include: real-time monitoring is tested communication equipment in the mistake of operation test path Whether to be reappeared problem is occurred in journey;If occurring, the test script of the test path or execution is recorded.If not occurring, Determine that the test path is invalid.In the present embodiment, each operation that the test script of test path includes by the path/configuration step Rapid execution code composition, wherein the execution sequence for executing code is the section time sequence of corresponding step;The test number of test path According to data needed for each operation/configuration step for including for the execution path.Illustratively, each operation/configuration step is held Line code and required data can be searched from the fundamental operation library being pre-created, if searching failure, reception user is directed to should Operation/configuration step typing execution code and required data, and be stored in the fundamental operation library.
In view of in practical applications, the properity of tested communication equipment and the network environment at place often all compare More many and diverse, the occurrence cause of some failure problems is also intricate therewith, even if performed operation/configuration step content It is sequentially identical, it is also possible to obtain entirely different operation result.In response to this, as a kind of implementation, The above-mentioned control tested communication equipment runs each test path, is sent out by monitoring the problem to be reappeared in the process of running Whether raw, the test path that problem to be reappeared occurs is found out, comprising:
S1031 controls tested communication equipment and successively reruns respectively according to the number of run n of preset single test path Test path;The value of n according to the generation frequency of problem to be reappeared before testing and can combine warp by those skilled in the art Estimation is tested to obtain.If problem to be reappeared frequently occurs very much in engineering operation, n can be set it is relatively smaller, such as 10.If the accidental appearance of problem to be reappeared in engineering operation, reproduction probability it is lower, n can be set it is relatively larger, such as 50;
S1032 records the frequency m that every test path waits for reproduction problem when reruning n times, should when m is greater than 0 Test path is the test path that problem to be reappeared occurs.
As a kind of implementation, it is right under each test path that the present invention can also calculate problem to be reappeared according to m and n The reproduction probability answered;When n is a fixed value, m is bigger, and reproduction probability is bigger;For example, the reproduction probability is m/n;With reproduction Probability determines each test path to the contribution margin that problem to be reappeared occurs, by the maximum test of contribution margin as reference factor Reproduction path of the path as problem to be reappeared.Illustratively, will reproduction probability as test path to problem to be reappeared occurs Contribution margin, reproduction probability it is bigger, corresponding test path treat reproduction problem generation contribution it is bigger, be more likely to be this Test path leads to the generation of problem to be reappeared.
Since problem to be reappeared is usually to be not easy to reappear problem, often more difficult reproduction, the above embodiment of the present invention is to can All operation/configuration steps of problem to be reappeared can be caused time to be arranged and combined by section, and then by all possible step Combination is tested as test path, considerably increases the occurrence probability of problem, and can be bright when problem occurs True positioning causes the courses of action of the problem.
In other embodiments of the present invention, test road can be further simplified in the case where testing out problem to be reappeared and occurring Diameter removes part of operation/configuration step, continues to test, to find the perfectly correlated operation/configuration step of problem, thus The accurate positioning of problem of implementation occurrence condition.As shown in figure 3, the above method further include:
S104 occurs every the test path of problem to be reappeared, and removes wherein to the generation nothing of the problem to be reappeared Operation/configuration step of contribution, to obtain the reproduction path of the problem to be reappeared.
In the test path that problem to be reappeared occurs at every, if after removing certain operation/configuration step, problem to be reappeared Can still it occur, then the operation/configuration step, which can be determined that, occurs the operation without contribution to the problem to be reappeared/is matched Set step.Reproduction path wait reappear problem can each target detection after eliminating operation/configuration step of no contribution Determination obtains in path, and the target detection path or all target detection paths of for example, reproduction maximum probability are reproduction Path, the present embodiment are not especially limited this.
As a kind of implementation, every occurs the test path of problem to be reappeared, removal is wherein to described to multiple The generation of existing problem is without operation/configuration step of contribution, to obtain the reproduction path of the problem to be reappeared, as shown in figure 4, packet It includes:
S1041 occurs every the test path of problem to be reappeared, and the test path of generation problem to be reappeared is made For initial testing path, and it is current test path that the initial testing path, which is arranged,;
S1042 removes any one operation/configuration step in current test path, generates new test path;
S1043 controls tested communication equipment and runs new test path, transporting for the getable every new test path of institute Monitor whether the problem to be reappeared occurs during row;If so, executing step S1044;
S1044 for the new test path of problem to be reappeared has occurred, judge it includes operation/configuration step number whether Meet preset condition;If so, executing step S1045;If it is not, executing step S1046;
It is target detection path that S1045, which records the new test path,.
S1046 continues to execute step S1042 using the new test path as current test path.
Assuming that current test path is sequence of steps ABCDE, by remove any one operation in current test path/ Configuration step, the new test path of each item that can be generated are as follows: 1. remove the step sequence B CDE obtained after step A;2. removal step The step sequence ACDE obtained after rapid B;3. the step sequence ABDE obtained after removal step C;4. the step of removal step D is obtained Sequence ABCE;5. the step sequence ABCD obtained after removal step E.
If executing step S1042-S1043, after removing an operation/configuration step in current test path, control Tested communication equipment runs new test path, and monitoring the problem to be reappeared in the process of running, there is no illustrating this institute Operation/configuration step of removal is likely to the condition that problem to be reappeared occurs, and can record the occurrence condition and restores this and goes Except preoperative current test path, then reselects a new operation/configuration step and be removed operation to generate new survey Try path, continue to execute step S1043 and control tested communication equipment and run new test path, in the process of running monitoring it is described to Whether reproduction problem occurs.If removing all new test roads that an operation/configuration step obtains to current test path When not occurring under diameter wait reappear problem, then recording the current test path is target detection path.According to all mesh of record Mark the reproduction path that test path determines the problem to be reappeared.
As a kind of implementation, above-mentioned judgement for the new test path of problem to be reappeared has occurred, it includes behaviour Whether work/configuration step number meets preset condition, comprising:
When the operation that new test path includes/configuration step number is less than or equal to the first preset value, meet preset condition, First preset value can be 1;Or
When the new test path that problem to be reappeared has occurred compares the operation/configuration step got rid of in initial testing path When operation/configuration step number L2 ratio that number L1 and initial testing path include is greater than or equal to the second preset value, meet pre- If condition, second preset value can be 1/3.
Specifically above-described embodiment is illustrated using example with one below.One in one current test path Operation/configuration step can be considered a node.Each node has a weight, weight reference value (0,1), the meaning of weighted value The following table 1 can be referred to:
Weight Meaning
0 The node is invalid, is not performed
1 The node is effective, is performed
Table 1
Test path current for one, executes operation: setting 0 for one of node weight value, other nodes Weighted value is set as 1, obtains new test path, runs the frequency m that new test path n times record problem to be reappeared;If m= 0, i.e., reduce that the node is invalid on the new test path, then the algorithm on the new test path stops;If m is greater than 0, the new survey Trying path is the test path that problem to be reappeared occurs, and calculates reproduction probability with m/n, while recording the new test road of reproduction Diameter.
The new test path of reproduction, can continue cycling through execution aforesaid operations, and verifying is further reduced a node, treats Whether reproduction problem occurs, and stops after being the 1/3 of test path total node number in the number of nodes of reduction.To which optimization obtains letter The step of the problem of change reappears can merge if the step of obtaining repetition, and the result of optimization is recorded and is output to report In.It can be found in reproduction flow diagram shown in fig. 5.Assuming that Fig. 2 shows all test paths in, problem repetition path ( The path of problem to be reappeared has occurred in initial testing path) are as follows: ADG, BFH.Firstly, the quantity according to node obtains Xij (i is the total node number in problem repetition path, j is reduced number of nodes (number of nodes got rid of)) are as follows: 011,101,110, The number that wherein 1 number is i-j-1,0 is 1.Problem repetition path 1:ADG and 011,101,110 carry out with operation, obtain The new problem reproduction path for needing to verify after a step is fallen in optimization are as follows: DG, AG, AD.DG is first verified, the frequency n that reruns is set It is 10, obtains m, if m > 0, and the new test path that problem to be reappeared has occurred compares the behaviour that initial testing path has been got rid of Ratio >=1/3 operation/configuration step number L2 that work/configuration step number L1 and initial testing path include directly exports newly Problem repetition path is DG;If m=0 records result.The same verifying for carrying out AG, AD.If the m under DG, AG and AD verifying is equal Equal to 0, then exporting problem repetition path is ADG;If m has the output not equal to zero, corresponding all paths are exported, and calculate Corresponding reproduction probability.
In other embodiments of the present invention, the above method further include:
The operating condition of tested communication equipment is recorded in real time, and the operating condition includes: the behaviour that tested communication equipment carries out Work/configuration content and operation/configuration sequence.The step can execute before step S100, correspondingly, step S100 can be not After the problem of easily reappearing occurs, using the problem as problem to be reappeared, extracted from the tested communication equipment operating condition of record From all operation/configuration steps of the tested communication equipment before problem to be reappeared occurs in set period of time.
As a kind of implementation, the operating condition can also include:
Communication equipment receives and dispatches message situation, abnormal conditions, state change situation and equipment performance situation.It is wherein tested logical Believe unit exception situation can include: occur in device looses power, operational process be restarted automatically or internal module is not available Deng;Tested state of communication equipment situation of change can include: equipment interface is become not working from working condition;Equipment performance situation can It include: CPU and internal memory performance, error code/mistake packet performance, delay performance etc..
Illustratively, the operating condition of record equipment under test in real time, comprising: record the operation of nearest M (such as 100) item/ Configuration content and corresponding sequence, N (such as 1000) a message received and dispatched recently, and nearest setting time window (such as 5 points Clock) in abnormal conditions, state change situation and equipment performance situation.
It, can also be in reproduction probability when the real-time abnormal conditions and/or equipment performance situation for recording tested communication equipment On the basis of combine other reference factors (such as abnormal conditions and/or performance of the equipment under test under each test path of record Situation), determine that each test path treats the contribution of reproduction problem generation jointly.There is more frequent, performance indicator in abnormal conditions Poorer test path, often closer to the occurrence condition of problem to be reappeared.Illustratively, for any test path:
The abnormal conditions frequency of the equipment under test under the test path is obtained, and searches the abnormal conditions frequency Corresponding proportionality coefficient, wherein proportionality coefficient is greater than 0 and less than 1, or is equal to 0, and abnormal conditions frequency is bigger, proportionality coefficient It is bigger;The corresponding ratio system of the abnormal conditions frequency can be determined as follows:
Mode one looks into mapping table, and the mapping table describes abnormal conditions frequency range and ratio system Corresponding relationship between number;Mode two is calculated using the calculation formula of setting, and it is secondary which need to guarantee that abnormal conditions occur Number is bigger, and proportionality coefficient is bigger, such as abnormal frequency is directly proportional to proportionality coefficient, and wherein, k is proportionality coefficient to k=n/ α, N is abnormal conditions frequency, and α is the maximum value of the abnormal conditions frequency of statistics, can be pre-configured with.
The reproduction probability of the problem to be reappeared obtained under the test path is weighted with the proportionality coefficient found;
If it is determined that the performance indicator of the equipment under test under the test path is abnormal, according to preset corresponding with the performance indicator Abnormal amplification factor, weighted results are multiplied with the abnormal amplification factor, i.e., the weighted results are amplified to obtain The test path treats the contribution margin of reproduction problem generation.Abnormal amplification factor is empirically derived by those skilled in the art.
The embodiment of the present invention realizes the accurate positioning for being not easy to reappear problem occurrence condition.
It is not easy to reappear the recurrence system of problem the embodiment of the invention also provides a kind of communication equipment, as shown in fig. 6, described System includes:
Data acquisition module 601, for the institute by tested communication equipment before problem to be reappeared occurs in set period of time Having operation/configuration step to divide according to test executive sequence includes one or more behaviour arranged side by side in multiple sections times, each section time Work/configuration step;
Operation/configuration step refers to operating procedure in the embodiment of the present invention, and/or, configuration step;
Set period of time before problem to be reappeared occurs can be based on tested in practical application lead to by those skilled in the art The network environment of letter equipment and the business realized are simultaneously empirically determined, and for example, 30 minutes;The number of section time can be by Those skilled in the art are according to operation/configuration number before problem to be reappeared generation, and the warp to such case study to be reappeared Determination is tested, the value of typical section time number is less than or equal to 20, for example, 10.It can be in tested communication equipment operational process Operation/the configuration step for recording tested communication equipment in real time by the logging modle being arranged in systems, is treated again triggering After the reproduction request of existing problem, corresponding contents are extracted from the record, to obtain the setting time before problem to be reappeared occurs All operation/configuration steps in section.Sequence between each section time is test executive sequence.For example, 5 sections time are divided into, Its sequence be successively paragraph 1 time, the 2nd section time ..., the 5th section time, wherein operation/configuration step in paragraph 1 time is to test The step of Cheng Zhongying is performed at first, the 2nd section interior operation/configuration step are the step that should be secondly performed in test process Suddenly, and so on, the 5th section operation/configuration step is the step of should being finally performed in test process.Operation/configuration step Section time belonging to rapid, can be obtained by looking into mapping table, which has collected multiple sections corresponding a plurality of operation/configurations in advance Content.In addition, tester can also be reflected described in update using operation/configuration sequence of record and operation/configuration content as referring to Penetrate relation table.
Test module 602, for generating a plurality of test path according to the operation in each section time/configuration step;Described in control Tested communication equipment runs each test path, whether generation by monitoring the problem to be reappeared in the process of running, finds out The test path of problem to be reappeared occurs.
As a kind of implementation, test module 602 is a plurality of for being generated according to the operation in each section time/configuration step Test path, comprising: an operation/configuration step is chosen out of each section time;It will be from each according to the test executive sequence The step sequence that the operation/configuration step chosen in section time combines is as a test path.It is not easy again for that can find The occurrence condition of existing problem, the embodiment of the present invention consider may cause comprehensively the step of problem occurs sequentially, obtain various steps Each test path under rapid combination.In embodiments of the present invention, a test path is made of sequence of steps, specifically by An operation/configuration step in each section time is formed according to section time sequence combination, an operation/configuration in one of section time Step is referred to as a node.Fig. 2 has shown that a kind of test path forms schematic diagram, shares 5 sections time, successively are as follows: the 0th section time (include step Init), paragraph 1 time (including step A, step B and step C), the 2nd section time (include step D, step E and Step F), the 3rd section time (including step G and step H) and the 4th section time (comprising step End).It is net for tested communication equipment A kind of situation of pipe, step A can be creation PTN ELine business, and step B can be creation PTN ELan business, and step C can Think creation PTN ETree business;Step D can be modification business, and step E can be deletion business, and step F can be portion Administration's business;Step G can be to carry out source synchronous business to network element, and step H can be deletion net element business.Step Init and End may respectively be environment and initially clear up with environment, it is ensured that the consistency of initial launch environment.The generation of its whole test path, It can be obtained by following algorithm.
PathList (Init, End)={ PL (Init, A)+PL (A, End), PL (Init, B)+PL (B, End), PL (Init,C)+PL(C,End)};Wherein,
PL (A, End)={ PL (A, D)+PL (D, End), PL (A, E)+PL (E, End), PL (A, F)+PL (F, End) },
PL (B, End)={ PL (B, D)+PL (D, End), PL (B, E)+PL (E, End), PL (B, F)+PL (F, End) },
PL (C, End)={ PL (C, D)+PL (D, End), PL (C, E)+PL (E, End), PL (C, F)+PL (F, End) }
And so on, until obtaining 18 whole test paths:
1st article of test path: PL (Init, A)+PL (A, D)+PL (D, G)+PL (G, End), i.e. step Init+A+D+G+ End;
2nd article of test path: PL (Init, A)+PL (A, D)+PL (D, H)+PL (H, End), i.e. step Init+A+D+H+ End;
3rd article of test path: PL (Init, A)+PL (A, E)+PL (E, G)+PL (G, End), i.e. step Init+A+E+G+ End;
4th article of test path: PL (Init, A)+PL (A, E)+PL (E, H)+PL (H, End), i.e. step Init+A+E+H+ End;
5th article of test path: PL (Init, A)+PL (A, F)+PL (F, G)+PL (G, End), i.e. step Init+A+F+G+ End;
6th article of test path: PL (Init, A)+PL (A, F)+PL (F, H)+PL (H, End), i.e. step Init+A+F+H+ End;
... etc..
In the embodiment of the present invention, operation/configuration step may include one or more of:
Operation/configuration step mark, operation/configuration step content description and operation/configuration step execution code.
Operation test path includes: the operation/configuration step sequence execution code for executing the path and being included.
When operation/configuration step includes operation/configuration step mark, and/or, it, can when operation/configuration step content describes After obtaining whole test paths, for each of these test path: obtaining test script and the test of the test path Data;It controls tested communication equipment and test script is executed based on acquired test data, to carry out asking under the test path Topic reproduction test, wherein described problem reproduction test can include: real-time monitoring is tested communication equipment in the mistake of operation test path Whether to be reappeared problem is occurred in journey;If occurring, the test script of the test path or execution is recorded.If not occurring, Determine that the test path is invalid.In the present embodiment, each operation that the test script of test path includes by the path/configuration step Rapid execution code composition, wherein the execution sequence for executing code is the section time sequence of corresponding step;The test number of test path According to data needed for each operation/configuration step for including for the execution path.Illustratively, each operation/configuration step is held Line code and required data can be searched from the fundamental operation library being pre-created, if searching failure, reception user is directed to should Operation/configuration step typing execution code and required data, and be stored in the fundamental operation library.
In view of in practical applications, the properity of tested communication equipment and the network environment at place often all compare More many and diverse, the occurrence cause of some failure problems is also intricate therewith, even if performed operation/configuration step content It is sequentially identical, it is also possible to obtain entirely different operation result.In response to this, as a kind of implementation, Test module 602 runs each test path for controlling the tested communication equipment, described by monitoring in the process of running Whether problem to be reappeared occurs, the test path that problem to be reappeared occurs is found out, comprising:
Tested communication equipment is controlled successively to test according to the number of run n of preset single test path each item that reruns Path;The frequency m that every test path waits for reproduction problem when reruning n times is recorded, when m is greater than 0, this test Path is the test path that problem to be reappeared occurs.The value of n can be asked according to before test wait reappear by those skilled in the art The generation frequency of topic simultaneously is estimated to obtain in conjunction with experience.If problem to be reappeared frequently occurs very much in engineering operation, n can be with Setting is relatively smaller, such as 10.If the accidental appearance of problem to be reappeared in engineering operation, reproduction probability is lower, and n can be set Set it is relatively larger, such as 50.
As a kind of implementation, it is right under each test path that the present invention can also calculate problem to be reappeared according to m and n The reproduction probability answered;When n is a fixed value, m is bigger, and reproduction probability is bigger;For example, the reproduction probability is m/n;With reproduction Probability determines each test path to the contribution margin that problem to be reappeared occurs, by the maximum test of contribution margin as reference factor Reproduction path of the path as problem to be reappeared.Illustratively, will reproduction probability as test path to problem to be reappeared occurs Contribution margin, reproduction probability it is bigger, corresponding test path treat reproduction problem generation contribution it is bigger, be more likely to be this Test path leads to the generation of problem to be reappeared.
Since problem to be reappeared is usually to be not easy to reappear problem, often more difficult reproduction, the above embodiment of the present invention is to can All operation/configuration steps of problem to be reappeared can be caused time to be arranged and combined by section, and then by all possible step Combination is tested as test path, considerably increases the occurrence probability of problem, and can be bright when problem occurs True positioning causes the courses of action of the problem.
In other embodiments of the present invention, test road can be further simplified in the case where testing out problem to be reappeared and occurring Diameter removes part of operation/configuration step, continues to test, to find the perfectly correlated operation/configuration step of problem, thus The accurate positioning of problem of implementation occurrence condition.As a kind of implementation, the test module 602 is also used to send out every The test path of raw problem to be reappeared, removal wherein to the generation of the problem to be reappeared without operation/configuration step of contribution, with Obtain the reproduction path of the problem to be reappeared.In the test path that problem to be reappeared occurs at every, if remove certain operation/ After configuration step, problem to be reappeared can still occur, then the operation/configuration step can be determined that and be asked wait reappear described Operation/configuration step without contribution occurs for topic.It the reproduction path of problem to be reappeared can be from the operation/configuration for eliminating no contribution Determination obtains in each target detection path after step, for example, reappears the target detection path of maximum probability, or all Target detection path is reproduction path, and the present embodiment is not especially limited this.
As a kind of implementation, the test module 602, for every occurring the test road of problem to be reappeared Diameter, removal is wherein to the generation of the problem to be reappeared without operation/configuration step of contribution, to obtain the problem to be reappeared Reappear path, comprising:
The test path for every occurring problem to be reappeared, using the test path of generation problem to be reappeared as initial Test path, and it is current test path that the initial testing path, which is arranged,;Remove in current test path any one operation/ Configuration step generates new test path;For the getable every new test path of institute, controls tested communication equipment operation and newly survey Path is tried, monitors whether the problem to be reappeared occurs in the process of running;For the new test road of problem to be reappeared has occurred Diameter, judge it includes operation/configuration step number whether meet preset condition: if so, record the new test path as target survey Try path;If it is not, continuing using the new test path as current test path;According to the target detection path of record, institute is determined State the reproduction path of problem to be reappeared.
As a kind of implementation, the test module 602, for judge it includes operation/configuration step number whether Meet preset condition, comprising:
Judge whether operation/configuration step number that new test path includes is less than or equal to the first preset value, meets default Condition, first preset value can be 1;Or the new test path of problem to be reappeared has occurred and is gone compared to initial testing path The operation that the operation removed/configuration step number L1 includes with initial testing path/configuration step number L2 ratio is greater than or equal to When the second preset value, meet preset condition, second preset value can be 1/3.
As a kind of implementation, the system also includes:
Logging modle 603, for recording the operating condition of tested communication equipment in real time, the operating condition includes: tested Operation/configuration the content and operation/configuration sequence that communication equipment carries out;
Data acquisition module 601 is also used to after being not easy the problem of reappearing and occurring, using the problem as problem to be reappeared, Tested communication equipment is extracted from the operating condition of the tested communication equipment of record in the setting before reappearing problem and occurring Between all operation/configuration steps in section.
As a kind of implementation, the operating condition can also include:
Communication equipment receives and dispatches message situation, abnormal conditions, state change situation and equipment performance situation.It is wherein tested logical Believe unit exception situation can include: occur in device looses power, operational process be restarted automatically or internal module is not available Deng;Tested state of communication equipment situation of change can include: equipment interface is become not working from working condition;Equipment performance situation can It include: CPU and internal memory performance, error code/mistake packet performance, delay performance etc..
Illustratively, the operating condition of record equipment under test in real time, comprising: record the operation of nearest M (such as 100) item/ Configuration content and corresponding sequence, N (such as 1000) a message received and dispatched recently, and nearest setting time window (such as 5 points Clock) in abnormal conditions, state change situation and equipment performance situation.
When the real-time abnormal conditions and/or equipment performance situation for recording tested communication equipment, the test module may be used also For combining other reference factors on the basis of reappearing probability, (such as the equipment under test under each test path of record is different Reason condition and/or behavior pattern), determine that each test path treats the contribution of reproduction problem generation jointly.Abnormal conditions occur Test path more frequent, performance indicator is poorer, often closer to the occurrence condition of problem to be reappeared.Illustratively, for Any test path:
The abnormal conditions frequency of the equipment under test under the test path is obtained, and searches the abnormal conditions frequency Corresponding proportionality coefficient, wherein proportionality coefficient is greater than 0 and less than 1, or is equal to 0, and abnormal conditions frequency is bigger, proportionality coefficient It is bigger;The corresponding ratio system of the abnormal conditions frequency can be determined as follows:
Mode one looks into mapping table, and the mapping table describes abnormal conditions frequency range and ratio system Corresponding relationship between number;Mode two is calculated using the calculation formula of setting, and it is secondary which need to guarantee that abnormal conditions occur Number is bigger, and proportionality coefficient is bigger, such as abnormal frequency is directly proportional to proportionality coefficient, and wherein, k is proportionality coefficient to k=n/ α, N is abnormal conditions frequency, and α is the maximum value of the abnormal conditions frequency of statistics, can be pre-configured with.
The reproduction probability of the problem to be reappeared obtained under the test path is weighted with the proportionality coefficient found;
If it is determined that the performance indicator of the equipment under test under the test path is abnormal, according to preset corresponding with the performance indicator Abnormal amplification factor, weighted results are multiplied with the abnormal amplification factor, i.e., the weighted results are amplified to obtain The test path treats the contribution margin of reproduction problem generation.Abnormal amplification factor is empirically derived by those skilled in the art.
The embodiment of the present invention realizes the accurate positioning for being not easy to reappear problem occurrence condition.
It is not easy to reappear the reproduction equipment of problem the embodiment of the invention also provides a kind of communication equipment, the equipment includes:
Memory, for storing computer executable instructions;
Processor, for executing the computer executable instructions, to realize communication equipment described in embodiment as above not The step of easily reappearing the reproducing method of problem.
The embodiment of the invention also provides a kind of computer readable storage medium, the media storage has computer executable Instruction, the computer executable instructions realize that communication equipment described in embodiment as above is not easy reproduction and asks when being executed by processor The step of reproducing method of topic
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non- Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information Delivery media.

Claims (16)

1. a kind of communication equipment is not easy to reappear the reproducing method of problem, which is characterized in that the described method includes:
All operation/configuration steps of the tested communication equipment before problem to be reappeared occurs in set period of time are held according to test It includes one or more operation/configuration steps arranged side by side in multiple sections times, each section time that row sequence, which divides,;
A plurality of test path is generated according to the operation in each section time/configuration step;
It controls the tested communication equipment and runs each test path, sent out by monitoring the problem to be reappeared in the process of running Whether raw, the test path that problem to be reappeared occurs is found out.
2. communication equipment according to claim 1 is not easy to reappear the reproducing method of problem, which is characterized in that according to each section time Interior operation/configuration step generates a plurality of test path, comprising:
An operation/configuration step is chosen out of each section time;
Make according to the step sequence that the test executive sequence combines the operation/configuration step chosen out of each section time For a test path.
3. communication equipment according to claim 1 is not easy to reappear the reproducing method of problem, which is characterized in that the control institute It states tested communication equipment and runs each test path, whether generation by monitoring the problem to be reappeared in the process of running, look for The test path of problem to be reappeared occurs out, comprising:
It controls tested communication equipment and successively tests road according to the number of run n of preset single test path each item that reruns Diameter;
The frequency m that every test path waits for reproduction problem when reruning n times is recorded, when m is greater than 0, this test Path is the test path that problem to be reappeared occurs.
4. communication equipment according to any one of claim 1 to 3 is not easy to reappear the reproducing method of problem, feature exists In, the method also includes:
The test path of problem to be reappeared occurs for every, removes wherein to the generation of the problem to be reappeared without the behaviour of contribution Work/configuration step, to obtain the reproduction path of the problem to be reappeared.
5. communication equipment according to claim 4 is not easy to reappear the reproducing method of problem, which is characterized in that every is sent out The test path of raw problem to be reappeared, removal wherein to the generation of the problem to be reappeared without operation/configuration step of contribution, with Obtain the reproduction path of the problem to be reappeared, comprising:
The test path for every occurring problem to be reappeared, using the test path of generation problem to be reappeared as initial testing Path, and it is current test path that the initial testing path, which is arranged,;Remove any one operation/configuration in current test path Step generates new test path;
For the getable every new test path of institute, controls tested communication equipment and run new test path, in the process of running Monitor whether the problem to be reappeared occurs;For the new test path of problem to be reappeared has occurred, judge it includes operation/ Whether configuration step number meets preset condition: if so, recording the new test path is target detection path;If it is not, continue should New test path is as current test path;
According to the target detection path of record, the reproduction path of the problem to be reappeared is determined.
6. communication equipment according to claim 5 is not easy to reappear the reproducing method of problem, which is characterized in that described to judge it Whether the operation for including/configuration step number meets preset condition, comprising:
Whether operation/configuration step the number for judging that new test path includes is less than or equal to the first preset value;Or
The new test path that problem to be reappeared has occurred in judgement compares operation/configuration step number that initial testing path has been got rid of Whether operation/configuration step number L2 ratio that L1 and initial testing path include is greater than or equal to the second preset value.
7. communication equipment according to claim 1 is not easy to reappear the reproducing method of problem, which is characterized in that the method is also Include:
Record the operating condition of tested communication equipment in real time, the operating condition include: tested communication equipment carry out operation/match Set content and operation/configuration sequence;
After being not easy the problem of reappearing and occurring, using the problem as problem to be reappeared, from the tested communication equipment of record All operation/configuration steps of the tested communication equipment before problem to be reappeared occurs in set period of time are extracted in operating condition.
8. a kind of communication equipment is not easy to reappear the recurrence system of problem, which is characterized in that the system comprises:
Data acquisition module, for by all operations of the tested communication equipment before problem to be reappeared occurs in set period of time/ It includes one or more operation/configurations arranged side by side in multiple sections times, each section time that configuration step is divided according to test executive sequence Step;
Test module, for generating a plurality of test path according to the operation in each section time/configuration step;Control the tested communication Equipment runs each test path, whether generation by monitoring the problem to be reappeared in the process of running, finds out and occurs to multiple The test path of existing problem.
9. communication equipment according to claim 8 is not easy to reappear the recurrence system of problem, which is characterized in that test module, For generating a plurality of test path according to the operation in each section time/configuration step, comprising:
An operation/configuration step is chosen out of each section time;It will be chosen out of each section time according to the test executive sequence The step sequence that combines of operation/configuration step as a test path.
10. communication equipment according to claim 8 is not easy to reappear the recurrence system of problem, which is characterized in that test module, Each test path is run for controlling the tested communication equipment, is sent out by monitoring the problem to be reappeared in the process of running Whether raw, the test path that problem to be reappeared occurs is found out, comprising:
It controls tested communication equipment and successively tests road according to the number of run n of preset single test path each item that reruns Diameter;The frequency m that every test path waits for reproduction problem when reruning n times is recorded, when m is greater than 0, this tests road Diameter is the test path that problem to be reappeared occurs.
11. the communication equipment according to any one of claim 8 to 10 is not easy to reappear the recurrence system of problem, feature exists In,
The test module is also used to occur every the test path of problem to be reappeared, and removes wherein to described wait reappear Operation/configuration step of the generation of problem without contribution, to obtain the reproduction path of the problem to be reappeared.
12. communication equipment according to claim 11 is not easy to reappear the recurrence system of problem, which is characterized in that the test Module is removed for every occurring the test path of problem to be reappeared wherein to the generation of the problem to be reappeared without tribute Operation/the configuration step offered, to obtain the reproduction path of the problem to be reappeared, comprising:
The test path for every occurring problem to be reappeared, using the test path of generation problem to be reappeared as initial testing Path, and it is current test path that the initial testing path, which is arranged,;Remove any one operation/configuration in current test path Step generates new test path;For the getable every new test path of institute, the tested new test road of communication equipment operation is controlled Diameter, monitors whether the problem to be reappeared occurs in the process of running;For the new test path of problem to be reappeared has occurred, sentence It is disconnected it includes operation/configuration step number whether meet preset condition: if so, recording the new test path is target detection road Diameter;If it is not, continuing using the new test path as current test path;According to the target detection path of record, determine it is described to The reproduction path of reproduction problem.
13. communication equipment according to claim 12 is not easy to reappear the recurrence system of problem, which is characterized in that the test Module, for judge it includes operation/configuration step number whether meet preset condition, comprising:
Whether operation/configuration step the number for judging that new test path includes is less than or equal to the first preset value;Or judgement has occurred The new test path of problem to be reappeared compares the operation/configuration step number L1 and initial testing road that initial testing path has been got rid of Whether the operation that diameter includes/configuration step number L2 ratio is greater than or equal to the second preset value.
14. communication equipment according to claim 8 is not easy to reappear the recurrence system of problem, which is characterized in that the system Further include:
Logging modle, for recording the operating condition of tested communication equipment in real time, the operating condition includes: tested communication equipment The operation of progress/configuration content and operation/configuration sequence;
Data acquisition module is also used to after being not easy the problem of reappearing generation, using the problem as problem to be reappeared, from record Tested communication equipment is extracted in the operating condition of the tested communication equipment to occur in preceding set period of time in problem to be reappeared All operation/configuration steps.
15. a kind of communication equipment is not easy to reappear the reproduction equipment of problem, which is characterized in that the equipment includes:
Memory, for storing computer executable instructions;
Processor, for executing the computer executable instructions, to realize communication described in any one of claims 1 to 7 Equipment is not easy the step of reappearing the reproducing method of problem.
16. a kind of computer readable storage medium, which is characterized in that the media storage has computer executable instructions, described Realize that communication equipment described in any one of claims 1 to 7 is not easy to reappear when computer executable instructions are executed by processor The step of reproducing method of problem.
CN201811025192.6A 2018-09-04 2018-09-04 Method, system and equipment for reproducing problem of communication equipment which is difficult to reproduce Active CN109361531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811025192.6A CN109361531B (en) 2018-09-04 2018-09-04 Method, system and equipment for reproducing problem of communication equipment which is difficult to reproduce

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811025192.6A CN109361531B (en) 2018-09-04 2018-09-04 Method, system and equipment for reproducing problem of communication equipment which is difficult to reproduce

Publications (2)

Publication Number Publication Date
CN109361531A true CN109361531A (en) 2019-02-19
CN109361531B CN109361531B (en) 2021-11-19

Family

ID=65350648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811025192.6A Active CN109361531B (en) 2018-09-04 2018-09-04 Method, system and equipment for reproducing problem of communication equipment which is difficult to reproduce

Country Status (1)

Country Link
CN (1) CN109361531B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301638A (en) * 2021-12-13 2022-04-08 山石网科通信技术股份有限公司 Method and device for reproducing firewall rules, storage medium and processor

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815983A (en) * 2005-02-06 2006-08-09 华为技术有限公司 Fault-path-coupling positioning method and multi-path-apparatus detecting method
US20080256517A1 (en) * 2006-10-18 2008-10-16 International Business Machines Corporation Method and System for Automatically Generating Unit Test Cases Which Can Reproduce Runtime Problems
CN102708052A (en) * 2012-04-27 2012-10-03 北京邮电大学 Automatic positioning method of software failures in unit test
CN103049374A (en) * 2012-12-03 2013-04-17 瑞斯康达科技发展股份有限公司 Automatic testing method and device
CN105487971A (en) * 2014-12-22 2016-04-13 哈尔滨安天科技股份有限公司 Method and system for recording and reproducing operation steps in software testing
CN105718354A (en) * 2016-01-20 2016-06-29 上海斐讯数据通信技术有限公司 Fault information reproducing method and device
CN107509072A (en) * 2017-08-30 2017-12-22 四川长虹电器股份有限公司 A kind of automated testing method of automatic Memory test path
CN107608886A (en) * 2017-09-14 2018-01-19 郑州云海信息技术有限公司 A kind of method and system of automatic report recording software defect

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815983A (en) * 2005-02-06 2006-08-09 华为技术有限公司 Fault-path-coupling positioning method and multi-path-apparatus detecting method
US20080256517A1 (en) * 2006-10-18 2008-10-16 International Business Machines Corporation Method and System for Automatically Generating Unit Test Cases Which Can Reproduce Runtime Problems
CN102708052A (en) * 2012-04-27 2012-10-03 北京邮电大学 Automatic positioning method of software failures in unit test
CN103049374A (en) * 2012-12-03 2013-04-17 瑞斯康达科技发展股份有限公司 Automatic testing method and device
CN105487971A (en) * 2014-12-22 2016-04-13 哈尔滨安天科技股份有限公司 Method and system for recording and reproducing operation steps in software testing
CN105718354A (en) * 2016-01-20 2016-06-29 上海斐讯数据通信技术有限公司 Fault information reproducing method and device
CN107509072A (en) * 2017-08-30 2017-12-22 四川长虹电器股份有限公司 A kind of automated testing method of automatic Memory test path
CN107608886A (en) * 2017-09-14 2018-01-19 郑州云海信息技术有限公司 A kind of method and system of automatic report recording software defect

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301638A (en) * 2021-12-13 2022-04-08 山石网科通信技术股份有限公司 Method and device for reproducing firewall rules, storage medium and processor
CN114301638B (en) * 2021-12-13 2024-02-06 山石网科通信技术股份有限公司 Firewall rule reproduction method and device, storage medium and processor

Also Published As

Publication number Publication date
CN109361531B (en) 2021-11-19

Similar Documents

Publication Publication Date Title
US7783744B2 (en) Facilitating root cause analysis for abnormal behavior of systems in a networked environment
US20200004660A1 (en) Systems and methods of integrated testing and deployment in a continuous integration continuous deployment (cicd) system
US7131032B2 (en) Method, system, and article of manufacture for fault determination
US20180121275A1 (en) Method and apparatus for detecting and managing faults
US20120246520A1 (en) Monitoring method, information processing apparatus, and computer-readable medium storing monitoring program
US11038587B2 (en) Method and apparatus for locating fault cause, and storage medium
CN106156355A (en) Log processing method and device
JP6245006B2 (en) Test case generation apparatus, method, and program
CN113765733A (en) Bus network testing method and device
CN112115029A (en) Performance test method and device, computer equipment and computer readable storage medium
CN115441943A (en) Universal digital signal processing waveform machine learning control application
CN116719664B (en) Application and cloud platform cross-layer fault analysis method and system based on micro-service deployment
CN106815137A (en) Ui testing method and apparatus
CN109361531A (en) A kind of communication equipment is not easy to reappear the reproducing method of problem, system and equipment
US20150058272A1 (en) Event correlation detection system
JP2015035160A (en) Monitoring data storage device, monitoring data store method, and program
EP3999983B1 (en) Time-series data condensation and graphical signature analysis
CN105912467B (en) Performance test method and device
CN116405412B (en) Method and system for verifying cluster effectiveness of simulation server based on chaotic engineering faults
US11716241B1 (en) Methods, systems, and computer readable media for actively diagnosing and remediating performance degradation in a production network
CN110007171A (en) The screening method and system of transformer online monitoring data false alarm
CN113392021A (en) Method, device and equipment for analyzing cluster reliability test result and readable medium
CN113626288A (en) Fault processing method, system, device, storage medium and electronic equipment
WO2004068347A1 (en) Method and apparatus for categorising test scripts
CN108319517B (en) Fault diagnosis method and device

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
TR01 Transfer of patent right

Effective date of registration: 20230925

Address after: 430000, 4th and 5th floors, Building B24, Financial Port, No. 77 Guanggu Avenue, Fozuling Street, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee after: Wuhan Ruisikangda Communication Technology Co.,Ltd.

Address before: 100094 First to Fifth Floors of Building 11, East Yard, No. 10 Wangdong Road, Northwest Haidian District, Beijing

Patentee before: RAISECOM TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right