CN103024461B - Method for measuring speed of player - Google Patents

Method for measuring speed of player Download PDF

Info

Publication number
CN103024461B
CN103024461B CN201210525159.6A CN201210525159A CN103024461B CN 103024461 B CN103024461 B CN 103024461B CN 201210525159 A CN201210525159 A CN 201210525159A CN 103024461 B CN103024461 B CN 103024461B
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.)
Active
Application number
CN201210525159.6A
Other languages
Chinese (zh)
Other versions
CN103024461A (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

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 video playback field, more specifically, belonging to Internet video field, more particularly, to a kind of method measuring network speed in player.
Background technology
The broadcasting of Internet video relies on player plays video content, and video player refers to play with the software of the video of digital signal form storage, also refers to there is the electronic device product playing video capability.In addition to minority wave file, most of video players carry decoder to reduce through compressed media file, and video player also wants the algorithm of a whole set of conversion frequency built-in and buffering.Certainly most video player can also be supported to play audio file.
Because network condition is intricate; data cube computation between user's players and video content server will not constantly be stablized; user is led to Caton phenomenon often to occur when playing video content; this phenomenon is play in even long-time termination; therefore, player how is made to play the technical problem that Internet video becomes urgently to be resolved hurrily glibly.
Content of the invention
For drawbacks described above, it is an object of the invention to provide a kind of method for being tested to network speed in Web TV player, the result tested by network speed recommends optimal video content player to user, and set up connection therewith, thus reduce the not smooth degree playing Internet video.
To achieve these goals, the present invention provides a kind of player speed-measuring method, comprises the following steps:
Step 10:Player connects video content server, and foradownloaded video content plays out;
Step 20:The network condition between player and video content server monitored by player, starts the step that tests the speed when network condition can not meet the condition of smooth playing.
Further, in described step 20, the step realizing the network condition between player monitoring player and video content server is:Step 210:Player real-time judge current data connect network condition, and/or player intervals judge current data connection network condition.
Preferably, in described step 20, the condition that network condition can not meet smooth playing is:The buffering capacity of currently playing screen buffer reaches the frequency of minimum L, or when the frequency that the buffering capacity of currently playing screen buffer is 0 is higher than f, described L value between B*1/10 to B*1/3, wherein, B is the size of player relief area.
It is further preferable that described f is 3-10 time per minute.
Without limitation, the described step that tests the speed further includes:Step 300:Player reads the current IP address of user, and judges physical location residing for user, network type according to current IP address;Step 310:A video content server list downloaded from video dispatching server by player, and each node in this list is tested the speed.
Further, the step in described step 310, each node in list being tested the speed is:Player sends test bag to each video content server, video content server sends feedback bag to video player within a period of time, video player collects feedback bag, the quantity according to the bag collected and the size of bag of video content server, determines network speed by the size of bag quantity * bag.Or a file is downloaded in described player from video content server, the speed of download of this document will be tested the speed as network speed.
Optionally, in addition, in the step 310, if it find that disclosure satisfy that the node of broadcast request, that is, stop testing the speed;The described node that can meet broadcast request can be more than the node of 300KB/S for the result that tests the speed.After the completion of testing the speed, show the situation that tests the speed of each node in described player.
The invention enables player possesses test network speed function, network speed between test player and each video content server, to be certainly dynamically connected or user to select network speed node viewing video the fastest, easily and flexibly controlling network TV, not only user uses more convenient, and Consumer's Experience is more preferably.
Brief description
Fig. 1 is the schematic diagram of player of the present invention.
Fig. 2 is that player of the present invention sets up, with video content server, the schematic diagram being connected.
Fig. 3 is the schematic diagram that player of the present invention shows user's current network information.
Fig. 4 is the schematic diagram that the user input network information pointed out by player of the present invention.
Fig. 5 is player display 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 coordinates map denotation to test the speed the schematic diagram of result.
Specific embodiment
In order that the purpose of invention, technical scheme and advantage become more apparent, below in conjunction with drawings and the embodiments, the present invention is described in more detail.It should be understood that described specific embodiment, only in order to explain the present invention, is not intended to limit the present invention.
In the first embodiment of the present invention, provide a kind of player speed-measuring method.This player includes a player 100, this player possesses the functions such as common video playback, audio frequency broadcasting, wherein, described video includes but is not limited to high-resolution audio/video file, such as DVDRip, RMVB, MKV etc., preferably, it can play the network flow-medium image video that network is suitable for playing in a network, so that the application such as adaptive video program request, network drill, long-distance education, network video advertisement needs.
As shown in figure 1, described player includes broadcast window 10, may also include the user button 20 selecting for user, for example " start ", " time-out ", " F.F. ", " retroversion ", " regulation volume ", the button such as " regulation brightness ".And include extension button 30, for example " turn on light ", " sharing ", " changing skin " etc..Further, above-mentioned button can not be included in described player, but input user instruction in other way, for example, this player can be applicable in TV, inputs above-mentioned instruction by TV remote controller.
In a network environment, user, in playing process, needs by network connection video content server, and the network condition between the client residing for video content server and user has not smooth phenomenon, therefore, it is possible to the result of broadcast of impact user.For this reason, the present invention proposes interpolation network in video player testing the speed, and recommend the video content server node of optimum, to ensure the smooth playing of user.For this reason, network speed measuring function can be increased in above-mentioned player.
As shown in Fig. 2 player 100 and video content server 200 set up data cube computation, the video data of user's request is sent to described player by this data cube computation by video content player, and described player is decoded and plays to the video data receiving.
In playing process, the stability that player real-time judge current data connects, if it find that current data connection is unstable, then start the step that tests the speed.
On the other hand, in playing process, player can judge the stability that current data connects at a time interval, if it find that current data connection is unstable, then starts the step that tests the speed.
One screen buffer is set in above-mentioned player, the video content that will be played downloaded from video content server for buffering, video content in described relief area is sent in the Video Decoder of described player and decodes, decoding plays out after finishing, the video content being decoded in relief area will be eliminated, and according to the new video content with decoding of time order and function order supplement.The amount of capacity of described screen buffer is B it is preferable that B is 0.1-10M.Alternatively, the entry condition of the described step that tests the speed is:Judge the full situation of currently playing screen buffer, statistics relief area reaches the frequency of minimum, or the frequency that the video buffer amount of relief area is 0.For this reason, minimum L with relief area can be preset it is preferable that the 1/10-1/3 as B for the described minimum, then mean that network is very unstable less than B*1/10, and be higher than that B*1/3 then means 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 relief area reaches the frequency of L, or when the frequency for 0 is higher than f, then start the program that tests the speed it is preferable that described f is 3-10 time per minute.
Further, the startup of the described step that tests the speed, voluntarily can be started according to frequency values f by player, or prompting user, start, by user, the step that tests the speed.
Test the speed in step described, first, as shown in Figure 2, player reads the current IP address of user, and the physical location residing for user is judged according to current IP address, and network type, described network type can be the Internet Service Providers such as " China Netcom ", " China Railway Telecom ", " upright broadband ".And network speed test is carried out to current data cube computation.Without limitation, player can first obtain current IP address, and judges the current physical location of player according to IP address.
Replacement problem in view of IP address storehouse, the current physical location of player is read from IP storehouse according to current IP, and the result of network type non-fully reliable, in another selectable embodiment, as shown in reference 50 in Fig. 3, user can select the current physical location of user and network type by interactive interface.
In the case of player prompting user is tested the speed, one can be arranged in this player and test the speed start button, user clicks on startup and tests the speed step.
After starting the step that tests the speed, as shown in Figure 4, a video content server list downloaded from video dispatching server by player, and shown, referring to reference 60, described list includes node serial number to be measured, further, it may include the title of this node.Preferably, the quantity of this list interior joint can be preset it is also possible to be preset by user by video dispatching server.Described node all corresponds to a video content server.
After obtaining this list, player is tested the speed to each node in this list it is preferable that can be tested the speed one by one according to the order in list.The described process of testing the speed can be:Player sends test bag to each video content server, video content server sends feedback bag to video player within a period of time, video player collects the feedback bag of video content server, quantity according to the bag collected 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 embodiment, download a file from video content server in described player, the speed of download of this file is exactly that network speed tests the speed.For example, it is 156 to node number, when the video content server of entitled " Tianjin-Tanggu District-Tie Tong " is tested the speed, a test file testing the speed downloaded from this server by player, certainly, this test file can also be common video file, judge current speed of download, and the network speed that this speed of download is exactly current tests the speed.
Node in video content server list is tested the speed and will consume the regular hour, in order to not affect the normal play of user it is preferable that the number of nodes in above-mentioned video content server list is less than 20.It is further preferable that during the node in the above-mentioned list to video content server is tested the speed one by one, if it find that disclosure satisfy that the node of broadcast request, that is, stopping testing the speed.The described node that can meet broadcast request can be more than the node of 300KB/S for the result that tests the speed.
After the completion of testing the speed, the situation that tests the speed of each node is shown, as shown in fig. 6, the result that will test the speed in the situation 70 that tests the speed is arranged in order according to network speed speed in described player, user can pass through mouse, or the input equipment of remote control selects network speed video content server the fastest to play out.
It is further preferable that in order to strengthen Consumer's Experience, can coordinate map that the situation of testing the speed 70 is shown.As shown in fig. 7, user can will select cursor(By mouse or remote control)Hover on the node of the situation of testing the speed 70, player will show the geographical position of this node;On the other hand, show optimal node in the result that tests the speed in player, such as, shown in accompanying drawing 7, the optimum that node 156 tests the speed for this, then this node can be pointed out in player can to bring optimal experience, so that user selects.
Additionally, in another embodiment of the present invention, providing default node recommendation function.According to statistics, the same time period in several days for the network connection status between each video content server and player is similar, such as the node 156 shown in accompanying drawing 7 at night 6:00-9:Network condition during 00 may preferably, and the network condition in other times section may be poor.Therefore, can with preserve in the configuration file of player or journal file each time period test the speed optimum video content server, in another optional embodiment, can be saved in the cookie file of player, when user is again started up player, directly read this cookie file.So, when user plays next time, the test the speed node of optimum of this reproduction time section can be selected to play out according to its reproduction time, and avoid frequently testing the speed and reduce Consumer's Experience.
In the case of player automatic speed-measuring, the full situation of the currently playing screen buffer of player statistics, calculate the frequency that relief area reaches minimum, or the frequency that the video buffer amount of relief area is 0.For this reason, minimum L with relief area can be preset it is preferable that the 1/10-1/3 as B for the described minimum, then mean that network is very unstable less than B*1/10, and be higher than that B*1/3 then means 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 relief area reaches the frequency of L, or when the frequency for 0 is higher than f, then start the program that tests the speed it is preferable that described f is 3-10 time per minute;When f meets this condition, player AutoBackground starts the step that tests the speed.After starting the step that tests the speed, a video content server list downloaded from video dispatching server by player, each node in this list is tested the speed it is preferable that can be tested the speed one by one according to the order in list.The described process of testing the speed can be:Player sends test bag to each video content server, video content server sends feedback bag to video player within a period of time, video player collects the feedback bag of video content server, quantity according to the bag collected 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 embodiment, download a file from video content server in described player, the speed of download of this file is exactly that network speed tests the speed.For example, it is 156 to node number, when the video content server of entitled " Tianjin-Tanggu District-Tie Tong " is tested the speed, a test file testing the speed downloaded from this server by player, certainly, this test file can also be common video file, judge current speed of download, and the network speed that this speed of download is exactly current tests the speed.
Node in video content server list is tested the speed and will consume the regular hour, in order to not affect the normal play of user it is preferable that the number of nodes in above-mentioned video content server list is less than 20.It is further preferable that during the node in the above-mentioned list to video content server is tested the speed one by one, if it find that disclosure satisfy that the node of broadcast request, that is, stopping testing the speed.The described node that can meet broadcast request can be more than the node of 300KB/S for the result that tests the speed.
After the completion of testing the speed, player automatically selects network speed video content server the fastest, and re-establishes connection and carry out video playback.
What the present invention can reach has the beneficial effect that:User by player watch video when, it is possible to use player test network speed functional test player and each video content server between network speed so that be certainly dynamically connected or user select network speed the fastest node viewing video, experience better services.
It is considered that, the present invention and many advantages that it presents can be understood by above-mentioned description, it is obvious without departing from disclosed theme or on the premise of not losing its all substances advantage, realizing assembly various change in form, in structure and in arrangement.The form of description of the present invention is merely exemplary, the purpose of claims includes protecting these changes.

Claims (2)

1. a kind of player speed-measuring method, comprises the following steps:
Step 10:Player connects video content server, and foradownloaded video content is decoded, plays;
Step 20:The network condition between player and video content server monitored by player, starts the step that tests the speed when network condition can not meet the condition of smooth playing;
Described speed-measuring method further includes:
Step 300:Player reads the current IP address of user, and judges physical location residing for user, network type or user by the current physical location of interactive interface selection user and network type according to current IP address;
Step 310:Network speed test is carried out to current data cube computation, that is, a video content server list downloaded from video dispatching server by player, each node in this list is tested the speed;
Step 320:If it find that disclosure satisfy that the node of broadcast request, that is, stop testing the speed;
Step 330:After the completion of testing the speed, show the situation that tests the speed of each node in described player, and be arranged in order according to network speed speed;
In described step 20, the step realizing the network condition between player monitoring player and video content server is:
Step 210:The network condition that player real-time judge current data connects, and/or player judges the network condition that current data connects at a time interval, when in playing process, the stability that player real-time judge current data connects, if it find that current data connection is unstable, then start the step that tests the speed;
In described step 20, the condition that network condition can not meet smooth playing is:The buffering capacity of currently playing screen buffer be 0 frequency be higher than f when, described f is 3-10 time per minute, or currently playing screen buffer buffering capacity reach minimum L frequency be higher than f when, described L value between B*1/10 to B*1/3, described f is 3-10 time per minute, wherein, B is the size of player relief area;
The startup of the described step that tests the speed, voluntarily can be started according to frequency values f by player, or prompting user, start, by user, the step that tests the speed;
The step in described step 310, each node in list being tested the speed is:
Described player sends test bag to each video content server, video content server sends feedback bag to video player within a period of time, video player collects the feedback bag of video content server, quantity according to the bag collected and the size of bag, determine network speed by the size of bag quantity * bag;Or described player downloads a file from video content server, the speed of download of this document will be tested the speed as network speed;
Number of nodes≤20 in described step 310, in video content server list;
In described step 330, player coordinates the geographical position of each node of map denotation;
Preserve in the configuration file of described player or journal file each time period test the speed optimum video content server, or each time period tested the speed optimum video content server be saved in the cookie file of player, when being again started up player, directly read described cookie file.
2. player speed-measuring method as claimed in claim 1 it is characterised in that:In step 320, the described node that can meet broadcast request is to test the speed the node that result is more than 300KB/S.
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 CN103024461A (en) 2013-04-03
CN103024461B true 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)

