CN104320707A - Playback method and device of network video - Google Patents

Playback method and device of network video Download PDF

Info

Publication number
CN104320707A
CN104320707A CN201410482656.1A CN201410482656A CN104320707A CN 104320707 A CN104320707 A CN 104320707A CN 201410482656 A CN201410482656 A CN 201410482656A CN 104320707 A CN104320707 A CN 104320707A
Authority
CN
China
Prior art keywords
video data
network video
objective network
data
locality
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
CN201410482656.1A
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 Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410482656.1A priority Critical patent/CN104320707A/en
Publication of CN104320707A publication Critical patent/CN104320707A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4621Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a playback method and device of a network video, and belongs to the technical field of network. The method comprises the following steps: acquiring current playback progress information of the network video; judging whether target network video data corresponding to the current playback information is stored in local place; if the target network video data is stored in the local place, loading the target network video data from the local place, and playing the network video according to the target network video data. The network video is played according to the target network video data by directly loading the target network video data from the local place after judging that the target network video data is stored in the local place. When a player needs to repeatedly play a segment of network video at different moments, the target network video data can be loaded from the local place. Since the speed of loading the network video data from the local place is greater than the speed of requesting the network video data from a server, the wait duration of playing the network vide is reduced, and the traffic of the user can be saved by loading the network video data from the local place.

Description

