CN106209500A - For the method and apparatus detecting the network bandwidth - Google Patents

For the method and apparatus detecting the network bandwidth Download PDF

Info

Publication number
CN106209500A
CN106209500A CN201610490483.7A CN201610490483A CN106209500A CN 106209500 A CN106209500 A CN 106209500A CN 201610490483 A CN201610490483 A CN 201610490483A CN 106209500 A CN106209500 A CN 106209500A
Authority
CN
China
Prior art keywords
network bandwidth
grade
frame per
good
bad
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610490483.7A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610490483.7A priority Critical patent/CN106209500A/en
Publication of CN106209500A publication Critical patent/CN106209500A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0882Utilisation of link capacity

Abstract

The disclosure is directed to a kind of method and apparatus for detecting the network bandwidth.A kind of method for detecting the network bandwidth, is applied to subscriber equipment, it is characterised in that described method includes: obtain the frame per second of Internet video in described subscriber equipment;According to acquired frame per second and predetermined frame per second threshold value, determine the good and bad grade of the network bandwidth.Therefore, it is possible to detect the network bandwidth from the angle of Consumer's Experience, provide foundation for promoting next step process of Consumer's Experience.

Description

For the method and apparatus detecting the network bandwidth
Technical field
It relates to the communications field, particularly relate to a kind of method and apparatus for detecting the network bandwidth.
Background technology
VoIP (Voice over Internet Protocol) is by analog signal digital, with the form of data packet Do transmission in real time on ip networks.Advantage maximum for VoIP is to be widely used Internet and the environment of global ip interconnection, There is provided more more than traditional business, preferably service.The network bandwidth detection detect exactly current network can transmission bandwidth.Relevant In technology, network bandwidth detection is to calculate the network bandwidth by the data volume received in the unit of account time.This method The network bandwidth of detection can not reflect the quality that VoIP converses effectively.
Summary of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of simply and easily for detecting the network bandwidth Method and apparatus.
First aspect according to disclosure embodiment, it is provided that a kind of method for detecting the network bandwidth, is applied to user Equipment.Described method includes: obtain the frame per second of Internet video in described subscriber equipment;According to acquired frame per second and predetermined frame Rate threshold value, determines the good and bad grade of the network bandwidth.
Alternatively, the frame per second acquired in described basis and predetermined frame per second threshold value, determine the good and bad grade of the network bandwidth Step includes: according to acquired frame per second and predetermined frame per second threshold value, determine the base level of the network bandwidth;Obtain described user The round-trip delay of network data in equipment;According to acquired round-trip delay and described base level, determine the described network bandwidth Good and bad grade.
Alternatively, the frame per second acquired in described basis and predetermined frame per second threshold value, determine the good and bad grade of the network bandwidth Step includes: according to acquired frame per second and predetermined frame per second threshold value, determine the base level of the network bandwidth;Obtain described user The video code rate of Internet video in equipment;According to acquired video code rate and described base level, determine the described network bandwidth Good and bad grade.
Alternatively, the frame per second acquired in described basis and predetermined frame per second threshold value, determine the good and bad grade of the network bandwidth Step includes: according to acquired frame per second and predetermined frame per second threshold value, determine the base level of the network bandwidth;Obtain described user The history grade of the network bandwidth of equipment;According to acquired history grade and described base level, determine the described network bandwidth Good and bad grade.
Alternatively, described method also includes: send the quality etc. of the network bandwidth representing described subscriber equipment to server The grade message of level.
Second aspect according to disclosure embodiment, it is provided that a kind of method for detecting the network bandwidth, is applied to service Device.Described method includes: receive the grade of the good and bad grade of the network bandwidth representing described subscriber equipment that subscriber equipment sends Message;When the grade message received represents that described good and bad grade is less than predetermined grade threshold, control to stop to described use Family equipment sends video data.
The third aspect according to disclosure embodiment, it is provided that a kind of device for detecting the network bandwidth, is applied to user Equipment.Described device includes: frame per second acquisition module, for obtaining the frame per second of Internet video in described subscriber equipment;Good and bad grade Determine module, for according to acquired frame per second and predetermined frame per second threshold value, determine the good and bad grade of the network bandwidth.
Alternatively, described good and bad level determination module includes: base level determines submodule, for according to acquired frame Rate and predetermined frame per second threshold value, determine the base level of the network bandwidth;Round-trip delay obtains submodule, is used for obtaining described user The round-trip delay of network data in equipment;First determines submodule, for according to acquired round-trip delay and described basis etc. Level, determines the good and bad grade of the described network bandwidth.
Alternatively, described good and bad level determination module includes: base level determines submodule, for according to acquired frame Rate and predetermined frame per second threshold value, determine the base level of the network bandwidth;Video code rate obtains submodule, is used for obtaining described user The video code rate of Internet video in equipment;Second determines submodule, for according to acquired video code rate and described basis etc. Level, determines the good and bad grade of the described network bandwidth.
Alternatively, described good and bad level determination module includes: base level determines submodule, for according to acquired frame Rate and predetermined frame per second threshold value, determine the base level of the network bandwidth;History grade obtains submodule, is used for obtaining described user The history grade of the network bandwidth of equipment;3rd determines submodule, for according to acquired history grade and described basis etc. Level, determines the good and bad grade of the described network bandwidth.
Alternatively, described device also includes: sending module, for sending the network representing described subscriber equipment to server The grade message of the good and bad grade of bandwidth.
Fourth aspect according to disclosure embodiment, it is provided that a kind of device for detecting the network bandwidth, is applied to service Device.Described device includes: receiver module, for receiving the excellent of the network bandwidth of the described subscriber equipment of expression that subscriber equipment sends The grade message of of inferior quality level;In the grade message received, control module, for representing that described good and bad grade is less than predetermined etc. During level threshold value, control to stop sending video data to described subscriber equipment.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
According to the frame per second of Internet video in subscriber equipment and predetermined frame per second threshold value, determine the quality etc. of the network bandwidth Level, so, the network bandwidth detected can reflect the quality that VoIP converses intuitively.Therefore, it is possible to from the angle of Consumer's Experience Degree detects the network bandwidth, provides foundation for promoting next step process of Consumer's Experience.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The disclosure can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure Example, and for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart according to the method for detecting the network bandwidth shown in an exemplary embodiment;
Fig. 2 is the flow chart according to the method for detecting the network bandwidth shown in another exemplary embodiment;
Fig. 3 is the flow chart according to the method for detecting the network bandwidth shown in further example embodiment;
Fig. 4 is the flow chart according to the method for detecting the network bandwidth shown in further example embodiment;
Fig. 5 is the flow chart according to the method for detecting the network bandwidth shown in further example embodiment;
Fig. 6 is the flow chart according to the method for detecting the network bandwidth shown in an exemplary embodiment;
Fig. 7 is the block diagram according to the device for detecting the network bandwidth shown in an exemplary embodiment;
Fig. 8 is the block diagram according to the device for detecting the network bandwidth shown in another exemplary embodiment;
Fig. 9 is the block diagram according to the device for detecting the network bandwidth shown in further example embodiment;
Figure 10 is the block diagram according to the device for detecting the network bandwidth shown in further example embodiment;
Figure 11 is the block diagram according to the device for detecting the network bandwidth shown in further example embodiment;
Figure 12 is the block diagram according to the device for detecting the network bandwidth shown in an exemplary embodiment;
Figure 13 is the block diagram according to a kind of device for detecting the network bandwidth shown in an exemplary embodiment;And
Figure 14 is the block diagram according to a kind of device for detecting the network bandwidth shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
Fig. 1 is the flow chart according to the method for detecting the network bandwidth shown in an exemplary embodiment.Such as Fig. 1 institute Showing, described method is applied to subscriber equipment, comprises the following steps.
In step s 11, the frame per second of Internet video in described subscriber equipment is obtained.
In step s 12, according to acquired frame per second and predetermined frame per second threshold value, the good and bad grade of the network bandwidth is determined.
Specifically, the good and bad grade of the network bandwidth of frame per second threshold value and correspondence can be preset.When acquired net When the frame per second of network video meets the frame per second threshold value of correspondence, the network bandwidth can be defined as the good and bad grade of correspondence.For example, it is possible to The good and bad grade of the network bandwidth is divided into 5 grades, and user feels when video quality and definition are optimal, the quality that the network bandwidth is corresponding Grade is the 1st grade, successively decreases the most successively, when user feels that video quality and definition are the best, it is impossible to ensure most basic regarding During frequency call, the good and bad grade that the network bandwidth is corresponding is the 5th grade.Concrete frame per second threshold value is set can to every one-level.
For example, the 1st grade can corresponding frame per second be 21~25 frames/second, the 2nd grade can corresponding frame per second be 16~20 frames/ Second, 3rd level can corresponding frame per second be 11~15 frames/second, and the 4th grade can corresponding frame per second be 6~10 frames/second, and the 5th grade can be corresponding Frame per second is 0~5 frames/second.Wherein, frame per second threshold value may include that 25 frames/second, 21 frames/second, 20 frames/second, 16 frames/second, 15 frames/ Second, 11 frames/second, 10 frames/second, 6 frames/second, 5 frames/second.When acquired frame per second is 24 frames/second, it may be determined that the network bandwidth Good and bad grade is the 1st grade.
According to technique scheme, according to the frame per second of Internet video in subscriber equipment and predetermined frame per second threshold value, determine The good and bad grade of the network bandwidth, so, the network bandwidth detected can reflect the quality that VoIP converses intuitively.Accordingly, it is capable to Enough angles from Consumer's Experience detect the network bandwidth, provide foundation for promoting next step process of Consumer's Experience.
Owing to the round-trip delay (RTT, Round-Trip Time) of network data can be used for weighing the network bandwidth, because of This, on the basis of Fig. 1 embodiment, when determining the good and bad grade of the network bandwidth, it is also contemplated that the RTT of network data.Fig. 2 It it is the flow chart according to the method for detecting the network bandwidth shown in another exemplary embodiment.As in figure 2 it is shown, according to being obtained The frame per second taken and predetermined frame per second threshold value, determine that the step (step S12) of the good and bad grade of the network bandwidth can include following step Suddenly.
In step S121, according to acquired frame per second and predetermined frame per second threshold value, determine the base level of the network bandwidth.
Wherein, according to acquired frame per second and predetermined frame per second threshold value, determine the base level of the network bandwidth, and at Fig. 1 In shown embodiment according to acquired frame per second and predetermined frame per second threshold value, determine that good and bad grade is similar, the most detailed Thin description.After determining base level, it is adjusted on the basis of base level according to RTT so that finally determine is excellent Of inferior quality level considers frame per second and RTT two indices.
In step S122, obtain the RTT of network data in subscriber equipment.
In step S123, according to acquired round-trip delay and base level, determine the good and bad grade of the network bandwidth.
As it has been described above, in this embodiment, determined by good and bad grade in view of frame per second and RTT two indices.Specifically, may be used To arrange multiple RTT grade, the RTT threshold value of correspondence is set for each RTT grade.By RTT Yu the RTT threshold ratio that will detect Relatively, the RTT grade corresponding to the RTT detected is determined.When the network bandwidth determined base level with the RTT determined hierarchically When position does not corresponds, the base level of the network bandwidth can be adjusted according to the RTT grade determined, finally give the excellent of the network bandwidth Of inferior quality level.
For example, can arrange 5 RTT grades, the 5th grade of corresponding RTT is more than 500 milliseconds, and the 4th grade corresponding RTT is 400~499 milliseconds, and the RTT that 3rd level is corresponding is 300~399 milliseconds, and the 2nd grade of corresponding RTT is 200~299 milliseconds, 1st grade of corresponding RTT is 0~199 millisecond.Wherein, RTT threshold value may include that 500 milliseconds, 400 milliseconds, 300 milliseconds, 200 millis Second.The base level of the network bandwidth determined by when is 4 grades, and the RTT detected is for more than 500 milliseconds of (the of corresponding RTT grade 5 grades) time, then the good and bad grade of the network bandwidth can be defined as 5 grades (reducing one-level than base level 4 grades);Determined by when The base level of the network bandwidth is 4 grades, when the RTT detected is 350 milliseconds (3rd level of corresponding RTT grade), then and can be by excellent Of inferior quality level is defined as 3 grades (than 4 grades of elevated by one step of base level).
In this embodiment, on the basis of frame per second, add the inspection target of RTT, therefore, determined by the network bandwidth Good and bad more accurate grade.
Owing to the video code rate of Internet video can be used for weighing the network bandwidth, therefore, on the basis of Fig. 1 embodiment On, when determining the good and bad grade of the network bandwidth, it is also contemplated that the video code rate of Internet video.Fig. 3 is according to another example The flow chart of the property method for detecting the network bandwidth shown in embodiment.As it is shown on figure 3, according to acquired frame per second with predetermined Frame per second threshold value, determine that the step (step S12) of the good and bad grade of the network bandwidth may comprise steps of.
In step S121, according to acquired frame per second and predetermined frame per second threshold value, determine the base level of the network bandwidth.
Wherein, according to acquired frame per second and predetermined frame per second threshold value, determine the base level of the network bandwidth, and at Fig. 1 In shown embodiment according to acquired frame per second and predetermined frame per second threshold value, determine that good and bad grade is similar, the most detailed Thin description.After determining base level, it is adjusted on the basis of base level according to video code rate so that finally determine Good and bad grade in view of frame per second and video code rate two indices.
In step S124, obtain the video code rate of Internet video in subscriber equipment.
In step s 125, according to acquired video code rate and base level, the good and bad grade of the network bandwidth is determined.
As it has been described above, in this embodiment, determined by good and bad grade in view of frame per second and video code rate two indices.Specifically Ground, can arrange multiple video code rate grade, arranges the video code rate threshold value of correspondence for each video code rate grade.By examining The video code rate measured with video code rate threshold ratio relatively, determines the video code rate grade corresponding to the video code rate detected.When When the base level of the network bandwidth determined does not corresponds with the video code rate grade status determined, can be according to the video codes determined Rate grade adjusts the base level of the network bandwidth, finally gives the good and bad grade of the network bandwidth.Wherein, video code rate threshold value can Think concrete numerical value, it is also possible to for the accounting of the maximal rate of subscriber equipment.
For example, can arrange 5 video code rate grades, the 1st grade of corresponding video code rate is the 80% of maximal rate Above, the 2nd grade of corresponding video code rate is the 60~80% of maximal rate, and the video code rate that 3rd level is corresponding is maximal rate 40~60%, the 4th grade of corresponding video code rate be the 20~40%, the 5th grade of corresponding video code rate of maximal rate be maximum code Less than the 20% of rate.Wherein, video code rate threshold value includes: the 80% of maximal rate, 60%, 40%, 20%.Net determined by when The base level of network bandwidth is 4 grades, and the video code rate detected is 15% (the 5 of corresponding video code rate grade of maximal rate Level) time, then the good and bad grade of the network bandwidth can be defined as 5 grades (reducing one-level than base level 4 grades);Net determined by when The base level of network bandwidth is 4 grades, and the video code rate detected is 50% (the 3 of corresponding video code rate grade of maximal rate Level) time, then good and bad grade can be defined as 3 grades (than 4 grades of elevated by one step of base level).
In this embodiment, on the basis of frame per second, add the inspection target of video code rate, therefore, determined by network The good and bad grade of bandwidth is more accurate.
There is due to the network bandwidth seriality in time, therefore, on the basis of Fig. 1 embodiment, determining Netowrk tape During wide good and bad grade, it is also contemplated that the history grade of the network bandwidth.Fig. 4 is according to the use shown in further example embodiment Flow chart in the method for the detection network bandwidth.As shown in Figure 4, according to acquired frame per second and predetermined frame per second threshold value, determine The step (step S12) of the good and bad grade of the network bandwidth may comprise steps of.
In step S121, according to acquired frame per second and predetermined frame per second threshold value, determine the base level of the network bandwidth.
Wherein, according to acquired frame per second and predetermined frame per second threshold value, determine the base level of the network bandwidth, and at Fig. 1 In shown embodiment according to acquired frame per second and predetermined frame per second threshold value, determine that good and bad grade is similar, the most detailed Thin description.After determining base level, it is adjusted on the basis of base level according to history grade so that finally determine Good and bad grade in view of frame per second and history grade two indices.
In step S126, obtain the history grade of the network bandwidth of subscriber equipment.Wherein, history grade is for determine before The good and bad grade of the network bandwidth.The determination frequency of good and bad grade can set according to user's request, for example, it is possible to be set as Every five seconds for example determines once.
In step S127, according to acquired history grade and base level, determine the good and bad grade of the network bandwidth.
As it has been described above, in this embodiment, determined by good and bad grade in view of frame per second and history grade two indices.Specifically Ground, can obtain multiple history grades of the closest network bandwidth, according to the plurality of history grade, it was predicted that draw Netowrk tape Wide forecast ratings.When the base level of the network bandwidth determined does not corresponds with the forecast ratings status of prediction, can basis The forecast ratings of prediction adjusts the base level of the network bandwidth, finally gives the good and bad grade of the network bandwidth.Wherein, it was predicted that etc. Level such as can obtain according to the weighted sum of history grade.
For example, neighbouring 4 history grade can be obtained, the weight difference arranged for history grade from the near to the remote It is 0.4,0.3,0.2,0.1.The base level of the network bandwidth determined by when is 5 grades, and the history grade got is from the near to the remote Be respectively 3 grades, 4 grades, 5 grades 5 grades (being 3.9 after weighted sum) time, then the good and bad grade of the network bandwidth can be defined as 4 grades (than 5 grades of elevated by one step of base level).
In this embodiment, on the basis of frame per second, add the inspection target of history grade, therefore, determined by network The good and bad grade of bandwidth is more accurate.
In the embodiment above, it may be considered that frame per second and following in one determine good and bad grade: RTT, video code rate, And history grade.It is understood that can also consider simultaneously following in many persons determine good and bad grade: RTT, video codes Rate and history grade, its method determined could be arranged to various mode, is not described in detail herein.
After subscriber equipment detects the good and bad grade of the network bandwidth, server can be sent to, with by server root Take further to process action according to received good and bad grade, to promote Consumer's Experience.Fig. 5 is according to another exemplary reality Execute the flow chart of the method for detecting the network bandwidth exemplified.As it is shown in figure 5, described method can also include step S13.
In step s 13, the grade message of the good and bad grade of the network bandwidth representing subscriber equipment is sent to server.
So, the good and bad grade of the network bandwidth received when server low to a certain extent time, it is possible to being sent to The network data of subscriber equipment is adjusted, for example, it is possible to stop the transmission of video data, to ensure the matter that voice data sends Amount, thus improve Consumer's Experience.
The disclosure also provides for a kind of method for detecting the network bandwidth, is applied to server.Fig. 6 is exemplary according to one The flow chart of the method for detecting the network bandwidth shown in embodiment.As shown in Figure 6, described method can include following step Suddenly.
In the step s 21, the grade of the good and bad grade of the network bandwidth representing subscriber equipment that subscriber equipment sends is received Message.
In step S22, when the grade message received represents that good and bad grade is less than predetermined grade threshold, control to stop Only send video data to subscriber equipment.
Wherein, predetermined grade threshold can be, when good and bad grade is less than predetermined grade threshold, user feels video Quality and definition are the best, it is impossible to ensure most basic video calling.Such as, grade threshold is set to the 4th grade, then can be by The grade message that server is set to receive represents when good and bad grade is the 5th grade, stops sending video data to subscriber equipment. So, when user can not carry out basic video calling, it is ensured that the quality that voice data sends, thus user's body is improved Test.
The disclosure also provides for a kind of device for detecting the network bandwidth, is applied to subscriber equipment.Fig. 7 is according to an example The block diagram of the property device for detecting the network bandwidth shown in embodiment.As it is shown in fig. 7, the described dress for detecting the network bandwidth Put 10 and include frame per second acquisition module 11 and good and bad level determination module 12.
Frame per second acquisition module 11 is for obtaining the frame per second of Internet video in described subscriber equipment.
Good and bad level determination module 12, for according to acquired frame per second and predetermined frame per second threshold value, determines the network bandwidth Good and bad grade.
Fig. 8 is the block diagram according to the device for detecting the network bandwidth shown in another exemplary embodiment.Such as Fig. 8 institute Showing, on the basis of Fig. 7, described good and bad level determination module 12 can include that base level determines submodule 121, round-trip delay Obtain submodule 122 and first and determine submodule 123.
Base level determines that submodule 121 is for according to acquired frame per second and predetermined frame per second threshold value, determining Netowrk tape Wide base level.
Round-trip delay obtains submodule 122 for obtaining the round-trip delay of network data in described subscriber equipment.
First determines that submodule 123 is for according to acquired round-trip delay and described base level, determining described network The good and bad grade of bandwidth.
Fig. 9 is the block diagram according to the device for detecting the network bandwidth shown in further example embodiment.Such as Fig. 9 institute Showing, on the basis of Fig. 7, described good and bad level determination module 12 can include that base level determines submodule 121, video code rate Obtain submodule 124 and second and determine submodule 125.
Base level determines that submodule 121 is for according to acquired frame per second and predetermined frame per second threshold value, determining Netowrk tape Wide base level.
Video code rate obtains submodule 124 for obtaining the video code rate of Internet video in described subscriber equipment.
Second determines that submodule 125 is for according to acquired video code rate and described base level, determining described network The good and bad grade of bandwidth.
Figure 10 is the block diagram according to the device for detecting the network bandwidth shown in further example embodiment.Such as Figure 10 institute Showing, on the basis of Fig. 7, described good and bad level determination module 12 can include that base level determines submodule 121, history grade Obtain submodule 126 and the 3rd and determine submodule 127.
Base level determines that submodule 121 is for according to acquired frame per second and predetermined frame per second threshold value, determining Netowrk tape Wide base level.
History grade obtains submodule 126 for obtaining the history grade of the network bandwidth of described subscriber equipment.
3rd determines that submodule 127, for according to acquired history grade and described base level, determines described network The good and bad grade of bandwidth.
Figure 11 is the block diagram according to the device for detecting the network bandwidth shown in further example embodiment.Such as Figure 11 institute Showing, on the basis of Fig. 7, the described device 10 for detecting the network bandwidth can also include sending module 13.
Sending module 13 for sending the grade of the good and bad grade of the network bandwidth representing described subscriber equipment to server Message.
The disclosure also provides for a kind of device for detecting the network bandwidth, is applied to server.Figure 12 is according to an example The block diagram of the property device for detecting the network bandwidth shown in embodiment.As shown in figure 12, for detecting the device of the network bandwidth 20 can include receiver module 21 and control module 22.
Receiver module 21 is for receiving the good and bad grade of the network bandwidth representing described subscriber equipment that subscriber equipment sends Grade message.
Control module 22 is used for when the grade message received represents that described good and bad grade is less than predetermined grade threshold, Control to stop sending video data to described subscriber equipment.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
By technique scheme, according to the frame per second of Internet video in subscriber equipment and predetermined frame per second threshold value, determine The good and bad grade of the network bandwidth, so, the network bandwidth detected can reflect the quality that VoIP converses intuitively.Accordingly, it is capable to Enough angles from Consumer's Experience detect the network bandwidth, provide foundation for promoting next step process of Consumer's Experience.
Figure 13 is the block diagram according to a kind of device 1300 for detecting the network bandwidth shown in an exemplary embodiment.Example As, device 1300 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, and flat board sets Standby, armarium, body-building equipment, personal digital assistant etc..
With reference to Figure 13, device 1300 can include following one or more assembly: processes assembly 1302, memorizer 1304, Electric power assembly 1306, multimedia groupware 1308, audio-frequency assembly 1310, the interface 1312 of input/output (I/O), sensor cluster 1314, and communications component 1316.
Process assembly 1302 and generally control the integrated operation of device 1300, such as with display, call, data communication, The operation that camera operation and record operation are associated.Process assembly 1302 and can include that one or more processor 1320 performs Instruction, to complete all or part of step of the above-mentioned method for detecting the network bandwidth.Can wrap additionally, process assembly 1302 Include one or more module, it is simple to process between assembly 1302 and other assemblies is mutual.Such as, process assembly 1302 can wrap Include multi-media module, with facilitate multimedia groupware 1308 and process between assembly 1302 mutual.
Memorizer 1304 is configured to store various types of data to support the operation at device 1300.These data Example include on device 1300 operation any application program or the instruction of method, contact data, telephone book data, Message, picture, video etc..Memorizer 1304 can by any kind of volatibility or non-volatile memory device or they Combination realizes, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
The various assemblies that electric power assembly 1306 is device 1300 provide electric power.Electric power assembly 1306 can include power management System, one or more power supplys, and other generate, manage and distribute, with for device 1300, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 1308 is included between described device 1300 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 the input signal from user.Touch panel includes that one or more touch passes Sensor is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch or slide dynamic The border made, but also detect the persistent period relevant to described touch or slide and pressure.In certain embodiments, many Media component 1308 includes a front-facing camera and/or post-positioned pick-up head.When device 1300 is in operator scheme, such as shooting mould When formula or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each preposition shooting Head and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 1310 is configured to output and/or input audio signal.Such as, audio-frequency assembly 1310 includes a wheat Gram wind (MIC), when device 1300 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike quilt It is configured to receive external audio signal.The audio signal received can be further stored at memorizer 1304 or via communication Assembly 1316 sends.In certain embodiments, audio-frequency assembly 1310 also includes a speaker, is used for exporting audio signal.
I/O interface 1312 provides interface, above-mentioned peripheral interface module for processing between assembly 1302 and peripheral interface module Can be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and Locking press button.
Sensor cluster 1314 includes one or more sensor, for providing the state of various aspects to comment for device 1300 Estimate.Such as, what sensor cluster 1314 can detect device 1300 opens/closed mode, the relative localization of assembly, such as institute Stating display and keypad that assembly is device 1300, sensor cluster 1314 can also detect device 1300 or device 1,300 1 The position change of individual assembly, the presence or absence that user contacts with device 1300, device 1300 orientation or acceleration/deceleration and dress Put the variations in temperature of 1300.Sensor cluster 1314 can include proximity transducer, is configured to do not having any physics The existence of object near detection during contact.Sensor cluster 1314 can also include optical sensor, as CMOS or ccd image sense Device, for using in imaging applications.In certain embodiments, this sensor cluster 1314 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1316 is configured to facilitate the communication of wired or wireless mode between device 1300 and other equipment.Dress Put 1300 and can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Exemplary at one In embodiment, broadcast singal or broadcast that communications component 1316 receives from external broadcasting management system via broadcast channel are relevant Information.In one exemplary embodiment, described communications component 1316 also includes near-field communication (NFC) module, to promote short distance Communication.Such as, can be based on 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 1300 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, be used for performing above-mentioned for detecting Netowrk tape Wide method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 1304 of instruction, above-mentioned instruction can have been performed above-mentioned for detecting by the processor 1320 of device 1300 The method of the network bandwidth.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..
Figure 14 is the block diagram according to a kind of device 1400 for detecting the network bandwidth shown in an exemplary embodiment.Example As, device 1400 may be provided in a server.With reference to Figure 14, device 1400 includes processing assembly 1422, and it wraps further Include one or more processor, and by the memory resource representated by memorizer 1432, can be by processing assembly for storage The instruction of the execution of 1422, such as application program.In memorizer 1432 storage application program can include one or one with On each corresponding to one group instruction module.It is configured to perform instruction, to perform above-mentioned use additionally, process assembly 1422 Method in the detection network bandwidth.
Device 1400 can also include a power supply module 1426 be configured to perform device 1400 power management, one Wired or wireless network interface 1450 is configured to be connected to device 1400 network, and input and output (I/O) interface 1458.Device 1400 can operate based on the operating system being stored in memorizer 1432, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, after considering description and putting into practice the disclosure, will readily occur to other embodiment party of the disclosure Case.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or adaptability Change is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure or usual skill Art means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by claim below Point out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1., for the method detecting the network bandwidth, it is applied to subscriber equipment, it is characterised in that described method includes:
Obtain the frame per second of Internet video in described subscriber equipment;
According to acquired frame per second and predetermined frame per second threshold value, determine the good and bad grade of the network bandwidth.
Method the most according to claim 1, it is characterised in that the frame per second acquired in described basis and predetermined frame per second threshold Value, determines that the step of the good and bad grade of the network bandwidth includes:
According to acquired frame per second and predetermined frame per second threshold value, determine the base level of the network bandwidth;
Obtain the round-trip delay of network data in described subscriber equipment;
According to acquired round-trip delay and described base level, determine the good and bad grade of the described network bandwidth.
Method the most according to claim 1, it is characterised in that the frame per second acquired in described basis and predetermined frame per second threshold Value, determines that the step of the good and bad grade of the network bandwidth includes:
According to acquired frame per second and predetermined frame per second threshold value, determine the base level of the network bandwidth;
Obtain the video code rate of Internet video in described subscriber equipment;
According to acquired video code rate and described base level, determine the good and bad grade of the described network bandwidth.
Method the most according to claim 1, it is characterised in that the frame per second acquired in described basis and predetermined frame per second threshold Value, determines that the step of the good and bad grade of the network bandwidth includes:
According to acquired frame per second and predetermined frame per second threshold value, determine the base level of the network bandwidth;
Obtain the history grade of the network bandwidth of described subscriber equipment;
According to acquired history grade and described base level, determine the good and bad grade of the described network bandwidth.
5. according to the method described in any claim in claim 1-4, it is characterised in that described method also includes:
The grade message of the good and bad grade of the network bandwidth representing described subscriber equipment is sent to server.
6., for the method detecting the network bandwidth, it is applied to server, it is characterised in that described method includes:
Receive the grade message of the good and bad grade of the network bandwidth representing described subscriber equipment that subscriber equipment sends;
When the grade message received represents that described good and bad grade is less than predetermined grade threshold, control to stop to described user Equipment sends video data.
7., for detecting a device for the network bandwidth, it is applied to subscriber equipment, it is characterised in that described device includes:
Frame per second acquisition module, for obtaining the frame per second of Internet video in described subscriber equipment;
Good and bad level determination module, for according to acquired frame per second and predetermined frame per second threshold value, determines the quality of the network bandwidth Grade.
Device the most according to claim 7, it is characterised in that described good and bad level determination module includes:
Base level determines submodule, for according to acquired frame per second and predetermined frame per second threshold value, determines the base of the network bandwidth Plinth grade;
Round-trip delay obtains submodule, for obtaining the round-trip delay of network data in described subscriber equipment;
First determines submodule, for according to acquired round-trip delay and described base level, determines the described network bandwidth Good and bad grade.
Device the most according to claim 7, it is characterised in that described good and bad level determination module includes:
Base level determines submodule, for according to acquired frame per second and predetermined frame per second threshold value, determines the base of the network bandwidth Plinth grade;
Video code rate obtains submodule, for obtaining the video code rate of Internet video in described subscriber equipment;
Second determines submodule, for according to acquired video code rate and described base level, determines the described network bandwidth Good and bad grade.
Device the most according to claim 7, it is characterised in that described good and bad level determination module includes:
Base level determines submodule, for according to acquired frame per second and predetermined frame per second threshold value, determines the base of the network bandwidth Plinth grade;
History grade obtains submodule, for obtaining the history grade of the network bandwidth of described subscriber equipment;
3rd determines submodule, for according to acquired history grade and described base level, determines the described network bandwidth Good and bad grade.
11. according to the device described in any claim in claim 7-10, it is characterised in that described device also includes:
Sending module, for sending the grade message of the good and bad grade of the network bandwidth representing described subscriber equipment to server.
12. 1 kinds, for detecting the device of the network bandwidth, are applied to server, it is characterised in that described device includes:
Receiver module, for receiving the grade of the good and bad grade of the network bandwidth representing described subscriber equipment that subscriber equipment sends Message;
Control module, for when the grade message received represents that described good and bad grade is less than predetermined grade threshold, controlling Stop sending video data to described subscriber equipment.
13. 1 kinds for detecting the device of the network bandwidth, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain the frame per second of Internet video in described subscriber equipment;
According to acquired frame per second and predetermined frame per second threshold value, determine the good and bad grade of the network bandwidth.
CN201610490483.7A 2016-06-28 2016-06-28 For the method and apparatus detecting the network bandwidth Pending CN106209500A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610490483.7A CN106209500A (en) 2016-06-28 2016-06-28 For the method and apparatus detecting the network bandwidth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610490483.7A CN106209500A (en) 2016-06-28 2016-06-28 For the method and apparatus detecting the network bandwidth

