CN101729300A - Method and system for transmitting test data packets - Google Patents

Method and system for transmitting test data packets Download PDF

Info

Publication number
CN101729300A
CN101729300A CN200810172060A CN200810172060A CN101729300A CN 101729300 A CN101729300 A CN 101729300A CN 200810172060 A CN200810172060 A CN 200810172060A CN 200810172060 A CN200810172060 A CN 200810172060A CN 101729300 A CN101729300 A CN 101729300A
Authority
CN
China
Prior art keywords
test packet
timestamp
device driver
test
packet
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
Application number
CN200810172060A
Other languages
Chinese (zh)
Inventor
李爱民
唐利
徐瑞林
杨捷
李达有
冯恩波
任雄伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200810172060A priority Critical patent/CN101729300A/en
Publication of CN101729300A publication Critical patent/CN101729300A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a method and a system for transmitting test data packets, which can reduce the time delay of the test data packets, in a test system, reaching a test unit, and solve the problem of different time errors among the test data packets. The method provided by the embodiment of the invention comprises the following steps that: a device driver processes received test data packets; and the device driver transmits the processed test data packets to the test unit direct directly. By removing the processing delay of the device driver, the processing delay of an operating system, the processing delays of each protocol stack and the test unit, the method and the system for transmitting the test data packets solve the problem of the time delay in the conventional test system.

Description