The player method of Internet video and device
Technical field
The disclosure relates to networking technology area, particularly a kind of player method of Internet video and device.
Background technology
Along with developing rapidly of network technology, increasing user watches Internet video online by player.During the online playing network video of player, often need the video content at the different progress places of playing network video, to meet the Internet video viewing demand of user.
Correlation technique when playing network video, often according to playing progress rate information, to the network video data that server request playing progress rate information is corresponding.In addition, after player gets new playing progress rate information, the network video data that playing progress rate information that the last time gets is corresponding can be deleted.In such cases, if player needs in not repeat playing a certain section of Internet video in the same time, then after getting the playing progress rate information of this section of Internet video, all need according to this playing progress rate information again to the network video data that server request is corresponding at every turn.Because the request of network video data and transmission need the regular hour, therefore, cause the stand-by period of playing network video longer.In addition, owing to all needing to network video data corresponding to this playing progress rate information of server request at every turn, cause wasting customer flow.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of player method and device of Internet video.
According to the first aspect of disclosure embodiment, a kind of player method of Internet video is provided, comprises:
Obtain the current playing progress rate information of Internet video;
Judge whether this locality stores objective network video data corresponding to described current playing progress rate information;
If this locality stores described objective network video data, then load described objective network video data from this locality, and play described Internet video according to described objective network video data.
In conjunction with first aspect, in the first possible implementation of first aspect, describedly judge local whether to store objective network video data corresponding to described current playing progress rate information, comprising:
The data block information stored in this locality according to described Internet video and described current playing progress rate information, search target data block, and described target data block is assigned to for storing described objective network video data;
According to the header information of described target data block, judge whether this locality stores objective network video data corresponding to described current playing progress rate information, wherein, whether the header information of each data block stores network video data corresponding to each data block for identifying this locality.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, the data block information stored in this locality according to described Internet video and described current playing progress rate information, search target data block, comprising:
Determine the total size of the video data of described Internet video, and all data blocks of the network video data of described Internet video are stored according to described video data total acquiring size this locality, described this locality is stored all data blocks of described network video data as described data block information;
Determine described objective network video data size, using described objective network video data size as described current playing progress rate information;
According to described all data blocks, the total size of described video data and described objective network video data size, search target data block.
In conjunction with the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, described according to described all data blocks, the total size of described video data and described objective network video data size, before searching target data block, also comprise:
Determine the total size of described video data, and determine the data capacity of each data block stored video data pre-set;
According to the total size of described video data and described data capacity, be the data block that described Internet video divides default value in this locality, the data block of described default value is used for storing described network video data in this locality.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described load described objective network video data from this locality before, also comprise:
According to described objective network video data size, determine the target data block storing described objective network video data in this locality;
Described objective network video data is stored in described target data block.
In conjunction with first aspect, in the 5th kind of possible implementation of first aspect, described judge local whether store objective network video data corresponding to described current playing progress rate information after, also comprise:
If this locality does not store described objective network video data, then to objective network video data described in server request;
Receive the described objective network video data that described server returns;
Describedly play described Internet video according to described objective network video data, comprising:
Objective network video data according to receiving plays described Internet video.
According to the second aspect of disclosure embodiment, a kind of playing device of Internet video is provided, comprises:
Acquisition module, for obtaining the current playing progress rate information of Internet video;
Judge module, for judging whether this locality stores objective network video data corresponding to described current playing progress rate information;
Load-on module, during for storing described objective network video data when this locality, loads described objective network video data from this locality;
Playing module, for playing described Internet video according to described objective network video data.
In conjunction with second aspect, in the first possible implementation of second aspect, described judge module, comprising:
Search unit, for the data block information that stores in this locality according to described Internet video and described current playing progress rate information, search target data block, described target data block is assigned to for storing described objective network video data;
Judging unit, for the header information according to described target data block, judge whether this locality stores objective network video data corresponding to described current playing progress rate information, wherein, whether the header information of each data block stores network video data corresponding to each data block for identifying this locality.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, search unit, comprising:
First determines subelement, for determining the total size of the video data of described Internet video;
Obtain subelement, for storing all data blocks of the network video data of described Internet video according to described video data total acquiring size this locality, described this locality is stored all data blocks of described network video data as described data block information;
Second determines subelement, for determining described objective network video data size, using described objective network video data size as described current playing progress rate information;
Search subelement, for according to described all data blocks, the total size of described video data and described objective network video data size, search target data block.
In conjunction with the implementation that the second of second aspect is possible, in the third possible implementation of second aspect, described in search unit, also comprise:
3rd determines subelement, for determining the total size of described video data, and determines the data capacity of each data block stored video data pre-set;
Divide subelement, for according to the total size of described video data and described data capacity, be the data block that described Internet video divides default value in this locality, the data block of described default value is used for storing described network video data in this locality.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described device, also comprises:
Determination module, for according to described objective network video data size, determines the target data block storing described objective network video data in this locality;
Memory module, for being stored in described target data block by described objective network video data.
In conjunction with second aspect, in the 5th kind of possible implementation of second aspect, described device, also comprises:
Request module, during for not storing described objective network video data when this locality, to objective network video data described in server request;
Receiver module, for receiving the described objective network video data that described server returns;
Described playing module, for playing described Internet video according to the objective network video data received.
According to the third aspect of disclosure embodiment, provide a kind of playing device of Internet video, described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the current playing progress rate information of Internet video;
Judge whether this locality stores objective network video data corresponding to described current playing progress rate information;
If this locality stores described objective network video data, then load described objective network video data from this locality, and play described Internet video according to described objective network video data.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
After judging that this locality stores objective network video data corresponding to current playing progress rate information, directly from local loaded targets network video data, thus according to this objective network video data playing network video.Now, when player need not in the same time repeat playing a certain section of Internet video time, all can from local loaded targets network video data.Because the speed from local load networks video data is much larger than the speed to server request network video data, therefore, the waiting time of playing network video can not only be reduced, and can customer flow be saved from local load networks video data.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows embodiment according to the invention, and is used from specification one and explains principle of the present invention.
Fig. 1 is the flow chart of the player method of a kind of Internet video according to an exemplary embodiment.
Fig. 2 is the flow chart of the player method of a kind of Internet video according to an exemplary embodiment.
Fig. 3 is the block diagram of the playing device of a kind of Internet video according to an exemplary embodiment.
Fig. 4 is the block diagram of a kind of judge module according to an exemplary embodiment.
Fig. 5 is a kind of block diagram searching unit according to an exemplary embodiment.
Fig. 6 is a kind of block diagram searching unit according to an exemplary embodiment.
Fig. 7 is the block diagram of the playing device of a kind of Internet video according to an exemplary embodiment.
Fig. 8 is the block diagram of the playing device of a kind of Internet video according to an exemplary embodiment.
Fig. 9 is the block diagram of a kind of device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the flow chart of the player method of a kind of Internet video according to an exemplary embodiment, and as shown in Figure 1, the player method of Internet video is used for, in terminal, comprising the following steps.
In step S101, obtain the current playing progress rate information of Internet video.
In step s 102, judge whether this locality stores objective network video data corresponding to current playing progress rate information.
In step s 103, if this locality stores objective network video data, then from local loaded targets network video data, and according to objective network video data playing network video.
The method that disclosure embodiment provides, after judging that this locality stores objective network video data corresponding to current playing progress rate information, directly from local loaded targets network video data, thus according to this objective network video data playing network video.Now, when player need not in the same time repeat playing a certain section of Internet video time, all can from local loaded targets network video data.Because the speed from local load networks video data is much larger than the speed to server request network video data, therefore, the waiting time of playing network video can not only be reduced, and can customer flow be saved from local load networks video data.
Alternatively, judge whether this locality stores objective network video data corresponding to current playing progress rate information, comprising:
The data block information stored in this locality according to Internet video and current playing progress rate information, search target data block, and wherein, target data block is assigned to for storing objective network video data;
According to the header information of target data block, judge whether this locality stores objective network video data corresponding to current playing progress rate information, wherein, whether the header information of each data block stores network video data corresponding to each data block for identifying this locality.
Alternatively, the data block information stored in this locality according to Internet video and current playing progress rate information, search target data block, comprising:
Determine the total size of the video data of Internet video, and all data blocks of network video data according to the local storage networking video of the total acquiring size of video data, using all data blocks of local storage networking video data as data block information;
Determine objective network video data size, using objective network video data size as current playing progress rate information;
According to all data blocks, the total size of video data and objective network video data size, search target data block.
Alternatively, according to all data blocks, the total size of video data and objective network video data size, before searching target data block, also comprise:
Determine the total size of video data, and determine the data capacity of each data block stored video data pre-set;
According to the total size of video data and data capacity, be the data block that Internet video divides default value in this locality, wherein, the data block of default value is used at local storage networking video data.
Alternatively, before local loaded targets network video data, also comprise:
According to objective network video data size, determine the target data block storing objective network video data in this locality;
Objective network video data is stored in target data block.
Alternatively, after judging whether this locality stores objective network video data corresponding to current playing progress rate information, also comprise:
If this locality does not store objective network video data, then to server request objective network video data;
The objective network video data that reception server returns;
According to objective network video data playing network video, comprising:
According to the objective network video data playing network video received.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 2 is the flow chart of the player method of a kind of Internet video according to an exemplary embodiment, and as shown in Figure 2, the player method of Internet video is used for, in terminal, comprising the following steps.
In step s 201, the current playing progress rate information of Internet video is obtained.
In the playing process of Internet video, player often needs the demand adjustment playing progress rate according to user.In order to play the Internet video fragment that user needs, need the current playing progress rate information obtaining Internet video.About the mode of the current playing progress rate information of acquisition Internet video, disclosure embodiment does not do concrete restriction.During concrete enforcement, include but not limited to: detect the position that the video progress bar on player is dragged to, and the position be dragged to by video progress bar is as the current playing progress rate information got.
About the particular content of current playing progress rate information, disclosure embodiment does not do concrete restriction.During concrete enforcement, this current playing progress rate information comprises but is not limited to the duration information that Internet video plays to, or is the network video data size at current playing progress rate place.Such as, if this Internet video is current play to 0:30:14, then using 0:30:14 as current playing progress rate information.Again such as, if the network video data size at current playing progress rate place is 200K, then using 200K as current playing progress rate information.
In step S202, judge whether this locality stores objective network video data corresponding to current playing progress rate information, if this locality stores objective network video data, then perform step S203; If this locality does not store objective network video data, then perform step S204.
Broadcasting due to Internet video carries out based on the network video data that this Internet video is corresponding, therefore, when playing network video, needs first to obtain network video data.In the disclosed embodiments, when obtaining network video data, if this locality has stored objective network video data corresponding to current playing progress rate information, then direct from this locality acquisition objective network video data, if this locality does not store objective network video data, then from server request objective network video data.Therefore, when obtaining objective network video data, need to judge whether this locality stores objective network video data corresponding to current playing progress rate information.
In order to realize when obtaining objective network video data, if this locality has stored objective network video data, then directly can obtain from this locality, disclosure embodiment is when playing network video, be that Internet video distributes a memory space in this locality, and the network video data at the different progress places of Internet video is stored in the memory space of distribution.Wherein, when for Internet video memory allocated space, can data block form realize, namely the network video data at different progress place can be stored in different data blocks.
Wherein, how many data blocks are divided in order to be defined as Internet video, need the total size of video data determining this Internet video, and determine the data capacity of each data block stored video data pre-set, thus according to the total size of video data and data capacity, be the data block that Internet video divides default value in this locality.
About the mode determining the total size of the video data of Internet video, can have a variety of.During concrete enforcement, due to an Internet video often corresponding Internet video mark, therefore, first can obtain the Internet video mark of this Internet video, and according to the video data total size of this Internet video mark to this Internet video of server interrogates.In addition, owing to often comprising the total size of video data of this Internet video in the attribute of Internet video, therefore, also can according to the attribute of this Internet video of Internet video identified query, thus the total size of the video data obtaining this Internet video.About the mode of the data capacity of each data block stored video data determining to pre-set, include but not limited to be obtain the configuration information of the memory space that Internet video divides from this locality.
In addition, according to the total size of video data and data capacity, when in this locality being the data block of Internet video division default value, the total size of video data can being used divided by the data capacity of each data block stored video data, obtain the sum of the data block of the video data storing this Internet video.Then, then determine the start sequence number of data block of the network video data storing this Internet video, and from the data block that this start sequence number is corresponding, store the network video data of this Internet video.
Such as, if the total size of the video data of this Internet video is 800K, the data capacity of each data block is 4K, then this default value is 800K/4K=200.In addition, if store the network video data of this Internet video from the data block that sequence number is 101, then Allotment Serial Number be 101 to 300 data block store the network video data of this Internet video.Now, when the different progress of first this Internet video of broadcasting, the network video data at different progress place can be stored in corresponding data block.Such as, if current first time plays the video at 200K place, then because 200K before this network video data needs 50 data blocks taking in the data block of distribution, if and store the network video data of this Internet video from the data block that sequence number is 101, then from the network video data of the 151st data BOB(beginning of block) storage from 200K.Now, when follow-up again need to play Internet video from 200K place time, can from local load networks video data.Such as, if current second time playing progress rate is the Internet video at 200K place, then due to first time play the Internet video that this 200K starts time, the network video data that this 200K starts is stored in the data block of sequence number from the 151st, therefore, the network video data that 200K starts is loaded the data block that can be 151 from sequence number.
In addition, in order to determine the local the data block whether network video data at different progress place being stored to correspondence easily, each data block can comprise header information and data division.Wherein, the header information of each data block is for identifying the local network video data whether storing correspondence.Such as, header information can comprise the local preset number whether storing corresponding network video data of mark, and different preset number represents different information.Such as, can represent in this data block by numeral 0 and store corresponding network video data, represent in this data block by numeral 1 and also do not store corresponding network video data, represent corresponding to server request network video data by numeral 2.
In conjunction with foregoing, when the mode by dividing data block is when the network video data at the different progress places of local storage networking video, judge the local mode whether storing objective network video data corresponding to current playing progress rate information, include but not limited to: the data block information stored in this locality according to Internet video and current playing progress rate information, search the target data block for storing objective network video data, and according to the header information of target data block, judge locally whether store objective network video data corresponding to current playing progress rate information.
Wherein, in the data block information stored in this locality according to Internet video and current playing progress rate information, when searching target data block, include but not limited to that 202A-202C realizes as follows:
202A, determine the total size of the video data of Internet video, and all data blocks of video data according to the local storage networking video of the total acquiring size of video data, using all data blocks of the video data of local storage networking video as data block information.
Wherein, determine the mode of the total size of network video data and above-mentioned when being divided in the data block of network video data of local storage networking video for Internet video herein, determine that the principle of the total size of the video data of Internet video is consistent, specifically see the above-mentioned principle determining the total size of the video data of Internet video, can repeat no more herein.
When all data blocks of the network video data according to the local storage networking video of the total acquiring size of video data, first can obtain the sequence number of the initial data block of the network video data storing this Internet video, and be total up to the sum of data block that this Internet video divides, thus obtain all data blocks of the network video data of local storage networking video according to the sequence number of initial data block with for the sum of the data block of this Internet video division.Such as, if store the network video data of this Internet video from the data block that sequence number is 101, and the network video data of this Internet video needs 200 data blocks altogether, be then that the data block of 101 to 300 is as all data blocks of the network video data of this Internet video of storage got using sequence number.
202B, determine objective network video data size, using objective network video data size as current playing progress rate information.
About the mode determining objective network video data size, disclosure embodiment does not do concrete restriction.During concrete enforcement, can to this objective network video data size of server lookup.Wherein, objective network video data size is for identifying the size of the network video data at current playing progress rate place.Such as, if the size of the network video data at current playing progress rate place is 200K, then objective network video data size is 200K.
202C, according to all data blocks, the total size of video data and objective network video data size, search target data block.
About according to all data blocks, the total size of video data and objective network video data size, search the mode of target data block, include but not limited to according to all data blocks, the total size of video data and objective network video data size determination target data block, thus search the target data block determined and realize.
Such as, if the network video data being total up to this Internet video has divided 200 data blocks, and from the data block that sequence number is 101, store the network video data of this Internet video, and objective network video data size is 200K, the data capacity of each data block is 4K, front 50 data blocks then will be used to store from 0K to 200K, namely the data block being 101 to 150 from sequence number will store the network video data before this current playing progress rate information, from the data block that sequence number is 151, store objective network video data.Therefore, the data block from the data block that sequence number is 151 is target data block, therefore, need to search from sequence number be data block 151.
Further, at the header information according to target data block, judge local when whether storing objective network video data corresponding to current playing progress rate information, if use preset number to represent local in data block whether store corresponding network video data, then can the numeral comprised in the header information of query aim data block, and determine whether this locality stores objective network video data according to this numeral.In conjunction with the above-mentioned concrete example to header information, if the numeral in the header information of target data block is 0, then represent that this locality has stored objective network video data.
In step S203, from local loaded targets network video data, and according to objective network video data playing network video.
Wherein, in order to ensure obtaining objective network video data from this locality, before local loaded targets network video data, also need: according to objective network video data size, determine the target data block storing objective network video data in this locality; Objective network video data is stored in target data block.
Such as, if the data capacity of each data block is 4K, objective network video data is the network video data from 200K, namely the data block being 101 to 150 from sequence number will store the network video data before this current playing progress rate information, and stores objective network video data from the data block that sequence number is 151.Therefore, objective network video data is stored to from sequence number be in the data block 151.
In step S204, to server request objective network video data, and the objective network video data that reception server returns, according to the objective network video data playing network video received.
About the mode to server request objective network video data, disclosure embodiment does not do concrete restriction.During concrete enforcement, include but not limited to the mark of objective network video to be sent to server, make server return objective network video data according to objective network video data identification.In addition, objective network video data size can also be sent to server, make server return the network video data from this objective network video data size beginning according to objective network video data size.
About the mode of the objective network video data that reception server returns, disclosure embodiment does not do concrete restriction equally.It should be noted that, in order to make follow-up again ask the Internet video at this current playing progress rate information place time, can directly load this objective network video data from this locality, the objective network video data of reception can be stored in target data block.Wherein, the objective network video data of reception is stored to mode in target data block consistent with above-mentioned principle objective network video data being stored in target data block, specifically see foregoing, can repeat them here.
In addition, when according to objective network video data playing network video, Internet video that can be corresponding according to this objective network video playback current playing progress rate information.
The method that disclosure embodiment provides, after judging that this locality stores objective network video data corresponding to current playing progress rate information, directly from local loaded targets network video data, thus according to this objective network video data playing network video.Now, when player need not in the same time repeat playing a certain section of Internet video time, all can from local loaded targets network video data.Because the speed from local load networks video data is much larger than the speed to server request network video data, therefore, the waiting time of playing network video can not only be reduced, and can customer flow be saved from local load networks video data.
Fig. 3 is the block diagram of the playing device of a kind of Internet video according to an exemplary embodiment.With reference to Fig. 3, this device comprises acquisition module 301, judge module 302, load-on module 303 and playing module 304, wherein:
This acquisition module 301 is configured to the current playing progress rate information obtaining Internet video;
This judge module 302 is configured to judge whether this locality stores objective network video data corresponding to current playing progress rate information;
This load-on module 303 is configured to when this locality stores objective network video data, from local loaded targets network video data;
This playing module 304 is configured to according to objective network video data playing network video.
Alternatively, see Fig. 4, judge module 302, comprises and searches unit 3021 and judging unit 3022, wherein:
Search data block information and current playing progress rate information that unit 3021 is configured to store in this locality according to Internet video, search target data block, wherein, target data block is assigned to for storing objective network video data;
Judging unit 3022 is configured to the header information according to target data block, judge whether this locality stores objective network video data corresponding to current playing progress rate information, wherein, whether the header information of each data block stores network video data corresponding to each data block for identifying this locality.
Alternatively, see Fig. 5, search unit 3021, comprise first determine subelement 30211, obtain subelement 30212, second determine subelement 30213 and search subelement 30214, wherein:
First determines that subelement 30211 is configured to determine the total size of the video data of Internet video;
Obtain all data blocks that subelement 30212 is configured to the network video data according to the local storage networking video of the total acquiring size of video data, using all data blocks of local storage networking video data as data block information;
Second determines that subelement 30213 is configured to determine objective network video data size, using objective network video data size as current playing progress rate information;
Search subelement 30214 to be configured to, according to all data blocks, the total size of video data and objective network video data size, search target data block.
Alternatively, see Fig. 6, search unit 3021, also comprise the 3rd and determine subelement 30215 and divide subelement 30216, wherein:
3rd determines that subelement 30215 is configured to determine the total size of video data, and determines the data capacity of each data block stored video data pre-set;
Dividing subelement 30216 is configured to according to the total size of video data and data capacity, is the data block that Internet video divides default value in this locality, and wherein, the data block of default value is used at local storage networking video data.
Alternatively, see Fig. 7, device, also comprises determination module 305 and memory module 306, wherein:
Determination module 305 is configured to according to objective network video data size, determines the target data block storing objective network video data in this locality;
Memory module 306 is configured to objective network video data to be stored in target data block.
Alternatively, see Fig. 8, device, also comprises request module 307 and receiver module 308, wherein:
Request module 307 is configured to when this locality does not store objective network video data, to server request objective network video data;
Receiver module 308 is configured to the objective network video data that reception server returns;
Playing module 304 is configured to the objective network video data playing network video according to receiving.
The device that disclosure embodiment provides, after judging that this locality stores objective network video data corresponding to current playing progress rate information, directly from local loaded targets network video data, thus according to this objective network video data playing network video.Now, when player need not in the same time repeat playing a certain section of Internet video time, all can from local loaded targets network video data.Because the speed from local load networks video data is much larger than the speed to server request network video data, therefore, the waiting time of playing network video can not only be reduced, and can customer flow be saved from local load networks video data.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 9 is the block diagram of the playing device 900 of a kind of Internet video according to an exemplary embodiment.Such as, device 900 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 902, memory 904, power supply module 906, multimedia groupware 908, audio-frequency assembly 910, I/O (Input/Output, I/O) interface 912, sensor cluster 914, and communications component 916.
The integrated operation of the usual control device 900 of processing components 902, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 902 can comprise one or more processor 920 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 902 can comprise one or more module, and what be convenient between processing components 902 and other assemblies is mutual.Such as, processing components 902 can comprise multi-media module, mutual with what facilitate between multimedia groupware 908 and processing components 902.
Memory 904 is configured to store various types of data to be supported in the operation of device 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 904 can be realized by the volatibility of any type or non-volatile memory device or their combination, as SRAM (Static Random Access Memory, static RAM), EEPROM (Electrically-Erasable Programmable Read-Only Memory, Electrically Erasable Read Only Memory), EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM), PROM (Programmable Read-Only Memory, programmable read only memory), ROM (Read-Only Memory, read-only memory), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 906 is device 900 provide electric power.Power supply module 906 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 900 and be associated.
Multimedia groupware 908 is included in the screen providing an output interface between described device 900 and user.In certain embodiments, screen can comprise LCD (Liquid Crystal Display, liquid crystal display) and TP (Touch Panel, touch panel).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 908 comprises a front-facing camera and/or post-positioned pick-up head.When device 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to export and/or input audio signal.Such as, audio-frequency assembly 910 comprises a MIC (Microphone, microphone), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 904 further or be sent via communications component 916.In certain embodiments, audio-frequency assembly 910 also comprises a loud speaker, for output audio signal.
I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 914 comprises one or more transducer, for providing the state estimation of various aspects for device 900.Such as, sensor cluster 914 can detect the opening/closing state of device 900, the relative positioning of assembly, such as assembly is display and the keypad of device 900, the position of all right checkout gear 900 of sensor cluster 914 or device 900 1 assemblies changes, the presence or absence that user contacts with device 900, the variations in temperature of device 900 orientation or acceleration/deceleration and device 900.Sensor cluster 914 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 914 can also comprise optical sensor, as CMOS (Complementary Metal Oxide Semiconductor, CMOS (Complementary Metal Oxide Semiconductor)) or CCD (Charge-coupled Device, charge coupled cell) imageing sensor, for using in imaging applications.In certain embodiments, this sensor cluster 914 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 916 is configured to the communication being convenient to wired or wireless mode between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 916 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 916 also comprises NFC (Near Field Communication, near-field communication) module, to promote junction service.Such as, can based on RFID (Radio Frequency Identification in NFC module, radio-frequency (RF) identification) technology, IrDA (Infra-red Data Association, Infrared Data Association) technology, UWB (Ultra Wideband, ultra broadband) technology, BT (Bluetooth, bluetooth) technology and other technologies realize.
In the exemplary embodiment, device 900 can by one or more ASIC (Application Specific Integrated Circuit, application specific integrated circuit), DSP (Digital signal Processor, digital signal processor), DSPD (Digital signal Processor Device, digital signal processing appts), PLD (Programmable Logic Device, programmable logic device), FPGA) (Field Programmable Gate Array, field programmable gate array), controller, microcontroller, microprocessor or other electronic components realize, for performing said method.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 904 of instruction, above-mentioned instruction can perform said method by the processor 920 of device 900.Such as, described non-transitory computer-readable recording medium can be ROM, RAM (Random Access Memory, random access memory), CD-ROM (Compact Disc Read-Only Memory, compact disc read-only memory), tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device, make device can perform a kind of player method of Internet video, described method comprises:
Obtain the current playing progress rate information of Internet video;
Judge whether this locality stores objective network video data corresponding to current playing progress rate information;
If this locality stores objective network video data, then from local loaded targets network video data, and according to objective network video data playing network video.
Suppose that above-mentioned is the first possible execution mode, in the execution mode that the second then provided based on the execution mode that the first is possible is possible, in the memory of device, also comprise the instruction for performing following operation: judge whether this locality stores objective network video data corresponding to current playing progress rate information, comprising:
The data block information stored in this locality according to Internet video and current playing progress rate information, search target data block, and wherein, target data block is assigned to for storing objective network video data;
According to the header information of target data block, judge whether this locality stores objective network video data corresponding to current playing progress rate information, wherein, the header information of each data block is for identifying the local network video data whether storing correspondence.
In the third the possible execution mode provided based on the execution mode that the second is possible, in the memory of device, also comprise the instruction for performing following operation: the data block information stored in this locality according to Internet video and current playing progress rate information, search target data block, comprising:
Determine the total size of the video data of Internet video, and all data blocks of video data according to the local storage networking video of the total acquiring size of video data, using all data blocks of the video data of local storage networking video as data block information;
Determine objective network video data size, using objective network video data size as current playing progress rate information;
According to all data blocks, the total size of video data and objective network video data size, search target data block.
In the 4th kind of possible execution mode provided based on the execution mode that the third is possible, in the memory of device, also comprise the instruction for performing following operation: according to all data blocks, the total size of video data and objective network video data size, before searching target data block, also comprise:
Determine the total size of video data, and determine the data capacity of each data block stored video data pre-set;
According to the total size of video data and data capacity, be the data block that Internet video divides default value in this locality, wherein, the data block of default value is used for the video data at local storage networking video.
In the 5th kind of possible execution mode provided based on the 4th kind of possible execution mode, in the memory of device, also comprising the instruction for performing following operation: before local loaded targets network video data, also comprising:
According to objective network video data size, determine the target data block storing objective network video data in this locality;
Objective network video data is stored in target data block.
In the 6th kind of possible execution mode provided based on the execution mode that the first is possible, in the memory of device, also comprise the instruction for performing following operation: after judging whether this locality stores objective network video data corresponding to current playing progress rate information, also comprise:
If this locality does not store objective network video data, then to server request objective network video data;
The objective network video data that reception server returns;
According to objective network video data playing network video, comprising:
According to the objective network video data playing network video received.
The non-transitory computer-readable recording medium that disclosure embodiment provides, after judging that this locality stores objective network video data corresponding to current playing progress rate information, directly from local loaded targets network video data, thus according to this objective network video data playing network video.Now, when player need not in the same time repeat playing a certain section of Internet video time, all can from local loaded targets network video data.Because the speed from local load networks video data is much larger than the speed to server request network video data, therefore, the waiting time of playing network video can not only be reduced, and can customer flow be saved from local load networks video data.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (13)

1. a player method for Internet video, is characterized in that, described method comprises:
Obtain the current playing progress rate information of Internet video;
Judge whether this locality stores objective network video data corresponding to described current playing progress rate information;
If this locality stores described objective network video data, then load described objective network video data from this locality, and play described Internet video according to described objective network video data.
2. method according to claim 1, is characterized in that, describedly judges local whether to store objective network video data corresponding to described current playing progress rate information, comprising:
The data block information stored in this locality according to described Internet video and described current playing progress rate information, search target data block, and described target data block is assigned to for storing described objective network video data;
According to the header information of described target data block, judge whether this locality stores objective network video data corresponding to described current playing progress rate information, wherein, whether the header information of each data block stores network video data corresponding to each data block for identifying this locality.
3. method according to claim 2, is characterized in that, the data block information stored in this locality according to described Internet video and described current playing progress rate information, searches target data block, comprising:
Determine the total size of the video data of described Internet video, and all data blocks of the network video data of described Internet video are stored according to described video data total acquiring size this locality, described this locality is stored all data blocks of described network video data as described data block information;
Determine described objective network video data size, using described objective network video data size as described current playing progress rate information;
According to described all data blocks, the total size of described video data and described objective network video data size, search target data block.
4. method according to claim 3, is characterized in that, described according to described all data blocks, the total size of described video data and described objective network video data size, before searching target data block, also comprises:
Determine the total size of described video data, and determine the data capacity of each data block stored video data pre-set;
According to the total size of described video data and described data capacity, be the data block that described Internet video divides default value in this locality, the data block of described default value is used for storing described network video data in this locality.
5. method according to claim 4, is characterized in that, described load described objective network video data from this locality before, also comprise:
According to described objective network video data size, determine the target data block storing described objective network video data in this locality;
Described objective network video data is stored in described target data block.
6. method according to claim 1, is characterized in that, described judge local whether store objective network video data corresponding to described current playing progress rate information after, also comprise:
If this locality does not store described objective network video data, then to objective network video data described in server request;
Receive the described objective network video data that described server returns;
Describedly play described Internet video according to described objective network video data, comprising:
Objective network video data according to receiving plays described Internet video.
7. a playing device for Internet video, is characterized in that, described device comprises:
Acquisition module, for obtaining the current playing progress rate information of Internet video;
Judge module, for judging whether this locality stores objective network video data corresponding to described current playing progress rate information;
Load-on module, during for storing described objective network video data when this locality, loads described objective network video data from this locality;
Playing module, for playing described Internet video according to described objective network video data.
8. device according to claim 7, is characterized in that, described judge module, comprising:
Search unit, for the data block information that stores in this locality according to described Internet video and described current playing progress rate information, search target data block, described target data block is assigned to for storing described objective network video data;
Judging unit, for the header information according to described target data block, judge whether this locality stores objective network video data corresponding to described current playing progress rate information, wherein, whether the header information of each data block stores network video data corresponding to each data block for identifying this locality.
9. device according to claim 8, is characterized in that, searches unit, comprising:
First determines subelement, for determining the total size of the video data of described Internet video;
Obtain subelement, for storing all data blocks of the network video data of described Internet video according to described video data total acquiring size this locality, described this locality is stored all data blocks of described network video data as described data block information;
Second determines subelement, for determining described objective network video data size, using described objective network video data size as described current playing progress rate information;
Search subelement, for according to described all data blocks, the total size of described video data and described objective network video data size, search target data block.
10. device according to claim 9, is characterized in that, described in search unit, also comprise:
3rd determines subelement, for determining the total size of described video data, and determines the data capacity of each data block stored video data pre-set;
Divide subelement, for according to the total size of described video data and described data capacity, be the data block that described Internet video divides default value in this locality, the data block of described default value is used for storing described network video data in this locality.
11. devices according to claim 10, is characterized in that, described device, also comprises:
Determination module, for according to described objective network video data size, determines the target data block storing described objective network video data in this locality;
Memory module, for being stored in described target data block by described objective network video data.
12. devices according to claim 7, is characterized in that, described device, also comprises:
Request module, during for not storing described objective network video data when this locality, to objective network video data described in server request;
Receiver module, for receiving the described objective network video data that described server returns;
Described playing module, for playing described Internet video according to the objective network video data received.
The playing device of 13. 1 kinds of Internet videos, is characterized in that, described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the current playing progress rate information of Internet video;
Judge whether this locality stores objective network video data corresponding to described current playing progress rate information;
If this locality stores described objective network video data, then load described objective network video data from this locality, and play described Internet video according to described objective network video data.
CN201410482656.1A 2014-09-19 2014-09-19 Playback method and device of network video Pending CN104320707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410482656.1A CN104320707A (en) 2014-09-19 2014-09-19 Playback method and device of network video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410482656.1A CN104320707A (en) 2014-09-19 2014-09-19 Playback method and device of network video

