CN103024461A - Method for measuring speed of player - Google Patents

Method for measuring speed of player Download PDF

Info

Publication number
CN103024461A
CN103024461A CN2012105251596A CN201210525159A CN103024461A CN 103024461 A CN103024461 A CN 103024461A CN 2012105251596 A CN2012105251596 A CN 2012105251596A CN 201210525159 A CN201210525159 A CN 201210525159A CN 103024461 A CN103024461 A CN 103024461A
Authority
CN
China
Prior art keywords
player
speed
video content
content server
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012105251596A
Other languages
Chinese (zh)
Other versions
CN103024461B (en
Inventor
林洋
胡曰锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Zhirong Innovation Technology Development Co.,Ltd.
Original Assignee
LeTV Information Technology Beijing 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 LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201210525159.6A priority Critical patent/CN103024461B/en
Publication of CN103024461A publication Critical patent/CN103024461A/en
Application granted granted Critical
Publication of CN103024461B publication Critical patent/CN103024461B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a method for measuring speed of a player. The player is connected to a video content server, the video content is downloaded and is played, the network condition between the player and the video content server is monitored, and the speed measurement is started when the network condition fails to meet the condition of smooth play. After the speed measurement, the player displays the speed measurement condition of all nodes. By the aid of the method, when the user watches the video through the player, the network speed measurement function of the player is used for testing the network speed between the player and the video content servers, the user can select the node of which the network speed is fastest to watch the video or the automatic connection is conducted, and the user can experience better service.

Description

A kind of player speed-measuring method
Technical field
The present invention relates to the video playback field, more specifically, belong to the Internet video field, relate in particular to a kind of method of in player, measuring network speed.
Background technology
The broadcast of Internet video relies on the player plays video content, and video player refers to play the software with the video of digital signal form storage, the electronic device product that also refers to have the displaying video function.Except the minority wave file, most of video players carry decoder with reduction process compressed media file, and video player is also wanted the algorithm of built-in a whole set of inversion frequency and buffering.Certain most video player can also be supported displaying audio file.
Because network condition is intricate; so that user's players is not connected and can stablizes constantly with data between the video content server; cause the user when the displaying video content, often Caton phenomenon can occur; even long-time this phenomenon of broadcast of ending; therefore, how to make player glibly the playing network video become the technical problem that needs to be resolved hurrily.
Summary of the invention
For defects, the object of the present invention is to provide a kind of method at the Web TV player network speed being tested, result by the network speed test recommends best video content player to the user, and connect with it, thereby reduced the not smooth degree of playing network video.
To achieve these goals, the invention provides a kind of player speed-measuring method, may further comprise the steps:
Step 10: player connects video content server, and the foradownloaded video content is play;
Step 20: the network condition between player monitoring player and the video content server starts the step that tests the speed when network condition can not satisfy the condition of smooth playing.
Further, in the described step 20, the step that realizes the network condition between player monitoring player and the video content server is: step 210: the network condition that player real-time judge current data is connected, and/or the network condition of current data connection is judged at player certain hour interval.
Preferably, in the described step 20, the condition that network condition can not satisfy smooth playing is: the buffering capacity of the screen buffer of current broadcast arrives the frequency of minimum L, or the buffering capacity of the screen buffer of current broadcast is that 0 frequency is when being higher than f, described L value between B*1/10 to B*1/3, wherein, B is the size of player buffering area.
More preferably, described f is per minute 3-10 time.
Without limitation, the described step that tests the speed further comprises: step 300: player reads user's current IP address, and judges the residing physical location of user, network type according to current IP address; Step 310: player is downloaded video content server tabulation from the video dispatching server, each node in this tabulation is tested the speed.
Further, the step that in the described step 310 each node in the tabulation is tested the speed is: player sends test pack to each video content server, video content server sends feedback packet to video player within a period of time, video player is collected the feedback packet of video content server, according to the quantity of the bag of collecting and the size of bag, determine network speed by the size of bag quantity * bag.Perhaps download a file from video content server in the described player, will the speed of download of this document be tested the speed as network speed.
In addition, alternatively, in step 310, if find to satisfy the node of broadcast request, namely stop to test the speed; The described node that can satisfy broadcast request can be the node of result greater than 300KB/S that test the speed.Test the speed finish after, show the situation that tests the speed of each node in the described player.
The invention enables player to possess test network speed function, network speed between test player and each video content server, in order to certainly be dynamically connected or the node that the user selection network speed is the fastest watch video, control easily and flexibly Web TV, not only the user uses more conveniently, and the user experiences better.
Description of drawings
Fig. 1 is the schematic diagram of player of the present invention.
Fig. 2 is the schematic diagram that player of the present invention and video content server connect.
Fig. 3 is the schematic diagram that player of the present invention shows user's current network information.
Fig. 4 is the schematic diagram of player prompting user fan-in network information of the present invention.
Fig. 5 is player display of video content server list schematic diagram of the present invention.
Fig. 6 is the schematic diagram that player of the present invention shows the result that tests the speed.
Fig. 7 is that player of the present invention cooperates map to show the result's that tests the speed schematic diagram.
Embodiment
For the purpose, technical scheme and the advantage that make invention is clearer, below in conjunction with drawings and the embodiments, the present invention is described in more detail.Be to be understood that described embodiment only in order to explain the present invention, is not intended to limit the present invention.
In the first execution mode of the present invention, provide a kind of player speed-measuring method.This player comprises a player 100, this player possesses the functions such as common video playback, audio frequency broadcast, wherein, described video includes but not limited to the high definition audio/video file, such as DVDRip, RMVB, MKV etc., preferably, the network flow-medium image video that it can playing network be adapted at playing in the network so that adaptive video program request, network drill, long-distance education, network video advertisement etc. are used needs.
As shown in Figure 1, comprise broadcast window 10 in the described player, also can comprise the user button 20 for user selection, buttons such as " beginning ", " time-out ", " F.F. ", " falling back ", " adjusting volume ", " brightness adjusting ".And comprise the expansion button 30, such as " turning on light ", " sharing ", " changing skin " etc.Further, can not comprise above-mentioned button in the described player, but input in other way user instruction, for example, this player can be applicable in the TV, inputs above-mentioned instruction by TV remote controller.
At net environment, the user need by the network connection video content server, and there is not smooth phenomenon in the network condition between the residing client of video content server and user, therefore, might affect user's result of broadcast in playing process.For this reason, the present invention proposes to add network and tests the speed in video player, and recommends optimum video content server node, to guarantee user's smooth playing.For this reason, can in above-mentioned player, increase the network speed measuring function.
As shown in Figure 2, player 100 is set up data with video content server 200 and is connected, and the video content player sends to described player with the video data of user's request by this data connection, and described player is decoded to the video data that receives and play.
In playing process, the stability that player real-time judge current data connects if it is unstable to find that current data connects, then starts the step that tests the speed.
On the other hand, in playing process, player can be judged the stability that current data connects with the certain hour interval, if it is unstable to find that current data connects, then starts the step that tests the speed.
One screen buffer is set in the above-mentioned player, be used for the video content that will be played that buffering is downloaded from video content server, video content in the described buffering area is sent in the Video Decoder of described player decodes, decode and play after complete, video content decoded in the buffering area will be eliminated, and replenish the video content of new band decoding according to the time order and function order.The amount of capacity of described screen buffer is B, and preferably, B is 0.1-10M.Alternatively, the entry condition of the described step that tests the speed is: judge the full situation of the screen buffer of current broadcast, the statistics buffering area arrives the frequency of minimum, and perhaps the video buffer amount of buffering area is 0 frequency.For this reason, can preset the minimum L with buffering area, preferably, described minimum is the 1/10-1/3 of B, is lower than B*1/10 and means that then network is very unstable, is higher than B*1/3 and means then that current network connects and can accept.It will be understood by those of skill in the art that described L value between B*1/10 to B*1/3.When the buffering capacity of buffering area arrives the frequency of L, perhaps be 0 frequency when being higher than f, then start the program that tests the speed, preferably, described f is per minute 3-10 time.
Further, the startup of the described step that tests the speed can be started according to frequency values f voluntarily by player, and perhaps prompting user starts the step that tests the speed by the user.
In the described step that tests the speed, at first, as shown in Figure 2, player reads user's current IP address, and according to the current residing physical location of IP address judgement user, and network type, described network type can be the Internet Service Providers such as " China Netcom ", " China Railway Telecom ", " upright broadband ".And network speed is carried out in current data connection test.Without limitation, player can obtain first current IP address, and judges the current physical location of player according to the IP address.
Consider the replacement problem of IP address base, from the IP storehouse, read the current physical location of player according to current IP, and the result of network type is not fully reliable, in another selectable execution mode, shown in Reference numeral among Fig. 3 50, the user can select the current physical location of user and network type by interactive interface.
In the situation that the player prompting user tests the speed, the start button that tests the speed can be set in this player, the user clicks this pushbutton enable step that tests the speed.
After starting the step that tests the speed, as shown in Figure 4, player is downloaded video content server tabulation from the video dispatching server, and show that referring to Reference numeral 60, described tabulation comprises node serial number to be measured, the title that further, can comprise this node.Preferably, the quantity of node can be preseted by the video dispatching server in this tabulation, also can be preseted by the user.Described node is a corresponding video content server all.
After obtaining this tabulation, player tests the speed to each node in this tabulation, preferably, can test the speed one by one according to the order in the tabulation.The described process of testing the speed can be: player sends test pack to each video content server, video content server sends feedback packet to video player within a period of time, video player is collected the feedback packet of video content server, according to the quantity of the bag of collecting and the size of bag, certainly, the size of described bag can be fixed, and therefore determines network speed by the size of bag quantity * bag.In another optional execution mode, download a file from video content server in the described player, the speed of download of this file is exactly that network speed tests the speed.For example, be 156 to node number, when the video content server that name is called " Tianjin-Tanggu District-Tie Tong " tests the speed, player is downloaded a test file that tests the speed usefulness from this server, certainly, this test file also can be common video file, judges current speed of download, and this speed of download is exactly that current network speed tests the speed.
Node in the video content server tabulation was tested the speed the consumption regular hour, and in order not affect user's normal play, preferably, the number of nodes in the above-mentioned video content server tabulation is no more than 20.More preferably, in above-mentioned process that node in the video content server tabulation is tested the speed one by one, if find to satisfy the node of broadcast request, namely stop to test the speed.The described node that can satisfy broadcast request can be the node of result greater than 300KB/S that test the speed.
Test the speed finish after, show the situation that tests the speed of each node in the described player, as shown in Figure 6, the result that will test the speed in the situation that tests the speed 70 is arranged in order according to the network speed speed, the user can pass through mouse, and perhaps the input equipment of remote controller selects the fastest video content server of network speed to play.
More preferably, in order to strengthen user's experience, can cooperate map that the situation of testing the speed 70 is shown.As shown in Figure 7, the user can will select cursor (by mouse or remote controller) to hover on the node of the situation of testing the speed 70, and player will show the geographical position of this node; On the other hand, in player, show node best among the result that tests the speed, example as shown in Figure 7, node 156 be this optimum that tests the speed, the experience that can point out so this node can bring the best in player is for user selection.
In addition, in another embodiment of the present invention, provide acquiescence node recommendation function.According to statistics, the same time period of network connection situation between each video content server and the player in several days is similar, the example node 156 as shown in Figure 7 at night network condition during the 6:00-9:00 may be better, and may be relatively poor in the network condition of other times section.Therefore, preserve each time period optimum video content server that tests the speed in configuration file that can player or the journal file, in another optional execution mode, can be kept in the cookie file of player, when the user starts player again, directly read this cookie file.Like this, when playing user next time, can select this reproduction time section optimum node that tests the speed to play according to its reproduction time, and avoid frequently testing the speed and reduce user's experience.
In the situation of player automatic speed-measuring, player is added up the full situation of the screen buffer of current broadcast, calculates the frequency that buffering area arrives minimum, and perhaps the video buffer amount of buffering area is 0 frequency.For this reason, can preset the minimum L with buffering area, preferably, described minimum is the 1/10-1/3 of B, is lower than B*1/10 and means that then network is very unstable, is higher than B*1/3 and means then that current network connects and can accept.It will be understood by those of skill in the art that described L value between B*1/10 to B*1/3.When the buffering capacity of buffering area arrives the frequency of L, perhaps be 0 frequency when being higher than f, then start the program that tests the speed, preferably, described f is per minute 3-10 time; When f satisfied this condition, the player AutoBackground started the step that tests the speed.After starting the step that tests the speed, player is downloaded video content server tabulation from the video dispatching server, and each node in this tabulation is tested the speed, and preferably, can test the speed one by one according to the order in the tabulation.The described process of testing the speed can be: player sends test pack to each video content server, video content server sends feedback packet to video player within a period of time, video player is collected the feedback packet of video content server, according to the quantity of the bag of collecting and the size of bag, certainly, the size of described bag can be fixed, and therefore determines network speed by the size of bag quantity * bag.In another optional execution mode, download a file from video content server in the described player, the speed of download of this file is exactly that network speed tests the speed.For example, be 156 to node number, when the video content server that name is called " Tianjin-Tanggu District-Tie Tong " tests the speed, player is downloaded a test file that tests the speed usefulness from this server, certainly, this test file also can be common video file, judges current speed of download, and this speed of download is exactly that current network speed tests the speed.
Node in the video content server tabulation was tested the speed the consumption regular hour, and in order not affect user's normal play, preferably, the number of nodes in the above-mentioned video content server tabulation is no more than 20.More preferably, in above-mentioned process that node in the video content server tabulation is tested the speed one by one, if find to satisfy the node of broadcast request, namely stop to test the speed.The described node that can satisfy broadcast request can be the node of result greater than 300KB/S that test the speed.
Test the speed finish after, player is selected the fastest video content server of network speed automatically, and rebulids to connect and carry out video playback.
The beneficial effect that the present invention can reach is: when the user watches video by player, can utilize the test network speed functional test player of player and the network speed between each video content server, in order to certainly be dynamically connected or the node that the user selection network speed is the fastest watch video, experience better services.
Can think, the present invention and many advantages that it presents can be understood by above-mentioned specification, do not departing from disclosed theme or do not losing under the prerequisite of its all substances advantage, realize assembly in form, on the structure and the various variations of arranging be apparent.Form of description of the present invention only is exemplary, and the purpose of claims comprises these variations of protection.

Claims (10)

1. player speed-measuring method may further comprise the steps:
Step 10: player connects video content server, and the foradownloaded video content is play;
Step 20: the network condition between player monitoring player and the video content server starts the step that tests the speed when network condition can not satisfy the condition of smooth playing.
2. player speed-measuring method as claimed in claim 1 is characterized in that:
In the described step 20, realize that the step of the network condition between player monitoring player and the video content server is:
Step 210: the network condition that player real-time judge current data connects, and/or the network condition that current data connects is judged at player certain hour interval.
3. player speed-measuring method as claimed in claim 1, it is characterized in that: in the described step 20, the condition that network condition can not satisfy smooth playing is: when the frequency of the buffering capacity arrival minimum L of the screen buffer of current broadcast is higher than f, described L value between B*1/10 to B*1/3, wherein, B is the size of player buffering area.
4. player speed-measuring method as claimed in claim 1, it is characterized in that: in the described step 20, the condition that network condition can not satisfy smooth playing is: the buffering capacity of the screen buffer of current broadcast is that 0 frequency is when being higher than f.
5. such as claim 3 or 4 described player speed-measuring methods, it is characterized in that: described f is per minute 3-10 time.
6. player speed-measuring method as claimed in claim 1 is characterized in that:
The described step that tests the speed further comprises:
Step 300: player reads user's current IP address, and judges the residing physical location of user, network type according to current IP address;
Step 310: player is downloaded video content server tabulation from the video dispatching server, each node in this tabulation is tested the speed.
7. player speed-measuring method as claimed in claim 7 is characterized in that:
The step that in the described step 310 each node in the tabulation is tested the speed is: player sends test pack to each video content server, video content server sends feedback packet to video player within a period of time, video player is collected the feedback packet of video content server, according to the quantity of the bag of collecting and the size of bag, determine network speed by the size of bag quantity * bag.
8. player speed-measuring method as claimed in claim 7 is characterized in that:
The step that in the described step 310 each node in the tabulation is tested the speed is: described player is downloaded a file from video content server, will the speed of download of this document be tested the speed as network speed.
9. such as claim 7 or 8 described player speed-measuring methods, it is characterized in that: in step 310, if find to satisfy the node of broadcast request, namely stop to test the speed; The described node that can satisfy broadcast request is the node of result greater than 300KB/S that test the speed.
10. player speed-measuring method as claimed in claim 1 is characterized in that: test the speed finish after, show the situation that tests the speed of each node in the described player.
CN201210525159.6A 2012-12-10 2012-12-10 Method for measuring speed of player Active CN103024461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210525159.6A CN103024461B (en) 2012-12-10 2012-12-10 Method for measuring speed of player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210525159.6A CN103024461B (en) 2012-12-10 2012-12-10 Method for measuring speed of player

Publications (2)

Publication Number Publication Date
CN103024461A true CN103024461A (en) 2013-04-03
CN103024461B CN103024461B (en) 2017-02-15

Family

ID=47972521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210525159.6A Active CN103024461B (en) 2012-12-10 2012-12-10 Method for measuring speed of player

Country Status (1)

Country Link
CN (1) CN103024461B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747297A (en) * 2014-01-09 2014-04-23 能力天空科技(北京)有限公司 Video dynamic dispatching method, device and video playing system
CN103916681A (en) * 2013-01-04 2014-07-09 云联(北京)信息技术有限公司 Streaming media content playing method, device and system
CN104378451A (en) * 2013-08-14 2015-02-25 腾讯科技(深圳)有限公司 Network communication route selecting method, device and system
CN104796730A (en) * 2014-01-20 2015-07-22 腾讯科技(深圳)有限公司 Method and device for detecting low-speed users in network video live broadcast and system
CN105847396A (en) * 2016-04-25 2016-08-10 乐视控股(北京)有限公司 Data transmission method and device
CN105872742A (en) * 2015-11-30 2016-08-17 乐视网信息技术(北京)股份有限公司 Network video downloading method and user terminal device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355448A (en) * 2011-06-29 2012-02-15 北京原力创新科技有限公司 Cloud streaming media data transmission method and system
CN102695081A (en) * 2012-06-13 2012-09-26 百视通网络电视技术发展有限责任公司 Video resource scheduling method based on Internet television and television terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355448A (en) * 2011-06-29 2012-02-15 北京原力创新科技有限公司 Cloud streaming media data transmission method and system
CN102695081A (en) * 2012-06-13 2012-09-26 百视通网络电视技术发展有限责任公司 Video resource scheduling method based on Internet television and television terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916681A (en) * 2013-01-04 2014-07-09 云联(北京)信息技术有限公司 Streaming media content playing method, device and system
CN104378451A (en) * 2013-08-14 2015-02-25 腾讯科技(深圳)有限公司 Network communication route selecting method, device and system
CN104378451B (en) * 2013-08-14 2019-09-20 腾讯科技(深圳)有限公司 Network communication route selecting method, apparatus and system
CN103747297A (en) * 2014-01-09 2014-04-23 能力天空科技(北京)有限公司 Video dynamic dispatching method, device and video playing system
CN104796730A (en) * 2014-01-20 2015-07-22 腾讯科技(深圳)有限公司 Method and device for detecting low-speed users in network video live broadcast and system
CN104796730B (en) * 2014-01-20 2017-10-10 腾讯科技(深圳)有限公司 The methods, devices and systems of user at a slow speed in a kind of detection internet video live broadcasting
CN105872742A (en) * 2015-11-30 2016-08-17 乐视网信息技术(北京)股份有限公司 Network video downloading method and user terminal device
CN105847396A (en) * 2016-04-25 2016-08-10 乐视控股(北京)有限公司 Data transmission method and device
WO2017185632A1 (en) * 2016-04-25 2017-11-02 乐视控股(北京)有限公司 Data transmission method and electronic device

Also Published As

Publication number Publication date
CN103024461B (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN103024461A (en) Method for measuring speed of player
US10367898B2 (en) Interest profiles for audio and/or video streams
CA2806284C (en) Transmission apparatus, transmission method, reception apparatus, reception method, program, and broadcasting system
WO2016155562A1 (en) Content item display system, method and device
CN104202668B (en) The filter method and device of video ads
US20140115631A1 (en) User control of ad selection for subsequent ad break of a streaming video
US20080295141A1 (en) Personalized tv apparatus
CN101374090A (en) Dynamic medium interaction using element data based on time
TW200803491A (en) Television receiver apparatus and method for automatically performing an action based on viewership information
US20130232516A1 (en) Method And Apparatus for Collection and Analysis of Real-Time Audience Feedback
CN111083508A (en) Message processing method and device, electronic equipment and storage medium
CN105635788A (en) Advertisement inter-cut method in video playing process and device thereof
CN103731727A (en) Video playing method and video player
KR102100828B1 (en) Contents providing system, contents providing apparatus, client apparatus, control method, and recording medium
US20210311981A1 (en) Systems and methods for optimizing delivery of content recommendations
EP2577973A2 (en) Augmenting television media
JPWO2014174940A1 (en) Content reproduction apparatus and advertisement display method for content reproduction apparatus
CN104581340B (en) Client, stream medium data method of reseptance and stream medium data transmission system
WO2017123380A1 (en) Methods, systems, and media for presenting a content item while buffering a video
CN105100840A (en) Method and device for inter-cut of recommended media information
JP2007089198A (en) Service reception device, service providing device, computer program therefor, and recording medium
CN103281566A (en) Method and device for video switch
CN107105350A (en) Massaging device and dispenser
CN103248921A (en) Advertising method, device and system
CN108322787A (en) Video stream distributing method, device and electronic equipment

Legal Events

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

Effective date of registration: 20210623

Address after: 300467 917-2, Chuangzhi building, 482 Zhongxin eco city, Binhai New Area, Tianjin

Patentee after: Tianjin Zhirong Innovation Technology Development Co.,Ltd.

Address before: 100026 room 6184, 6th floor, building 19, 68 Xueyuan South Road, Haidian District, Beijing

Patentee before: LE HOLDINGS (BEIJING) Co.,Ltd.