CN104219109B - Determine the method and apparatus of service rate - Google Patents

Determine the method and apparatus of service rate Download PDF

Info

Publication number
CN104219109B
CN104219109B CN201410456806.1A CN201410456806A CN104219109B CN 104219109 B CN104219109 B CN 104219109B CN 201410456806 A CN201410456806 A CN 201410456806A CN 104219109 B CN104219109 B CN 104219109B
Authority
CN
China
Prior art keywords
data
packet
data segment
business
continuous
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.)
Active
Application number
CN201410456806.1A
Other languages
Chinese (zh)
Other versions
CN104219109A (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.)
Huawei Technologies Service Co Ltd
Original Assignee
Huawei Technologies Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Service Co Ltd filed Critical Huawei Technologies Service Co Ltd
Priority to CN201410456806.1A priority Critical patent/CN104219109B/en
Publication of CN104219109A publication Critical patent/CN104219109A/en
Application granted granted Critical
Publication of CN104219109B publication Critical patent/CN104219109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiments of the invention provide a kind of method for determining service rate, including:The data of acquisition business;M data segment in the data of the business is determined, wherein, the data volume of each data segment of the M data segment is more than data-quantity threshold, and each data segment includes continuous at least two packet, and M is the positive integer more than or equal to 2;Determine the service rate for the total amount of data of the M data segment divided by total transmission duration of the M data segment.In the embodiment of the present invention, according to the size of the packet of the data of business, it is determined that the data segment in the data of business for calculating service rate, the effective speed of the business so determined, the situation of business transmission can be reliably reacted, and then enables an operator to be monitored network pipeline according to the effective speed of the business.

Description

Determine the method and apparatus of service rate
Technical field
The present embodiments relate to the communications field, and more particularly, to a kind of method for determining service rate and set It is standby.
Background technology
OTT (Over The Top) refers to that operator is crossed by Internet firm, and develop based on open the Internet various regards Frequency and data service business, and provide a user various application services.These application services are also referred to as OTT business, such as microblogging, Wechat, facebook (Facebook) etc..
In order to protect the information of user, while in order to prevent network from information is distorted or attacked, some OTT business are led to Cross and be encrypted to ensure that information security.That is, for operator, OTT business is encryption business.
Speed is the key index that operator monitors to network pipeline.At present, the calculating of service rate is single transport control Agreement (Transfer Control Protocol, TCP) stream is equal to the total flow of single current divided by the time of single-stream transmission.
Specifically, before data is transmitted, by three-way handshake link setup between client and service end, in data transfer knot After beam, pass through 4-Way Handshake chain rupture between client and service end.To in the period before chain rupture after the link setup, by One data unwraps the time for transmission of beginning as the time started, using the time of last packet end of transmission as at the end of Between.Using after link setup to all packets in the period before chain rupture total data traffic as total flow, will start The duration of time to end time is as total time, then, service rate is total flow divided by total time.
However, this algorithm can only calculate Mean Speed of the user in using OTT business procedures.Due to many OTT industry Business is permanent online instant messaging business, and permanent online free time is also included within total time, so causes to be calculated Service rate be relatively low Mean Speed.And Mean Speed can not reacting pipe actual performance.
The content of the invention
The embodiment of the present invention provides a kind of method for determining service rate, is capable of the actual performance of reacting pipe.
First aspect, there is provided a kind of method for determining service rate, methods described include:
The data of acquisition business;
M data segment in the data of the business is determined, wherein, the data of each data segment of the M data segment Amount is more than data-quantity threshold, and each data segment includes continuous at least two packet, and M is just whole more than or equal to 2 Number;
Determine the service rate be the M data segment total amount of data divided by the M data segment total transmission when It is long.
With reference in a first aspect, in the first possible implementation of first aspect, described continuous at least two count Be less than or equal to MSS according to the size of last packet in bag, in continuous at least two packet except it is described most The size of each packet outside the latter packet is MSS.
With reference to the first possible implementation of first aspect, in second of possible implementation of first aspect In, in last packet and continuous at least two packet in continuous at least two packet most Time interval between the previous packet of the latter packet is less than the first duration threshold value.
With reference in a first aspect, in the third possible implementation of first aspect, every number of the M data segment It is equal to the second duration threshold value according to the transmission duration of section.
With reference to first aspect or any possible implementation of above-mentioned first aspect, at the 4th kind of first aspect In possible implementation, the business is single business of single user.
Second aspect, there is provided a kind of equipment for determining service rate, the equipment include:
Acquiring unit, for obtaining the data of business;
First determining unit, M data segment in the data of the business obtained for determining the acquiring unit, its In, the data volume of each data segment of the M data segment is more than data-quantity threshold, and each data segment is included continuously extremely Few two packets, M are the positive integer more than or equal to 2;
Second determining unit, for determining that the service rate is the M data that first determining unit determines The total transmission duration for the M data segment that the total amount of data divided by first determining unit of section determine.
With reference to second aspect, in the first possible implementation of second aspect, continuous at least two number Be less than or equal to MSS according to the size of last packet in bag, in continuous at least two packet except it is described most The size of each packet outside the latter packet is MSS.
With reference to the first possible implementation of second aspect, in second of possible implementation of second aspect In, in last packet and continuous at least two packet in continuous at least two packet most Time interval between the previous packet of the latter packet is less than the first duration threshold value.
With reference to second aspect, in the third possible implementation of second aspect, every number of the M data segment It is equal to the second duration threshold value according to the transmission duration of section.
With reference to second aspect or any possible implementation of above-mentioned second aspect, at the 4th kind of second aspect In possible implementation, the business is single business of single user.
With reference to second aspect or any possible implementation of above-mentioned second aspect, at the 5th kind of second aspect In possible implementation, the equipment is ustomer premises access equipment or server device.
In the embodiment of the present invention, according to the size of the packet of the data of business, it is determined that the industry for calculating service rate Data segment in the data of business, the effective speed of the business so determined, the situation that business is transmitted can be reliably reacted, and then Enable an operator to be monitored network pipeline according to the effective speed of the business.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the present invention Example is applied, for those of ordinary skill in the art, without having to pay creative labor, can also be attached according to these Figure obtains other accompanying drawings.
Fig. 1 is the flow chart of the method for the determination service rate of the embodiment of the present invention.
Fig. 2 is one of M data segment of determination of the embodiment of the present invention.
Fig. 3 is another example of M data segment of determination of the embodiment of the present invention.
Fig. 4 is another example of M data segment of determination of the embodiment of the present invention.
Fig. 5 is another example of M data segment of determination of the embodiment of the present invention.
Fig. 6 is the block diagram of the equipment of the determination service rate of one embodiment of the invention.
Fig. 7 is the block diagram of the equipment of the determination service rate of another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of the method for the determination service rate of one embodiment of the invention.Method shown in Fig. 1 includes:
101, obtain the data of business.
102, M data segment in the data of the business is determined, wherein, each data segment of the M data segment Data volume is more than data-quantity threshold, and each data segment includes continuous at least two packet, and M is more than or equal to 2 Positive integer.
103, determine the service rate for the total amount of data of the M data segment divided by total biography of the M data segment Defeated duration.
In the embodiment of the present invention, according to the size of the packet of the data of business, it is determined that the industry for calculating service rate Data segment in the data of business, the effective speed of the business so determined, the situation that business is transmitted can be reliably reacted, and then Enable an operator to be monitored network pipeline according to the effective speed of the business.
It is understood that before business transmission, pass through three-way handshake link setup between client and service end.Specifically, building Consult the size of TCP maximums segment length (Maximum Segment Size MSS) during chain, TCP MSS size also may be used To be referred to as MSS parameters, or referred to as MSS.The MSS parameters can be by the middle node on the pipeline between client and service end Point is modified.For example, intermediate node can be router.
For example, it is assumed that the MSS parameters consulted between client and service end are MSS0, the permission size of intermediate node is MSS1, and MSS1<MSS0.So, service end sends the packet that first size is MSS0, when the packet reaches middle node During point, the packet can be split as two packets, and the size difference of two packets after fractionation by intermediate node For MSS0-MSS1 and MSS1.The intermediate node generates an Internet Control Message Protocol (Internet Control simultaneously Messages Protocol, ICMP) message and send the message to service end.The ICMP message is used to indicate MSS parameter quilts It is modified to MSS1.So, the size of packet is adjusted to MSS1 by service end after the ICMP message is received.That is, The size for the packet that service end is subsequently sent is no more than MSS1.
Usually, the intermediate node on the pipeline between client and service end has multiple.Assuming that client and service end Between the MSS parameters consulted be MSS0, it is understood that the MSS parameters for being intermediate node initial setting up are MSS0.Intermediate node Monitoring MSS method be:Intermediate node inspection unwraps the continuous k of beginning according to bag from first data, if k is according to bag In the MSS of maximum data packet be MSS1, and size is that the number of MSS1 packet is more than or equal to s, then in MSS parameters are revised as MSS1 by intermediate node by MSS0.Wherein, k and s is preset value, and k is positive integer, and s is positive integer, 2<S≤k, MSS1<MSS0。
In the embodiment of the present invention, MSS refers in negotiation and revised MSS.So, in data transmission procedure, data The size of bag should all be less than or equal to MSS.
It is understood that in the embodiment of the present invention, 101 be after link setup, and starts transmission in business and performs afterwards.Can Selection of land, in the embodiment of the present invention, during the data of the business of acquisition, can record data bag simultaneously size and data The transmission time of bag.
It should be understood that in the embodiment of the present invention, the data of business can be upstream data or downlink data.
Alternatively, the business in 101 is single business of single user.
So, it is appreciated that 101 can include:Obtain the total data of all users in existing network;Different users is carried out Identification, the data of single business of single user are determined from the total data.
Specifically, the total data of all users in probe collection existing network can be passed through.
Specifically, can be obtained according to the association of user plane and signaling plane from the total data of all users single The total data of user.For example, the total data of some user can be determined according to the mark of user.Here, the mark of user Knowing can be the account of user or can also be mark of terminal where user etc., and this is not limited by the present invention.
Further, if the total data of the single user includes the data of encryption business and the number of non-encrypted business According to, then, the encryption business in the total data of the single user can be determined according to different agreements, and then industry can also be passed through Business is identified to determine a business in encryption business.
So, the data of single business of the single user are just can determine, and single business can be encryption business.
It is understood that in the embodiment of the present invention, the speed for determining business is using single user as granularity.It is also, of the invention real The speed for applying identified business in example is the speed of the single current of single business of single user.
That is, the embodiment of the present invention can be used in determining the effective speed of the encryption business of single user.
It will be appreciated by those skilled in the art that the transmission of the data of business is carried out in the form of packet.
So, in 102, M data segment can be determined according to the size of packet.
Alternatively, as one embodiment, in the embodiment of the present invention, in 102, each data segment of the M data segment Data volume be more than data-quantity threshold, each data segment of M data segment includes continuous at least two packet, and described The size of last packet in continuous at least two packet is less than or equal to MSS, and described continuous at least two The size of each packet in packet in addition to last described packet is MSS.
It is understood that the present embodiment is applied to determine the speed wrapped greatly.Specifically, in the case of suitable for full bag in a network Determine service rate.For example, it is determined for the service rate of the business such as voice, image, video.
It should be noted that in the embodiment of the present invention, data-quantity threshold is a preset value, and the present invention is not construed as limiting to its size. For example, the data-quantity threshold can be equal to 3 × MSS, or the data-quantity threshold can be equal to 5 × MSS etc..
Alternatively, it is described if the size of last packet in continuous at least two packet is equal to MSS The size of each packet in continuous at least two packet in addition to last described packet is MSS, can be managed Xie Wei, the size of each packet in continuous at least two packet are equal to MSS.
For example, Fig. 2 shows one of M data segment of determination.Wherein, the transmission of packet is represented in the form of coordinate, Transverse axis represents the time, and the longitudinal axis represents the data volume of the size, i.e. packet of packet.As can be seen that meet continuously extremely in Fig. 2 The size of each packet is that MSS data segment has data segment 1, data segment 2 and data segment 3 in few two packets.That is, scheme M=3 data segment is determined in 2.Also, data segment 1 includes 3 packets, data segment 2 includes 5 packets, data Section 3 includes 6 packets.
For one shown in Fig. 2, for example, data-quantity threshold can be equal to 2.9 × MSS.
For one shown in Fig. 2, further, service rate can be determined in 103.Specifically, the M can first be determined Total transmission duration of the total amount of data of individual data segment and the M data segment.For example, the total amount of data of 3 data segments in Fig. 2 For (3+5+6) × MSS, a length of T1+T2+T3 during total transmission of 3 data segments.So as to which identified service rate is in 103: (3+5+6)×MSS/(T1+T2+T3)。
So, in the present embodiment, service rate is only calculated according to the continuous packet that size is MSS, can determine industry The effective speed of business, and the effective speed can reliably react the situation of business transmission.
Or alternatively it is also possible to it is:The size of last packet in continuous at least two packet Less than MSS, the size of each packet in continuous at least two packet in addition to last described packet It is MSS.
For example, Fig. 3 shows another example for determining M data segment.Identified M=3 data segment includes data in Fig. 3 Section 1, data segment 2 and data segment 3.Also, data segment 1 includes 4 packets.Wherein, preceding 3 packets in data segment 1 Size be equal to MSS, the size of the 4th packet in data segment 1 is less than MSS.Data segment 2 includes 6 packets.Its In, the sizes of preceding 5 packets in data segment 2 is equal to MSS, and the size of the 6th packet in data segment 2 is less than MSS.Number Include 7 packets according to section 3.Wherein, the size of preceding 6 packets in data segment 3 is equal to MSS, and the in data segment 3 the 7th The size of individual packet is less than MSS.
For one shown in Fig. 3, for example, data-quantity threshold can be equal to 3.3 × MSS.
Correspondingly, it is similar with the process of above-described embodiment for one shown in Fig. 3,103, to avoid repeating, here not Repeat again.
Or alternatively, M data segment can be divided into two classes:Primary sources section meets described continuous at least two The size of last packet in packet is less than MSS, in continuous at least two packet except it is described last The size of each packet outside individual packet is MSS.Secondary sources section meets continuous at least two data The size of each packet in bag is equal to MSS.
Or alternatively, the data volume of each data segment of the M data segment is more than data-quantity threshold, M data segment Each data segment include continuous at least two packet, and last in continuous at least two packet The size of packet is less than or equal to MSS, in continuous at least two packet in addition to last described packet The size of each packet be MSS.Also, last packet and institute in continuous at least two packet The time interval stated between the previous packet of last packet in continuous at least two packet is less than first Duration threshold value.
For example, Fig. 4 shows another example for determining M data segment.Identified M=3 data segment includes data in Fig. 4 Section 1, data segment 2 and data segment 3.Also, data segment 1 includes 4 packets.Wherein, preceding 3 packets in data segment 1 Size be equal to MSS, the size of the 4th packet in data segment 1 is less than MSS, and the 4th packet in data segment 1 Time interval between the 3rd packet is less than the first duration threshold value.Data segment 2 includes 5 packets.Wherein, data The size of 5 packets in section 2 is equal to MSS, and between the 5th packet and the 4th packet in data segment 2 when Between interval be less than the first duration threshold value.Data segment 3 includes 7 packets.Wherein, preceding 6 packets in data segment 3 is big Small to be equal to MSS, the size of the 7th packet in data segment 3 is less than MSS, and the 7th packet and the 6th in data segment 3 Time interval between individual packet is less than the first duration threshold value.
By taking data segment 2 as an example, the size of packet 201 is MSS, and the size of packet 202 is MSS, packet 203 it is big It is less than MSS.But because the time interval between packet 201 and packet 202 is less than the first duration threshold value, therefore number Data segment 2 is belonged to according to bag 201 and packet 202.Because the time interval t between packet 203 and packet 202 is more than the One duration threshold value, therefore packet 203 is not belonging to data segment 2.
It is understood that in the embodiment of the present invention, the first duration threshold value is preset value, and the embodiment of the present invention is to the first duration threshold The size of value is not construed as limiting.For example, the first duration threshold value can be 2s.
Alternatively, as another embodiment, in the embodiment of the present invention, in 102, each data of the M data segment The data volume of section is more than data-quantity threshold, and each data segment of M data segment includes continuous at least two packet, and institute The transmission duration for stating each data segment of M data segment is equal to the second duration threshold value.
It is understood that the present embodiment can either be used to determine the speed wrapped greatly, it also can be used in determining the speed of parcel.Example Such as, the service rate of the business such as voice, image, video is determined for, can be used for determining the industry such as text The service rate of business.
The present embodiment is it is also understood that set the second duration threshold value, if the data transmitted in the second duration threshold value The total amount of data of bag is more than data-quantity threshold, just using the packet transmitted in the second duration threshold value as in M data segment A data segment.
It is understood that in the embodiment of the present invention, the second duration threshold value is preset value, and the embodiment of the present invention is to the second duration threshold The size of value is not construed as limiting.For example, the second duration threshold value can be 40s.
For example, Fig. 5 shows another example for determining M data segment.Assuming that the second duration threshold value is the T in Fig. 5.Specifically Ground, 5 the second duration threshold value T are shown in Fig. 5, it is corresponding including 5 data segments with 5 second duration threshold value T-phase.Can To find out, data segment 1 includes 5 packets, and data segment 2 includes 5 packets, and data segment 3 includes 4 packets, data segment 4 Including 4 packets, data segment 5 includes 5 packets.Further, may compare the data volumes of each above-mentioned 5 data segments with Data-quantity threshold.
If the data volume of data segment 1 is more than data-quantity threshold, the data volume of data segment 2 is less than data-quantity threshold, data segment 3 Data volume be more than data-quantity threshold, the data volume of data segment 4 is less than data-quantity threshold, and the data volume of data segment 5 is more than data Measure threshold value.For example, data-quantity threshold can be 50KB.So, in 102, it may be determined that M data segment is data segment 1, data Section 3 and data segment 5, i.e. M=3.
It is understood that in the embodiment of the present invention, the total amount of data of M data segment described in 103 is equal to each in M data segment The data volume sum of data segment.Total transmission duration of M data segment described in 103 is equal to each data segment in M data segment Transmit duration sum.
Specifically, the data volume of a data segment is equal to the size sum of all packets in a data segment.
Specifically, the transmission duration of a data segment is equal to start time to the time interval between finish time.Wherein, Start time refers to carve at the beginning of transmitting first packet included by a data segment;Finish time refers to that transmission should The finish time of last packet included by one data segment.
It should be noted that in the embodiment of the present invention, data volume refers to that significant figure passes data volume, i.e., does not include the data volume retransmitted.
It should be noted that in the embodiment of the present invention, transmission duration refers to that significant figure passes duration, that is, when including retransmitting shared Between.
It is understood that in the embodiment of the present invention, data volume and transmission duration are to receive ACK message to determine.It is for example, false If the data in Fig. 4 are upstream data, then the transmission duration of data segment 2 in Fig. 4, is to receive number from from service end with client Determined by after the ACK message of bag 202.
It is understood that in the embodiment of the present invention, 103 can be represented with below equation:
So, in the embodiment of the present invention, it is determined that during service rate, can reject the free time of user, this The method of inventive embodiments can be used in the effective speed of determination business, can reliably react the situation of business transmission, and then Enable an operator to be monitored network pipeline according to the effective speed of the business.
Fig. 6 is the block diagram of the equipment of the determination service rate of one embodiment of the invention.Equipment 300 shown in Fig. 6 includes: Acquiring unit 301, the first determining unit 302 and the second determining unit 303.
Acquiring unit 301, for obtaining the data of business;
First determining unit 302, for determine acquiring unit 301 obtain the business data in M data segment, Wherein, the data volume of each data segment of the M data segment is more than data-quantity threshold, and each data segment includes continuous At least two packets, M are the positive integer more than or equal to 2;
Second determining unit 303, for determining that the service rate is the M number that the first determining unit 302 determines Total transmission duration of the M data segment determined according to the total amount of data of section divided by the first determining unit 302.
In the embodiment of the present invention, according to the size of the packet of the data of business, it is determined that the industry for calculating service rate Data segment in the data of business, the effective speed of the business so determined, the situation that business is transmitted can be reliably reacted, and then Enable an operator to be monitored network pipeline according to the effective speed of the business.
Alternatively, as one embodiment, last packet in continuous at least two packet it is big It is small to be less than or equal to MSS, each data in continuous at least two packet in addition to last described packet The size of bag is MSS.
Alternatively, as another embodiment, last packet in continuous at least two packet with Time interval between the previous packet of last packet in continuous at least two packet is less than the One duration threshold value.
Alternatively, as another embodiment, when the transmission duration of each data segment of the M data segment is equal to second Long threshold value.
Alternatively, as another embodiment, the business is single business of single user.
Alternatively, as another embodiment, the equipment 300 is ustomer premises access equipment or server device.
For example, ustomer premises access equipment can be mobile terminal.Mobile terminal is referred to as access terminal, system, Yong Hudan Member, subscriber station, movement station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, Wireless Telecom Equipment, User agent, user's set or user equipment (User Equipment, UE).Access terminal can be cell phone, wireless electricity Words, session initiation protocol (Session Initiation Protocol, SIP) phone, WLL (Wireless Local Loop, WLL) stand, personal digital assistant (Personal Digital Assistant, PDA), there is radio communication work( Handheld device, computing device or the other processing equipments for being connected to radio modem of energy.
For example, server device can be base station.Base station can be used for and mobile device communication, and base station can be global movement Communicate (Global System of Mobile communication, GSM) or CDMA (Code Division Multiple Access, CDMA) in base station (Base Transceiver Station, BTS) or wideband code division Base station (NodeB, NB) in multiple access (Wideband Code Division Multiple Access, WCDMA), can also be In Long Term Evolution (Long Term Evolution, LTE) evolved base station (Evolutional Node B, eNB or ENodeB), either base station equipment in relay station or access point or following 5G networks etc..
For example, server device can be OTT server.
It is understood that when the equipment 300 is ustomer premises access equipment, the service rate of descending business is determined for.Institute When to state equipment 300 be server device, the service rate of up business is determined for.
Alternatively, the equipment 300 shown in Fig. 6 can also be the network equipment, and this is not limited by the present invention.
Equipment 300 in Fig. 6 can realize each process realized in Fig. 1 to Fig. 5 embodiment by equipment, to avoid weight It is multiple, repeat no more here.
Fig. 7 is the block diagram of the equipment of the determination service rate of one embodiment of the invention.Equipment 600 shown in Fig. 7 includes: Processor 601, receiving circuit 602, transtation mission circuit 603 and memory 604.
Receiving circuit 602, for obtaining the data of business;
Processor 601, for determine receiving circuit 602 obtain the business data in M data segment, wherein, The data volume of each data segment of the M data segment is more than data-quantity threshold, and each data segment is included continuously at least Two packets, M are the positive integer more than or equal to 2;
Processor 601, it is additionally operable to determine the service rate for the total amount of data of the M data segment divided by the M Total transmission duration of data segment.
In the embodiment of the present invention, according to the size of the packet of the data of business, it is determined that the industry for calculating service rate Data segment in the data of business, the effective speed of the business so determined, the situation that business is transmitted can be reliably reacted, and then Enable an operator to be monitored network pipeline according to the effective speed of the business.
Each component in equipment 600 is coupled by bus system 605, and wherein bus system 605, which is removed, includes number Outside bus, in addition to power bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, in the figure 7 Various buses are all designated as bus system 605.
The method that the embodiments of the present invention disclose can apply in processor 601, or be realized by processor 601. Processor 601 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 1001 or the instruction of software form.Above-mentioned processing Device 1001 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 604, processor 601 read the information in memory 604, with reference to the step of its hardware completion above method.
It is appreciated that the memory 604 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDR SDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DR RAM).The memory 604 of system and method described herein be intended to including but not limited to these and it is any The memory of other suitable types.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
When realizing embodiment in software, firmware, middleware or microcode, program code or code segment, they can be stored In the machine readable media of such as memory unit.Code segment can represent process, function, subprogram, program, routine, subroutine, Module, software package, class or instruction, any combination of data structure or program statement.Code segment can be by transmitting and/or connecing Collection of letters breath, data, independent variable, parameter or memory content contribution are bonded to another code segment or hardware circuit.Can be used includes depositing The arbitrarily suitable modes such as reservoir is shared, message transmission, alternative space, network transmission to transmit, forward or send information, from change Amount, parameter, data etc..
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software Described technology.Software code is storable in memory cell and passes through computing device.Memory cell can handled Realized in device or outside processor, in the latter case memory cell can oneself knows via this area various means with logical Letter mode is coupled to processor.
Alternatively, as one embodiment, last packet in continuous at least two packet it is big It is small to be less than or equal to MSS, each data in continuous at least two packet in addition to last described packet The size of bag is MSS.
Alternatively, as another embodiment, last packet in continuous at least two packet with Time interval between the previous packet of last packet in continuous at least two packet is less than the One duration threshold value.
Alternatively, as another embodiment, when the transmission duration of each data segment of the M data segment is equal to second Long threshold value.
Alternatively, as another embodiment, the business is single business of single user.
Alternatively, as another embodiment, transtation mission circuit 603 can be used for the service rate for determining processor 601 Output.
Alternatively, as another embodiment, the equipment 600 is ustomer premises access equipment or server device.
It is understood that when the equipment 600 is ustomer premises access equipment, the service rate of descending business is determined for.Institute When to state equipment 600 be server device, the service rate of up business is determined for.
Alternatively, the equipment 600 shown in Fig. 7 can also be the network equipment, and this is not limited by the present invention.
Equipment 600 can realize each process realized in Fig. 1 to Fig. 5 embodiment by equipment, to avoid repeating, here Repeat no more.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read-Only Memory, ROM), arbitrary access are deposited Reservoir (Random Access Memory, RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (11)

  1. A kind of 1. method for determining service rate, it is characterised in that methods described includes:
    The data of acquisition business;
    M data segment in the data of the business is determined, wherein, the data volume of each data segment of the M data segment is big In data-quantity threshold, each data segment includes continuous at least two packet, and M is the positive integer more than or equal to 2;
    Determine the service rate for the total amount of data of the M data segment divided by total transmission duration of the M data segment.
  2. 2. according to the method for claim 1, it is characterised in that last in continuous at least two packet The size of packet is less than or equal to MSS, in continuous at least two packet in addition to last described packet The size of each packet be MSS.
  3. 3. according to the method for claim 2, it is characterised in that last in continuous at least two packet Between time between the previous packet of packet and last packet in continuous at least two packet Every less than the first duration threshold value.
  4. 4. according to the method for claim 1, it is characterised in that the transmission duration of each data segment of the M data segment Equal to the second duration threshold value.
  5. 5. according to the method described in any one of Claims 1-4, it is characterised in that the business is single business of single user.
  6. 6. a kind of equipment for determining service rate, it is characterised in that the equipment includes:
    Acquiring unit, for obtaining the data of business;
    First determining unit, M data segment in the data of the business obtained for determining the acquiring unit, wherein, The data volume of each data segment of the M data segment is more than data-quantity threshold, and each data segment is included continuously at least Two packets, M are the positive integer more than or equal to 2;
    Second determining unit, the M data segment determined for determining the service rate for first determining unit The total transmission duration for the M data segment that total amount of data divided by first determining unit determine.
  7. 7. equipment according to claim 6, it is characterised in that last in continuous at least two packet The size of packet is less than or equal to MSS, in continuous at least two packet in addition to last described packet The size of each packet be MSS.
  8. 8. equipment according to claim 7, it is characterised in that last in continuous at least two packet Between time between the previous packet of packet and last packet in continuous at least two packet Every less than the first duration threshold value.
  9. 9. equipment according to claim 6, it is characterised in that the transmission duration of each data segment of the M data segment Equal to the second duration threshold value.
  10. 10. according to the equipment described in any one of claim 6 to 9, it is characterised in that the business is single business of single user.
  11. 11. according to the equipment described in any one of claim 6 to 9, it is characterised in that the equipment is ustomer premises access equipment or service End equipment.
CN201410456806.1A 2014-09-10 2014-09-10 Determine the method and apparatus of service rate Active CN104219109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410456806.1A CN104219109B (en) 2014-09-10 2014-09-10 Determine the method and apparatus of service rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410456806.1A CN104219109B (en) 2014-09-10 2014-09-10 Determine the method and apparatus of service rate

Publications (2)

Publication Number Publication Date
CN104219109A CN104219109A (en) 2014-12-17
CN104219109B true CN104219109B (en) 2018-01-16

Family

ID=52100264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410456806.1A Active CN104219109B (en) 2014-09-10 2014-09-10 Determine the method and apparatus of service rate

Country Status (1)

Country Link
CN (1) CN104219109B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112243258B (en) * 2020-10-14 2023-08-11 中国联合网络通信集团有限公司 Method and device for determining user perception rate

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937594A (en) * 2006-11-13 2007-03-28 华为技术有限公司 Method and device for allocating cache quene threshold, and its flow control method and device
WO2013045195A1 (en) * 2011-09-26 2013-04-04 Thomson Licensing Method for controlling bandwidth and corresponding device
CN103327625A (en) * 2013-05-24 2013-09-25 中国联合网络通信集团有限公司 Method and device for determining occupied service radio resources

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937594A (en) * 2006-11-13 2007-03-28 华为技术有限公司 Method and device for allocating cache quene threshold, and its flow control method and device
WO2013045195A1 (en) * 2011-09-26 2013-04-04 Thomson Licensing Method for controlling bandwidth and corresponding device
CN103327625A (en) * 2013-05-24 2013-09-25 中国联合网络通信集团有限公司 Method and device for determining occupied service radio resources

Also Published As

Publication number Publication date
CN104219109A (en) 2014-12-17

Similar Documents

Publication Publication Date Title
CN105230068B (en) Data transmission method and equipment
EP3651436A3 (en) Techniques for securely communicating a data packet via at least one relay user equipment
AU2018315349B2 (en) Data integrity protection method, communication apparatus, terminal device, access network device, core network device, computer readable medium, and communication system
CN108632056A (en) A kind of smart machine network collocating method and system
KR101461236B1 (en) Methods for performing an Authentication of entities during establishment of wireless call connection
JP2007184938A (en) Method and apparatus of modifying integrity protection configuration of user end in wireless communications system
CN110505714B (en) Multi-link communication method, equipment and terminal
JP2017508364A5 (en)
CN111866908B (en) Communication system and network equipment
AU2017436699B2 (en) Method for transmitting data, terminal device and network device
CN104301106B (en) Wireless communication system and its authentication method
WO2017008701A1 (en) Data transmission method, apparatus, and user device
CN103607261A (en) Data transmission method and device
CN104219109B (en) Determine the method and apparatus of service rate
EP3493570A1 (en) Data transmission method, first device, and second device
CN110225517B (en) Information sending method, device and system and computer readable storage medium
US20220377707A1 (en) Communication Method and Communication Apparatus
CN109417470A (en) Cryptographic key negotiation method and device
CN108429700A (en) A kind of method and device sending message
CN110113317A (en) A kind of communication means, security node network element and terminal
CN107529202A (en) The method, apparatus and the network architecture of a kind of downlink data transmission
CN109698817B (en) Data processing method and device
CN108243082B (en) Data transmission method and equipment
WO2019127280A1 (en) Method for retransmission data, terminal device, and network device
CN104486794B (en) Transmit the method, apparatus and system of voice IP messages

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant