CN104601413B - Network estimation method and device - Google Patents

Network estimation method and device Download PDF

Info

Publication number
CN104601413B
CN104601413B CN201510079375.6A CN201510079375A CN104601413B CN 104601413 B CN104601413 B CN 104601413B CN 201510079375 A CN201510079375 A CN 201510079375A CN 104601413 B CN104601413 B CN 104601413B
Authority
CN
China
Prior art keywords
data
transmit queue
network
predetermined value
accumulated
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.)
Expired - Fee Related
Application number
CN201510079375.6A
Other languages
Chinese (zh)
Other versions
CN104601413A (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.)
Shanghai Xiaoyi Technology Co Ltd
Original Assignee
Shanghai Xiaoyi Technology 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 Shanghai Xiaoyi Technology Co Ltd filed Critical Shanghai Xiaoyi Technology Co Ltd
Priority to CN201510079375.6A priority Critical patent/CN104601413B/en
Publication of CN104601413A publication Critical patent/CN104601413A/en
Application granted granted Critical
Publication of CN104601413B publication Critical patent/CN104601413B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of network estimation method and device, for transmitting terminal.To it is accurate, assess network condition in real time.The method includes:After network side transmission data, monitoring whether that receiving data sends successfully feedback;When receiving the data transmission successfully feedback, the data in transmit queue are deleted;Determine the data cases accumulated in transmit queue;Data cases according to being accumulated in transmit queue assess network.The technical solution adopted by the present invention assesses network condition by counting the data in transmit queue, so as to it is real-time, accurately assess network condition, to ensure to send out more data.

Description

Network estimation method and device
Technical field
The present invention relates to Internet technical field, more particularly to a kind of network estimation method and device.
Background technology
In the relevant technologies, network condition is assessed based on network flow, but network flow is by user network business shape Into, regularity is not strong, and network flow is mainly related to the factors such as service condition, transport protocol, link state, therefore, network Flow is time-varying, and has fluctuation, is fluctuated sometimes also very big.Network performance depend on some variables, such as it is sudden, delay, Shake, packet loss etc..Different network applications will be different these index requests, therefore be assessed based on network flow There is the problem of inaccurate in network.
Invention content
To overcome the problems in correlation technique, the present invention provides a kind of network estimation method and device, to it is accurate, Assessment network condition in real time.
It is according to embodiments of the present invention in a first aspect, provide a kind of network estimation method, for transmitting terminal, including:
After network side transmission data, monitoring whether that receiving data sends successfully feedback;
When receiving the data transmission successfully feedback, the data in transmit queue are deleted;
Determine the data cases accumulated in transmit queue;
Data cases according to being accumulated in transmit queue assess network.
In one embodiment, it is described that network is assessed according to the data cases accumulated in transmit queue, including:
The percentage of maximum amount of data can be accommodated predetermined when the data volume accumulated in transmit queue accounts for the transmit queue When being less than first predetermined value in the duration, determine that network condition is good;
The percentage of maximum amount of data can be accommodated predetermined when the data volume accumulated in transmit queue accounts for the transmit queue When being more than second predetermined value in the duration, determine that network condition is poor, wherein, it is pre- that the first predetermined value is less than or equal to second Definite value.
In one embodiment, the data are transmitted as a data frame.
In one embodiment, the method may also include:
When the data frame piles with the transmit queue, all data frames of the transmit queue are removed.
In one embodiment, the method may also include:
In the first preset duration after removing all data frames, to network condition without assessment;
When the transmit queue data frame quantity be more than third predetermined value when, according to the method to network condition into Row assessment;Alternatively, when the quantity of the data frame of the transmit queue is less than third predetermined value in the second preset duration, press Network condition is assessed according to the method.
Second aspect according to embodiments of the present invention provides a kind of network evaluation device, for transmitting terminal, including:
After network side transmission data, successfully feedback is sent for monitoring whether to receive data for monitoring modular;
Removing module, for when receiving the data transmission successfully feedback, deleting the number in transmit queue According to;
Determining module, for determining the data cases accumulated in transmit queue;
First evaluation module, for being assessed according to the data cases accumulated in transmit queue network.
In one embodiment, first evaluation module may include:
First determination sub-module, maximum number can be accommodated by accounting for the transmit queue for working as the data volume accumulated in transmit queue According to the percentage of amount in predetermined lasting time be less than first predetermined value when, determine that network condition is good;
Second determination sub-module, maximum number can be accommodated by accounting for the transmit queue for working as the data volume accumulated in transmit queue When being more than in predetermined lasting time second predetermined value according to the percentage of amount, determine that network condition is poor, wherein, described first is predetermined Value is less than or equal to second predetermined value.
In one embodiment, the data are transmitted as a data frame.
In one embodiment, described device may also include:
Data frame removes module, for when the data frame piles with the transmit queue, removing the transmit queue All data frames.
In one embodiment, described device may also include:
Second evaluation module, in the first preset duration after all data frames are removed, to network condition without Assessment;When the quantity of the data frame of the transmit queue is more than third predetermined value, network condition is carried out according to the method Assessment;Alternatively, when the quantity of the data frame of the transmit queue is less than third predetermined value in the second preset duration, according to The method assesses network condition.
The third aspect according to embodiments of the present invention provides a kind of network evaluation device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
After network side transmission data, monitoring whether that receiving data sends successfully feedback;
When receiving the data transmission successfully feedback, the data in transmit queue are deleted;
Determine the data cases accumulated in transmit queue;
Data cases according to being accumulated in transmit queue assess network.
Some advantageous effects of the embodiment of the present invention can include:Network is assessed by counting the data in transmit queue Situation, so as to it is real-time, accurately assess network condition.
Below by drawings and examples, technical scheme of the present invention is described in further detail.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention Example is applied together for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of network estimation method in the embodiment of the present invention;
Fig. 2 is the flow chart of another network estimation method in the embodiment of the present invention;
Fig. 3 is a kind of flow chart of network estimation method in the embodiment of the present invention one;
Fig. 4 is a kind of schematic diagram of network estimation method in the embodiment of the present invention one;
Fig. 5 is a kind of network evaluation device block diagram in the embodiment of the present invention;
Fig. 6 is another network evaluation device block diagram in the embodiment of the present invention.
Fig. 7 is another network evaluation device block diagram in the embodiment of the present invention.
Fig. 8 is another network evaluation device block diagram in the embodiment of the present invention.
Fig. 9 is according to a kind of block diagram suitable for network evaluation device shown in an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
The invention discloses a kind of network estimation method, this method be applied to UDP (User Datagram Protocol, User Datagram Protocol) in network environment under agreement, it need not first establish and connect with other side especially before formal communication (towards non- Connection) udp protocol network in, the assessment of network condition just becomes particularly important.TCP known to the public (Transmission Control Protocol transmission control protocols) agreement is a kind of " towards connection " i.e. before formal communication It has to elder generation and sets up with other side connect.Such as when calling others, it is necessary to circuits be waited to connect, other side hangs on ability It communicates with each other.And the udp protocol of " towards disconnected " is need not first to establish to connect with other side before formal communication, no matter other side's shape State just directly just sends data packet go over, therefore it sometimes appear that can not receive the situation of message.If excessive establishes TCP companies It connects, very big network burden can be caused.And the advantages of udp protocol, is, since udp protocol is without the process of connection, so it Communication efficiency it is high, can relatively quick some simple communications of processing;For example intelligent video camera head can use UDP to connection Intelligent terminal send message.
Fig. 1 is according to a kind of flow chart of network estimation method shown in an exemplary embodiment, for transmitting terminal.The party Method is for terminal devices such as computer, mobile phones, as shown in Figure 1, this method includes the following steps S101-S104:
In step S101, after network side transmission data, monitoring whether that receiving data sends successfully feedback.
In the step, data sending terminal caches the data to be sent in the form of sliding window, and data are successfully sent to connect After receiving end, the information for having successfully received data can be fed back to data sending terminal by receiving terminal.
In step s 102, when receiving data transmission successfully feedback, the data in transmit queue are deleted.
When data sending terminal, which receives data, sends successfully feedback, corresponding data are deleted from sliding window, such as Fruit does not receive data and sends successfully feedback, then retains the data in sliding window.
In step s 103, the data cases accumulated in transmit queue are determined.
In the step, the data volume in a sliding window is calculated at interval of a period of time (for example, each second).
In step S104, network is assessed according to the data cases accumulated in transmit queue.
In the step, judge whether the data volume in sliding window reaches predetermined threshold value, if reaching predetermined threshold value, It is then poor to network condition assessment, is otherwise preferable to network condition assessment.Alternatively, continuous several times judge that data volume reaches pre- If threshold value when, determine that network condition is poor.
The network estimation method of technical solution of the embodiment of the present invention assesses network by counting the data in transmit queue Situation, so as to it is real-time, accurately assess network condition.
In one embodiment, step S104 can specifically be embodied as following manner A, B:
Mode A can accommodate the percentage of maximum amount of data pre- when the data volume accumulated in transmit queue accounts for transmit queue When determining to be less than first predetermined value in the duration, determine that network condition is good.
First predetermined value for example can be 30%, and predetermined lasting time can be for example 5s, when what is accumulated in transmit queue When the continuous 5s of data is less than 30%, illustrates that data receiver's reception data cases are good, be then good to network condition assessment.
Mode B, the percentage of maximum amount of data can be accommodated pre- when the data volume accumulated in transmit queue accounts for transmit queue When determining to be more than second predetermined value in the duration, determine that network condition is poor, wherein, it is predetermined that first predetermined value is less than or equal to second Value.
In the present embodiment, predetermined lasting time, first predetermined value and second predetermined value can all be reset as needed.
Second predetermined value for example can be 70%, and predetermined lasting time can be for example 5s, when what is accumulated in transmit queue When the continuous 5s of data is more than 70%, illustrates that data receiver's reception data cases are poor, be then poor to network condition assessment.
In one embodiment, data are transmitted as a data frame.The unit of data is data frame, for example, working as data When receiving terminal receives 10 data frame, the information for having successfully received the 10th data frame can be fed back to data sending terminal, work as data Transmitting terminal receive the 10th data frame send successfully feedback when, from sliding window delete the 10th data frame, if do not received Successfully feedback is sent to the 10th data frame, then retains the 10th data frame in sliding window.
In one embodiment, as shown in Fig. 2, the above method may also include step S105:
In step S105, when data frame piles with transmit queue, all data frames of clear to send queue.
When data frame piles with transmit queue, if transmitting terminal does not receive transmission successfully feedback, will not re-record In transmit queue, in order to ensure the real-time of data, when buffered data frames pile with transmit queue, the institute of clear to send queue There is data frame, re-start network evaluation, ensure that the accurate of network evaluation.
In one embodiment, as shown in Fig. 2, the above method may also include step S106-S107:
In step s 106, in the first preset duration after removing all data frames, to network condition without assessment.
Network condition assessment mistake caused by understanding data in order to prevent, in certain period of time, to network condition not into Row assessment, alternatively, during this period of time judging network condition to be poor, this period is called removing quiet period.
In step s 107, when the quantity of the data frame of transmit queue is more than third predetermined value, according to method to network Situation is assessed;Alternatively, when the quantity of the data frame of transmit queue is less than third predetermined value in the second preset duration, Network condition is assessed according to method.
Third predetermined value for example can be 40%, and the second preset duration for example can be 15s.Quiet period is sentenced there are two terminating Broken strip part, one, when transmit queue data frame quantity be more than 40% when, network condition is assessed, network condition assessment To be poor, alternatively, two, when the quantity of the data frame of transmit queue is less than 40% in 15s, start to network condition carry out Assessment.
The above-mentioned technical proposal of embodiment of the present disclosure offer is provided below with specific embodiment.
Embodiment one
The network estimation method that embodiment one is provided using the embodiment of the present disclosure.As shown in Figure 3,4, the present embodiment is included such as Lower step, the step can be performed by computer or application program:
In step S301, the 15th frame data whether monitoring transmitting terminal 41 receives the transmission of receiving terminal 42 are sent successfully Feedback.
In step s 302, when transmitting terminal 41, which receives the 15th frame data, sends successfully feedback, transmitting terminal 41 is deleted 15th frame data of caching.
In step S303, the data frame accumulated in 41 transmit queue of transmitting terminal is determined.
In step s 304, when the continuous 10s of the data frame accumulated in transmit queue be more than 40% when, to network evaluation be compared with Difference.
The present embodiment one assesses network condition by counting the data frame in transmit queue, so as to real-time, accurate Assess network condition.
Fig. 5 show a kind of block diagram of network evaluation device in the embodiment of the present invention, for transmitting terminal, as shown in figure 5, should Device includes:
After network side transmission data, successfully feedback is sent for monitoring whether to receive data for monitoring modular 51.
Removing module 52, for when receiving data transmission successfully feedback, deleting the data in transmit queue.
Determining module 53, for determining the data cases accumulated in transmit queue.
First evaluation module 54, for being assessed according to the data cases accumulated in transmit queue network.
In one embodiment, as shown in fig. 6, the first evaluation module 54 may include:
First determination sub-module 61, maximum data can be accommodated by accounting for transmit queue for working as the data volume accumulated in transmit queue When the percentage of amount is less than first predetermined value in predetermined lasting time, determine that network condition is good;
Second determination sub-module 62, maximum data can be accommodated by accounting for transmit queue for working as the data volume accumulated in transmit queue When the percentage of amount is more than second predetermined value in predetermined lasting time, determine that network condition is poor, wherein, first predetermined value is less than Or equal to second predetermined value.
In one embodiment, data are transmitted as a data frame.
In one embodiment, as shown in fig. 7, above device may also include:
Data frame removes module 55, for when data frame piles with transmit queue, all data frames of clear to send queue.
In one embodiment, as shown in figure 8, above device may also include:
Second evaluation module 56, in the first preset duration after all data frames are removed, to network condition not into Row assessment;When the quantity of the data frame of transmit queue is more than third predetermined value, network condition is assessed according to method;Or Person is right according to the method described above when the quantity of the data frame of transmit queue is less than third predetermined value in the second preset duration Network condition is assessed.
The network evaluation device of technical solution of the present invention, network condition is assessed by counting the data in transmit queue, So as to it is real-time, accurately assess network condition.
Fig. 9 is according to a kind of block diagram of network evaluation device 1200 shown in an exemplary embodiment, which is suitable for Terminal device.For example, device 1200 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game control Platform processed, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 9, device 1200 can include following one or more components:Processing component 1202, memory 1204, electricity Source component 1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module 1214 and communication component 1216.
The integrated operation of 1202 usual control device 1200 of processing component, such as with display, call, data communication, Camera operation and record operate associated operation.Processing element 1202 can be performed including one or more processors 1220 Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 can include one or more moulds Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 can include multi-media module, To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in equipment 1200.These data Example is included for the instruction of any application program or method that is operated on device 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1206 provides electric power for the various assemblies of device 1200.Electric power assembly 1206 can include power management System, one or more power supplys and other generate, manage and distribute electric power associated component with for device 1200.
Multimedia component 1208 is included in the screen of one output interface of offer between described device 1200 and user. In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch and passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or slide dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, it is more Media component 1208 includes a front camera and/or rear camera.When equipment 1200 is in operation mode, mould is such as shot When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat Gram wind (MIC), when device 1200 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication Component 1216 is sent.In some embodiments, audio component 1210 further includes a loud speaker, for exports audio signal.
I/O interfaces 1212 provide interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor module 1214 can detect opening/closed state of equipment 1200, the relative positioning of component, such as institute The display and keypad that component is device 1200 are stated, sensor module 1214 can be with detection device 1200 or device 1,200 1 The position change of a component, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/deceleration and dress Put 1200 temperature change.Sensor module 1214 can include proximity sensor, be configured in no any physics It is detected the presence of nearby objects during contact.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging application.In some embodiments, which can also include acceleration biography Sensor, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by putting 1200,2G or 3G or combination thereof.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can by one or more application application specific integrated circuit (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field-programmable gate array It arranges (FPGA), controller, microcontroller, microprocessor or other electronic components to realize, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1204 of instruction, above-metioned instruction can be performed to complete the above method by the processor 820 of device 1200.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of network evaluation device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
After network side transmission data, monitoring whether that receiving data sends successfully feedback;
When receiving the data transmission successfully feedback, the data in transmit queue are deleted;
Determine the data cases accumulated in transmit queue;
Data cases according to being accumulated in transmit queue assess network.
The processor is additionally configured to:
The percentage of maximum amount of data can be accommodated predetermined when the data volume accumulated in transmit queue accounts for the transmit queue When being less than first predetermined value in the duration, determine that network condition is good;
The percentage of maximum amount of data can be accommodated predetermined when the data volume accumulated in transmit queue accounts for the transmit queue When being more than second predetermined value in the duration, determine that network condition is poor, wherein, it is pre- that the first predetermined value is less than or equal to second Definite value.
The processor is additionally configured to:
The data are transmitted as a data frame.
The processor is additionally configured to:
The method further includes:
When the data frame piles with the transmit queue, all data frames of the transmit queue are removed.
The processor is additionally configured to:
The method further includes:
In the first preset duration after removing all data frames, to network condition without assessment;
When the transmit queue data frame quantity be more than third predetermined value when, according to the method to network condition into Row assessment;Alternatively, when the quantity of the data frame of the transmit queue is less than third predetermined value in the second preset duration, press Network condition is assessed according to the method.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device performs so that mobile terminal is able to carry out a kind of network estimation method, the method includes:
After network side transmission data, monitoring whether that receiving data sends successfully feedback;
When receiving the data transmission successfully feedback, the data in transmit queue are deleted;
Determine the data cases accumulated in transmit queue;
Data cases according to being accumulated in transmit queue assess network.
It is described that network is assessed according to the data cases accumulated in transmit queue, including:
The percentage of maximum amount of data can be accommodated predetermined when the data volume accumulated in transmit queue accounts for the transmit queue When being less than first predetermined value in the duration, determine that network condition is good;
The percentage of maximum amount of data can be accommodated predetermined when the data volume accumulated in transmit queue accounts for the transmit queue When being more than second predetermined value in the duration, determine that network condition is poor, wherein, it is pre- that the first predetermined value is less than or equal to second Definite value.
The data are transmitted as a data frame.
The method further includes:
When the data frame piles with the transmit queue, all data frames of the transmit queue are removed.
The method further includes:
In the first preset duration after removing all data frames, to network condition without assessment;
When the transmit queue data frame quantity be more than third predetermined value when, according to the method to network condition into Row assessment;Alternatively, when the quantity of the data frame of the transmit queue is less than third predetermined value in the second preset duration, press Network condition is assessed according to the method.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention The shape of computer program product that usable storage medium is implemented on (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (9)

1. a kind of network estimation method, for transmitting terminal, which is characterized in that including:
After network side transmission data, monitoring whether that receiving data sends successfully feedback;
When receiving the data transmission successfully feedback, the data in transmit queue are deleted;
Determine the data cases accumulated in transmit queue;
Data cases according to being accumulated in transmit queue assess network;
The method further includes:
When the buffered data frames of the data pile with the transmit queue, all data frames of the transmit queue are removed.
2. the method as described in claim 1, which is characterized in that it is described according to the data cases accumulated in transmit queue to network It is assessed, including:
The percentage of maximum amount of data can be accommodated predetermined lasting when the data volume accumulated in transmit queue accounts for the transmit queue When being less than first predetermined value in the time, determine that network condition is good;
The percentage of maximum amount of data can be accommodated predetermined lasting when the data volume accumulated in transmit queue accounts for the transmit queue When being more than second predetermined value in the time, determine that network condition is poor, wherein, it is predetermined that the first predetermined value is less than or equal to second Value.
3. the method as described in claim 1, which is characterized in that the data are transmitted as a data frame.
4. the method as described in claim 1, which is characterized in that the method further includes:
In the first preset duration after removing all data frames, to network condition without assessment;
When the quantity of the data frame of the transmit queue is more than third predetermined value, network condition is commented according to the method Estimate;Alternatively, when the quantity of the data frame of the transmit queue is less than third predetermined value in the second preset duration, according to institute Method is stated to assess network condition.
5. a kind of network evaluation device, which is characterized in that for transmitting terminal, including:
Monitoring modular, for after network side transmission data, monitoring whether that receiving data sends successfully feedback;
Removing module, for when receiving the data transmission successfully feedback, deleting the data in transmit queue;
Determining module, for determining the data cases accumulated in transmit queue;
First evaluation module, for being assessed according to the data cases accumulated in transmit queue network;
Described device further includes:
Data frame removes module, for when the buffered data frames of the data pile with the transmit queue, removing the transmission All data frames of queue.
6. device as claimed in claim 5, which is characterized in that first evaluation module includes:
First determination sub-module, maximum amount of data can be accommodated by accounting for the transmit queue for working as the data volume accumulated in transmit queue Percentage in predetermined lasting time be less than first predetermined value when, determine that network condition is good;
Second determination sub-module, maximum amount of data can be accommodated by accounting for the transmit queue for working as the data volume accumulated in transmit queue Percentage in predetermined lasting time be more than second predetermined value when, determine that network condition is poor, wherein, the first predetermined value is small In or equal to second predetermined value.
7. device as claimed in claim 5, which is characterized in that
The data are transmitted as a data frame.
8. device as claimed in claim 5, which is characterized in that described device further includes:
Second evaluation module, in the first preset duration after all data frames are removed, to network condition without assessment; When the transmit queue data frame quantity be more than third predetermined value when, by first evaluation module to network condition into Row assessment;Alternatively, when the quantity of the data frame of the transmit queue is less than third predetermined value in the second preset duration, lead to First evaluation module is crossed to assess network condition.
9. a kind of network evaluation device, which is characterized in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
After network side transmission data, monitoring whether that receiving data sends successfully feedback;
When receiving the data transmission successfully feedback, the data in transmit queue are deleted;
Determine the data cases accumulated in transmit queue;
Data cases according to being accumulated in transmit queue assess network;
It further includes:
When the buffered data frames of the data pile with the transmit queue, all data frames of the transmit queue are removed.
CN201510079375.6A 2015-02-13 2015-02-13 Network estimation method and device Expired - Fee Related CN104601413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510079375.6A CN104601413B (en) 2015-02-13 2015-02-13 Network estimation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510079375.6A CN104601413B (en) 2015-02-13 2015-02-13 Network estimation method and device

Publications (2)

Publication Number Publication Date
CN104601413A CN104601413A (en) 2015-05-06
CN104601413B true CN104601413B (en) 2018-06-08

Family

ID=53126937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510079375.6A Expired - Fee Related CN104601413B (en) 2015-02-13 2015-02-13 Network estimation method and device

Country Status (1)

Country Link
CN (1) CN104601413B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109330505B (en) * 2018-11-19 2021-06-29 南京特沃斯清洁设备有限公司 Internet of things system of scrubber
CN110798342A (en) * 2019-10-14 2020-02-14 杭州迪普科技股份有限公司 Method and device for realizing bypass mode based on software

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1910868A (en) * 2003-12-23 2007-02-07 艾利森电话股份有限公司 Method and device for controlling alignment buffer
CN101193055A (en) * 2006-11-30 2008-06-04 中兴通讯股份有限公司 Method for sending indirect real time traffic control data
CN102377801A (en) * 2010-08-19 2012-03-14 中国科学院计算技术研究所 Sensor network for environmental monitoring and data transmission method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8549594B2 (en) * 2009-09-18 2013-10-01 Chung-Yu Lin Method of identity authentication and fraudulent phone call verification that utilizes an identification code of a communication device and a dynamic password

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1910868A (en) * 2003-12-23 2007-02-07 艾利森电话股份有限公司 Method and device for controlling alignment buffer
CN101193055A (en) * 2006-11-30 2008-06-04 中兴通讯股份有限公司 Method for sending indirect real time traffic control data
CN102377801A (en) * 2010-08-19 2012-03-14 中国科学院计算技术研究所 Sensor network for environmental monitoring and data transmission method

Also Published As

Publication number Publication date
CN104601413A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
EP2928169B1 (en) Method for voice calling, method for voice playing and devices thereof
CN105337800B (en) Poll frequency method of adjustment and device
CN105094732A (en) Screen display method and apparatus
CN105120099A (en) Shooting control method and device
EP2986020B1 (en) Method and apparatus for adjusting video quality based on network environment
CN105262672A (en) Intra-group anti-harassment method and device
CN105376144B (en) Information processing method and device
CN104168605A (en) Data transmission control method and apparatus
EP3264774A1 (en) Live broadcasting method and device for live broadcasting
CN103916975A (en) Network connection management method and device
CN104468971A (en) Method and device for connecting playing source
CN104936255B (en) wireless access control method, device, router and terminal
CN104601204B (en) trigger condition detection method and device
CN105163391B (en) Data transmission method, terminal and wireless access points
CN105141880B (en) Call answering method and device
CN104581615A (en) Service delivery method and device
CN105407021A (en) Volume adjustment method and device
CN104539497B (en) Method for connecting network and device
CN104601413B (en) Network estimation method and device
CN104010065A (en) Telephone processing method and device
CN105227426B (en) Application interface switching method and device and terminal equipment
CN110224991B (en) Video networking terminal communication method and device
CN105187154A (en) Response packet reception time delay method and response packet reception time delay device
CN107819836A (en) The remapping method and device of facility information
CN111654354A (en) Detection method, device and storage medium of Maximum Transmission Unit (MTU)

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180608

Termination date: 20210213

CF01 Termination of patent right due to non-payment of annual fee