Publications (1)

Publication Number Publication Date
CN106209500A true CN106209500A (en) 2016-12-07

Family

ID=57462624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610490483.7A Pending CN106209500A (en) 2016-06-28 2016-06-28 For the method and apparatus detecting the network bandwidth

Country Status (1)

Country Link
CN (1) CN106209500A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108079578A (en) * 2017-10-26 2018-05-29 咪咕互动娱乐有限公司 A kind of code rate adjustment method based on cloud game, device and storage medium
CN110505503A (en) * 2019-08-08 2019-11-26 武汉兴图新科电子股份有限公司 Audio-video is classified Adaptive Transmission system
CN113905197A (en) * 2021-09-29 2022-01-07 深圳市天视通视觉有限公司 Network video recorder copying device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656888A (en) * 2008-08-21 2010-02-24 华为技术有限公司 Method, device and system for video transmission
CN102137248A (en) * 2010-01-21 2011-07-27 腾讯科技(深圳)有限公司 Video resolution switching method and device, terminal and switching system
US20140362712A1 (en) * 2013-06-06 2014-12-11 Seven Networks, Inc. Radio or network evaluation for selection based on measurements using application layer protocols at a mobile device
CN104320669A (en) * 2014-10-24 2015-01-28 北京有恒斯康通信技术有限公司 Video transmission method and apparatus
CN104618165A (en) * 2015-02-13 2015-05-13 上海小蚁科技有限公司 Network evaluation method and device
CN105141985A (en) * 2015-07-30 2015-12-09 世纪龙信息网络有限责任公司 System and method for smoothly playing film and television stream

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656888A (en) * 2008-08-21 2010-02-24 华为技术有限公司 Method, device and system for video transmission
CN102137248A (en) * 2010-01-21 2011-07-27 腾讯科技(深圳)有限公司 Video resolution switching method and device, terminal and switching system
US20140362712A1 (en) * 2013-06-06 2014-12-11 Seven Networks, Inc. Radio or network evaluation for selection based on measurements using application layer protocols at a mobile device
CN104320669A (en) * 2014-10-24 2015-01-28 北京有恒斯康通信技术有限公司 Video transmission method and apparatus
CN104618165A (en) * 2015-02-13 2015-05-13 上海小蚁科技有限公司 Network evaluation method and device
CN105141985A (en) * 2015-07-30 2015-12-09 世纪龙信息网络有限责任公司 System and method for smoothly playing film and television stream

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108079578A (en) * 2017-10-26 2018-05-29 咪咕互动娱乐有限公司 A kind of code rate adjustment method based on cloud game, device and storage medium
CN110505503A (en) * 2019-08-08 2019-11-26 武汉兴图新科电子股份有限公司 Audio-video is classified Adaptive Transmission system
CN113905197A (en) * 2021-09-29 2022-01-07 深圳市天视通视觉有限公司 Network video recorder copying device and system