Publications (1)

Publication Number Publication Date
CN104320707A true CN104320707A (en) 2015-01-28

Family

ID=52375864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410482656.1A Pending CN104320707A (en) 2014-09-19 2014-09-19 Playback method and device of network video

Country Status (1)

Country Link
CN (1) CN104320707A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959800A (en) * 2016-06-01 2016-09-21 乐视控股(北京)有限公司 Video decryption method and device
CN107396136A (en) * 2017-08-22 2017-11-24 深圳创维-Rgb电子有限公司 A kind of video data acquisition methods, device, server and medium
CN107968957A (en) * 2016-10-20 2018-04-27 法乐第(北京)网络科技有限公司 Video broadcasting method and device
CN111294623A (en) * 2019-08-29 2020-06-16 北京达佳互联信息技术有限公司 Video playing method and device, electronic equipment and storage medium
CN114257879A (en) * 2021-12-17 2022-03-29 深圳市瑞云科技有限公司 Method and system for playing video
US11516547B2 (en) * 2018-11-14 2022-11-29 Oktein Technology Ltd Multi-file streaming media delivery system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447994A (en) * 2008-12-30 2009-06-03 深圳市迅雷网络技术有限公司 Method for downloading and playing multimedia file and equipment thereof
US20100150522A1 (en) * 2008-12-16 2010-06-17 At&T Intellectual Property I, L.P. System and Method to Display a Progress Bar
CN102075792A (en) * 2010-12-23 2011-05-25 华为技术有限公司 Video file playing method and system, user equipment and server equipment
CN102624972A (en) * 2011-03-14 2012-08-01 北京小米科技有限责任公司 Method for mobile equipment to play audio and video program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100150522A1 (en) * 2008-12-16 2010-06-17 At&T Intellectual Property I, L.P. System and Method to Display a Progress Bar
CN101447994A (en) * 2008-12-30 2009-06-03 深圳市迅雷网络技术有限公司 Method for downloading and playing multimedia file and equipment thereof
CN102075792A (en) * 2010-12-23 2011-05-25 华为技术有限公司 Video file playing method and system, user equipment and server equipment
CN102624972A (en) * 2011-03-14 2012-08-01 北京小米科技有限责任公司 Method for mobile equipment to play audio and video program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959800A (en) * 2016-06-01 2016-09-21 乐视控股(北京)有限公司 Video decryption method and device
CN107968957A (en) * 2016-10-20 2018-04-27 法乐第(北京)网络科技有限公司 Video broadcasting method and device
CN107396136A (en) * 2017-08-22 2017-11-24 深圳创维-Rgb电子有限公司 A kind of video data acquisition methods, device, server and medium
US11516547B2 (en) * 2018-11-14 2022-11-29 Oktein Technology Ltd Multi-file streaming media delivery system and method
CN111294623A (en) * 2019-08-29 2020-06-16 北京达佳互联信息技术有限公司 Video playing method and device, electronic equipment and storage medium
CN114257879A (en) * 2021-12-17 2022-03-29 深圳市瑞云科技有限公司 Method and system for playing video
CN114257879B (en) * 2021-12-17 2023-05-12 深圳市瑞云科技有限公司 Method and system for playing video