Families Citing this family (6)

* 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
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
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

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

Also Published As

Publication number Publication date
CN103024461A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103024461B (en) Method for measuring speed of player
JP6673990B2 (en) System, storage medium and method for displaying content and related social media data
JP5182178B2 (en) Information processing apparatus and information processing method
US9066159B2 (en) User control of ad selection for subsequent ad break of a video
US10367898B2 (en) Interest profiles for audio and/or video streams
US20130263179A1 (en) Systems and methods for adaptively transmitting media and advertising content
US8832722B2 (en) Media asset voting
KR20170121235A (en) Interaction methods based on recommended content, terminals and servers
WO2016155562A1 (en) Content item display system, method and device
US20150020127A1 (en) Delivery of Content
CN103581708A (en) Method and system for playing boot advertisements of set top box
US20110078716A1 (en) Providing a Dedicated Channel Accessible to a Group of Users
WO2013149128A2 (en) Systems and methods for adaptively transmitting media and advertising content
US8930987B2 (en) Systems and methods for adaptively transmitting media and advertising content
MX2008015965A (en) Multi-dvr node communication.
CN103561283A (en) Method and device for code rate switch of smart television
US20080295141A1 (en) Personalized tv apparatus
US20110296468A1 (en) Augmenting television media
KR102100828B1 (en) Contents providing system, contents providing apparatus, client apparatus, control method, and recording medium
EP3377994A1 (en) Recommending media content based on the trajectory of the user
CN105791912A (en) Cloud-based data processing method, system and set top box
US20210092464A1 (en) Systems and methods for providing content based on multiple angles
JP2010114723A (en) Reproduction information output device, reproduction information outputting method, and reproduction information output processing program
US20100017533A1 (en) Method and apparatus for reproducing contents, and portable terminal device
CN110087115A (en) A kind of video player control method, device and relevant 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
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.