CN104601413A - Network assessing method and device - Google Patents
Network assessing method and device Download PDFInfo
- Publication number
- CN104601413A CN104601413A CN201510079375.6A CN201510079375A CN104601413A CN 104601413 A CN104601413 A CN 104601413A CN 201510079375 A CN201510079375 A CN 201510079375A CN 104601413 A CN104601413 A CN 104601413A
- Authority
- CN
- China
- Prior art keywords
- data
- transmit queue
- network
- predetermined value
- piling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a network accessing method and device for transmitting terminals and aims to accurately assess network conditions in real time. The method includes: after transmitting data to a network side, monitoring whether or not a feedback of data transmission success is received; if yes, deleting data from a transmitting queue; determining data accumulation condition of the transmitting queue; according to the data accumulation condition, assessing the network. The network accessing method and device according to the technical scheme has the advantages that the network conditions are assessed by counting the data in the transmitting queue, the network conditions can be assessed accurately in real time, and more data can be transmitted.
Description
Technical field
The present invention relates to Internet technical field, particularly a kind of network estimation method and device.
Background technology
In correlation technique, flow Network Based carrys out critic network situation, but network traffics are formed by user network business, regularity is not strong, network traffics are main, and factor is relevant with service condition, host-host protocol, Link State etc., therefore, and change when network traffics are, and there is fluctuation, sometimes fluctuate also very large.Network performance depends on some variablees, as sudden, delay, shake, packet loss etc.Different network applications can be different to these index requests, and therefore flow Network Based carrys out critic network and there is inaccurate problem.
Summary of the invention
For overcoming Problems existing in correlation technique, the invention provides a kind of network estimation method and device, in order to accurate, real-time assessment network condition.
According to the first aspect of the embodiment of the present invention, provide a kind of network estimation method, for transmitting terminal, comprising:
After sending data to network side, whether monitoring receives data and sends successfully feedback;
When receiving the transmission of described data and successfully feeding back, delete the described data in transmit queue;
Determine the data cases of piling up in transmit queue;
Data cases according to piling up in transmit queue is assessed network.
In one embodiment, the described data cases according to piling up in transmit queue is assessed network, comprising:
When the data volume of piling up in transmit queue account for percentage that described transmit queue can hold maximum amount of data in predetermined lasting time, be less than the first predetermined value time, determine that network condition is good;
When the data volume of piling up in transmit queue account for percentage that described transmit queue can hold maximum amount of data in predetermined lasting time, be greater than the second predetermined value time, determine that network condition is poor, wherein, described first predetermined value is less than or equal to the second predetermined value.
In one embodiment, described data are transmitted as a data frame.
In one embodiment, described method also can comprise:
When described Frame piles with described transmit queue, remove all Frames of described transmit queue.
In one embodiment, described method also can comprise:
In the first preset duration after removing all Frames, network condition is not assessed;
When the quantity of the Frame of described transmit queue is more than the 3rd predetermined value, according to described method, network condition is assessed; Or, when the quantity of the Frame of described transmit queue in the second preset duration more than the 3rd predetermined value time, according to described method, network condition is assessed.
According to the second aspect of the embodiment of the present invention, a kind of network evaluation device is provided, for transmitting terminal, comprises:
Whether monitoring modular, after sending data to network side, receive data for monitoring and send successfully feedback;
Removing module, for when receiving the transmission of described data and successfully feeding back, deletes the described data in transmit queue;
Determination module, for determining the data cases of piling up in transmit queue;
First evaluation module, for assessing network according to the data cases of piling up in transmit queue.
In one embodiment, described first evaluation module can comprise:
First determines submodule, when the percentage that can hold maximum amount of data for accounting for described transmit queue when the data volume of piling up in transmit queue is less than the first predetermined value in predetermined lasting time, determines that network condition is good;
Second determines submodule, when the percentage that can hold maximum amount of data for accounting for described transmit queue when the data volume of piling up in transmit queue is greater than the second predetermined value in predetermined lasting time, determine that network condition is poor, wherein, described first predetermined value is less than or equal to the second predetermined value.
In one embodiment, described data are transmitted as a data frame.
In one embodiment, described device also can comprise:
Frame removes module, for when described Frame piles with described transmit queue, removes all Frames of described transmit queue.
In one embodiment, described device also can comprise:
Second evaluation module, in the first preset duration after removing all Frames, does not assess network condition; When the quantity of the Frame of described transmit queue is more than the 3rd predetermined value, according to described method, network condition is assessed; Or, when the quantity of the Frame of described transmit queue in the second preset duration more than the 3rd predetermined value time, according to described method, network condition is assessed.
According to the third aspect of the embodiment of the present invention, a kind of network evaluation device is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
After sending data to network side, whether monitoring receives data and sends successfully feedback;
When receiving the transmission of described data and successfully feeding back, delete the described data in transmit queue;
Determine the data cases of piling up in transmit queue;
Data cases according to piling up in transmit queue is assessed network.
Some beneficial effects of the embodiment of the present invention can comprise: carry out critic network situation by the data in statistics transmit queue, thus can in real time, critic network situation accurately.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of a kind 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 the flow chart of a kind of network estimation method in the embodiment of the present invention one;
Fig. 4 is the schematic diagram of a kind 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 a kind of block diagram being applicable to network evaluation device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
The invention discloses a kind of network estimation method, the method is applied to UDP (User DatagramProtocol, User Datagram Protoco (UDP)) in network environment under agreement, especially first need not connect with the other side before formal communication (towards disconnected) udp protocol network in, it is particularly important that the assessment of network condition just becomes.TCP (the Transmission Control Protocol transmission control protocol) agreement that the public knows is that a kind of " SCCP connection-oriented " namely first must be set up with the other side and be connected before formal communication.When such as calling others, circuit must be waited to connect, the other side hung on and just can communicate with each other.And the udp protocol of " towards disconnected " first need not connect with the other side before formal communication, no matter partner state is just directly just pass by Packet Generation, therefore occurs the situation that can not receive message sometimes.If the too much TCP that sets up connects, very large network burden can be caused.And the advantage of udp protocol is, due to the process that udp protocol does not connect, so its communication efficiency is high, some simple communication can be processed relatively fast; Such as intelligent video camera head just can use UDP to send message to the intelligent terminal connected.
Fig. 1 is the flow chart of a kind of network estimation method according to an exemplary embodiment, for transmitting terminal.The method is used for the terminal equipment such as computer, mobile phone, and as shown in Figure 1, the method comprises the following steps S101-S104:
In step S101, after sending data to network side, whether monitoring receives data and sends successfully feedback.
In this step, the data that data sending terminal will send with the form buffer memory of sliding window, after data successfully send to receiving terminal, receiving terminal will can successfully receive the information feed back of data to data sending terminal.
In step s 102, when receiving data transmission and successfully feeding back, the data in transmit queue are deleted.
When data sending terminal receive data send successfully feed back time, from sliding window, delete corresponding data, if do not receive data to send successfully feedback, then retain the data in sliding window.
In step s 103, the data cases of piling up in transmit queue is determined.
In this step, calculate the data volume in a sliding window at interval of a period of time (such as, each second).
In step S104, the data cases according to piling up in transmit queue is assessed network.
In this step, judge whether the data volume in sliding window reaches predetermined threshold value, if reach predetermined threshold value, be then poor to network condition assessment, otherwise be better to network condition assessment.Or, when continuous several times judges the threshold value that data volume reaches default, determine that network condition is poor.
The network estimation method of embodiment of the present invention technical scheme, carrys out critic network situation by the data in statistics transmit queue, thus can in real time, critic network situation accurately.
In one embodiment, step S104 specifically can be embodied as under type A, B:
Mode A, when the data volume of piling up in transmit queue account for percentage that transmit queue can hold maximum amount of data in predetermined lasting time, be less than the first predetermined value time, determine that network condition is good.
First predetermined value can be such as 30%, and predetermined lasting time can be such as 5s, when the continuous 5s of the data of piling up in transmit queue is less than 30%, illustrates that data receiver receives data cases good, be then good to network condition assessment.
Mode B, when the data volume of piling up in transmit queue account for percentage that transmit queue can hold maximum amount of data in predetermined lasting time, be greater than the second predetermined value time, determine that network condition is poor, wherein, the first predetermined value is less than or equal to the second predetermined value.
In the present embodiment, predetermined lasting time, the first predetermined value and the second predetermined value all can reset as required.
Second predetermined value can be such as 70%, and predetermined lasting time can be such as 5s, when the continuous 5s of the data of piling up in transmit queue is greater than 70%, illustrates that data receiver receives data cases difference, then to network condition assessment for poor.
In one embodiment, data are transmitted as a data frame.The unit of data is Frames, such as, when data receiver receives the 10th Frame, to can successfully receive the information feed back of the 10th Frame to data sending terminal, when data sending terminal receive the 10th dataframe successfully feed back time, from sliding window, delete the 10th Frame, successfully feed back if do not receive the 10th dataframe, then retain the 10th Frame in sliding window.
In one embodiment, as shown in Figure 2, said method also can comprise step S105:
In step S105, when Frame piles with transmit queue, all Frames of clear to send queue.
When Frame piles with transmit queue, if transmitting terminal does not receive send successfully feedback, also can not be recorded in transmit queue again, in order to ensure the real-time of data, when buffered data frames piles with transmit queue, all Frames of clear to send queue, re-start network evaluation, ensure that the accurate of network evaluation.
In one embodiment, as shown in Figure 2, said method also can comprise step S106-S107:
In step s 106, in the first preset duration after removing all Frames, network condition is not assessed.
In order to prevent the network condition assessment mistake knowing that data cause, in certain hour section, network condition is not assessed, or during this period of time judge that network condition is as poor, this time period is called removing quiet period.
In step s 107, when the quantity of the Frame of transmit queue is more than the 3rd predetermined value, according to method, network condition is assessed; Or, when the quantity of the Frame of transmit queue in the second preset duration more than the 3rd predetermined value time, according to method, network condition is assessed.
3rd predetermined value can be such as the 40%, second preset duration can be such as 15s.Quiet period terminates there are two Rule of judgment, and one, when the quantity of the Frame of transmit queue is more than 40%, network condition is assessed, network condition assessment is poor, or, two, when the quantity of the Frame of transmit queue in 15s more than 40% time, start to assess network condition.
With specific embodiment, the technique scheme that disclosure embodiment provides is described below.
Embodiment one
The network estimation method that embodiment one utilizes disclosure embodiment to provide.As shown in Figure 3,4, the present embodiment comprises the steps, this step can be performed by computer or application program:
In step S301, whether monitoring transmitting terminal 41 receives the 15th frame data transmission successfully feedback that receiving terminal 42 sends.
In step s 302, when transmitting terminal 41 receive the 15th frame data send successfully feed back time, delete the 15th frame data of transmitting terminal 41 buffer memory.
In step S303, determine the Frame piled up in transmitting terminal 41 transmit queue.
In step s 304, when the continuous 10s of the Frame piled up in transmit queue is more than 40%, be poor to network evaluation.
The present embodiment one, carrys out critic network situation by the Frame in statistics transmit queue, thus can in real time, critic network situation accurately.
Figure 5 shows that the block diagram of a kind of network evaluation device in the embodiment of the present invention, for transmitting terminal, as shown in Figure 5, this device comprises:
Whether monitoring modular 51, after sending data to network side, receive data for monitoring and send successfully feedback.
Removing module 52, for when receiving data transmission and successfully feeding back, deletes the data in transmit queue.
Determination module 53, for determining the data cases of piling up in transmit queue.
First evaluation module 54, for assessing network according to the data cases of piling up in transmit queue.
In one embodiment, as shown in Figure 6, the first evaluation module 54 can comprise:
First determines submodule 61, when the percentage that can hold maximum amount of data for accounting for transmit queue when the data volume of piling up in transmit queue is less than the first predetermined value in predetermined lasting time, determines that network condition is good;
Second determines submodule 62, when the percentage that can hold maximum amount of data for accounting for transmit queue when the data volume of piling up in transmit queue is greater than the second predetermined value in predetermined lasting time, determine that network condition is poor, wherein, the first predetermined value is less than or equal to the second predetermined value.
In one embodiment, data are transmitted as a data frame.
In one embodiment, as shown in Figure 7, said apparatus also can comprise:
Frame removes module 55, for when Frame piles with transmit queue, and all Frames of clear to send queue.
In one embodiment, as shown in Figure 8, said apparatus also can comprise:
Second evaluation module 56, in the first preset duration after removing all Frames, does not assess network condition; When the quantity of the Frame of transmit queue is more than the 3rd predetermined value, according to method, network condition is assessed; Or, when the quantity of the Frame of transmit queue in the second preset duration more than the 3rd predetermined value time, according to the method described above network condition is assessed.
The network evaluation device of technical solution of the present invention, carrys out critic network situation by the data in statistics transmit queue, thus can in real time, critic network situation accurately.
Fig. 9 is the block diagram of a kind of network evaluation device 1200 according to an exemplary embodiment, and this device is applicable to terminal equipment.Such as, device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 1200 can comprise following one or more assembly: processing components 1202, memory 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor cluster 1214, and communications component 1216.
The integrated operation of the usual control device 1200 of processing components 1202, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1202 can comprise one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more module, and what be convenient between processing components 1202 and other assemblies is mutual.Such as, processing unit 1202 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1208 and processing components 1202.
Memory 1204 is configured to store various types of data to be supported in the operation of equipment 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 1206 is device 1200 provide electric power.Electric power assembly 1206 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.
Multimedia groupware 1208 is included in the screen providing an output interface between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1204 further or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loud speaker, for output audio signal.
I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 1214 comprises one or more transducer, for providing the state estimation of various aspects for device 1200.Such as, sensor cluster 1214 can detect the opening/closing state of equipment 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right checkout gear 1200 of sensor cluster 1214 or device 1200 assemblies changes, the presence or absence that user contacts with device 1200, the variations in temperature of device 1200 orientation or acceleration/deceleration and device 1200.Sensor cluster 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging application.In certain embodiments, this sensor cluster 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1216 is configured to the communication being convenient to wired or wireless mode between device 1200 and other equipment.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1216 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application-specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1204 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of network evaluation device, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
After sending data to network side, whether monitoring receives data and sends successfully feedback;
When receiving the transmission of described data and successfully feeding back, delete the described data in transmit queue;
Determine the data cases of piling up in transmit queue;
Data cases according to piling up in transmit queue is assessed network.
This processor is also configured to:
When the data volume of piling up in transmit queue account for percentage that described transmit queue can hold maximum amount of data in predetermined lasting time, be less than the first predetermined value time, determine that network condition is good;
When the data volume of piling up in transmit queue account for percentage that described transmit queue can hold maximum amount of data in predetermined lasting time, be greater than the second predetermined value time, determine that network condition is poor, wherein, described first predetermined value is less than or equal to the second predetermined value.
This processor is also configured to:
Described data are transmitted as a data frame.
This processor is also configured to:
Described method also comprises:
When described Frame piles with described transmit queue, remove all Frames of described transmit queue.
This processor is also configured to:
Described method also comprises:
In the first preset duration after removing all Frames, network condition is not assessed;
When the quantity of the Frame of described transmit queue is more than the 3rd predetermined value, according to described method, network condition is assessed; Or, when the quantity of the Frame of described transmit queue in the second preset duration more than the 3rd predetermined value time, according to described method, network condition is assessed.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of network estimation method, described method comprises:
After sending data to network side, whether monitoring receives data and sends successfully feedback;
When receiving the transmission of described data and successfully feeding back, delete the described data in transmit queue;
Determine the data cases of piling up in transmit queue;
Data cases according to piling up in transmit queue is assessed network.
The described data cases according to piling up in transmit queue is assessed network, comprising:
When the data volume of piling up in transmit queue account for percentage that described transmit queue can hold maximum amount of data in predetermined lasting time, be less than the first predetermined value time, determine that network condition is good;
When the data volume of piling up in transmit queue account for percentage that described transmit queue can hold maximum amount of data in predetermined lasting time, be greater than the second predetermined value time, determine that network condition is poor, wherein, described first predetermined value is less than or equal to the second predetermined value.
Described data are transmitted as a data frame.
Described method also comprises:
When described Frame piles with described transmit queue, remove all Frames of described transmit queue.
Described method also comprises:
In the first preset duration after removing all Frames, network condition is not assessed;
When the quantity of the Frame of described transmit queue is more than the 3rd predetermined value, according to described method, network condition is assessed; Or, when the quantity of the Frame of described transmit queue in the second preset duration more than the 3rd predetermined value time, according to described method, network condition is assessed.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (11)
1. a network estimation method, for transmitting terminal, is characterized in that, comprising:
After sending data to network side, whether monitoring receives data and sends successfully feedback;
When receiving the transmission of described data and successfully feeding back, delete the described data in transmit queue;
Determine the data cases of piling up in transmit queue;
Data cases according to piling up in transmit queue is assessed network.
2. the method for claim 1, is characterized in that, the described data cases according to piling up in transmit queue is assessed network, comprising:
When the data volume of piling up in transmit queue account for percentage that described transmit queue can hold maximum amount of data in predetermined lasting time, be less than the first predetermined value time, determine that network condition is good;
When the data volume of piling up in transmit queue account for percentage that described transmit queue can hold maximum amount of data in predetermined lasting time, be greater than the second predetermined value time, determine that network condition is poor, wherein, described first predetermined value is less than or equal to the second predetermined value.
3. the method for claim 1, is characterized in that, described data are transmitted as a data frame.
4. method as claimed in claim 3, it is characterized in that, described method also comprises:
When described Frame piles with described transmit queue, remove all Frames of described transmit queue.
5. method as claimed in claim 4, it is characterized in that, described method also comprises:
In the first preset duration after removing all Frames, network condition is not assessed;
When the quantity of the Frame of described transmit queue is more than the 3rd predetermined value, according to described method, network condition is assessed; Or, when the quantity of the Frame of described transmit queue in the second preset duration more than the 3rd predetermined value time, according to described method, network condition is assessed.
6. a network evaluation device, is characterized in that, for transmitting terminal, comprising:
Monitoring modular, for after sending data to network side, whether monitoring receives data and sends successfully feedback;
Removing module, for when receiving the transmission of described data and successfully feeding back, deletes the described data in transmit queue;
Determination module, for determining the data cases of piling up in transmit queue;
First evaluation module, for assessing network according to the data cases of piling up in transmit queue.
7. device as claimed in claim 6, it is characterized in that, described first evaluation module comprises:
First determines submodule, when the percentage that can hold maximum amount of data for accounting for described transmit queue when the data volume of piling up in transmit queue is less than the first predetermined value in predetermined lasting time, determines that network condition is good;
Second determines submodule, when the percentage that can hold maximum amount of data for accounting for described transmit queue when the data volume of piling up in transmit queue is greater than the second predetermined value in predetermined lasting time, determine that network condition is poor, wherein, described first predetermined value is less than or equal to the second predetermined value.
8. device as claimed in claim 6, is characterized in that,
Described data are transmitted as a data frame.
9. device as claimed in claim 8, it is characterized in that, described device also comprises:
Frame removes module, for when described Frame piles with described transmit queue, removes all Frames of described transmit queue.
10. device as claimed in claim 9, it is characterized in that, described device also comprises:
Second evaluation module, in the first preset duration after removing all Frames, does not assess network condition; When the quantity of the Frame of described transmit queue is more than the 3rd predetermined value, according to described method, network condition is assessed; Or, when the quantity of the Frame of described transmit queue in the second preset duration more than the 3rd predetermined value time, according to described method, network condition is assessed.
11. 1 kinds of network evaluation devices, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
After sending data to network side, whether monitoring receives data and sends successfully feedback;
When receiving the transmission of described data and successfully feeding back, delete the described data in transmit queue;
Determine the data cases of piling up in transmit queue;
Data cases according to piling up in transmit queue is assessed network.
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 true CN104601413A (en) | 2015-05-06 |
CN104601413B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109330505A (en) * | 2018-11-19 | 2019-02-15 | 南京特沃斯清洁设备有限公司 | A kind of floor-cleaning machine Internet of things system |
CN110798342A (en) * | 2019-10-14 | 2020-02-14 | 杭州迪普科技股份有限公司 | Method and device for realizing bypass mode based on software |
Citations (4)
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 |
US20110072499A1 (en) * | 2009-09-18 | 2011-03-24 | 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 |
CN102377801A (en) * | 2010-08-19 | 2012-03-14 | 中国科学院计算技术研究所 | Sensor network for environmental monitoring and data transmission method |
-
2015
- 2015-02-13 CN CN201510079375.6A patent/CN104601413B/en not_active Expired - Fee Related
Patent Citations (4)
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 |
US20110072499A1 (en) * | 2009-09-18 | 2011-03-24 | 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 |
CN102377801A (en) * | 2010-08-19 | 2012-03-14 | 中国科学院计算技术研究所 | Sensor network for environmental monitoring and data transmission method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109330505A (en) * | 2018-11-19 | 2019-02-15 | 南京特沃斯清洁设备有限公司 | A kind of floor-cleaning machine Internet of things system |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104601413B (en) | 2018-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105094732A (en) | Screen display method and apparatus | |
CN104185304B (en) | A kind of method and device accessing WI-FI network | |
CN105120099A (en) | Shooting control method and device | |
CN104318741A (en) | Bluetooth device control method and device | |
CN104168605A (en) | Data transmission control method and apparatus | |
CN103916975A (en) | Network connection management method and device | |
CN105430161A (en) | Message processing method and device | |
CN104468971A (en) | Method and device for connecting playing source | |
CN105337800A (en) | Polling frequency adjustment method and polling frequency adjustment device | |
CN105072266A (en) | Method and device for realizing instant chat and terminal equipment | |
CN104601815A (en) | Answer device determining method and device | |
CN105282446A (en) | Camera management method and device | |
CN105472676A (en) | Network connection method and device | |
CN105376144A (en) | Information processing method and device | |
CN105530381A (en) | Call hanging-up method and device | |
CN104640059A (en) | Method, device and equipment for transmitting data | |
CN105407021A (en) | Volume adjustment method and device | |
CN105491518A (en) | Method and device for social reminding based on wearable devices | |
CN105389225A (en) | Touch screen reporting point processing method and apparatus | |
CN104780574A (en) | Method and device for network switchover | |
CN104010065A (en) | Telephone processing method and device | |
CN105187154A (en) | Response packet reception time delay method and response packet reception time delay device | |
CN105491594A (en) | Network connection processing method and device | |
CN105978663A (en) | Data transmission method and device | |
CN105100049A (en) | Intelligent device quick connection based showing method and device |
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 |