Similar Documents

Publication Publication Date Title
CN105430487A (en) Multimedia data playing method, device and system
CN104834665A (en) Target picture acquiring method and device
CN104618218A (en) Information reminding method and device
CN105338409A (en) Network video pre-loading method and device
CN104320707A (en) Playback method and device of network video
CN105095345A (en) Method and device for prompting push message
CN105263196A (en) Connection state prompting method and device
CN105516270A (en) Information push method and device
CN103973900B (en) The method of transmission information and device
CN104391711A (en) Method and device for setting screen protection
CN104639972A (en) Content sharing method, device and equipment
CN104933071A (en) Information retrieval method and corresponding device
CN103970576A (en) Installation information displaying method, obtaining method and device
CN105224171A (en) icon display method, device and terminal
CN105138564A (en) Data file reading method and apparatus
CN105208176A (en) Contact record processing method and device
CN104702988A (en) AV (Audio/Video) playing method and device
CN105242837A (en) Application page acquisition method and terminal
CN105677164A (en) Page selection method and device
CN104503762A (en) Device and method for identifying electronic accessory
CN104486295A (en) Audio playing method and device
CN105430469A (en) Method and device for playing audio/video data, terminal and server
CN105426065A (en) Browsing position marking method and device
CN105188024A (en) Method, apparatus and system for accessing network
CN105094525A (en) Method and device for adjusting icons of application programs

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20150128