Similar Documents

Publication Publication Date Title
US20160295625A1 (en) Method and apparatus for network access
CN105337800B (en) Poll frequency method of adjustment and device
US10334282B2 (en) Methods and devices for live broadcasting based on live broadcasting application
CN106231378A (en) The display packing of direct broadcasting room, Apparatus and system
CN106210797A (en) Live network broadcast method and device
CN104159218A (en) Network connection establishment method and device
CN104185304A (en) Method and device for accessing WI-FI network
CN104202614A (en) Method and device of adjusting image quality of video based on network environment
CN104350740A (en) Video conferencing using wireless peripheral video conferencing device
CN106101456A (en) A kind of method and device of call contact
CN104301308A (en) Communication control method and device
CN106101600A (en) The method of attachment of video calling and device
CN111010314A (en) Communication test method and device for terminal equipment, routing equipment and storage medium
CN104702756A (en) Detecting method and detecting device for soundless call
CN106209500A (en) For the method and apparatus detecting the network bandwidth
CN106060620B (en) One-key interaction method based on remote controller, first client and system
CN104881342A (en) Terminal testing method and device
CN104378596A (en) Method and device for conducting remote conversation with camera
CN104618987B (en) Access the method and device of network
CN106358064A (en) Method and equipment for controlling television
CN104539497B (en) Method for connecting network and device
CN105630974A (en) Method and device for refreshing page and equipment
CN105450861A (en) Information prompt method and information prompt device
CN107819836A (en) The remapping method and device of facility information
CN105634928A (en) Social reminding method and device based on wearable 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication