CN1713597A - User plane flow testing system and realization - Google Patents
User plane flow testing system and realization Download PDFInfo
- Publication number
- CN1713597A CN1713597A CN 200410048237 CN200410048237A CN1713597A CN 1713597 A CN1713597 A CN 1713597A CN 200410048237 CN200410048237 CN 200410048237 CN 200410048237 A CN200410048237 A CN 200410048237A CN 1713597 A CN1713597 A CN 1713597A
- Authority
- CN
- China
- Prior art keywords
- message
- module
- statistics
- shared drive
- user
- 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
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The system consists of: user interface module used to send input message of user to control processor, to receive statistical data and message sent by control processor, to send the received input message of user to share memory, and to send the statistical data and message received from share memory to user interface module; share memory used to send the received input message of user to network processor, to receive statistical result and message, to send received message to network processor, to receive flow rate statistics, and to send the flow rate statistics, statistical data and message to control processor; network processor used to generate message based on input message of user received from share memory, to send the message to test network, to receive the message from test network, to send the received statistical result and message to share memory, to receive the message sent from share memory, and to send flow rate statistics to share memory.
Description
Technical field
The present invention relates to the message flow measuring technology, particularly a kind of user's surface current measures the system and the implementation method of examination.
Background technology
The network equipment need carry out user's surface current usually and measure examination before coming into operation, and the real traffic when promptly simulating online operation determines whether the parameters such as handling capacity, time delay of this network equipment are qualified.This just needs a simulation tool that can produce, receive the data on flows message and carry out statistical analysis.Usually, the transmission of data message and reception are finished by same instrument, and we are called user's surface current to such simulation tool and measure the trial work tool.
At present, measure the trial work tool about user's surface current, more existing ripe commercial products on the market, the Smartbits ability meter of Netcom Systems company is exactly one of them.This equipment can produce the message flow of some constant rate of speeds or square wave, and can add up message total and the Mean Speed that receives according to message template, the stream parameter of user's setting.Because the reception message of this equipment and transmission message use the defective of same processor and its function, this equipment also has more following shortcomings: do not have patterned reception waveform output, be inconvenient to carry out intuitive analysis; Can't intercept and capture the reception content of message; Set up on their own the user under the situation of speed and can't carry out delay statistics etc.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of user's surface current to measure the system of examination, and this system can realize that the transmission of message separates with the reception of message.
Another object of the present invention is to provide a kind of user's surface current to measure the method for examination, it is fast that this method is handled message speed, and the message throughput is big, and can graphically export the reception waveform, also can intercept and capture the message content of reception, query manipulation is provided, and can add up time delay of each message etc.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of user's surface current measures the system of examination, and this system comprises subscriber interface module, processor controls, shared drive and network processor, wherein,
Subscriber interface module is used for sending user's input information to processor controls, receives statistics and message that processor controls sends;
Processor controls, the user's input information that is used for receiving from subscriber interface module sends to shared drive, will send to subscriber interface module from statistics and the message that shared drive receives;
Shared drive, be used for and send to network processor from the user's input information that processor controls receives, statistics and message that reception sends from network processor, the message cycle that receives is sent to network processor, receive the traffic statistics that network processor sends, traffic statistics and statistics are sent to processor controls together as statistics and message;
Network processor, be used for producing message according to the user's input information that obtains from shared drive, message is sent to test network, and by test network reception message, add up according to the message that receives, obtain statistics and message sends to shared drive, and the cycle receives the message that sends from shared drive, produce traffic statistics according to message, traffic statistics are sent to shared drive.
Described user's input information is: stream parameter, editor's message and beginning/shut-down operation.
Comprise communication module in the described processor controls, user's input information in the processor controls be receive from subscriber interface module by communication module and send to shared drive by communication module, statistics in the processor controls and message be receive from shared drive by communication module and send to subscriber interface module by communication module;
Comprise receiving and counting district and stream parameter region in the described shared drive, wherein, united receiving and counting district and stream parameter region of the user's input information in the shared drive receives, and the stream parameter region sends to network processor with the stream parameter in the user's input information; The receiving and counting district receives statistics and the message that network processor sends, and the message cycle that receives sent to network processor, receive the traffic statistics that network processor sends, traffic statistics and statistics are sent to processor controls together as statistics and message;
Comprise the living module of miscarriage, sending module, receiver module and statistical report module in the network processor, wherein, miscarriage is given birth to module according to the stream parameter generating message that receives from shared drive, sending module sends to test network with the message that produces, receiver module receives message from test network, this message is added up, statistics and message are sent to shared drive; The statistical report module is carried out traffic statistics according to the message that receives from the shared drive cycle, and traffic statistics are sent to shared drive.
Each module in the described network processor is respectively to be made of at least one processor.
Also comprise communication module in the described network processor, the user's input information that processor controls sends sends to shared drive by this communication module, and the statistics that shared drive sends sends to processor controls by this communication module.
Stream parameter in the user's input information that described stream parameter region receives is stored in the stream parametric statistics table of shared drive stream parameter region setting.
Described subscriber interface module receives statistics and is to adopt User Datagram Protoco (UDP) UDP to the process that processor controls sends user's input information from processor controls.
The statistics that described shared drive receives is for receiving counting messages and receiving the message delay statistics, the reception counting messages is stored in the receiving and counting table of shared drive receiving and counting district setting, is stored in the time-delay statistical form of shared drive receiving and counting district setting receiving the message delay statistics;
The traffic statistics that described shared drive receives are stored in the traffic statistics table of shared drive receiving and counting district setting.
Described subscriber interface module also is used for making oscillogram according to statistics:
The described oscillogram of making is: be transverse axis with time, be longitudinal axis mapping with message number/byte number of receiving in the unit interval according to statistics, obtain oscillogram.
A kind of user's surface current measures the implementation method of examination, and this method comprises:
A, processor controls receive the user's input information that subscriber interface module sends, and user's input information is sent to network processor by shared drive;
B, network processor produce message and send message to test network according to the user's input information of receiving, network processor receives message from test network, add up according to the message that receives, obtain statistics, message and statistics are sent to the shared drive storage;
C, shared drive send to network processor with the message cycle that receives, and carried out traffic statistics and traffic statistics are sent to shared drive by network processor, and shared drive is stored statistics and traffic statistics together as statistics and message;
Statistics and message that D, socket are stored by processor controls inquiry shared drive.
Be provided with miscarriage at network processor and give birth to module, user's input information comprises the stream parameter at least, and the process of the described generation message of step B is:
B11, the living module of miscarriage judge whether to receive the stream parameter in the user's input information, if, execution in step B12; Otherwise, return step B11;
Module reading flow parameter is given birth in B12, miscarriage, and judges according to the stream parameter whether the current message that will produce is in crest value, if change step B13 over to; Otherwise, change step B12 over to;
B13, miscarriage are given birth to module and are produced message, and this message is put into transmit queue, wait to be sent;
B14, miscarriage life module judge whether transmit queue delays time completely, if, execution in step B15; Otherwise, execution in step B14;
B15, miscarriage are given birth to module indication transmit queue and are sent message, and record sends the time of message;
B16, miscarriage are given birth to module and are judged whether when sending message be single burst, if, execution in step B17; Otherwise, after the transmission message is intact, process ends;
B17, stop to send message, process ends.
Described transmit queue is arranged on miscarriage and gives birth in the module, perhaps is arranged on separately between the sending module in living module of miscarriage and the network processor.
Sending module is set on network processor, and the described transmission message of step B to the process of test network is:
B21, sending module extract message from transmit queue;
B22, sending module send to test network with the message that extracts.
After step B21 extracted message, before step B22 sent message, this method also comprised:
Whether the message that sending module judge to extract is provided with the time stamp mark in advance, if, with the current time as timestamp, with this time stamp setting in this message, execution in step B22; Otherwise, direct execution in step B22.
Receiver module is set on network processor, and the described network processor of step B receives message, adds up according to the message that receives, and the process that obtains statistics is:
B31, receiver module receive message from test network, message are sent in the receiving and counting table of shared drive setting to preserve;
Packet accouter in the receiving and counting table of B32, the setting of receiver module indication shared drive adds 1, and the indication byte counter adds this message length;
B32, receiver module judge whether the message that receives is provided with timestamp, if, execution in step B33; Otherwise, process ends;
B33, receiver module write down the time-delay situation of this reception message according to the time-delay statistical form of the timestamp indication shared drive setting of this message setting.
The statistical report module is set on network processor, and the described process of carrying out traffic statistics by network processor of step C is:
C11, statistical report module read the clock of place user's face test macro, and the statistical report module judges whether to arrive predefined timing statistics, if, execution in step C12; Otherwise, execution in step C11;
C12, statistical report module add 1 and carry out statistic gathering with the sample counter that sets in advance;
C13, statistical report module judge whether the time that sample counter sets arrive, if, execution in step B44, otherwise, process ends;
C14, statistical report module are carried out statistic flow to shared drive and are reported, and the situation that statistic flow is reported writes the real-time reception traffic statistics table that shared drive is provided with;
C15, statistical report module return the setting-up time zero clearing of sample counter to step C11, carry out the traffic statistics of next period.
Because the present invention is based on the exploitation of network processor, therefore compared with prior art, it is low that the present invention has development and manufacturing cost, and the transmission of data separates with reception, and processing speed is fast, and data throughout is big; Receive flow and graphically export, directly perceived and convenient the analysis; Can check the reception message content; Can carry out advantages such as delay statistics.
Description of drawings
Fig. 1 is the schematic diagram that user's surface current of the present invention measures the test system general structure.
Fig. 2 is the module relation diagram of network processor.
Fig. 3 is that module 110 workflow diagrams are given birth in miscarriage of the present invention.
Fig. 4 is sending module 111 workflow diagrams of the present invention.
Fig. 5 is receiver module 108 workflow diagrams of the present invention.
Fig. 6 is statistical report module 109 workflow diagrams of the present invention.
Fig. 7 is the schematic diagram that user's surface current of the present invention measures another embodiment of test system general structure.
Embodiment
For making the purpose, technical solutions and advantages of the present invention express clearlyer, the present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
User's surface current provided by the invention measures test system and can produce message and send to the network of being tested according to user's input information, simultaneously, this user's surface current measures test system receives transmission by the network of test message, the message that receives is added up, thereby obtain test result, test result comprises: patterned reception waveform output; The reception content of message of intercepting and capturing; Set up on their own the user under the situation of speed and carry out delay statistics etc.
Fig. 1 is the schematic diagram that user's surface current of the present invention measures the test system general structure.
This user's surface current measures test system mainly can be divided into four major parts such as subscriber interface module 101, processor controls 102, shared drive 103 and network processor 104, and shared drive 103 be the common internal memory of processor controls 102 and network processor 104.Wherein, processor controls 102 comprises a communication module 105; Shared drive 103 comprises receiving and counting district 106, stream parameter region 107; Network processor 104 comprises receiver module 108, statistical report module 109, the living module 110 of miscarriage, sending module 111.
Adopt User Datagram Protoco (UDP) (UDP, User Datagram Protocol) to communicate between subscriber interface module 101 and the processor controls 102.
Shared drive 103, be used for to be stored in from the user's input information that communication module 105 receives the stream parameter region 107 and receiving and counting district 106 of shared drive 103, and stream parameter region 107 extracts the stream parameter that the user sets from user's input information, and module 110 is given birth in the miscarriage that sends in the network processor 104; Receiving and counting district 106 in the shared drive 103 receives message and the statistics that the receiver module 108 in the network processor 104 sends; And this message sent to the statistical report module 109 that receives in the network processor 104; Receive the reception traffic statistics that the statistical report module 109 in the network processor 104 sends.Shared drive 103 sends to communication module 105 in the processor controls 102 with the statistics that obtains and traffic statistics as statistics.
Each module in the network processor 104 all is made of at least one processor, miscarriage in the network processor 104 is given birth to module 110 according to the stream parameter generating message that receives from stream parameter region 107, by the stream sending module 111 in the network processor 104 message that produces is sent in the test network; Receiver module 108 in the network processor 104 receives message by test network, adds up according to the message that receives, and the message that receives and statistics are sent to receiving and counting district 106 in the shared drive 103.The receiving and counting district 106 of statistical report module 109 in the network processor 104 from shared drive 103 receives messages, after adding up traffic statistics sent to the receiving and counting district 106 in the shared drive 103.
The stream parameter region 107 of shared drive 103 extracts the stream parameter according to user's input information and preserves in Table 1, and receiving and counting district 106 is stored in the message and the statistics of user's input information, reception in several tables, shown in, table two, table three and table four.
Wherein, table one is the stream parametric statistics table of stream parameter in the statistics user's input information, and it has added up time that stream sequence number, stream type, the stream of message flow begins/close, the speed of stream crest message, stream crest time started, stream trough duration, stream crest duration, message length and message time etc.
English name | Scope | Remarks | |
The stream sequence number | Stream? | 0~1023 | |
Stream type | Stream?Type | (Constant) single burst (Single Burst) continues burst (Constant Burst) continuously | |
Beginning | Start | Opening/closing | |
The crest message rate | Packet?Rate | Message/second | |
The crest time started | Start? | 1~4294967296 (microsecond) | |
The crest duration | On? | 1~4294967296 (microsecond) | |
The trough duration | Off? | 1~4294967296 (microsecond) | |
Message length | Packet?Length | 1-65535 (byte) | |
Message editing | Edit?Packet | ||
The time stamp mark | Time?Stamp?Flag | Opening/closing | |
The time stamp position | Time?Stamp Offset | Byte |
Table one
Table two is the receiving and counting table, it has added up number that will send message and the byte number that will send message, byte number according to the user's input information that obtains in the communication module from processor controls 102 105 is determined to send the number of message and sent message is stored in the table two; According to message and the statistics that the receiver module from network processor 106 108 receives, draw the message number that receives, the byte number of the message that receives and the content of message that receives, be stored in the table two.
English name | Unit | |
Transmitting counter (message number) | Send?Counter(Packet) | Message |
Transmitting counter (byte number) | Send?Counter(Byte) | Byte |
Count pick up device (message number) | Receive?Counter(Packet) | Message |
Count pick up device (byte number) | Receive?Counter(Byte) | Byte |
Number of dropped packets | Packet?Lost | Message |
Receive message content | Received?Packet?Content |
Table two
Table three is to receive the traffic statistics table in real time, content in this table provides for the statistical report module 109 in the network processor 104, statistical report module 109 periodically reads the message that receives in the receiving and counting district 106, number to this message is added up, and statistics is write the real-time reception traffic statistics table in receiving and counting district 106.
0 | The message number of the 0th |
1 | The message number of the 1st statistical time range |
…… | …… |
1023 | The message number of the 1023rd statistical time range |
1024 | The byte number of the 0th statistical time range |
1025 | The byte number of the 1st statistical time range |
…… | …… |
2047 | The byte number of the 1023rd statistical time range |
Table three
Table three is sent to subscriber interface module as statistics by communication module 105, subscriber interface module can be transverse axis with time according to table three just, be longitudinal axis mapping with message number/byte number of receiving in the unit interval, produce image or waveform and also be shown to the user.
Table four is the time-delay statistical form, the time-delay situation that is used for adding up the message that receives, and this is to realize by the mode of increasing time stamp for the message that sends.The mode of increasing time stamp for the message that sends is as follows: after sending module 111 takes out message from the living module 110 of miscarrying, check earlier whether message is provided with the time stamp mark in advance, as: the numerical value that is arranged on ad-hoc location equals particular value, if, then write current time, i.e. timestamp at another ad-hoc location.The mode of delay statistics is as follows: when receiver module 108 receives message, check that earlier message has or not time stamp, if having, deduct the timestamp that writes down in the message with current time, can obtain this message time delay.The time delay of this message is recorded in the table four in receiving and counting district 106.
0 | Time delay is the message number of 0~ |
1 | Time delay is the message number of 1~2ms |
…… | …… |
1023 | Time delay is the message number of 1023~1024ms |
Table four
Fig. 2 is the module relation diagram of network processor.A plurality of sub-processors are arranged in the network processor as shown in Figure 2, and each sub-processor can be divided into miscarriage according to the function difference and give birth to four modules such as module 110, sending module 111, receiver module 108 and statistical report module 109.Wherein, the major function that module 110 is given birth in miscarriage is: begin/stop to produce stream, go into transmit queue 202 etc. according to frequency, the message of the transmission rate control message generation in the stream parameter, this transmit queue 202 can be integrated in miscarriage and give birth to module 110, also can give birth between module 110 and the sending module 111 in miscarriage and set up an independently transmit queue; The major function of sending module 111 is: get message and send, send statistics, increase time stamp etc. to the message with time stamp mark from transmit queue; The major function of receiver module 108 is: receive that message is always added up, message content is preserved and delay statistics etc.; The major function of statistical report module 109 is: the statistical report that receives flow.
The present invention is based on said system also provides a kind of user's surface current to measure the implementation method of examination, this method comprises: at first the communication module in the processor controls 102 105 receives the user's input information that subscriber interface module 101 sends, and user's input information is sent to network processor 104 by shared drive 103; Miscarriage in the network processor 104 is given birth to module 110 according to the stream parameter generating message in the user's input information of receiving then, and the sending module 111 that passes through in the network processor 104 sends messages to test network, in the receiver module network processor 104 108 receives message from test network, add up according to the message that receives, obtain statistics, message and statistics are sent to shared drive 103 storages; Once more, shared drive 103 sends to statistical report module 109 in the network processor 104 with the message cycle that receives, carried out traffic statistics and will be sent to shared drive 103 after the traffic statistics by the statistical report module in the network processor 104 109, shared drive 103 is stored statistics and traffic statistics together as statistics and message; At last, socket 100 is by the statistics and the message of 103 storages of processor controls inquiry shared drive.
What kind of the workflow that the living module 110 of miscarriage, sending module 111, receiver module 108 and statistical report module 109 in the network processor below are described respectively is.
As shown in Figure 3, Fig. 3 is that module 110 workflow diagrams are given birth in miscarriage of the present invention, and its concrete steps are:
Step 304~305, miscarriage are given birth to module 110 and are produced message, and this message is put into transmit queue, wait to be sent;
As shown in Figure 4, Fig. 4 is sending module 111 workflow diagrams of the present invention, and its concrete steps are:
Judge whether this message is provided with the time stamp mark when extracting message, if, with the current time as timestamp, with this time stamp setting in this message, otherwise, this message is not processed;
Step 403, process ends.
As shown in Figure 5, Fig. 5 is receiver module 108 workflow diagrams of the present invention, and its concrete steps are:
Step 501, receiver module 108 receive message;
Packet accouter in the receiving and counting table in step 503, receiver module 108 indication receiving and counting districts 106 adds 1;
Byte counter in the receiving and counting table in step 504, receiver module 108 indication receiving and counting districts 106 adds this message length;
Step 506, receiver module 108 write down the time-delay situation of this reception message, process ends according to the time-delay statistical form in the timestamp indication receiving and counting district 106 of this message.
As shown in Figure 6, Fig. 6 is statistical report module 109 workflow diagrams of the present invention, and its concrete steps are:
The present invention can adopt the described method of Fig. 6 to proceed the traffic statistics of next time period.
In the above-described embodiments, also can adopt message mechanism to communicate by letter between processor controls 102 and the network processor 104.Need with one or more sub-processors with processor controls to communicate by letter in the network processor 104 this moment.Implementation is seen as shown in Figure 7.Fig. 7 is the schematic diagram that user's surface current of the present invention measures another embodiment of test system general structure.
This user's surface current measures test system mainly can be divided into four major parts such as subscriber interface module 101, processor controls 102, shared drive 103 and network processor 104, and shared drive 103 be the common internal memory of processor controls 102 and network processor 104.Wherein, processor controls 102 comprises a communication module 105; Shared drive 103 comprises receiving and counting district 106, stream parameter region 107; Network processor 104 comprises receiver module 108, statistical report module 109, miscarriage living module 110, sending module 111 and communication module 113.
Adopt User Datagram Protoco (UDP) (UDP, User Datagram Protocol) to communicate between subscriber interface module 101 and the processor controls 102.
Shared drive 103, the user's input information that is used for receiving from the communication module 113 of network processor 104 is stored in stream parameter region 107 and the receiving and counting district 106 the shared drive 103, and stream parameter region 107 extracts the stream parameter that the user sets from user's input information, and module 110 is given birth in the miscarriage that sends in the network processor 104; Receiving and counting district 106 receives message and the statistics that the receiver module 108 in the network processor 104 sends, and this message sent to the statistical report module 109 that receives in the network processor 104, receive the reception traffic statistics that the statistical report module 109 in the network processor 104 sends.Shared drive 103 is with the statistics that obtains and receive traffic statistics and send to communication module 113 in the network processor 104 as statistics.
Each module in the network processor 104 all is made of at least one processor, miscarriage in the network processor 104 is given birth to module 110 according to the stream parameter generating message that receives from stream parameter region 107, by the stream sending module 111 in the network processor 104 message that produces is sent, receiver module 108 in the network processor 104 receives message, obtain statistics according to the message that receives, the message of reception and statistics are reported receiving and counting district 106 in the shared drive 103.The receiving and counting district 106 of statistical report module 109 in the network processor 104 from shared drive 103 receives messages, will receive traffic statistics after adding up and report receiving and counting district 106 in the shared drive 103.Communication module 113 in the network processor 104 receives the user's input information that the communication module 105 in the processor controls 102 is sent, user's input information is sent to receiving and counting district 106 and stream parameter region 107 respectively, the statistics that receiving and counting district 106 sends sends to communication module 105 in the processor controls 102 with this statistics.
The present invention adopts the multiprocessing function of network processor, a plurality of sub-processors of giving birth in the module 110 with miscarriage produce message, with sending module 111 message is sent, add up with receiver module 108 reception messages and according to message, obtain statistics, carry out the message flow statistics with statistical report module 109, thereby can finish the statistics that whole user's surface current measures examination.
The present invention can increase timestamp when sending message, add up the time delay that each receives message with this.
User's surface current that the present invention is based on the network processor exploitation measures test system, and development and manufacturing cost is lower; The present invention utilizes the characteristics of the multiprocessor of network processor, has realized that message sends and separating that message receives; User's surface current provided by the invention measures the speed piece that test system is handled message, and the throughput of message is big; User's surface current provided by the invention measures test system can carry out delay statistics to the message that receives; User's surface current measurement test system provided by the invention can carry out flow with the message that receives graphically to be exported, directly perceived, the convenient analysis; User's surface current provided by the invention measures test system can check the reception content of message.Therefore, user's surface current provided by the invention measures test system and has obtained reasonable effect.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (16)
1, a kind of user's surface current measures the system of examination, it is characterized in that this system comprises subscriber interface module, processor controls, shared drive and network processor, wherein,
Subscriber interface module is used for sending user's input information to processor controls, receives statistics and message that processor controls sends;
Processor controls, the user's input information that is used for receiving from subscriber interface module sends to shared drive, will send to subscriber interface module from statistics and the message that shared drive receives;
Shared drive, be used for and send to network processor from the user's input information that processor controls receives, statistics and message that reception sends from network processor, the message cycle that receives is sent to network processor, receive the traffic statistics that network processor sends, traffic statistics and statistics are sent to processor controls together as statistics and message;
Network processor, be used for producing message according to the user's input information that obtains from shared drive, message is sent to test network, and by test network reception message, add up according to the message that receives, obtain statistics and message sends to shared drive, and the cycle receives the message that sends from shared drive, produce traffic statistics according to message, traffic statistics are sent to shared drive.
2, the system as claimed in claim 1 is characterized in that, described user's input information is: stream parameter, editor's message and beginning/shut-down operation.
3, system as claimed in claim 2, it is characterized in that, comprise communication module in the described processor controls, user's input information in the processor controls be receive from subscriber interface module by communication module and send to shared drive by communication module, statistics in the processor controls and message be receive from shared drive by communication module and send to subscriber interface module by communication module;
Comprise receiving and counting district and stream parameter region in the described shared drive, wherein, united receiving and counting district and stream parameter region of the user's input information in the shared drive receives, and the stream parameter region sends to network processor with the stream parameter in the user's input information; The receiving and counting district receives statistics and the message that network processor sends, and the message cycle that receives sent to network processor, receive the traffic statistics that network processor sends, traffic statistics and statistics are sent to processor controls together as statistics and message;
Comprise the living module of miscarriage, sending module, receiver module and statistical report module in the network processor, wherein, miscarriage is given birth to module according to the stream parameter generating message that receives from shared drive, sending module sends to test network with the message that produces, receiver module receives message from test network, this message is added up, statistics and message are sent to shared drive; The statistical report module is carried out traffic statistics according to the message that receives from the shared drive cycle, and traffic statistics are sent to shared drive.
4, system as claimed in claim 3 is characterized in that, each module in the described network processor is respectively to be made of at least one processor.
5, as claim 1 or 3 described systems, it is characterized in that, also comprise communication module in the described network processor, the user's input information that processor controls sends sends to shared drive by this communication module, and the statistics that shared drive sends sends to processor controls by this communication module.
6, system as claimed in claim 3 is characterized in that, the stream parameter in the user's input information that described stream parameter region receives is stored in the stream parametric statistics table of shared drive stream parameter region setting.
As claim 1 or 3 described systems, it is characterized in that 7, described subscriber interface module receives statistics and is to adopt User Datagram Protoco (UDP) UDP to the process that processor controls sends user's input information from processor controls.
8, system as claimed in claim 3, it is characterized in that, the statistics that described shared drive receives is for receiving counting messages and receiving the message delay statistics, the reception counting messages is stored in the receiving and counting table of shared drive receiving and counting district setting, is stored in the time-delay statistical form of shared drive receiving and counting district setting receiving the message delay statistics;
The traffic statistics that described shared drive receives are stored in the traffic statistics table of shared drive receiving and counting district setting.
9, the system as claimed in claim 1 is characterized in that, described subscriber interface module also is used for making oscillogram according to statistics:
The described oscillogram of making is: be transverse axis with time, be longitudinal axis mapping with message number/byte number of receiving in the unit interval according to statistics, obtain oscillogram.
10, a kind of user's surface current of the described system of claim 1 that utilizes measures the implementation method of trying, and it is characterized in that this method comprises:
A, processor controls receive the user's input information that subscriber interface module sends, and user's input information is sent to network processor by shared drive;
B, network processor produce message and send message to test network according to the user's input information of receiving, network processor receives message from test network, add up according to the message that receives, obtain statistics, message and statistics are sent to the shared drive storage;
C, shared drive send to network processor with the message cycle that receives, and carried out traffic statistics and traffic statistics are sent to shared drive by network processor, and shared drive is stored statistics and traffic statistics together as statistics and message;
Statistics and message that D, socket are stored by processor controls inquiry shared drive.
11, method as claimed in claim 10 is characterized in that, is provided with miscarriage at network processor and gives birth to module, and user's input information comprises the stream parameter at least, and the process of the described generation message of step B is:
B11, the living module of miscarriage judge whether to receive the stream parameter in the user's input information, if, execution in step B12; Otherwise, return step B11;
Module reading flow parameter is given birth in B12, miscarriage, and judges according to the stream parameter whether the current message that will produce is in crest value, if change step B13 over to; Otherwise, change step B12 over to;
B13, miscarriage are given birth to module and are produced message, and this message is put into transmit queue, wait to be sent;
B14, miscarriage life module judge whether transmit queue delays time completely, if, execution in step B15; Otherwise, execution in step B14;
B15, miscarriage are given birth to module indication transmit queue and are sent message, and record sends the time of message;
B16, miscarriage are given birth to module and are judged whether when sending message be single burst, if, execution in step B17; Otherwise, after the transmission message is intact, process ends;
B17, stop to send message, process ends.
12, method as claimed in claim 11 is characterized in that, described transmit queue is arranged on miscarriage and gives birth in the module, perhaps is arranged on separately between the sending module in living module of miscarriage and the network processor.
13, method as claimed in claim 11 is characterized in that, sending module is set on network processor, and the described transmission message of step B to the process of test network is:
B21, sending module extract message from transmit queue;
B22, sending module send to test network with the message that extracts.
14, method as claimed in claim 13 is characterized in that, after step B21 extracted message, before step B22 sent message, this method also comprised:
Whether the message that sending module judge to extract is provided with the time stamp mark in advance, if, with the current time as timestamp, with this time stamp setting in this message, execution in step B22; Otherwise, direct execution in step B22.
15, method as claimed in claim 10 is characterized in that, receiver module is set on network processor, and the described network processor of step B receives message, adds up according to the message that receives, and the process that obtains statistics is:
B31, receiver module receive message from test network, message are sent in the receiving and counting table of shared drive setting to preserve;
Packet accouter in the receiving and counting table of B32, the setting of receiver module indication shared drive adds 1, and the indication byte counter adds this message length;
B32, receiver module judge whether the message that receives is provided with timestamp, if, execution in step B33; Otherwise, process ends;
B33, receiver module write down the time-delay situation of this reception message according to the time-delay statistical form of the timestamp indication shared drive setting of this message setting.
16, method as claimed in claim 10 is characterized in that, the statistical report module is set on network processor, and the described process of carrying out traffic statistics by network processor of step C is:
C11, statistical report module read the clock of place user's face test macro, and the statistical report module judges whether to arrive predefined timing statistics, if, execution in step C12; Otherwise, execution in step C11;
C12, statistical report module add 1 and carry out statistic gathering with the sample counter that sets in advance;
C13, statistical report module judge whether the time that sample counter sets arrive, if, execution in step B44, otherwise, process ends;
C14, statistical report module are carried out statistic flow to shared drive and are reported, and the situation that statistic flow is reported writes the real-time reception traffic statistics table that shared drive is provided with;
C15, statistical report module return the setting-up time zero clearing of sample counter to step C11, carry out the traffic statistics of next period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410048237 CN1713597A (en) | 2004-06-14 | 2004-06-14 | User plane flow testing system and realization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410048237 CN1713597A (en) | 2004-06-14 | 2004-06-14 | User plane flow testing system and realization |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1713597A true CN1713597A (en) | 2005-12-28 |
Family
ID=35719040
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200410048237 Pending CN1713597A (en) | 2004-06-14 | 2004-06-14 | User plane flow testing system and realization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1713597A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202700B (en) * | 2006-12-12 | 2011-08-03 | 华为技术有限公司 | Method, apparatus and system for flow control of point-to-point file sharing |
CN102752170A (en) * | 2012-06-29 | 2012-10-24 | 福建富士通信息软件有限公司 | Network speed testing method |
CN101594222B (en) * | 2009-06-29 | 2012-12-19 | 中兴通讯股份有限公司 | Interface testing method and device |
CN103279265A (en) * | 2013-05-07 | 2013-09-04 | 富泰华工业(深圳)有限公司 | Terminal and system for displaying network information interface and interface generating method |
CN104780079A (en) * | 2015-04-08 | 2015-07-15 | 宇龙计算机通信科技(深圳)有限公司 | Flow monitoring method and device for multiple system terminals |
-
2004
- 2004-06-14 CN CN 200410048237 patent/CN1713597A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202700B (en) * | 2006-12-12 | 2011-08-03 | 华为技术有限公司 | Method, apparatus and system for flow control of point-to-point file sharing |
CN101594222B (en) * | 2009-06-29 | 2012-12-19 | 中兴通讯股份有限公司 | Interface testing method and device |
CN102752170A (en) * | 2012-06-29 | 2012-10-24 | 福建富士通信息软件有限公司 | Network speed testing method |
CN103279265A (en) * | 2013-05-07 | 2013-09-04 | 富泰华工业(深圳)有限公司 | Terminal and system for displaying network information interface and interface generating method |
CN103279265B (en) * | 2013-05-07 | 2016-08-17 | 富泰华工业(深圳)有限公司 | The generation method at the terminal at display networks interface, system and interface |
CN104780079A (en) * | 2015-04-08 | 2015-07-15 | 宇龙计算机通信科技(深圳)有限公司 | Flow monitoring method and device for multiple system terminals |
CN104780079B (en) * | 2015-04-08 | 2018-09-14 | 宇龙计算机通信科技(深圳)有限公司 | A kind of flux monitoring method and device of multisystem terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1750485A (en) | Network simulation detection system and method | |
CN1099678C (en) | Nonvolatile semiconductor disk device | |
CN1618206A (en) | Methods and apparatus for placement of test packets onto a data communication network | |
CN1549531A (en) | Apparatus for testing network equipment transmission performance and method thereof | |
CN101056215A (en) | A network performance measurement method and system | |
CN101039490A (en) | Coverage analysis system and method for optimizing mobile communication system network | |
CN1959661A (en) | Bus interface devices and method | |
CN101042710A (en) | Method and system for implementing acquisition data sharing | |
CN1855935A (en) | Information processing apparatus and method, program, and recording medium | |
CN1825943A (en) | Viewing rate data automatic acquiring and statistical system for digital TV system and method thereof | |
CN101064572A (en) | Method, test tool and test system for testing sensitivity of terminal receiver | |
CN1916920A (en) | System and method for testing and measuring percentage of coverage of function | |
CN1753035A (en) | Image processing system,device and material quality data processing method | |
CN1713597A (en) | User plane flow testing system and realization | |
CN101038597A (en) | Data collector and system for sharing data collected | |
CN1842022A (en) | Log processing system and method | |
CN108132986B (en) | Rapid processing method for test data of mass sensors of aircraft | |
CN1852133A (en) | Alarm reporting method | |
CN1688136A (en) | Parallel flow dispatching method for 10G network performance testing system | |
CN1897745A (en) | Equilibrium method for transmitting MBMS service data | |
CN1533657A (en) | Method and method for transmitting data from a first data network into a second data network | |
CN100340083C (en) | Method and apparatus for analyzing network trace, judging order among nodes, and correcting time difference among nodes | |
CN1858611A (en) | Verifying system, establishing method of verifying system and verifying method | |
CN1849991A (en) | Integrated circuit system for bidirectional digital wineless endoscope capsule | |
CN1842059A (en) | Method and system for receive pack in computer network |
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 |
Open date: 20051228 |