A kind of method and system that transmits test packet
Technical field
The present invention relates to communication field, particularly relate to a kind of method and system that transmits test packet in the measuring technology.
Background technology
Along with the development of communication network, the use of optical fiber in the fixed network field, 3G/4G The Application of Technology in the mobile network field makes the bandwidth of communication network obtain the lifting of matter, and this development for new business provides guarantee.Present main flow new business, such as Internet Protocol Television (IPTV, Internet Protocol Television), IP-based voice (VOIP, Voice over IP) technology etc., in these new business of operation, variety of issue often appears, for example in the IPTV field, occur mosaic, flating, sound asynchronous with image, use a teleswitch when operating, picture does not have response, blank screen, film phenomena of the failure such as color lump is arranged; In the VOIP field, occur audio distortions, delay, off and on, phenomenon of the failure such as echo.How to locate and solve these faults, corresponding IPTV﹠amp; The VOIP measuring technology is also arisen at the historic moment, and these measuring technologies are closely related with the testing time precision of obtaining.
Referring to Fig. 1, in the existing measuring technology, test packet arrives the network equipment 101, sends device driver 102 after the network equipment 101 is handled to, after device driver 102 is handled, these data are sent to operating system 103 (OS, Operation System).Operating system 103 is dispatched processing according to the dispatching algorithm of self to this test packet, handle the back this test packet is sent to protocol stack 104, when protocol stack 104 is handled, also need to dispatch processing, and test packet is sent to test cell 105 according to the dispatching principle of operating system 103.Test cell 105 starts testing algorithm, when it needs system time, obtains current system time to standard time source 106 and stabs.
Now the processing time of above each step of test packet process is made certain hypothesis:
A, network device processing suppose that the processing time is t1;
B, device driver are handled, and suppose that the processing time is t2;
C, operating system scheduling suppose that equal priority scheduling time sheet is t3, and the number of tasks of current operation system equal priority is n;
D, protocol stack are handled, and suppose that the protocol stack processing time is t4, and suppose and will handle through m protocol stack, and suppose that each protocol stack processing time is identical;
E, test cell are handled, and suppose that the processing time is t5;
F, operating system higher priority task handling time are t6.
The level of test packet 105 processes from the network equipment 101 to test cell has the network equipment, device driver, operating system, each protocol stack and test cell, on the corresponding level node all arranged certain processing time, the time of being experienced when test packet is from the network equipment 101 arrival test cells 105 so is:
TotalTime=t1+t2+(n*t3)+(m*t4)+t5+t6。
In realizing process of the present invention, the inventor finds to exist at least in the prior art such problem:
When test packet arrived test cell, the real time was than the network equipment TotalTime that received this test packet time delay; Because operating system equal priority number of tasks n changes according to the state of current operation system, the higher priority task processing time t6 of operating system also is variable simultaneously, when having a plurality of test packets to arrive test cell simultaneously, the time difference that these test packets arrive the network equipment is dissimilar, and this difference is decided by the scheduling strategy of operating system and the number of tasks n and the current higher priority task handling time t6 of current operation system; Even n is constant for operating system equal priority number of tasks, the higher priority task processing time t6 of operating system is also constant, the operating system task scheduling all has fixing scheduling time sheet t3 to each equal priority, and this timeslice t3 also will introduce the regular time error to these a plurality of test packets.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method and system that transmits test packet, can reduce the time delay of test packet arrival test cell in the test macro, solves different time error problem between the test packet.
For achieving the above object, the embodiment of the invention is achieved by the following technical solution:
On the one hand, provide a kind of method that transmits test packet, comprising:
Device driver is handled the test packet that receives;
Test packet after device driver will be handled directly sends test cell to.
On the other hand, provide a kind of system that transmits test packet, comprising:
Processing unit is used for device driver the test packet that receives is handled;
Delivery unit is used for the test packet of device driver after with described processing unit processes and directly sends test cell to.
The technical scheme that is provided by the above embodiment of the invention as can be known, by device driver the test packet that receives is handled, and the test packet after will handling directly sends test cell to, can remove the processing delay of device driver processing delay, operating system processing delay, each protocol stack and test cell itself, therefore can reduce the time delay of test packet arrival test cell in the test macro, solve different time error problem between the test packet.
Description of drawings
Fig. 1 wraps in the schematic diagram that transmits in the test macro for test data in the prior art;
The method flow diagram of the transmission test packet that Fig. 2 provides for the embodiment of the invention;
The data structure schematic diagram of the new test packet that Fig. 3 is configured to for the embodiment of the invention;
The flow chart of the transmission test packet implementation method that Fig. 4 provides for the embodiment of the invention one;
Fig. 5 wraps in the schematic diagram that transmits in the test macro for test data in the embodiment of the invention one;
Fig. 6 wraps in the schematic diagram that transmits in the test macro for test data in the embodiment of the invention two;
The flow chart of the transmission test packet implementation method that Fig. 7 provides for the embodiment of the invention three;
Fig. 8 wraps in the schematic diagram that transmits in the test macro for test data in the embodiment of the invention three;
Fig. 9 wraps in the schematic diagram that transmits in the test macro for test data in the embodiment of the invention four;
Figure 10 forms schematic diagram for the system of the transmission test packet that the embodiment of the invention provides;
A kind of detailed structure view that transmits the system of test packet that Figure 11 provides for the embodiment of the invention;
The another kind that Figure 12 provides for the embodiment of the invention transmits the detailed structure view of the system of test packet.
Embodiment
Below in conjunction with accompanying drawing the technical scheme that the embodiment of the invention provides is described in further detail.
Referring to Fig. 2, the method for the transmission test packet that Fig. 2 provides for the embodiment of the invention comprises:
Step 201, device driver is handled the test packet that receives.
Before the step that device driver is handled the test packet that receives, at first from the packet that the network equipment transmits, filter out test packet by device driver.Concrete grammar can be that filtration Hook Function relevant with test packet of registration in device driver filters out test packet by described filtration Hook Function from the packet that the network equipment transmits.
Device driver is surrounded by two cover processing schemes to the test data that receives:
The first cover processing scheme, when the test packet of device driver reception is the test packet of normal format, device driver is stabbed from standard time source acquisition time, and the test packet of the normal format of the timestamp that obtains and reception is configured to new test packet.
Wherein, comprise following several implementation from standard time source acquisition time stamp:
(1) obtains from hardware clock, for example: global positioning system (GPS, Global PositioningSystem), Wideband Code Division Multiple Access (WCDMA) (WCDMA, Wideband Code Division Multiple Access) etc.
(2) from NTP (Network Time Protocol) (NTP, Network Time Protocol) time server, obtain.
(3) from the tick number of CPU (CPU, Central Processing Unit) operation, obtain.
(4) the tick number from operating system OS operation obtains.
The second cover processing scheme, the test packet that receives when device driver is when stamping the test packet of timestamp, device driver is stamped the test packet of timestamp extraction time from this and is stabbed, and this test packet of stamping timestamp reverted to the test packet of normal format, then timestamp that extracts and the test packet that reverts to normal format are configured to new test packet.
For the second cover processing scheme, need in existing test macro, increase the hardware device of beating timestamp newly, to arriving the packet of the network equipment, stab from standard time source acquisition time by beating timestamp equipment, the packet that arrives the network equipment is stamped timestamp, form the packet of a band timestamp.This recombination form of realizing bag by hardware, the packet of stamping timestamp that obtains is the packet of privately owned form, therefore after network device driver receives the packet of this private key form, need untie the private data bag, therefrom extract corresponding timestamp information, and be the packet of normal format this data packet recovery of stamping timestamp.
This two covers processing scheme is compared, and the first cover processing scheme need not the newly-increased hardware device of beating timestamp, and cost is relatively low; The second cover processing scheme is to stab information and stamp timestamp to the test packet that arrives the network equipment by the hardware mode acquisition time, and speed is fast, and accuracy is higher, and the network device processing time delay can be removed.
Obtain a new test packet by the final structure of this two covers processing scheme device drives, this new test data that is configured to is surrounded by two kinds of data structures:
A kind of is that timestamp places before the test packet; Another kind is that timestamp places after the test packet.These two kinds of data structure schematic diagrames as shown in Figure 3.
Step 202, the test packet after device driver will be handled directly sends test cell to.
This step is specially: device driver directly sends the new test packet that step 201 is configured to test cell.
Directly send test cell to by the new test packet that will be configured to, and without operating system and protocol stack, the processing delay of the processing delay of operating system and each protocol stack can be removed, can avoid because the time error problem brought of the number of tasks of the scheduling strategy of operating system and current operation system and current higher priority task handling time; Test cell can call the corresponding protocol stack as required when handling, and this test data that has timestamp wrapped in each protocol stack transmits.
And, the timestamp information that obtains can be when test packet be sent to device driver, obtain from the standard time source by device driver, perhaps when arriving the network equipment, obtains from the standard time source test packet by beating timestamp equipment, when test cell needs timestamp information, from the new test packet that this is configured to, obtain described timestamp by test cell, therefore also can remove the processing delay of the processing delay of device driver and test cell itself.
A kind of optimization embodiment is that device driver is stored as file with the described new test packet that is configured to, and directly sends this document to test cell, directly obtains the described new test packet that is configured to by described test cell from this document.This optimization embodiment has realized the buffer memory of the new test packet that device driver is configured to, and can not cause losing of test packet, and makes test cell to carry out off-line analysis or analyze according to the needs of handling.
Therefore, the method of the transmission test packet that the embodiment of the invention provides, by device driver the test packet that receives is handled, and the test packet after will handling directly sends test cell to, can remove the processing delay of device driver processing delay, operating system processing delay, each protocol stack and test cell itself, can reduce the time delay of test packet arrival test cell in the test macro, solve different time error problem between the test packet; Simultaneously by by device driver or play timestamp equipment acquisition time stamp from the standard time source, and test packet is configured to new test packet with timestamp by device driver, directly enter test macro inside and transmit, also solved test packet and timestamp and transmitted problem.
The method of the transmission test packet that the embodiment of the invention is provided with specific embodiment describes below.
Embodiment one
In the present embodiment, after device driver receives test packet, obtain corresponding timestamp information from the standard time source, and the test packet of this timestamp and reception is configured to have the new test packet of timestamp, directly send test cell to, and without operating system and protocol stack.Test cell calls the corresponding protocol stack as required when detecting processing, and this test data that has timestamp wrapped in each protocol stack transmit, when test cell needs timestamp information, stab by test cell acquisition time from the test packet of this band timestamp.
Referring to Fig. 4, the flow chart of the transmission test packet implementation method that Fig. 4 provides for present embodiment one, wherein the transmission that wraps in the test macro of test data can be referring to Fig. 5.The implementation method flow process of present embodiment is as follows:
Step 401, filtration Hook Function relevant of registration in device driver with test packet.
Step 402, device driver receives packet.
Step 403, whether device driver meets filtercondition by filtering Hook Function judgment data bag, if meet filtercondition, changes step 404 over to; If do not meet filtercondition, change step 408 over to.
Step 404, device driver is intercepted and captured test packet from this packet.
In this step, device driver has multiple intercepting and capturing mode, for example adopts modes such as Ether frame, IP frame, UDP frame, RTP frame, TS frame to intercept and capture test packet.
Step 405, device driver is stabbed from standard time source acquisition time.
Step 406, device driver is configured to new packet with the timestamp that obtains and the test packet of intercepting and capturing, and this packet is the test packet of band timestamp information.
The data structure of the new test packet that is configured to has two kinds, and a kind of is that timestamp places before the test packet; Another kind is that timestamp places after the test packet.These two kinds of data structure schematic diagrames as shown in Figure 3.
Step 407, the test packet of the band timestamp that device driver will be configured to directly sends test cell to.
Step 408, device driver sends packet to operating system, presses the normal flow processing of computer.
Embodiment two
Present embodiment two stabs information at acquisition time, intercept and capture test packet and the timestamp that obtains and the test packet of intercepting and capturing are configured to all be same as embodiment one with the steps such as test packet of timestamp from the packet that meets filtercondition, present embodiment two is with embodiment one difference: in step 407, the test packet of the band timestamp that device driver will be configured to is stored as file, directly send this document to test cell, directly from described file, obtain the test packet of this band timestamp by test cell according to the needs of test.Can be in the transmission that the test data of present embodiment wraps in the test macro referring to Fig. 6.
Present embodiment two can be realized the buffer memory of the new test packet that device driver is configured to than embodiment one, can not cause losing of test packet, and makes test cell to carry out off-line analysis or analyze according to the needs of handling.
Embodiment three
In the present embodiment, the newly-increased hardware device of beating timestamp, obtain corresponding timestamp information by this dozen timestamp equipment from the standard time source, and the packet that arrives the network equipment stamped timestamp, form the private data bag of band timestamp,, at first untie this private data bag by device driver when the private data bag of stamping timestamp is sent to device driver, therefrom extraction time stabs, and this private data bag of stamping timestamp is reverted to the packet of normal format.
Referring to Fig. 7, the flow chart of the transmission test packet implementation method that Fig. 7 provides for present embodiment three, wherein the transmission that wraps in the test macro of test data can be referring to Fig. 8.The implementation method flow process of present embodiment is as follows:
Step 701, filtration Hook Function relevant of registration in device driver with test packet.
Step 702, the network equipment receives packet.
Step 703 is beaten timestamp equipment and is stabbed from standard time source acquisition time.
Step 704 is beaten timestamp equipment the packet that arrives the network equipment is stamped timestamp, forms the private data bag of band timestamp.
This step is to realize the reorganization of packet by hardware mode, and the packet after the reorganization is the private data bag of privately owned form.
Step 705, the network equipment will send device driver to the private data bag of timestamp.
Step 706, device driver are untied this private data bag, and therefrom extraction time stabs, and this private data bag of stamping timestamp are reverted to the packet of normal format.
Step 707, device driver judges that by filtering Hook Function whether the packet that reverts to normal format meets filtercondition, if meet filtercondition, changes step 708 over to; If do not meet filtercondition, change step 711 over to.
Step 708, device driver is intercepted and captured test packet from the packet that reverts to normal format.
In this step, device driver has multiple intercepting and capturing mode, for example adopts modes such as Ether frame, IP frame, UDP frame, RTP frame, TS frame to intercept and capture test packet.
Step 709, device driver is configured to new packet with the timestamp of extraction and the test packet of intercepting and capturing, and this packet is the test packet of band timestamp information.
The data structure of the new test packet that is configured to has two kinds, and a kind of is that timestamp places before the test packet; Another kind is that timestamp places after the test packet.These two kinds of data structure schematic diagrames as shown in Figure 3.
Step 710, the test packet of the band timestamp that device driver will be configured to directly sends test cell to.
Step 711, device driver abandons timestamp information, and the packet that will revert to normal format sends operating system to, presses the normal flow processing of computer.
Present embodiment three is than embodiment one, and the newly-increased hardware device of beating timestamp stabs information and stamps timestamp to the packet that arrives the network equipment by the hardware mode acquisition time, and speed is fast, and accuracy is higher, and the network device processing time delay can be removed.
Embodiment four
Present embodiment four also is to stab information by beating timestamp hardware device acquisition time, and stamp the private data bag that timestamp forms the band timestamp to the packet that arrives the network equipment, therefrom extraction time stabs at first to untie this private data bag by device driver, and this private data bag of stamping timestamp is reverted to the packet of normal format, from the packet that meets filtercondition, intercept and capture test packet, and the test packet of the timestamp that extracts and intercepting and capturing is configured to test packet with timestamp, these steps all are same as embodiment three, present embodiment four is with embodiment three differences: in step 710, the test packet of the band timestamp that device driver will be configured to is stored as file, directly send this document to test cell, directly from described file, obtain the test packet of this band timestamp by test cell according to the needs of test.Can be in the transmission that the test data of present embodiment wraps in the test macro referring to Fig. 9.
Present embodiment four can be realized the buffer memory of the new test packet that device driver is configured to than embodiment three, can not cause losing of test packet, and makes test cell to carry out off-line analysis or analyze according to the needs of handling.
The method of the transmission test packet that provides corresponding to the embodiment of the invention, the embodiment of the invention also provides a kind of system that transmits test packet, referring to Figure 10, comprising:
Processing unit 1010 is used for device driver the test packet that receives is handled;
Delivery unit 1020, the test packet that is used for after device driver is handled described processing unit 1010 directly sends test cell 105 to.
Still referring to Figure 10, before described processing unit, described system also comprises:
Filter element 1000 is used for device driver and filters out test packet from the packet that the network equipment transmits.
Referring to Figure 11, a kind of detailed structure view that transmits the system of test packet that Figure 11 provides for the embodiment of the invention, at first from the packet that the network equipment transmits, filter out test packet, the test packet that filters out is handled by processing unit 1010 by the filter element in the device driver 1000.
Described processing unit 1010 comprises:
First receiver module 1011 is used for the test packet that device driver receives normal format;
The very first time is stabbed acquisition module 1012, is used for device driver and stabs from standard time source acquisition time;
The new bag of first structure module 1013 is used for the test packet that device driver stabs timestamp that acquisition module 1011 obtains and the normal format of described first receiver module 1011 receptions with the described very first time and is configured to new test packet.
The data structure of the new test packet that the new bag of first structure module 1013 is configured to has two kinds, and a kind of is that timestamp places before the test packet; Another kind is that timestamp places after the test packet.These two kinds of data structure schematic diagrames as shown in Figure 3.
Described delivery unit 1020 specifically is used for device driver and directly sends the new test packet that the new bag of described first structure module 1013 is configured to test cell 105.
A kind of optimization embodiment, described delivery unit 1020 also comprises:
Storage file module 1021, be used for device driver the new test packet that the new bag of described first structure module 1013 is configured to is stored as file, directly send this document to test cell 105, directly from this document, obtain the described new test packet that is configured to by described test cell 105.
This optimization embodiment has realized the buffer memory of the new test packet that device driver is configured to, and can not cause losing of test packet, and makes test cell to carry out off-line analysis or analyze according to the needs of handling.
The another kind of embodiment that optimizes, the system of the transmission test packet that the embodiment of the invention provides has increased the hardware device of beating timestamp newly, referring to Figure 12, the another kind that Figure 12 provides for the embodiment of the invention transmits the detailed structure view of the system of test packet, this system comprises beats timestamp equipment 1030, and the described timestamp equipment 1030 of beating comprises:
The second timestamp acquisition module 1031 is used for beating timestamp equipment 1030 acquisition time from the standard time source and stabs;
Beat timestamp module 1032, be used for beating 1030 pairs of packets that arrive the network equipment of timestamp equipment and stamp the timestamp that the described second timestamp acquisition module 1031 obtains.
The packet of stamping timestamp at first filters out test packet by the filter element in the device driver 1000 from the packet that the network equipment transmits, the test packet that filters out is handled by processing unit 1010.
Described processing unit 1010 comprises:
Second receiver module 1015 is used for device driver and receives the described test packet of stamping timestamp;
Separate timestamp module 1016, be used for device driver, and the described test packet of stamping timestamp is reverted to the test packet of normal format from the described test packet extraction time stamp of stamping timestamp;
The new bag of second structure module 1017 is used for device driver described timestamp and the described test packet that reverts to normal format of separating 1016 extractions of timestamp module is configured to new test packet.
The data structure of the new test packet that the new bag of second structure module 1017 is configured to has two kinds, and a kind of is that timestamp places before the test packet; Another kind is that timestamp places after the test packet.These two kinds of data structure schematic diagrames as shown in Figure 3.
Described delivery unit 1020 specifically is used for device driver and directly sends the new test packet that the new bag of described second structure module 1017 is configured to test cell 105.
This optimization embodiment stabs information and stamps timestamp to the test packet that arrives the network equipment by the hardware mode acquisition time, and speed is fast, and accuracy is higher, and the network device processing time delay can be removed.
Further, described delivery unit 1020 also comprises:
Storage file module 1021, be used for device driver the new test packet that the new bag of described second structure module 1017 is configured to is stored as file, directly send this document to test cell 105, directly from this document, obtain the described new test packet that is configured to by described test cell.
Like this, delivery unit 1020 has been realized the buffer memory of the new test packet that device driver is configured to, and can not cause losing of test packet, and makes test cell to carry out off-line analysis or analyze according to the needs of handling.
The system of the transmission test packet that the embodiment of the invention provides, directly send the new test packet that processing unit 1010 finally is configured to test cell by delivery unit 1020, and without operating system and protocol stack, the processing delay of the processing delay of operating system and each protocol stack can be removed, can avoid because the time error problem brought of the number of tasks of the scheduling strategy of operating system and current operation system and current higher priority task handling time.And, the timestamp information that obtains can be when test packet be sent to device driver, obtain from the standard time source by device driver, perhaps when arriving the network equipment, obtains from the standard time source test packet by beating timestamp equipment, when test cell needs timestamp information, from the new test packet that processing unit 1010 finally is configured to, obtain described timestamp by test cell, so also the processing delay of the processing delay of device driver and test cell itself can be removed.
Therefore, the system of the transmission test packet that the embodiment of the invention provides, can remove the processing delay of device driver processing delay, operating system processing delay, each protocol stack and test cell itself, can reduce the time delay of test packet arrival test cell in the test macro, solve different time error problem between the test packet; Simultaneously by by device driver or play timestamp equipment acquisition time stamp from the standard time source, and test packet is configured to new test packet with timestamp by device driver, directly enter test macro inside and transmit, also solved test packet and timestamp and transmitted problem.
Need to prove that the form that each method in the embodiment of the invention can software function module realizes, and this software function module can be stored in also in the computer read/write memory medium as production marketing independently or when using.The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
Each functional unit in the embodiment of the invention can be integrated in the processing module, also can be that the independent physics in each unit exists, and also can be integrated in the module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If described integrated module realizes with the form of software function module and during as independently production marketing or use, also can be stored in the computer read/write memory medium.The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
More than the method and system of the transmission test packet that the embodiment of the invention provided is described in detail, the present invention handles the test packet that receives by device driver, and the test packet after will handling directly sends test cell to, reduce the time delay of test packet arrival test cell in the test macro, solve different time error problem between the test packet.The explanation of embodiment just is used for helping to understand method of the present invention and thought thereof; Anyly be familiar with those skilled in the art in the technical scope that the present invention discloses, can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection range with claim.

Claims (16)

1. a method that transmits test packet is characterized in that, comprising:
Device driver is handled the test packet that receives;
Test packet after device driver will be handled directly sends test cell to.
2. method according to claim 1 is characterized in that, before the step that described device driver is handled the test packet that receives, described method comprises:
Device driver filters out test packet from the packet that the network equipment transmits.
3. method according to claim 2 is characterized in that, the step that described device driver is handled the test packet that receives comprises:
Device driver receives the test packet of normal format;
Device driver is stabbed from standard time source acquisition time;
Device driver is configured to new test packet with the test packet of the normal format of described timestamp that obtains and described reception.
4. method according to claim 2 is characterized in that, described device driver filtered out the step of test packet from the packet that the network equipment transmits before, described method also comprised:
Beating timestamp equipment stabs from standard time source acquisition time;
Beat timestamp equipment the packet that arrives the network equipment is stamped timestamp.
5. method according to claim 4 is characterized in that, the step that described device driver is handled the test packet that receives comprises:
Device driver receives the described test packet of stamping timestamp;
Device driver extraction time from the described test packet of stamping timestamp stabs, and the described test packet of stamping timestamp is reverted to the test packet of normal format;
Device driver is configured to new test packet with the timestamp and the described test packet that reverts to normal format of described extraction.
6. according to claim 3 or 5 described methods, it is characterized in that the data structure of the described new test packet that is configured to is:
Described timestamp places before the described test packet, and perhaps described timestamp places after the described test packet.
7. according to claim 3 or 5 described methods, it is characterized in that the step that the test packet after described device driver will be handled directly sends test cell to is specially:
Device driver directly sends the described new test packet that is configured to test cell.
8. method according to claim 7 is characterized in that, described device driver directly sends the described new test packet that is configured to the step of test cell to, also comprises:
Device driver is stored as file with the described new test packet that is configured to, and directly sends this document to test cell, directly obtains the described new test packet that is configured to by described test cell from this document.
9. according to claim 3,5 or 8 each described methods, it is characterized in that, when described test cell needs timestamp information, from the described new test packet that is configured to, obtain described timestamp by described test cell.
10. a system that transmits test packet is characterized in that, comprising:
Processing unit is used for device driver the test packet that receives is handled;
Delivery unit is used for the test packet of device driver after with described processing unit processes and directly sends test cell to.
11. system according to claim 10 is characterized in that, before described processing unit, described system also comprises:
Filter element is used for device driver and filters out test packet from the packet that the network equipment transmits.
12. system according to claim 11 is characterized in that, described processing unit comprises:
First receiver module is used for the test packet that device driver receives normal format;
The very first time is stabbed acquisition module, is used for device driver and stabs from standard time source acquisition time;
The new bag of first structure module is used for the test packet that device driver stabs timestamp that acquisition module obtains and the normal format of described first receiver module reception with the described very first time and is configured to new test packet.
13. system according to claim 11 is characterized in that, before filter element, described system also comprises beats timestamp equipment, and the described timestamp equipment of beating comprises:
The second timestamp acquisition module is used for beating timestamp equipment acquisition time from the standard time source and stabs;
Beat the timestamp module, be used for beating timestamp equipment the packet that arrives the network equipment is stamped the timestamp that the described second timestamp acquisition module obtains.
14. system according to claim 13 is characterized in that, described processing unit comprises:
Second receiver module is used for device driver and receives the described test packet of stamping timestamp;
Separate the timestamp module, be used for device driver, and the described test packet of stamping timestamp is reverted to the test packet of normal format from the described test packet extraction time stamp of stamping timestamp;
The new bag of second structure module is used for device driver described timestamp and the described test packet that reverts to normal format of separating the extraction of timestamp module is configured to new test packet.
15. according to claim 12 or 14 described systems, it is characterized in that,
Described delivery unit specifically is used for device driver and directly sends the new test packet that described first structure newly wraps module or the new bag of described second structure module structure one-tenth to test cell.
16. system according to claim 15 is characterized in that, described delivery unit also comprises:
The storage file module, be used for device driver the new test packet that described first structure newly wraps module or the new bag of described second structure module structure one-tenth is stored as file, directly send this document to test cell, directly from this document, obtain the described new test packet that is configured to by described test cell.
CN200810172060A 2008-10-28 2008-10-28 Method and system for transmitting test data packets Pending CN101729300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810172060A CN101729300A (en) 2008-10-28 2008-10-28 Method and system for transmitting test data packets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810172060A CN101729300A (en) 2008-10-28 2008-10-28 Method and system for transmitting test data packets

Publications (1)

Publication Number Publication Date
CN101729300A true CN101729300A (en) 2010-06-09

Family

ID=42449572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810172060A Pending CN101729300A (en) 2008-10-28 2008-10-28 Method and system for transmitting test data packets

Country Status (1)

Country Link
CN (1) CN101729300A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618640A (en) * 2013-11-19 2014-03-05 武汉烽火网络有限责任公司 Ethernet performance testing method and device based on point-to-point testing
CN103795589A (en) * 2013-12-26 2014-05-14 国家广播电影电视总局广播科学研究院 Channel damage testing method of radio and television transmission distribution network
CN105338341A (en) * 2014-08-12 2016-02-17 杭州海康威视系统技术有限公司 Method and device for reproducing real-time video code stream
WO2017206767A1 (en) * 2016-06-01 2017-12-07 中兴通讯股份有限公司 Method for diagnosing voice delay, gateway device, and computer storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618640A (en) * 2013-11-19 2014-03-05 武汉烽火网络有限责任公司 Ethernet performance testing method and device based on point-to-point testing
CN103618640B (en) * 2013-11-19 2016-08-31 武汉烽火网络有限责任公司 Ethernet performance method of testing based on point-to-point test and device
CN103795589A (en) * 2013-12-26 2014-05-14 国家广播电影电视总局广播科学研究院 Channel damage testing method of radio and television transmission distribution network
CN103795589B (en) * 2013-12-26 2017-09-19 国家新闻出版广电总局广播科学研究院 Broadcast television transmissions distribute network channel damage measure method
CN105338341A (en) * 2014-08-12 2016-02-17 杭州海康威视系统技术有限公司 Method and device for reproducing real-time video code stream
WO2017206767A1 (en) * 2016-06-01 2017-12-07 中兴通讯股份有限公司 Method for diagnosing voice delay, gateway device, and computer storage medium

Similar Documents

Publication Publication Date Title
US11632298B2 (en) Methods and apparatus to convert router configuration data
CN106162235B (en) For the method and apparatus of Switch Video stream
US20070064851A1 (en) Method for synchronizing a customer edge router or customer premise equipment associated therewith
EP3591908B1 (en) Method and device for lip-speech synchronization among multiple devices
WO2009066679A1 (en) Signal transmission device and signal transmission method
CN102215319A (en) Delay controller, control method, and communication system
CN107995503B (en) Audio and video playing method and device
CN1845546A (en) Accurate time synchronization method and system facing measurement and control
CN101861577A (en) System and method for inter-processor communication
CN102291272A (en) Method of remote active testing of a device or network
CN101729300A (en) Method and system for transmitting test data packets
WO2013098810A1 (en) Adaptive forward error correction (fec) system and method
CN105791939A (en) Audio and video synchronization method and apparatus
CN102866925A (en) Communication method and system for middleware and user interface
CN103096183A (en) Efficient streaming media transmission method
RU2408995C2 (en) System and method for synchronisation of packet network
CN103327129A (en) Domain name analyticmethod for multi-WAN-port gateway device
CN101022386B (en) Information processing apparatus and method
CN102447878A (en) Remote packet capturing method for television wall server and recording and broadcasting server
CN104205852A (en) Information processing device and method, and program
CN101262445A (en) Stream media server and realization method for self-adaptability to IPv4/IPv6
US8762520B2 (en) Method and system to detect a predictive network signature
CN104205851A (en) Information processing device and method, and program
CN102932673A (en) Video signal and audio signal transmission and synthesis method, system and device
CN102111618A (en) Method and system for improving correctness of calculating number of video transport stream (TS) packet losses

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100609