CN108111367A - Performance test methods and device - Google Patents
Performance test methods and device Download PDFInfo
- Publication number
- CN108111367A CN108111367A CN201711171822.6A CN201711171822A CN108111367A CN 108111367 A CN108111367 A CN 108111367A CN 201711171822 A CN201711171822 A CN 201711171822A CN 108111367 A CN108111367 A CN 108111367A
- Authority
- CN
- China
- Prior art keywords
- message
- service card
- test report
- card
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/06—Generation of reports
- H04L43/065—Generation of reports related to network devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
Abstract
The present invention provides a kind of performance test methods and device.The program can simultaneously be tested for the property at least one service card of one or more types, reduce human resources input, to improve testing efficiency, help to realize and all service cards of manufacture are tested.Specifically, for each service card, using the detection messages constructed in advance as the first message, every the corresponding preset duration of the service card, the first message is sent to the service card, make the service card that the first message to be gone to the data-interface being connected with the service card, when the number for sending the first message is preset number, stop sending the first message;For each data-interface, the detection messages of service card transmission on the data-interface are received as the second message;For each service card, second message of reception is detected, and forms corresponding test report, the test report includes the corresponding performance indicator of each service card.
Description
Technical field
The present invention relates to data communication technology field, in particular to a kind of performance test methods and device.
Background technology
, it is necessary to be tested for the property to the service card of the manufacturing in the manufacturing field of communication equipment.Usually, business
Card is manufactured according to default performance indicator, can due to component or production technology difference in service card production process
The performance of service card, for service card is made to reach the performance indicator of design before dispatching from the factory, has produced in service card made of influencing
Cheng Houxu passes through performance test.The common practice of test service card performance is docked with tester at present, and tester beats stream, communication
Equipment is tested with pass-through mode, and this test method needs production test personnel to possess higher professional knowledge to configure survey
It tries instrument and communication equipment, configuration step is numerous and diverse so that the production test efficiency of subcard is very low;Tester is expensive simultaneously, purchase
Limited amount is bought, in this case frequently with the mode of sampling observation, and inspects by random samples and is susceptible to missing inspection, to the batch testing of service card
It is infeasible.
The content of the invention
In order to overcome above-mentioned deficiency of the prior art, the present invention provides a kind of performance test methods and device, to solve
The above problem.
To achieve these goals, the technical solution that present pre-ferred embodiments are provided is as follows:
Present pre-ferred embodiments provide a kind of performance test methods, applied to communication equipment to test the property of service card
Can, a service card grafting of at least one type is on a communications device so that the physical circuit of each service card accesses parallel
The communication equipment, the described method includes:
It is corresponding pre- every the service card using the detection messages constructed in advance as the first message for each service card
If duration, the first message is sent to the service card, makes the service card that the first message to be gone to the data being connected with the service card and connects
Mouthful, when the number for sending first message is preset number, stop sending first message;
For each data-interface, the detection messages of service card transmission on the data-interface are received as the second message;
For each service card, second message of reception is detected, and forms corresponding test report, it is described
Test report includes the corresponding performance indicator of each service card.
In the preferred embodiment, it is above-mentioned for each service card, second message of reception is examined
The step of surveying, and forming corresponding test report, including:
When existing in the performance indicator for the service card that detection obtains, when being unsatisfactory for preset condition, stopping detects the business
Card, and the test report is formed, wherein, the performance indicator, which is unsatisfactory for preset condition, to be included:Second message received
Number and the preset number differ, there is the report different from first message in all second messages of reception
Text calculates the service card and forwards the forwarding rate of second message less than at least one of predetermined threshold value.
In the preferred embodiment, it is above-mentioned for each service card, using the detection messages constructed in advance as the
One message, every the corresponding preset duration of the service card, before the step of service card the first message of transmission, this method is also wrapped
It includes:
For each service card, according to the pre-set level of the service card, the interval duration for sending the first message is calculated, and will
The interval duration as the corresponding preset duration of the service card, wherein, the pre-set level include bag forwarding rate.
In the preferred embodiment, it is above-mentioned for each service card, second message of reception is examined
The step of surveying, and forming corresponding test report, including:
Judge whether the number of second message received is equal with the preset number;
When to be, generation packet loss record is using as the test report.
In the preferred embodiment, it is above-mentioned for each service card, second message of reception is examined
The step of surveying, and forming corresponding test report, including:
Judge to whether there is the monitoring message different from first message in all second messages received;
When to be, the wrong bag of generation is recorded so that as the test report, wherein the mistake is wrapped, record includes and first reports
The content of the second different message of text.
In the preferred embodiment, it is above-mentioned for each service card, second message of reception is examined
The step of surveying, and forming corresponding test report, including:
Record starts to receive the time point of second message and stops receiving the time point of second message, to obtain
The duration needed for all second messages is received;
According to the number of the second message of statistics, the forwarding rate that service card forwards second message is calculated;
The forwarding rate is compared whether less than predetermined threshold value;
When to be, generation forwarding rate record not up to standard is using as the test report.
In the preferred embodiment, it is above-mentioned for each service card, using the detection messages constructed in advance as the
One message, every the corresponding preset duration of the service card, before the step of service card the first message of transmission, the method is also
Including:
According to pre-set configuration rule construct detection messages, wherein, content of the pre-set configuration rule including filling message,
The current testing time of the service card, the length for constructing message, the length and the current testing time of the service card of the construction message
It is associated;
Data-interface information group corresponding with each service card is entered in first message so that first message via
Corresponding data-interface is forwarded to corresponding service card.
Presently preferred embodiments of the present invention also provides a kind of performance testing device, applied to communication equipment to test service card
Performance, a service card grafting of at least one type is on a communications device so that the physical circuit of each service card connects parallel
Enter the communication equipment, the performance testing device includes:
Packet sending unit, for being directed to each service card, using the detection messages constructed in advance as the first message, every
The corresponding preset duration of the service card sends the first message to the service card, the service card is made to go to the first message and the industry
The data-interface of business card connection when the number for sending first message is preset number, stops sending first message;
Message receiving unit for being directed to each data-interface, receives the detection report that service card is sent on the data-interface
Text is used as the second message;
Packet check unit for being directed to each service card, is detected second message of reception, and formation pair
The test report answered, the test report include the corresponding performance indicator of each service card.
In the preferred embodiment, above-mentioned packet check unit is additionally operable to:
When existing in the performance indicator for the service card that detection obtains, when being unsatisfactory for preset condition, stopping detects the business
Card, and test report is formed, wherein, the performance indicator, which is unsatisfactory for preset condition, to be included:The number of second message received
Mesh is differed with the preset number, there is the message different from first message, meter in all second messages of reception
It calculates the service card and forwards the forwarding rate of second message less than at least one of predetermined threshold value.
In the preferred embodiment, above-mentioned performance testing device further includes message structural unit, for described
Before packet sending unit performs, for each service card, according to the pre-set level of the service card, calculate and send the first message
Duration is spaced, and using the interval duration as the corresponding preset duration of the service card, wherein, the pre-set level includes bag
Forwarding rate.
In terms of existing technologies, performance test methods and device provided by the invention at least have below beneficial to effect
Fruit:Scheme provided by the invention can simultaneously be tested for the property at least one service card of one or more types, reduce people
Power resource input to improve testing efficiency, helps to realize and all service cards of manufacture is tested, to improve service card
It dispatches from the factory product quality.Specifically, for each service card, using the detection messages constructed in advance as the first message, every the industry
Business blocks corresponding preset duration, sends the first message to the service card, the service card is made to go to the first message and the service card
The data-interface of connection when the number for sending the first message is preset number, stops sending the first message;For each data
Interface receives the detection messages of service card transmission on the data-interface as the second message;For each service card, to reception
Second message is detected, and forms corresponding test report, which refers to including the corresponding performance of each service card
Mark.
For the above objects, features and advantages of the present invention is enable to be clearer and more comprehensible, present pre-ferred embodiments cited below particularly,
And attached drawing appended by coordinating, it is described in detail below.
Description of the drawings
It in order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described.It should be appreciated that the following drawings illustrates only certain embodiments of the present invention, therefore it is not construed as pair
The restriction of scope, for those of ordinary skill in the art, without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the communication equipment and the matched block diagram of multiple service cards that present pre-ferred embodiments provide.
Fig. 2 is one of flow diagram of performance test methods that present pre-ferred embodiments provide.
Fig. 3 is the two of the flow diagram for the performance test methods that present pre-ferred embodiments provide.
Fig. 4 is one of block diagram of performance testing device that present pre-ferred embodiments provide.
Fig. 5 is the two of the block diagram for the performance testing device that present pre-ferred embodiments provide.
Icon:10- communication equipments;20- service cards;100- performance testing devices;110- packet sending units;120- messages
Receiving unit;130- packet check units;140- computing units.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes.Obviously, described embodiment is only the part of the embodiment of the present invention, instead of all the embodiments.It is logical
The component for the embodiment of the present invention being often described and illustrated herein in the accompanying drawings can configure to arrange and design with a variety of.
Therefore, below the detailed description of the embodiment of the present invention to providing in the accompanying drawings be not intended to limit it is claimed
The scope of the present invention, but be merely representative of the present invention selected embodiment.Based on the embodiment of the present invention, people in the art
Member's all other embodiments obtained on the premise of creative work is not made, belong to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.In addition, term " the
One ", " second " etc. is only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Below in conjunction with the accompanying drawings, elaborate to some embodiments of the present invention.In the case where there is no conflict, it is following
Feature in embodiment and embodiment can be mutually combined.
Incorporated by reference to referring to Figures 1 and 2, wherein, Fig. 1 is the communication equipment 10 and multiple industry that present pre-ferred embodiments provide
Business 20 matched block diagrams of card, Fig. 2 are the flow diagram for the performance test methods that present pre-ferred embodiments provide
One of.Performance test methods provided by the invention can be applied to communication equipment 10, can the different types of service card of batch testing
20 performance, and then improve the efficiency to 20 performance test of service card.Wherein, which includes, but are not limited to 8 mouthfuls of gigabits
Ether card, 4 mouthfuls of photoelectricity hybrid cards, 8 mouthfuls of changeable cards of POS ether, 16 mouthfuls of UE1 cards, 10,000,000,000 ether card of single port etc..
Understandably, one of at least one type service card 20 is plugged on communication equipment 10, so that each business
The physical circuit of card 20 accesses the communication equipment 10 parallel.The service card 20 can be directly plugged on communication equipment 10,
Can also be plugged on indirectly on communication equipment 10 by connector, be not especially limited here.
Specifically, referring once again to Fig. 1, the species of the service card 20 shown in Fig. 1 is shown for a kind of card-type that interface is 8 mouthfuls
It is intended to (such as 8 mouthfuls of gigabit ether cards), which can also be other types, and which is not described herein again.
In the present embodiment, the physical circuit loopback of service card 20 to be measured accesses the communication equipment 10 so that each industry
Business card 20 without being connected across card or striding equipment interface with communication equipment 10, that is, each service card 20 with the communication equipment
10 direct communications.That is, each service card 20 realizes physics by corresponding data-interface on communication equipment 10 and communication equipment 10
Line loopback, with parallel access communications equipment 10.Wherein, which can include Data entries and data outlet, the number
Message is sent to service card 20 for communication equipment 10 according to entrance, which receives service card 20 for communication equipment 10
The message of transmission.
Before being tested for the property to each service card 20, each service card 20 has been plugged on communication equipment 10.The communication
Equipment 10 can individually test a service card 20, and also multiple same types or different types of service card 20 can be surveyed simultaneously
Examination.
Each step of performance test methods shown in Fig. 2 will be described in detail below, in the present embodiment, the property
Energy test method may comprise steps of:
Step S210, for each service card 20, using the detection messages constructed in advance as the first message, every the business
Block 20 corresponding preset durations, send the first message to the service card 20, the service card 20 is made to go to the first message and the industry
The data-interface of 20 connection of business card when the number for sending first message is preset number, stops sending first report
Text.
In the present embodiment, before step S210 is performed, this method can also include construction detection messages the step of.Example
Such as, the step of constructing detection messages can include:According to pre-set configuration rule construct detection messages, wherein, the pre-set configuration
Rule includes content, the 20 current testing time of service card, the length of construction message of filling message, the length of the construction message
Degree is associated with the 20 current testing time of service card;Described first will be entered with each 20 corresponding data-interface information group of service card
In message, so that first message is forwarded to corresponding service card 20 via corresponding data-interface.
Understandably, filling the content of message can be filled at random, transmitted every time for each service card 20
Detection messages are identical detection messages, and in order to subsequent detection, whether the message malfunctions in transmission process.Wherein, construction
Message includes the port information for needing the data-interface for sending the message, so that the test packet of construction can be transmitted to corresponding number
According to the service card 20 of interface.
Realized to simplify, 10 internal loopback message of communication equipment can not be related to agreement in the present invention, i.e., test packet from
Construction complete is to sending without tunneling head.Because the interface end of service card 20 is using physical circuit loopback, from communication
The detection messages that equipment 10 is dealt into service card 20 can be returned directly to the communication equipment 10.
It in the present embodiment, can be final to generate by one or many to being tested with a batch of service card 20
Test report.The number of the test can be preset value, which can be configured according to actual conditions.It is in addition, described
The length of message can be configured according to actual conditions, and the length of the message of construction can be associated with testing time.
Fully to test out the interface capability of service card 20, adjustment message length mode can be used to cover interface different frame
Behavior pattern under long.For example, for the Data entries that each is connected with service card 20, it is 5 that setting, which needs the number tested,
Secondary, the length of the test packet constructed every time can be followed successively by 64 bytes, 128 bytes, 256 bytes, 1024 bytes and 1500 words
Section.By repeatedly testing, and using the test packet of different length, it can further improve the reliability of test result so that survey
Test result is more accurate, is more bonded the actual conditions of service card 20.Wherein, when testing every time service card 20, it is necessary to
To the service card 20 send preset number the message constructed, the message sent each time can be reconfigure with for the first time
Identical test packet.Preferably, the message sent every time is in the institute's structure for the first time for the interior duplication of interval time section for sending message
The message made to reduce the resource overhead of processor, helps to mitigate the pressure that communication equipment 10 constructs test packet.
It refer to the two of the flow diagram that Fig. 3 is the performance test methods that present pre-ferred embodiments provide.This method
Before step S210 is performed, step S240 can also be included, to calculate the interval duration for sending message.
Step S240, for each service card 20, according to 20 pre-set level of service card, calculating is sent between the first message
Every duration, and using the interval duration as the corresponding preset duration of the service card 20, wherein, the pre-set level includes bag
Forwarding rate.
Understandably, the rate of detection messages is sent by controlling, can more effectively test the performance of 20 interface of service card,
So that more effective to the test result of the service card 20.And different types of service card 20 needs to send the interval time of message
May be different, that is, it needs to the corresponding interval duration of different types of 20 classified calculating of service card.
Wherein, which can be standard forwarding rate when producing the service card 20, that is, be turned with the standard
Hair rate is normative reference, manufactures the service card 20.However in the fabrication process, because of the difference of manufacturing equipment, manufacture material
Difference etc. may cause the forwarding rate of the service card 20 of manufacture different from the standard forwarding rate, therefore can be according to the standard
Forwarding rate calculates the interval duration for sending message to the service card 20 each time.Wherein, which just turns for the standard
Send out the inverse of rate.
For example, the standard forwarding rate of a service card 20 is 1.488Mpps, that is, to send out 1.488 × 10 in 1 second6It is a
Message, then it is corresponding interval duration be just
Step S220 for each data-interface, receives the detection messages conduct that service card 20 is sent on the data-interface
Second message.
Understandably, the data outlet of communication equipment 10 receives the detection messages transmitted by the service card 20, and as the
Two messages.Namely the first message is forwarded to the message after data outlet via service card 20 as the second message.That is, if second
Message does not malfunction in 20 repeating process of service card, and the first message and the second message are the identical detection messages of content.
Step S230 for each service card 20, is detected second message of reception, and forms corresponding survey
Examination report, the test report include each 20 corresponding performance indicator of service card.
In the present embodiment, the type and corresponding performance indicator which can be including service card 20 to be measured, one
A service card 20 can independently form a test report or the service card 20 of batch test forms a test report
It accuses.Preferably, the service card 20 of same batch test forms a test report.
Further, in the test report can include 20 type of service card to be measured, every time test send message length,
The message number (preset number) of test transmission, the number of the message received every time, message address pointer, error message every time
It is one or more in number, error message length etc..In addition, the performance indicator in the test report can be the industry being calculated
The rate for the second message that business card 20 is sent.
In the present embodiment, step S230 can include:It is deposited when in the performance indicator for the service card 20 that detection obtains
When being unsatisfactory for preset condition, stop detecting the service card 20, and form the test report, wherein, the performance indicator is not
Meeting preset condition includes:Number and the preset number of second message received differ, and all described the of reception
There is the message different from first message in two messages, calculate the forwarding speed that the service card 20 forwards second message
Rate is less than at least one of predetermined threshold value.
Optionally, step S230 can also include:Record starts to receive the time point of second message and stops receiving
The time point of second message, to obtain having received the duration needed for all second messages;According to the second of statistics the report
The number of text, is calculated the forwarding rate that service card 20 forwards second message;Compare whether the forwarding rate is less than
Predetermined threshold value;When to be, generation forwarding rate record not up to standard is using as the test report.For it is no when, that is,
Forwarding rate is normal, can generate forwarding rate record up to standard, and be recorded in test report.Wherein, which can be with
To be directed to the above-mentioned standard forwarding rate of the service card 20.
Understandably, if the forwarding rate calculated is fast not less than standard forwarding rate, that is, the forwarding of the service card 20
Rate is normal.If this exception can stop the test to the service card 20, the service card 20 service card namely not up to standard
20。
Optionally, step S230 can also include:Judge whether the number of second message received is preset with described
Number is equal;When to be, generation packet loss record as the test report, that is, this to test exception.For it is no when,
The message namely sent is normal in number, can give birth to and generate the normal record of test for this, and be recorded in test report
On announcement.
Optionally, step S230 can also include:Judge receive all second messages in whether there is with it is described
The different monitoring message of first message;When to be, wrong bag record is generated using as the test report, wherein the wrong bag note
Record includes the content of second message different from the first message, that is, this tests exception.For it is no when, that is, send
Message and the message received are errorless, can be directed to the normal record of test item generation test, and be recorded in test report.
Specifically, it is long in message for example, whether the length for the second message that verification receives is consistent with the length of the first message
After degree is consistent, whether the content of the second message of verification is consistent with the first message, if inconsistent, feeds back inconsistent content, and
It is recorded in audit report.If both unanimously, that is, this test is normal.Wherein, the second message of CRC check can be passed through
In mistake.
Based on above-mentioned design, method provided by the invention can simultaneously test the service card 20 of multiple and different types,
To improve testing efficiency, be conducive to test all service cards 20 of the manufacturing,
During the test, participated in without personnel, and then reduce human resources, help to reduce testing cost, in addition, logical
The rate that control sends test packet is crossed, test can be made more abundant, help to improve the validity of test result.Understandably,
If the forwarding rate of the service card 20 is up to standard, and records during the test without packet loss, also inerrancy message is formed, the service card
20 be also just service card 20 up to standard.Namely tester can be by checking that detection includes determining service card 20 up to standard.
Fig. 4 is refer to, is one of the block diagram of performance testing device 100 that present pre-ferred embodiments provide.This
A kind of performance testing device 100 of offer of invention, can be applied to communication equipment 10.For example, the performance testing device 100 can be with
It is to be stored within communications device 10 in a manner of software program.The performance testing device 100 can match somebody with somebody with performance test methods item
Conjunction can improve the efficiency of detection service card 20 to test the performance of service card 20, moreover it is possible to the fully performance of detection service card 20, drop
Low testing cost.Wherein, one of at least one type service card 20 is plugged on communication equipment 10 so that each service card
20 physical circuit accesses the communication equipment 10 parallel.
The performance testing device 100 can include packet sending unit 110, message receiving unit 120 and packet check
Unit 130.
Packet sending unit 110, for being directed to each service card 20, using the detection messages constructed in advance as the first report
Every the 20 corresponding preset duration of service card, the first message is sent to the service card 20 for text, makes the service card 20 by the first report
Text goes to the data-interface being connected with the service card 20, when the number for sending first message is preset number, stops hair
Send first message.Specifically, which can be used for performing step S210 shown in Fig. 2, specific to grasp
The detailed description to step S210 is can refer to as content, which is not described herein again.
Message receiving unit 120 for being directed to each data-interface, receives the inspection that service card 20 is sent on the data-interface
Text is observed and predicted as the second message.Specifically, message receiving unit 120 can be used for performing step S220 shown in Fig. 2, specifically
Operation content can refer to the detailed description to step S220, and which is not described herein again.
Packet check unit 130 for being directed to each service card 20, is detected second message of reception, and
Corresponding test report is formed, the test report includes each 20 corresponding performance indicator of service card.Specifically, the packet check
Unit 130 can be used for performing step S230 shown in Fig. 3, and specific operation content can refer to retouching in detail to step S230
It states, which is not described herein again.
Further, Fig. 5 is refer to, is the box signal for the performance testing device 100 that present pre-ferred embodiments provide
The two of figure.The performance testing device 100 can also include computing unit 140.
The computing unit 140 is used for before the packet sending unit 110 execution, for each service card 20, according to
20 pre-set level of service card calculates the interval duration for sending the first message, and the interval duration is right as the service card 20
The preset duration answered, wherein, the pre-set level includes bag forwarding rate.Specifically, which can be used for
Step S240 shown in Fig. 3 is performed, specific operation content can refer to the detailed description to step S240, and which is not described herein again.
In conclusion the present invention provides a kind of performance test methods and device, scheme provided by the invention can be simultaneously to one
Kind or polytype at least one service card are tested for the property, and are reduced human resources input, to improve testing efficiency, are helped
All service cards of manufacture are tested in realizing, to improve the product quality of dispatching from the factory of service card.Specifically, for each industry
Business card using the detection messages constructed in advance as the first message, every the corresponding preset duration of the service card, is sent out to the service card
The first message is sent, makes the service card that the first message to be gone to the data-interface being connected with the service card, when the first message of transmission
When number is preset number, stop sending the first message;For each data-interface, receive service card on the data-interface and send
Detection messages as the second message;For each service card, second message of reception is detected, and forms correspondence
Test report, the test report include the corresponding performance indicator of each service card.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of performance test methods, applied to communication equipment to test the performance of service card, which is characterized in that at least one class
One service card grafting of type on a communications device so that the physical circuit of each service card accesses the communication equipment parallel,
The described method includes:
For each service card, using the detection messages constructed in advance as the first message, when the service card is corresponding default
It is long, the first message is sent to the service card, makes the service card that the first message to be gone to the data-interface being connected with the service card, when
When the number for sending first message is preset number, stop sending first message;
For each data-interface, the detection messages of service card transmission on the data-interface are received as the second message;
For each service card, second message of reception is detected, and forms corresponding test report, the test
Report includes the corresponding performance indicator of each service card.
2. according to the method described in claim 1, it is characterized in that, described be directed to each service card, to described the second of reception
Message is detected, and the step of form corresponding test report, including:
When in the performance indicator for the service card that detection obtains in the presence of preset condition is unsatisfactory for, stop detecting the service card,
And the test report is formed, wherein, the performance indicator, which is unsatisfactory for preset condition, to be included:The number of second message received
Mesh is differed with the preset number, there is the message different from first message, meter in all second messages of reception
It calculates the service card and forwards the forwarding rate of second message less than at least one of predetermined threshold value.
3. according to the method described in claim 1, it is characterized in that, described for each service card, the detection that will be constructed in advance
Message is as the first message, every the corresponding preset duration of the service card, before the step of sending the first message to the service card,
This method further includes:
For each service card, according to the pre-set level of the service card, calculate the interval duration for sending the first message, and should between
Every duration as the corresponding preset duration of the service card, wherein, the pre-set level includes bag forwarding rate.
4. according to the method described in any one in claim 1-3, which is characterized in that described for each service card, docking
Second message received is detected, and the step of form corresponding test report, including:
Judge whether the number of second message received is equal with the preset number;
When to be, generation packet loss record is using as the test report.
5. according to the method described in any one in claim 1-3, which is characterized in that described for each service card, docking
Second message received is detected, and the step of form corresponding test report, including:
Judge to whether there is the monitoring message different from first message in all second messages received;
When to be, mistake bag record is generated as the test report, to include wherein the wrong bag records with the first message not
The content of the second same message.
6. according to the method described in any one in claim 1-3, which is characterized in that described for each service card, docking
Second message received is detected, and the step of form corresponding test report, including:
Record starts to receive the time point of second message and stops receiving the time point of second message, to be received
Duration needed for complete all second messages;
According to the number of the second message of statistics, the forwarding rate that service card forwards second message is calculated;
The forwarding rate is compared whether less than predetermined threshold value;
When to be, generation forwarding rate record not up to standard is using as the test report.
7. according to the method described in claim 1, it is characterized in that, described for each service card, the detection that will be constructed in advance
Message is as the first message, every the corresponding preset duration of the service card, before the step of sending the first message to the service card,
The method further includes:
According to pre-set configuration rule construct detection messages, wherein, the pre-set configuration rule includes content, industry of filling message
Business blocks current testing time, the length for constructing message, and the length of the construction message is related to the current testing time of the service card
Connection;
Data-interface information group corresponding with each service card is entered in first message, so that first message is via correspondence
Data-interface be forwarded to corresponding service card.
8. a kind of performance testing device, applied to communication equipment to test the performance of service card, which is characterized in that at least one class
One service card grafting of type on a communications device so that the physical circuit of each service card accesses the communication equipment parallel,
The performance testing device includes:
Packet sending unit, for being directed to each service card, using the detection messages constructed in advance as the first message, every the industry
Business blocks corresponding preset duration, sends the first message to the service card, the service card is made to go to the first message and the service card
The data-interface of connection when the number for sending first message is preset number, stops sending first message;
Message receiving unit for being directed to each data-interface, receives the detection messages that service card is sent on the data-interface and makees
For the second message;
Packet check unit for being directed to each service card, is detected second message of reception, and is formed corresponding
Test report, the test report include the corresponding performance indicator of each service card.
9. performance testing device according to claim 8, which is characterized in that the packet check unit is additionally operable to:
When in the performance indicator for the service card that detection obtains in the presence of preset condition is unsatisfactory for, stop detecting the service card,
And test report is formed, wherein, the performance indicator, which is unsatisfactory for preset condition, to be included:Receive second message number with
There is the message different from first message in all second messages of reception in the preset numbers etc., calculate institute
It states service card and forwards the forwarding rate of second message less than at least one of predetermined threshold value.
10. performance testing device according to claim 8 or claim 9, which is characterized in that the performance testing device further includes calculating
Unit, for before packet sending unit execution, for each service card, according to the pre-set level of the service card, counting
The interval duration for sending the first message is calculated, and using the interval duration as the corresponding preset duration of the service card, wherein, institute
Stating pre-set level includes bag forwarding rate.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2017110386666 | 2017-10-30 | ||
CN201711038666 | 2017-10-30 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108111367A true CN108111367A (en) | 2018-06-01 |
Family
ID=62206857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711171822.6A Pending CN108111367A (en) | 2017-10-30 | 2017-11-22 | Performance test methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108111367A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109617757A (en) * | 2018-11-26 | 2019-04-12 | 北京润科通用技术有限公司 | The test method of system under test (SUT), apparatus and system |
CN109766282A (en) * | 2019-01-31 | 2019-05-17 | Oppo广东移动通信有限公司 | A kind of Caton detection method, Caton detection device and terminal device |
CN110691012A (en) * | 2019-10-25 | 2020-01-14 | 新华三信息安全技术有限公司 | Message processing method and tester |
CN114264996A (en) * | 2021-11-30 | 2022-04-01 | 上海御渡半导体科技有限公司 | Method for detecting DC calibration effectiveness of ATE equipment |
CN114363273A (en) * | 2020-09-30 | 2022-04-15 | 华为技术有限公司 | Method and chip for processing message |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1417986A (en) * | 2001-11-06 | 2003-05-14 | 华为技术有限公司 | Business intercommunication test method and device for asynchronous transferring mode exchange |
US20120069744A1 (en) * | 2010-09-17 | 2012-03-22 | Verizon Patent And Licensing Inc. | Generating and allocating performance monitoring traffic |
CN103560928A (en) * | 2013-10-22 | 2014-02-05 | 东软集团股份有限公司 | Method and system for testing forwarding performance of network equipment |
CN103631688A (en) * | 2013-12-05 | 2014-03-12 | 迈普通信技术股份有限公司 | Method and system for testing interface signal |
CN105991358A (en) * | 2015-02-06 | 2016-10-05 | 中兴通讯股份有限公司 | Method, device, test board and system for testing traffic of interface board |
CN106534262A (en) * | 2016-10-14 | 2017-03-22 | 北京博望华科科技有限公司 | Network information system fault switching method |
-
2017
- 2017-11-22 CN CN201711171822.6A patent/CN108111367A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1417986A (en) * | 2001-11-06 | 2003-05-14 | 华为技术有限公司 | Business intercommunication test method and device for asynchronous transferring mode exchange |
US20120069744A1 (en) * | 2010-09-17 | 2012-03-22 | Verizon Patent And Licensing Inc. | Generating and allocating performance monitoring traffic |
CN103560928A (en) * | 2013-10-22 | 2014-02-05 | 东软集团股份有限公司 | Method and system for testing forwarding performance of network equipment |
CN103631688A (en) * | 2013-12-05 | 2014-03-12 | 迈普通信技术股份有限公司 | Method and system for testing interface signal |
CN105991358A (en) * | 2015-02-06 | 2016-10-05 | 中兴通讯股份有限公司 | Method, device, test board and system for testing traffic of interface board |
CN106534262A (en) * | 2016-10-14 | 2017-03-22 | 北京博望华科科技有限公司 | Network information system fault switching method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109617757A (en) * | 2018-11-26 | 2019-04-12 | 北京润科通用技术有限公司 | The test method of system under test (SUT), apparatus and system |
CN109766282A (en) * | 2019-01-31 | 2019-05-17 | Oppo广东移动通信有限公司 | A kind of Caton detection method, Caton detection device and terminal device |
CN110691012A (en) * | 2019-10-25 | 2020-01-14 | 新华三信息安全技术有限公司 | Message processing method and tester |
CN110691012B (en) * | 2019-10-25 | 2022-07-22 | 新华三信息安全技术有限公司 | Message processing method and tester |
CN114363273A (en) * | 2020-09-30 | 2022-04-15 | 华为技术有限公司 | Method and chip for processing message |
CN114264996A (en) * | 2021-11-30 | 2022-04-01 | 上海御渡半导体科技有限公司 | Method for detecting DC calibration effectiveness of ATE equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108111367A (en) | Performance test methods and device | |
CN108141390B (en) | Cloud-based system and method for managing messages regarding cable test equipment operation | |
US9424221B2 (en) | Automated cabling process for a complex environment | |
CN107547304A (en) | Network card testing method, device and machinable medium | |
CN108092854B (en) | Test method and device for train-level Ethernet equipment based on IEC61375 protocol | |
CN106407059A (en) | Server node testing system and method | |
CN106776346B (en) | Test method and device of CCMTS (China center testing System) equipment | |
CN105912439B (en) | A kind of method, apparatus and system of computer monitoring | |
US9749039B1 (en) | Portable connection diagnostic device | |
CN108243033A (en) | A kind of method given a mark to video quality, cloud server terminal and system | |
CN102291274A (en) | System and method for realizing automatic adaptation of network testing instrument | |
CN101800672B (en) | Equipment detection method and equipment | |
CN109407655A (en) | A kind of method and device for debugging chip | |
CN104699580A (en) | Loopback test method and device for SAS storage board card | |
CN104678292B (en) | A kind of complex programmable logic device (CPLD) test method and device | |
US11153193B2 (en) | Method of and system for testing a computer network | |
CN109870834B (en) | Liquid crystal glass power-up detection system | |
CN116436540A (en) | LED display screen receiving card testing method and device, testing card and storage medium | |
CN109299195A (en) | Data processing method, device and storage medium | |
CN112118156B (en) | Filtering method and device for Ethernet protocol test | |
CN108562805A (en) | A kind of interactive mode break-make electric test device, system and method | |
CN112838938B (en) | Test system of Internet of things platform | |
US10116491B1 (en) | Network cabling verification | |
CN106936664A (en) | Software defined network path performance test apparatus and method | |
CN109406762A (en) | Glass plate inspection result statistical 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180601 |