CN102088335A - Method and device for determining time delay of data service - Google Patents

Method and device for determining time delay of data service Download PDF

Info

Publication number
CN102088335A
CN102088335A CN2010106035824A CN201010603582A CN102088335A CN 102088335 A CN102088335 A CN 102088335A CN 2010106035824 A CN2010106035824 A CN 2010106035824A CN 201010603582 A CN201010603582 A CN 201010603582A CN 102088335 A CN102088335 A CN 102088335A
Authority
CN
China
Prior art keywords
packet
keyword
bag
delay
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010106035824A
Other languages
Chinese (zh)
Other versions
CN102088335B (en
Inventor
马进
谢银祥
叶迎春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010603582.4A priority Critical patent/CN102088335B/en
Publication of CN102088335A publication Critical patent/CN102088335A/en
Application granted granted Critical
Publication of CN102088335B publication Critical patent/CN102088335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and device for determining time delay of data service, which are applied in the field of communication. The method comprises the following steps of: collecting a data packet and determining whether the type of the data packet is a request message or not, turning to B if the data packet is a request message, otherwise turning to C; B, adding a recording item of the data packet in a key word mapping table, and turning to A; C, judging whether the data packet is a retransmitted packet, accumulating the packet retransmission time on total time delay if the data packet is the retransmitted packet, and turning to A, otherwise turning to D; D, judging whether the data packet is the last packet, determining the total time delay if the data packet is the last packet, otherwise turning to E; and E, determining whether the keyword of the data packet is saved in the keyword mapping table or not, turning to A if the keyword of the data packet is not saved in the keyword mapping table, otherwise judging whether the source IP (Internet Protocol) of the data packet is the same as the source IP of the request message in the keyword mapping table or not, accumulating the transfer time delay of the data packet and the total time delay saved at a wireless side if the source IP of the data packet is the same as the source IP of the request massage in the keyword mapping table, and turning to A to execute. The method and the device provided by the invention determine the part to be optimized at the wireless side according to the time delay at a network side and the time delay at the wireless side.

Description

A kind of method of specified data service delay and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and device of specified data service delay.
Background technology
Along with the development of mobile data services, dramatic change has taken place in people's communication mode, and the data in mobile phone business substitutes traditional speech business gradually.Along with data service is more widely-used, therefore press for the minimizing data delay, improve the data service speed of download, and then improve user's perceptibility.
The data service downloading process is that data in real time is sent to terminal from service end, and whole process relates to core-network side and wireless network side two parts, and wherein wireless network partly is a determination data service delay key component.In the available data network, data service is downloaded time delay and is mainly caused by wireless portion.The wireless side more complicated, and the network coverage, interference etc. all can influence wireless side time delay, so calculate relatively difficulty of wireless side time delay.The instability of wireless side can cause the wireless side packet loss, thereby causes that data service retransmits, and then increases data service download time delay.
The technical problem that prior art exists is: do not having a kind of accurate Calculation data service to download the method for time delay at present.
Summary of the invention
The invention provides a kind of method and device of specified data service delay, solve in the prior art problem of can not the accurate Calculation data service downloading time delay.
The embodiment of the invention provides a kind of method of specified data service delay, comprising:
A, image data bag also judge whether the data type that collects packet is request message, if, then change step B, otherwise execution in step C;
B, obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore,, then in the keyword mapping table, add the entry of this packet if do not have; Otherwise, and change steps A over to the entry zero clearing of original keyword correspondence;
C, judge whether described packet is retransmission packet, if, then obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore, if have, then the transfer delay with this packet adds up with wireless side overall delay and the retransmission delay time preserved respectively, and changes steps A over to after accumulation result upgraded the wireless side overall delay preserved and retransmission delay time, wherein, the transfer delay of this packet is the time that collects packet to deduct the time that previous packet collects; If not retransmission packet, then change step D over to;
D, judge whether the packet receive is last bag data of data flow, if then to transmit total duration be the initial time started that deducts time of receiving this packet record to specified data stream; Otherwise, change step e;
E, obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore,, then change steps A and carry out if do not have; Otherwise, whether the source IP that judges the request message that writes down in this source data packet IP and the keyword mapping table identical, if identical, then with the transfer delay of this packet with preserve the wireless side overall delay and add up, and use accumulation result and upgrade the wireless side overall delay of preserving, change steps A and carry out.
A kind of device of specified data service delay comprises data type judge module, initialization module, retransmission packet judge module, time delay determination module, keyword comparison module and network condition determination module:
The data type judge module is used for the image data bag and judges whether the data type that collects packet is request message, if then change initialization module over to, otherwise change the retransmission packet processing module over to;
Initialization module is used for obtaining the keyword of packet, and whether preserves this keyword in the keyword mapping table of determining to prestore, if do not have, then adds the entry of this packet in the keyword mapping table; Otherwise, and change the data type judging module over to the entry zero clearing of original keyword correspondence;
The retransmission packet processing unit module, if be used for determining that described packet is a retransmission packet, then obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore, if have, then the transfer delay with this packet adds up with wireless side overall delay and the retransmission delay time preserved respectively, and change the data type judging module over to behind wireless side overall delay that accumulation result upgrade is preserved and the retransmission delay time, wherein, the transfer delay of this packet is the time that collects packet to deduct the time that previous packet collects; If not retransmission packet, then change the time delay determination module over to;
The time delay determination module is used to judge whether the packet that receives is last bag data of data flow, if then to transmit total duration be the initial time started that deducts time of receiving this packet record to specified data stream; Otherwise, change the keyword comparison module over to;
The keyword comparison module is used for obtaining the keyword of packet, and whether preserves this keyword in the keyword mapping table of determining to prestore, if do not have, then revolution is carried out according to type judging module; Otherwise, whether the source IP that judges the request message that writes down in this source data packet IP and the keyword mapping table identical, if identical, then with the transfer delay of this packet with preserve the wireless side overall delay and add up, and use accumulation result and upgrade the wireless side overall delay of preserving, revolution is carried out according to type judging module.
Method and apparatus provided by the invention can realize the professional average delay of data, wireless side time delay accounting, core-network side time, wireless packet loss are produced the accurate Calculation of packet retransmission delay time.And by problematic wireless side sub-district, the accurate location of above-mentioned time delay result, thereby definite wireless side need be optimized part.
Description of drawings
Fig. 1 is the flow chart of the method for a kind of specified data service delay of the embodiment of the invention;
Fig. 2 judges in the embodiment of the invention whether described packet is the flow chart of retransmission packet;
Fig. 3 is that the method for a kind of specified data service delay in the embodiment of the invention is if based on the flow chart of WAP1.x data;
Fig. 4 is that the method for a kind of specified data service delay in the embodiment of the invention is if based on the flow chart of WAP2.0 data;
The structure chart of the device of a kind of specified data service delay of Fig. 5 embodiment of the invention;
The structure chart of Fig. 6 embodiment of the invention retransmission packet judge module.
Embodiment
The embodiment of the invention provides a kind of method of specified data service delay, comprising: whether the data type of the packet that A, judgement collect is request message, if, then change step B, otherwise execution in step C; B, obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore, if have, then in the keyword mapping table with the entry zero clearing of described keyword correspondence, and the time record that will the gather described packet zero-time that begins to transmit for data flow, and change steps A over to; C, judge whether described packet is retransmission packet, if, then obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore, if have, then the transfer delay with this packet adds up with wireless side overall delay and the retransmission delay time preserved respectively, and changes steps A over to after accumulation result upgraded the wireless side overall delay preserved and retransmission delay time, wherein, the transfer delay of this packet is the time that collects packet to deduct the time that previous packet collects; If not retransmission packet, then change step D over to; D, judge whether the packet receive is last bag data of data flow, if then to transmit total duration be the initial time started that deducts time of receiving this packet record to specified data stream; Otherwise, change step e; E, obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore,, then change steps A and carry out if do not have; Otherwise, whether the source IP that judges the request message that writes down in this source data packet IP and the keyword mapping table identical, if identical, then with the transfer delay of this packet with preserve the wireless side overall delay and add up, and use accumulation result and upgrade the wireless side overall delay of preserving, change steps A and carry out.
As shown in Figure 1, the embodiment of the invention provides a kind of method of specified data service delay, and concrete steps comprise:
Step 101 is analyzed the data that collect, and reads a signaling;
Step 102 judges whether the data type of the packet that collects is request message, if, then change step 103, otherwise execution in step 104;
Step 103 is obtained the keyword in the packet, and whether preserves this keyword in the keyword mapping table of determining to prestore, if do not have, then adds the entry of this packet in the keyword mapping table, and changes step 101 over to; Otherwise, and change step 101 over to the entry zero clearing of original keyword correspondence;
Keyword in the embodiment of the invention can be made up of described source data packet IP, purpose IP, source port, destination interface, transaction ID.
Step 104, judge whether described packet is retransmission packet, if, then obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore, if have, then the transfer delay with this packet adds up with wireless side overall delay and the retransmission delay time preserved respectively, and change step 101 over to behind wireless side overall delay that accumulation result upgrade is preserved and the retransmission delay time, wherein, the transfer delay of this packet is the time that collects packet to deduct the time that previous packet collects; If not retransmission packet, then change step 105 over to;
Zero-time, the cell id that sends packet that entry in the table comprises that data flow begins to transmit insinuated in keyword described in the embodiment of the invention, terminal models, source data packet IP, wireless side overall delay, core-network side time delay, the data flow that receives packet transmits total duration.
Step 105 judges whether the packet receive is last bag data of data flow, if then to transmit total duration be the initial time started that deducts time of receiving this packet record to specified data stream; Otherwise, change step 106;
Step 106, obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore,, then change step 101 if do not have; Otherwise, whether the source IP that judges the request message that writes down in this source data packet IP and the keyword mapping table identical, if identical, then with the transfer delay of this packet with preserve the wireless side overall delay and add up, and use accumulation result and upgrade the wireless side overall delay of preserving, change step 101.
In the invention process, cause the device of data delay in order further to determine network, the embodiment of the invention comprises that also it is the initial time started that deducts time of receiving this packet record that step 105 specified data stream transmits total duration, changes step 107 afterwards over to:
Step 107, the data flow that obtains is transmitted total duration, wireless side overall delay and retransmission delay time compare with preset value respectively, and determine network condition according to comparative result.
Comprise shown in the cell id that sends packet, the terminal models that receives packet etc. because insinuate entry in the table at embodiment of the invention keyword, according to comparative result determine network condition can:
Core side time delay, wireless side overall delay and data flow transmit total duration and determine whether network occurs unusually, determine that according to the cell id that sends packet unusual sub-district appears in network.
As shown in Figure 2, judge that in embodiments of the present invention whether described packet is that the concrete steps of retransmission packet comprise:
Step 201 is obtained sequence of data packet number, and uses the sequence number generation group bag keyword that gets access to;
Step 202 is judged the group bag keyword desired value whether the group bag keyword of current data packet equals to preserve, if then utilize the sequence number and the byte length group of current data packet and generate the group bag keyword desired value of next packet, process ends; Otherwise change step 203 over to;
Whether step 203, the group bag keyword of judging current data packet be less than the group bag desired value of preserving, if then definite described packet is a retransmission packet, and process ends; Otherwise, change step 204 over to;
Step 204 judges whether the group bag keyword of described packet equals out of order group of bag desired value, if then change step 205; Otherwise, change step 206;
Step 205, whether judge out of order group of bag keyword update times greater than preset value, if less than, then the group bag keyword of out of order bag being updated to the group bag keyword of current data packet, out of order group of bag keyword update times adds 1; Otherwise out of order group of bag desired value is revised as the group bag keyword of current data packet bag, the zero clearing of out of order group of bag keyword update times, and process ends;
Step 206, out of order group of bag keyword update times add 1, the out of order group of group bag keyword that the bag Key Word Adapted is a current data packet, and process ends.
As shown in Figure 3, the method for a kind of specified data service delay that the embodiment of the invention provided is if based on the WAP1.x data, and then concrete performing step comprises:
Step 301 is analyzed the data that collect, and reads a packet;
Step 302, whether be 9200,9201,9202,9203, determine whether the data that collect are the WAP1.x data if determining to collect the section data port numbers, if not, change step 301 and carry out, otherwise change step 303.
Step 303 is analyzed WSP layer among the T-PDU, and the data packet message type that collects is request message such as POST, GET, if then change step 304 and carry out, otherwise change step 307.
Step 304 is obtained the keyword key (being that source IP, purpose IP, source port, destination interface, transaction ID form) of packet.Judge and breathe out the TDR node whether rare table (being the keyword mapping table) has identical KEY, if find execution in step 305; Otherwise, change step 306 over to.
Step 305, close and breathe out TDR node in rare table, and newly create a TDR event structure, relevant informations such as time started, cell id, mobile phone model, source IP are inserted among the TDR, simultaneously with wireless side time delay, core-network side time delay, overall delay zero clearing, and change step 301.
Step 306 is newly created a TDR event structure, and relevant informations such as time started, cell id, mobile phone model, source IP are inserted among the TDR, simultaneously with wireless side time delay, core-network side time delay, overall delay zero clearing, changes step 301
Step 307 determines according to the re-transmission flag bit of packet whether this packet is retransmission packet, if change step 311 and carry out; Otherwise changeing 308 carries out.
Step 308 judges whether described packet is last bag data of data flow, if last bag data then change step 309 over to;
Step 309 searches according to KEY whether identical KEY node is arranged in breathing out rare table, if do not find, then step 301 is carried out; Otherwise, change step 310 over to.
Step 310 is then calculated the TDR overall delay, and the time that this TDR overall delay equals current data packet deducts the TDR time started, closes the TDR node, and deletes corresponding KEY in breathing out rare table, changes step 301.
Step 311 searches according to KEY whether identical KEY node is arranged in breathing out rare table, if do not find, then step 301 is carried out; Otherwise, change step 312 over to.
Step 312 judges whether the source IP of this packet is identical with the source IP of GET, POST, if identical, changes step 313 over to; Otherwise, change step 301 and carry out.
Step 313, wireless side time delay equal adding up of wireless side time delay and (this packet time deducting the previous packet time), and retransmission packet adds 1, and change step 301 execution over to.
As shown in Figure 4, the method for a kind of specified data service delay that the embodiment of the invention provided is if based on the WAP2.0 data, and then concrete performing step comprises:
Step 401 is analyzed the data that collect, and reads a packet;
Whether step 402 is TCP according to IP layer protocol, if not, change step 401 and carry out; If change step 403 and carry out.
Step 403, extract oip, dip, oport, dport in IP layer and the TCP layer, calculate the group bag keyword KEY of this packet again according to oip, dip, oport, dport; Changeing step 404 carries out.
Step 404 judges whether HTTP layer type of message is GET or POST, if then change step 405 and handle; Otherwise changeing step 408 carries out
Step 405, in breathing out rare table, search according to KEY whether identical KEY node is arranged,, then change step 406 over to if find; Otherwise change step 407;
Step 406 is closed the corresponding TDR node of described KEY, newly creates a TDR event structure again, relevant informations such as time started, cell id, mobile phone model, source IP is inserted among the TDR, simultaneously with wireless side time delay, core-network side time delay, overall delay zero clearing; Changeing step 401 carries out
Step 407 is newly created a TDR event structure, relevant informations such as time started, cell id, mobile phone model, source IP is inserted among the TDR, simultaneously with wireless side time delay, core-network side time delay, overall delay zero clearing.Changeing step 401 carries out.
Step 408 searches according to KEY whether identical KEY node is arranged in breathing out rare table, if find, changes step 409 and carries out, otherwise, change step 401 and carry out.
Step 409 judges whether FIN is 1 among the flags in the TCP layer, if change step 410 and carry out.Otherwise change step 411 over to;
Step 410, incident of expression finish, the wireless time delay that wireless time delay equals to have write down and (time of ACK deducts the last bag packet time) add up and, this bag time is the TDR concluding time.Calculate TDR time duration, close this TDR, change step 401 over to and carry out.
Step 411 judges whether reset is 1 among the flags in the TCP layer, if, change step 410 and carry out, carry out otherwise change step 412
Step 412, judge whether to be retransmission packet according to TCP flow management result, if change step 413 over to; The wireless time delay that wireless time delay equals to have write down and (time of packet deducts the last bag packet time) add up and, change step 413 and carry out.Otherwise, change step 414 and carry out.
Step 413; The wireless time delay that wireless time delay equals to have write down and (time of packet deducts the last bag packet time) add up and, change step 401 over to and carry out.
Whether the source IP of step 414, this message is identical with the source IP of GET or POST message, if identical, changes step 413 over to; Otherwise, change step 401 and carry out.
As shown in Figure 5, also provide a kind of device of specified data service delay according to the said method embodiment of the invention, comprise data type judge module 501, initialization module 502, retransmission packet processing module 503, time delay determination module 504, keyword comparison module 505 and network condition determination module 506:
Data type judge module 501 is used for the image data bag and judges whether the data type that collects packet is request message, if then change initialization module 502 over to, otherwise change retransmission packet processing module 503 over to;
Initialization module 502 is used for obtaining the keyword of packet, and whether preserves this keyword in the keyword mapping table of determining to prestore, if do not have, then adds the entry of this packet in the keyword mapping table; Otherwise, and change data type judging module 501 over to the entry zero clearing of original keyword correspondence;
Retransmission packet processing unit module 503, if be used for determining that described packet is a retransmission packet, then obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore, if have, then the transfer delay with this packet adds up with wireless side overall delay and the retransmission delay time preserved respectively, and change data type judging module 501 over to behind wireless side overall delay that accumulation result upgrade is preserved and the retransmission delay time, wherein, the transfer delay of this packet is the time that collects packet to deduct the time that previous packet collects; If not retransmission packet, then change time delay determination module 504 over to;
Time delay determination module 504, be used to judge whether the packet that receives is last bag data of data flow, if then the total duration of specified data stream transmission is the time that receives this packet to deduct the initial time started of record, and changes network condition determination module 506 over to; Otherwise, change keyword comparison module 505 over to;
Keyword comparison module 505 is used for obtaining the keyword of packet, and whether preserves this keyword in the keyword mapping table of determining to prestore, if do not have, then revolution is carried out according to type judging module 501; Otherwise, judge whether the source IP of the request message that writes down in this source data packet IP and the keyword mapping table is identical, if identical, then the transfer delay of this packet and the wireless side overall delay of preservation are added up, and use the wireless side overall delay that accumulation result upgrades preservation; If the data type judging module 501 that then changes over to inequality is carried out;
In addition, for the sub-district of further determining to go wrong in the network, device then provided by the invention also comprises:
Network condition determination module 506, the data flow that is used for obtaining transmit total duration, wireless side overall delay and retransmission delay time and compare with preset value respectively, and determine network condition according to comparative result.
This device also comprises retransmission packet judge module 507, is used to judge whether the packet that collects is retransmission packet.
As shown in Figure 6, described retransmission packet judge module 507 comprises sequence number acquiring unit 601, group bag keyword comparing unit 602, retransmission packet determining unit 603, out of order group of bag desired value comparing unit 604, update times judging unit 605 and out of order group of bag keyword updating block 606:
Sequence number acquiring unit 601 is used to obtain sequence of data packet number, and uses the sequence number generation group bag keyword that gets access to;
Group bag keyword comparing unit 602, be used to judge the group bag keyword desired value whether the group bag keyword of current data packet equals to preserve, if then utilize the sequence number of current data packet and byte length group and generate the group bag keyword desired value of next packet, end operation; Otherwise change retransmission packet determining unit 603 over to;
Whether retransmission packet determining unit 603, the group bag keyword that is used to judge current data packet be less than the group bag desired value of preserving, if then definite described packet is a retransmission packet, and end operation; Otherwise, change out of order group of bag desired value comparing unit 604 over to;
Out of order group of bag desired value comparing unit 604 is used to judge whether the group bag keyword of described packet equals out of order group of bag desired value, if then change update times judging unit 605; Otherwise, change out of order group of bag keyword updating block 606 over to;
Whether update times judging unit 605 is used to judge out of order group of bag keyword update times greater than preset value, if less than, then the group bag keyword of out of order bag being updated to the group bag keyword of current data packet, out of order group of bag keyword update times adds 1; Otherwise out of order group of bag desired value is revised as the group bag keyword of current data packet bag, the zero clearing of out of order group of bag keyword update times, and end operation;
Out of order group of bag keyword updating block 606, out of order group of bag keyword update times add 1, the out of order group of group bag keyword that the bag Key Word Adapted is a current data packet, and end operation.
Method and apparatus provided by the invention can realize the professional average delay of data, wireless side time delay accounting, core-network side time, wireless packet loss are produced the accurate Calculation of packet retransmission delay time.And by problematic wireless side sub-district, the accurate location of above-mentioned time delay result, thereby definite wireless side need be optimized part.
The invention process binding data network service characteristics are carried out time-delay analysis, so that operator carries out the miscellaneous service analysis, complain system as fault, fault location system etc., thus satisfy Virtual network operator to network operation, optimization.
In addition, method and apparatus provided by the invention is analyzed data service download time delay from sub-district and terminal models two aspects, and time delay comprises the time delay that retransmission packet produces.Judge network condition according to time delay and retransmission packet analysis result, network is optimized the bigger sub-district of time delay again.According to measurement result, can adjust the network planning and business game, thereby improve resource utilization, make the demand that the network planning and business game are more realistic.
Method of the present invention is not limited to the embodiment described in the embodiment, and those skilled in the art's technical scheme according to the present invention draws other execution mode, belongs to technological innovation scope of the present invention equally.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. the method for a specified data service delay is characterized in that, comprising:
A, image data bag also judge whether the data type that collects packet is request message, if, then change step B, otherwise execution in step C;
B, obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore,, then in the keyword mapping table, add the entry of this packet if do not have; Otherwise, and change steps A over to the entry zero clearing of original keyword correspondence;
C, judge whether described packet is retransmission packet, if, then obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore, if have, then the transfer delay with this packet adds up with wireless side overall delay and the retransmission delay time preserved respectively, and changes steps A over to after accumulation result upgraded the wireless side overall delay preserved and retransmission delay time, wherein, the transfer delay of this packet is the time that collects packet to deduct the time that previous packet collects; If not retransmission packet, then change step D over to;
D, judge whether the packet receive is last bag data of data flow, if then to transmit total duration be the initial time started that deducts time of receiving this packet record to specified data stream; Otherwise, change step e;
E, obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore,, then change steps A and carry out if do not have; Otherwise, whether the source IP that judges the request message that writes down in this source data packet IP and the keyword mapping table identical, if identical, then with the transfer delay of this packet with preserve the wireless side overall delay and add up, and use accumulation result and upgrade the wireless side overall delay of preserving, change steps A and carry out.
2. the method for claim 1 is characterized in that, it is to deduct after the initial time started of record the time that receives this packet that step D specified data stream transmits total duration, changes step F over to:
F, the data flow that obtains is transmitted total duration, wireless side overall delay and retransmission delay time compare with preset value respectively, and determine network condition according to comparative result.
3. the method for claim 1 is characterized in that, described keyword comprises described source data packet IP, purpose IP, source port number, destination slogan and transaction ID.
4. method as claimed in claim 2, it is characterized in that zero-time, the cell id that sends packet that entry in the table comprises that data flow begins to transmit insinuated in described keyword, terminal models, source data packet IP, wireless side overall delay, core-network side time delay, the data flow that receives packet transmits total duration.
5. method as claimed in claim 4, it is characterized in that, determine that according to comparative result network condition comprises in the described step F: core side time delay, wireless side overall delay and data flow transmit total duration and determine whether network occurs unusually, if unusual, then determine to occur unusual sub-district according to the cell id that sends packet.
6. the method for claim 1 is characterized in that, judges whether described packet is that retransmission packet comprises:
A, obtain sequence of data packet number, and use the sequence number generation group bag keyword that gets access to;
B, judge the group bag keyword desired value whether the group bag keyword of current data packet equals to preserve, if then utilize the sequence number and the byte length group of current data packet and generate the group bag keyword desired value of next packet, process ends; Otherwise change step c over to;
C, judge current data packet group bag keyword whether less than the group bag desired value of preserving, if determine that then described packet is a retransmission packet, and process ends; Otherwise, change steps d over to;
D, judge whether the group bag keyword of described packet equals out of order group of bag desired value, if then change step e; Otherwise, change step f;
E, whether judge out of order group of bag keyword update times greater than preset value, if less than, then the group bag keyword of out of order bag being updated to the group bag keyword of current data packet, out of order group of bag keyword update times adds 1; Otherwise out of order group of bag desired value is revised as the group bag keyword of current data packet bag, the zero clearing of out of order group of bag keyword update times, and process ends;
F, out of order group of bag keyword update times add 1, the out of order group of group bag keyword that the bag Key Word Adapted is a current data packet, and process ends.
7. the device of a specified data service delay is characterized in that, comprises data type judge module, initialization module, retransmission packet judge module, time delay determination module, keyword comparison module and network condition determination module:
The data type judge module is used for the image data bag and judges whether the data type that collects packet is request message, if then change initialization module over to, otherwise change the retransmission packet processing module over to;
Initialization module is used for obtaining the keyword of packet, and whether preserves this keyword in the keyword mapping table of determining to prestore, if do not have, then adds the entry of this packet in the keyword mapping table; Otherwise, and change the data type judging module over to the entry zero clearing of original keyword correspondence;
The retransmission packet processing unit module, if be used for determining that described packet is a retransmission packet, then obtain the keyword in the packet, and whether preserve this keyword in the keyword mapping table of determining to prestore, if have, then the transfer delay with this packet adds up with wireless side overall delay and the retransmission delay time preserved respectively, and change the data type judging module over to behind wireless side overall delay that accumulation result upgrade is preserved and the retransmission delay time, wherein, the transfer delay of this packet is the time that collects packet to deduct the time that previous packet collects; If not retransmission packet, then change the time delay determination module over to;
The time delay determination module is used to judge whether the packet that receives is last bag data of data flow, if then to transmit total duration be the initial time started that deducts time of receiving this packet record to specified data stream; Otherwise, change the keyword comparison module over to;
The keyword comparison module is used for obtaining the keyword of packet, and whether preserves this keyword in the keyword mapping table of determining to prestore, if do not have, then revolution is carried out according to type judging module; Otherwise, whether the source IP that judges the request message that writes down in this source data packet IP and the keyword mapping table identical, if identical, then with the transfer delay of this packet with preserve the wireless side overall delay and add up, and use accumulation result and upgrade the wireless side overall delay of preserving, revolution is carried out according to type judging module.
8. device as claimed in claim 7 is characterized in that, also comprises:
Network condition determination module, the data flow that is used for obtaining transmit total duration, wireless side overall delay and retransmission delay time and compare with preset value respectively, and determine network condition according to comparative result.
9. device as claimed in claim 7 is characterized in that this device also comprises the retransmission packet judge module, is used to judge whether the packet that collects is retransmission packet.
10. device as claimed in claim 9, it is characterized in that this retransmission packet judge module comprises sequence number acquiring unit, group bag keyword comparing unit, retransmission packet determining unit, out of order group of bag desired value comparing unit, update times judging unit and out of order group of bag keyword updating block:
The sequence number acquiring unit is used to obtain sequence of data packet number, and uses the sequence number generation group bag keyword that gets access to;
Group bag keyword comparing unit, be used to judge the group bag keyword desired value whether the group bag keyword of current data packet equals to preserve, if then utilize the sequence number of current data packet and byte length group and generate the group bag keyword desired value of next packet, end operation; Otherwise change retransmission packet determining unit c over to;
Whether retransmission packet determining unit, the group bag keyword that is used to judge current data packet be less than the group bag desired value of preserving, if then definite described packet is a retransmission packet, and end operation; Otherwise, change out of order group of bag desired value comparing unit over to;
Out of order group of bag desired value comparing unit is used to judge whether the group bag keyword of described packet equals out of order group of bag desired value, if then change update times judging unit e; Otherwise, change out of order group of bag keyword updating block over to;
Whether the update times judging unit is used to judge out of order group of bag keyword update times greater than preset value, if less than, then the group bag keyword of out of order bag being updated to the group bag keyword of current data packet, out of order group of bag keyword update times adds 1; Otherwise out of order group of bag desired value is revised as the group bag keyword of current data packet bag, the zero clearing of out of order group of bag keyword update times, and end operation;
Out of order group of bag keyword updating block is used for out of order group of bag keyword update times added 1, the out of order group of group bag keyword that the bag Key Word Adapted is a current data packet, and end operation.
CN201010603582.4A 2010-12-23 2010-12-23 Method and device for determining time delay of data service Active CN102088335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010603582.4A CN102088335B (en) 2010-12-23 2010-12-23 Method and device for determining time delay of data service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010603582.4A CN102088335B (en) 2010-12-23 2010-12-23 Method and device for determining time delay of data service

Publications (2)

Publication Number Publication Date
CN102088335A true CN102088335A (en) 2011-06-08
CN102088335B CN102088335B (en) 2014-11-05

Family

ID=44099960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010603582.4A Active CN102088335B (en) 2010-12-23 2010-12-23 Method and device for determining time delay of data service

Country Status (1)

Country Link
CN (1) CN102088335B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120246262A1 (en) * 2011-03-22 2012-09-27 Fujitsu Limited Data transmitting device, parallel computer system, and controlling method
CN103237314A (en) * 2013-04-25 2013-08-07 中国联合网络通信集团有限公司 Method and device for evaluating service quality
CN103546336A (en) * 2013-09-24 2014-01-29 许继集团有限公司 Method for monitoring transmission delay on basis of link-layer communication transmission mode of Ethernet
CN104703198A (en) * 2013-12-04 2015-06-10 中国移动通信集团广东有限公司 Method and device for determining time delay of end-to-end network service
CN106506124A (en) * 2015-09-07 2017-03-15 中国移动通信集团公司 Retransmit message and determine method and device
CN106851686A (en) * 2017-01-22 2017-06-13 郑州信工智能化系统有限公司 Realization method and system with time bias data collection radio MAC protocol
CN108154427A (en) * 2017-12-01 2018-06-12 上海富利通信息系统有限公司 A kind of data detection method, device and electronic equipment
CN108234658A (en) * 2018-01-05 2018-06-29 北京奇艺世纪科技有限公司 A kind of method, apparatus and server of aware services device cluster health status

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6272539B1 (en) * 1998-11-18 2001-08-07 International Business Machines Corporation Methods, systems and computer program products for determining and visually representing a user's overall network delay in collaborative applications
CN1614939A (en) * 2003-11-06 2005-05-11 华为技术有限公司 Realizing method for time-delaying test
CN101488892A (en) * 2009-02-04 2009-07-22 北京华力创通科技股份有限公司 Method and apparatus for testing forwording time delay of equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6272539B1 (en) * 1998-11-18 2001-08-07 International Business Machines Corporation Methods, systems and computer program products for determining and visually representing a user's overall network delay in collaborative applications
CN1614939A (en) * 2003-11-06 2005-05-11 华为技术有限公司 Realizing method for time-delaying test
CN101488892A (en) * 2009-02-04 2009-07-22 北京华力创通科技股份有限公司 Method and apparatus for testing forwording time delay of equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
秦勇 等: "TDMA时隙分配对业务时延性能的影响分析", 《电子学报》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120246262A1 (en) * 2011-03-22 2012-09-27 Fujitsu Limited Data transmitting device, parallel computer system, and controlling method
CN103237314B (en) * 2013-04-25 2015-12-23 中国联合网络通信集团有限公司 Service quality evaluating method and apparatus
CN103237314A (en) * 2013-04-25 2013-08-07 中国联合网络通信集团有限公司 Method and device for evaluating service quality
CN103546336A (en) * 2013-09-24 2014-01-29 许继集团有限公司 Method for monitoring transmission delay on basis of link-layer communication transmission mode of Ethernet
CN104703198B (en) * 2013-12-04 2018-10-02 中国移动通信集团广东有限公司 A kind of determination method and device of end to end network service time delay
CN104703198A (en) * 2013-12-04 2015-06-10 中国移动通信集团广东有限公司 Method and device for determining time delay of end-to-end network service
CN106506124A (en) * 2015-09-07 2017-03-15 中国移动通信集团公司 Retransmit message and determine method and device
CN106506124B (en) * 2015-09-07 2019-09-13 中国移动通信集团公司 It retransmits message and determines method and device
CN106851686A (en) * 2017-01-22 2017-06-13 郑州信工智能化系统有限公司 Realization method and system with time bias data collection radio MAC protocol
CN106851686B (en) * 2017-01-22 2020-03-31 郑州信工智能化系统有限公司 Method and system for realizing wireless MAC protocol with time compensation data acquisition
CN108154427A (en) * 2017-12-01 2018-06-12 上海富利通信息系统有限公司 A kind of data detection method, device and electronic equipment
CN108154427B (en) * 2017-12-01 2022-01-28 上海子午线新荣科技有限公司 Data detection method and device and electronic equipment
CN108234658A (en) * 2018-01-05 2018-06-29 北京奇艺世纪科技有限公司 A kind of method, apparatus and server of aware services device cluster health status
CN108234658B (en) * 2018-01-05 2021-05-25 北京奇艺世纪科技有限公司 Method and device for sensing health condition of server cluster and server

Also Published As

Publication number Publication date
CN102088335B (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN102088335A (en) Method and device for determining time delay of data service
CN100544473C (en) Be used for determining the method for running wireless network mobile terminal performance
CN110875915B (en) Data transmission method and device
CN111970353B (en) Data processing method and device for heterogeneous equipment in Internet of things of cloud computing platform
CN101473591B (en) System and method for measuring and reporting service usage
CN100359499C (en) Method and device for providing more accurate subscriber billing
EP1300995A3 (en) Resource management in heterogenous QOS based packet networks
CN108429701B (en) Network acceleration system
US6266322B1 (en) Dimensioning bandwidth and connection admission control for elastic traffic in high-speed communication networks
CN102668619A (en) Dynamic mobile application quality-of-service monitoring and reporting
CN103999409A (en) Method for link buffer size and queue length estimation for bandwidth-varying mobile data networks
CN110138617B (en) Data transmission quality testing method, system, electronic device and storage medium
CN101515945B (en) On-line application method and system of P2P resource files
CN103907327A (en) Unobtrusive content compression in a telecommunications network
CN107181804A (en) The method for down loading and device of resource
CN102594876A (en) Method and system for accelerating speed of mixing game real-time data and updated data
KR20150110665A (en) Method and apparatus for cloud services for enhancing broadband experience
CN101651709A (en) Method for calibrating integrity of P2P download files
US20050286439A1 (en) Method of testing a router, and a test system
CN106658554A (en) Method and device for activating base station
CN111294849A (en) Method and device for judging poor Internet access quality of LTE (Long term evolution) user
CN103702352B (en) Business channel-based network capacity opening method and device thereof
AU2011319565A1 (en) Content caching with remote charging services in a radio access network
CN104702445A (en) User network optimizing method and system
CN109039709A (en) A kind of mobile wireless network emulation and experiment porch based on virtualization

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant