CN106210905A - Video playing method, device and terminal - Google Patents
Video playing method, device and terminal Download PDFInfo
- Publication number
- CN106210905A CN106210905A CN201610647971.4A CN201610647971A CN106210905A CN 106210905 A CN106210905 A CN 106210905A CN 201610647971 A CN201610647971 A CN 201610647971A CN 106210905 A CN106210905 A CN 106210905A
- Authority
- CN
- China
- Prior art keywords
- video
- network
- terminal
- video file
- preset
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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/47202—End-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 requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4335—Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management 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/4508—Management of client data or end-user data
- H04N21/4532—Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, preferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64723—Monitoring of network processes or resources, e.g. monitoring of network load
- H04N21/64738—Monitoring network characteristics, e.g. bandwidth, congestion level
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a video playing method, which comprises the steps of detecting the network type of a network where a terminal is currently located; judging whether the network type of the current network is a preset network type or not; when the network type of the current network is determined to be the preset network type, downloading a video file according to a preset video play list; and when a video playing request is received, playing the video file selected by the video playing request. The invention also provides a video playing device and a terminal. By adopting the invention, the terminal can download the video file in advance and then play the video file, thereby effectively avoiding the situation that the terminal needs to pay when watching the online video in a paying network environment, reducing the use cost of the user, ensuring the playing quality and improving the user experience.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of video broadcasting method, device and terminal.
Background technology
At present, along with the development of network technology, it is more and more universal that user watches video online by mobile terminal.
But, current free nets is not popularized for being seen everywhere, as user mostly can only wifi free nets use at home, on the way
Mostly it is to use payment networks.Therefore, if when user does not needs to watch video online under free nets environment, due to terminal
Could play after need to being downloaded Online Video, therefore terminal need to use paying flow to be downloaded broadcasting, which increases use
The use cost at family.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that a kind of video broadcasting method, device and terminal.Can
With the problem solving how to avoid terminal need to carry out paying when carrying out under payment networks environment and watch Online Video.
In order to solve above-mentioned technical problem, embodiments providing a kind of video broadcasting method, described method includes:
Detection terminal is presently in network of network type;
It is presently in described in judgement whether network of network type is preset network type;
When being presently in network of network type described in determining and being described preset network type, according to preset video
Playlist downloading video files;
When receiving video playback request, play the video file that described video playback asks to choose.
Wherein, described detection terminal includes before being presently in network of network type:
Video play lists request is sent, to ask video play lists to described video server to video server;
Receive video server and respond the video play lists that the request of described video play lists returns.
Wherein, described video play lists includes at least one video file information;
Described include according to preset video play lists downloading video files:
Obtain the video preference record of user;
Video preference record according to described user obtains inclined with the video of described user from described video play lists
First video file information of good record matching;
Download the video file that described first video file information is corresponding.
Wherein, described detection terminal includes before being presently in network of network type:
Show that preset video type list, described video type list include at least one video type;
Obtain the video type that user carries out selecting for described video type list;
Described include according to preset video play lists downloading video files:
Second video file information corresponding with described video type is obtained in described video play lists;
Download the video file that described second video file information is corresponding.
Wherein, described include according to preset video play lists downloading video files:
Obtain the size of described video file;
Judge that whether the size of described video file is more than or equal to the first threshold preset;
When the size judging described video file is more than or equal to described first threshold, described video file is pressed
Contracting is downloaded.
Wherein, described when receiving video playback request, play the described video playback video file chosen of request it
After include:
Whether the size of detection memory space is less than or equal to the Second Threshold preset;
When the size of described memory space being detected less than or equal to described default Second Threshold, regarding of being stored
Frequency file determines the video file play;
The video file play described in deletion.
The present invention also provides for a kind of video play device, is applied to terminal, and described device includes:
First detector unit, is used for detecting terminal and is presently in network of network type;
Judging unit, is presently in whether network of network type is preset network type described in judging;
Download unit, it is described preset for being used for when being presently in network of network type described in the judgement of described judging unit
During network type, according to preset video play lists downloading video files;
Broadcast unit, for when receiving video playback request, plays the video literary composition that the request of described video playback is chosen
Part.
Wherein, described device includes:
Transmitting element, for sending video play lists request to video server, to ask to described video server
Video play lists;
Receive unit, respond, for receiving video server, the video playback row that the request of described video play lists returns
Table.
Wherein, described video play lists includes at least one video file information;
Described download unit includes:
First obtains subelement, for obtaining the video preference record of user;
Second obtains subelement, for obtaining from described video play lists according to the video preference record of described user
The first video file information with the video preference record matching of described user;
First time subelements, for downloading the video file that described first video file information is corresponding.
Wherein, described device includes:
Display unit, for showing that preset video type list, described video type list include at least one video
Type;
First acquiring unit, for obtaining the video type that user carries out selecting for described video type list;
Described download unit also includes:
3rd obtains subelement, regards for obtaining second corresponding with described video type in described video play lists
Frequency file information;
Second time subelements, for downloading the video file that described second video file information is corresponding.
Wherein, described download unit also includes:
4th obtains subelement, for obtaining the size of described video file;
Judgment sub-unit, for judging that whether the size of described video file is more than or equal to the first threshold preset;
3rd time subelements, for judging that when described judgment sub-unit the size of described video file is more than or equal to institute
When stating first threshold, it is compressed described video file downloading.
Wherein, described device also includes:
Whether second detector unit, for detecting the size of memory space less than or equal to the Second Threshold preset;
Determine unit, for detecting that when described second detector unit the size of described memory space is less than or equal to described
During the Second Threshold preset, the video file stored determines the video file play;
Delete unit, be used for the video file play described in deleting.
The present invention also provides for a kind of terminal, and described terminal includes:
Housing, processor, memorizer, circuit board and power circuit, wherein, described circuit board is placed in described housing and surrounds
Interior volume, described processor and described memorizer are arranged on described circuit board;Described power circuit, was used for as described end
Each circuit or the device of end are powered;Described memorizer is used for storing executable program code;Described processor is by reading institute
State the executable program code of storage in memorizer and run the program corresponding with described executable program code, for execution
Following steps:
Detection terminal is presently in network of network type;
It is presently in described in judgement whether network of network type is preset network type;
When being presently in network of network type described in determining and being described preset network type, according to preset video
Playlist downloading video files;
When receiving video playback request, play the video file that described video playback asks to choose.
In embodiments of the present invention, detection terminal be presently in network of network type, it is judged that described in be presently in network
The most preset network type of network type, being presently in network of network type described in determine is described preset network
During type, according to preset video play lists downloading video files, and when receiving video playback request, regard described in broadcasting
Frequently the video file that playing request is chosen, this terminal can be carried out in advance under preset network type downloading video files is again
Play out, effectively prevent the situation that terminal carries out carrying out paying when watching Online Video under payment networks environment, fall
Low customer using cost, and ensure play quality, promote Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of a kind of video broadcasting method that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of a kind of video broadcasting method that the embodiment of the present invention provides;
Fig. 3 is the 3rd embodiment schematic flow sheet of a kind of video broadcasting method that the embodiment of the present invention provides;
Fig. 4 is the first embodiment structure chart of a kind of video play device that the embodiment of the present invention provides;
Fig. 5 is the first embodiment structure chart of a kind of terminal that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
In embodiments of the present invention, described terminal comprises the steps that mobile phone, panel computer, palm PC or moves mutually
Networked devices (Mobile Internet Device, MID) etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to
Above-mentioned electronic equipment.
Below in conjunction with accompanying drawing 1-accompanying drawing 3, the video broadcasting method providing the embodiment of the present invention describes in detail, its
In, the executive agent of embodiment is terminal.
Refer to Fig. 1, for the first embodiment schematic flow sheet of a kind of video broadcasting method that the embodiment of the present invention provides.
As it is shown in figure 1, a kind of video broadcasting method described in the present embodiment includes step:
S100, detection terminal is presently in network of network type.
In embodiments of the present invention, terminal can obtain the video play lists that video server pushes, as terminal obtains
The video play lists that Online Video website pushes to terminal, terminal can carry out online request download by video play lists and regard
Frequency file plays out.Concrete, terminal obtains the video play lists of video server propelling movement it may also is that terminal is to video
Server sends video play lists request, to ask video play lists to video server, and receives video server sound
Answer the video play lists that video play lists request returns.Wherein, video play lists can include at least one video literary composition
Part information, video file information comprises the steps that video files names, video type, video file download link, the contracting of video file
The video file associated information such as sketch map.
In embodiments of the present invention, network type can include free nets type and payment networks type.Wherein, freenet
Network type can include that WIFI network, payment networks type can include the networks such as 2G/3G/4G.Concrete, terminal detection terminal is current
Residing network of network type can include obtaining the network type parameters that terminal is current connected, it is judged that network type parameters is to belong to
In free nets type or payment networks type.In a particular application, can be such as: terminal detection terminal is presently in network
When network type is WIFI network, terminal can determine whether that the network type that terminal is presently in is free nets type.
In embodiments of the present invention, terminal can detect terminal in real time and be presently in network of network type, or user can
Operation terminal triggering terminal detection terminal is presently in network of network type.
S101, it is judged that described in be presently in the network type that network of network type is the most preset.
In embodiments of the present invention, preset network type can be free nets type, such as WIFI network, or also may be used
To be other free nets types, user can be configured voluntarily.Terminal may determine that and is presently in network of network type ginseng
Number is belonging to free nets type or payment networks type.
S102, when being presently in network of network type described in determining and being described preset network type, according to preset
Video play lists downloading video files.
In embodiments of the present invention, when terminal determines that network type is preset network type, terminal can be according to preset
Video play lists foradownloaded video playlist in video file, and the video file of download is stored to preset storage
In region, as terminal can all of video file in foradownloaded video playlist, or download the video file specified.
In embodiments of the present invention, when terminal is before being downloaded video file, and terminal can obtain the big of video file
Little, it is judged that the size of video file whether more than or equal to the first threshold preset, be more than when the size judging video file or
During equal to first threshold, video file will be compressed downloading by terminal, and wherein, first threshold can be the memory space of terminal
Size.Concrete, terminal is compressed download and may is that video file is entered to video server request by terminal video file
Row compression, video server can respond the request of terminal and be compressed video file, and the video after terminal returns compression
File, terminal can receive the video file after the compression that video server sends, and wherein, terminal may also require that video server pressure
The size of the video file after contracting less than or equal to preset numerical value, wherein, preset numerical value user can sets itself, at this not
Limit.
S103, when receiving video playback request, plays the video file that described video playback asks to choose.
In embodiments of the present invention, user can for video play lists carry out select play operation, terminal can according to
The selection play operation at family gets video playback request, and the video file that acquisition playing request is chosen from memory area enters
Row is play.This effectively prevent the situation that terminal carries out carrying out paying when watching Online Video under payment networks environment, and
And avoid the situation that gets stuck occurred when terminal download limit in limit when playing video file is play, ensure the play quality of terminal.
In embodiments of the present invention, terminal is after downloading video files, and the size that also can detect memory space is the least
In Poria in default Second Threshold, and when size memory space being detected is less than or equal to the Second Threshold preset,
The video file stored determines the video file play, deletes the video file play.Concrete, work as terminal plays
During video file, terminal is added to this video file and be play label, and therefore, terminal is being determined the video file play
Time, terminal can play out tag recognition to the video file of storage, is defined as broadcasting by carrying the video file playing label
The video file put.Further, terminal can delete, by preset deletion rule, the video file play, as terminal can be by broadcasting
The priority putting the time deletes the video file play one by one, until the size of memory space is more than or equal to the second threshold preset
Value, or, terminal can delete, by the length of playout length, the video file play one by one, until the size of memory space is big
In or equal to the Second Threshold preset, or, terminal can all delete the video file play, and this makes the terminal can be effective
Avoid the memory space that video file occupied terminal is bigger.Wherein, Second Threshold user can sets itself, be not intended at this.?
In the embodiment of the present invention, when user is not desired to the video file play by terminal deletion, user can arrange collection label to it,
Thus the video file play carrying collection label can be added to the favorites list by terminal, it is to avoid to carrying collection label
The video file play delete by mistake.
Further, in embodiments of the present invention, when, after the video file that terminal deletion has been play, terminal can also continue to more
Newly downloaded new video file.
In embodiments of the present invention, the video file of download also can be shared to other terminal unit by terminal.
In embodiments of the present invention, terminal detection terminal be presently in network of network type, it is judged that described in be presently in
The network type that network of network type is the most preset, it is described preset for being presently in network of network type described in determine
During network type, according to preset video play lists downloading video files, and when receiving video playback request, play institute
Stating the video file that video playback asks to choose, this makes terminal can carry out foradownloaded video literary composition in advance under preset network type
Part plays out again, effectively prevent the feelings that terminal carries out carrying out paying when watching Online Video under payment networks environment
Condition, reduces customer using cost, and ensures play quality, promotes Consumer's Experience.
Refer to Fig. 2, for the second embodiment schematic flow sheet of a kind of video broadcasting method that the embodiment of the present invention provides.
As in figure 2 it is shown, a kind of video broadcasting method described in the present embodiment includes step:
S200, detection terminal is presently in network of network type.
S201, it is judged that described in be presently in the network type that network of network type is the most preset.
S202, when being presently in network of network type described in determining and being described preset network type, obtains user
Video preference record.
In embodiments of the present invention, when terminal determines that being presently in network of network type is preset network type,
Terminal can obtain the video preference record of user, wherein, the video preference record of user have recorded the video type of user preference,
The records such as the keyword of the video of user preference.
S203, obtains and the regarding of described user according to the video preference record of described user from described video play lists
At least one first video file information of the good record matching of frequency deviation.
In embodiments of the present invention, terminal obtains every video file information in video play lists, according to video literary composition
Part information judges whether and news preference record matching, the video type as included by terminal judges video file information whether with
Video type included by video preference record is consistent, if unanimously, terminal determines that this video file information is the video with user
First video file information of preference record matching.
S204, downloads the video file that described first video file information is corresponding.
In embodiments of the present invention, terminal can according to the video file download link included by the first video file information to
Video server request downloading video files, and the video file that the request receiving video server response terminal returns, thus
The video file that terminal downloads the first video file information is corresponding.
S205, when receiving video playback request, plays the video file that described video playback asks to choose.
In embodiments of the present invention, the detailed description of the invention of step S200, step S201 and step S205 can be found in above-mentioned
The detailed description of the invention of step S100, step S101 and step S103 in embodiment, is not repeated herein.
In embodiments of the present invention, terminal detection terminal be presently in network of network type, it is judged that described in be presently in
The network type that network of network type is the most preset, it is described preset for being presently in network of network type described in determine
During network type, according to preset video play lists downloading video files, and when receiving video playback request, play institute
Stating the video file that video playback asks to choose, this makes terminal can carry out foradownloaded video literary composition in advance under preset network type
Part plays out again, effectively prevent the feelings that terminal carries out carrying out paying when watching Online Video under payment networks environment
Condition, reduces customer using cost, and ensures play quality, promotes Consumer's Experience.
Refer to Fig. 3, for the 3rd embodiment schematic flow sheet of a kind of video broadcasting method that the embodiment of the present invention provides.
As it is shown on figure 3, a kind of video broadcasting method described in the present embodiment includes step:
S300, shows that preset video type list, described video type list include at least one video type.
In embodiments of the present invention, video type list can include at least one video type, and video type can be electricity
Depending on video type such as acute, film and documentary films, terminal can provide a user with video type list and carry out selecting interested regarding
Frequently type.Therefore, when user need to carry out the video type of self-defined video file to be downloaded, user-operable terminal shows
Show video type list, carry out selecting interested video type from the video type list of terminal demonstration.
S301, obtains the video type that user carries out selecting for described video type list.
In embodiments of the present invention, when, after terminal demonstration video type list, terminal can monitor user for terminal demonstration
The operation that carries out of video type list.When terminal monitoring to user carries out the behaviour of selection video type for video type list
When making, terminal can obtain the news type that user carries out selecting for the video type list of terminal demonstration.
S302, detection terminal is presently in network of network type.
S303, it is judged that described in be presently in the network type that network of network type is the most preset.
S304, when being presently in network of network type described in determining and being described preset network type, regards described
Playlist obtains second video file information frequently corresponding with described video type.
In embodiments of the present invention, terminal obtains every video file information in video play lists, according to video literary composition
Part information judges whether to mate with video type, the video type as included by terminal judges video file information whether with user
Preset video type is consistent, if unanimously, terminal determines that this video file information is the second video literary composition mated with video type
Part information.
S305, downloads the video file that described second video file information is corresponding.
In embodiments of the present invention, terminal can according to the video file download link included by the second video file information to
Video server request downloading video files, and the video file that the request receiving video server response terminal returns, thus
The video file that terminal downloads the second video file information is corresponding.
S306, when receiving video playback request, plays the video file that described video playback asks to choose.
In embodiments of the present invention, the detailed description of the invention of step S302, step S303 and step S306 can be found in above-mentioned
The detailed description of the invention of step S100, step S101 and step S103 in embodiment, is not repeated herein.
In embodiments of the present invention, terminal detection terminal be presently in network of network type, it is judged that described in be presently in
The network type that network of network type is the most preset, it is described preset for being presently in network of network type described in determine
During network type, according to preset video play lists downloading video files, and when receiving video playback request, play institute
Stating the video file that video playback asks to choose, this makes terminal can carry out foradownloaded video literary composition in advance under preset network type
Part plays out again, effectively prevent the feelings that terminal carries out carrying out paying when watching Online Video under payment networks environment
Condition, reduces customer using cost, and ensures play quality, promotes Consumer's Experience.
Below in conjunction with accompanying drawing 4 and accompanying drawing 5, the video play device providing the embodiment of the present invention describes in detail,
Wherein, video play device is applied to terminal, simply will be described explanation as a example by terminal below.
Refer to Fig. 4, for the first embodiment schematic flow sheet of a kind of video play device that the embodiment of the present invention provides.
As shown in Figure 4, described in the present embodiment, a kind of device includes:
First detector unit 100, is used for detecting terminal and is presently in network of network type.
Judging unit 200, is presently in whether network of network type is preset network type described in judging.
Download unit 300, it is described pre-for being used for when being presently in network of network type described in the judgement of described judging unit
During the network type put, according to preset video play lists downloading video files.
Broadcast unit 400, for when receiving video playback request, plays the video that described video playback asks to choose
File.
In embodiments of the present invention, terminal can obtain the video play lists that video server pushes, as terminal obtains
The video play lists that Online Video website pushes to terminal, terminal can carry out online request download by video play lists and regard
Frequency file plays out.Concrete, terminal obtains the video play lists of video server propelling movement it may also is that terminal is to video
Server sends video play lists request, to ask video play lists to video server, and receives video server sound
Answer the video play lists that video play lists request returns.Wherein, video play lists can include at least one video literary composition
Part information, video file information comprises the steps that video files names, video type, video file download link, the contracting of video file
The video file associated information such as sketch map.
In embodiments of the present invention, network type can include free nets type and payment networks type.Wherein, freenet
Network type can include that WIFI network, payment networks type can include the networks such as 2G/3G/4G.Concrete, the first detector unit 100
Detection terminal is presently in network of network type and can include obtaining the network type parameters that terminal is current connected, it is judged that network
Type parameter is belonging to free nets type or payment networks type.In a particular application, can be such as: the first detector unit
100 detection terminals are presently in network of network type when being WIFI network, and the first detector unit 100 can determine whether the current institute of terminal
The network type at place is free nets type.
In embodiments of the present invention, the first detector unit 100 can detect terminal in real time and be presently in network of network type,
Or user-operable terminal triggers the first detector unit 100 and detects terminal and be presently in network of network type.
In embodiments of the present invention, preset network type can be free nets type, such as WIFI network, or also may be used
To be other free nets types, user can be configured voluntarily.Judging unit 200 may determine that and is presently in network of network
Type parameter is belonging to free nets type or payment networks type.
In embodiments of the present invention, when judging unit 200 determines that network type is preset network type, download unit
The video file of download according to the video file in preset video play lists foradownloaded video playlist, and can be deposited by 300
In the memory area that storage is the most preset.
In embodiments of the present invention, when download unit 300 is before being downloaded video file, terminal can obtain video literary composition
The size of part, it is judged that whether the size of video file is more than or equal to the first threshold preset, when the size judging video file
During more than or equal to first threshold, video file will be compressed downloading by terminal, and wherein, first threshold can be depositing of terminal
Storage space size.Concrete, terminal is compressed download and may is that terminal is asked video to video server video file
File is compressed, and video server can respond the request of terminal and be compressed video file, and after terminal returns compression
Video file, terminal can receive video server send compression after video file, wherein, terminal may also require that video takes
Business device compression after video file size less than or equal to preset numerical value, wherein, preset numerical value user can sets itself,
It is not intended at this.
In embodiments of the present invention, user can carry out selecting play operation for video play lists, and broadcast unit 400 can
Selection play operation according to user gets video playback request, and obtains the video that playing request is chosen from memory area
File plays out.This effectively prevent the feelings that terminal carries out carrying out paying when watching Online Video under payment networks environment
Condition, and avoid the situation that gets stuck occurred when terminal download limit in limit when playing video file is play, ensure the broadcasting of terminal
Quality.
In embodiments of the present invention, terminal is after downloading video files, and the size that also can detect memory space is the least
In Poria in default Second Threshold, and when size memory space being detected is less than or equal to the Second Threshold preset,
The video file stored determines the video file play, deletes the video file play.Concrete, work as terminal plays
During video file, terminal is added to this video file and be play label, and therefore, terminal is being determined the video file play
Time, terminal can play out tag recognition to the video file of storage, is defined as broadcasting by carrying the video file playing label
The video file put.Further, terminal can delete, by preset deletion rule, the video file play, as terminal can be by broadcasting
The priority putting the time deletes the video file play one by one, until the size of memory space is more than or equal to the second threshold preset
Value, or, terminal can delete, by the length of playout length, the video file play one by one, until the size of memory space is big
In or equal to the Second Threshold preset, or, terminal can all delete the video file play, and this makes the terminal can be effective
Avoid the memory space that video file occupied terminal is bigger.Wherein, Second Threshold user can sets itself, be not intended at this.?
In the embodiment of the present invention, when user is not desired to the video file play by terminal deletion, user can arrange collection label to it,
Thus the video file play carrying collection label can be added to the favorites list by terminal, it is to avoid to carrying collection label
The video file play delete by mistake.
Further, in embodiments of the present invention, when, after the video file that terminal deletion has been play, terminal can also continue to more
Newly downloaded new video file.
In embodiments of the present invention, the video file of download also can be shared to other terminal unit by terminal.
Wherein, described device includes:
Transmitting element, for sending video play lists request to video server, to ask to described video server
Video play lists;
Receive unit, respond, for receiving video server, the video playback row that the request of described video play lists returns
Table.
Wherein, described playlist includes at least one video file information;
Described download unit 300 includes:
First obtains subelement, for obtaining the video preference record of user;
Second obtains subelement, for obtaining from described video play lists according to the video preference record of described user
At least one first video file information with the video preference record matching of described user;
First time subelements, for downloading the video file that described first video file information is corresponding.
Wherein, described device also includes:
Display unit, for showing that preset video type list, described video type list include at least one video
Type;
First acquiring unit, for obtaining the video type that user carries out selecting for described video type list;
Described download unit 400 also includes:
3rd obtains subelement, regards for obtaining second corresponding with described video type in described video play lists
Frequency file information;
Second time subelements, for downloading the video file that described second video file information is corresponding.
Described download unit 400 also includes:
4th obtains subelement, for obtaining the size of described video file;
Judgment sub-unit, for judging that whether the size of described video file is more than or equal to the first threshold preset;
3rd time subelements, for judging that when described judgment sub-unit the size of described video file is more than or equal to
When stating first threshold, it is compressed described video file downloading.
Described device also includes:
Whether second detector unit, for detecting the size of memory space less than or equal to the Second Threshold preset;
Determine unit, for the size of memory space being detected less than or equal to the preset when described second detector unit
During two threshold values, the video file stored determines the video file play;
Delete unit, be used for the video file play described in deleting.
Wherein it is possible to be understood by, the function of each functional module of the unit in the device of the present embodiment can be according to above-mentioned
Method in embodiment of the method implements, and it implements process and is referred to the associated description of said method embodiment, this
Place no longer repeats.
In embodiments of the present invention, terminal detection terminal be presently in network of network type, it is judged that described in be presently in
The network type that network of network type is the most preset, it is described preset for being presently in network of network type described in determine
During network type, according to preset video play lists downloading video files, and when receiving video playback request, play institute
Stating the video file that video playback asks to choose, this makes terminal can carry out foradownloaded video literary composition in advance under preset network type
Part plays out again, effectively prevent the feelings that terminal carries out carrying out paying when watching Online Video under payment networks environment
Condition, reduces customer using cost, and ensures play quality, promotes Consumer's Experience.
Refer to Fig. 5, for the first embodiment schematic flow sheet of a kind of terminal that the embodiment of the present invention provides.Such as Fig. 3 institute
Showing, a kind of terminal described in the present embodiment includes:
Housing 501, processor 502, memorizer 503, circuit board 504 and power circuit 505, wherein, circuit board 504 disposes
It is arranged on circuit board 504 at the interior volume that housing 501 surrounds, processor 502 and memorizer 503;Power circuit 505, uses
Power in each circuit or the device for terminal;Memorizer 503 is used for storing executable program code;Processor 502 is by reading
In access to memory 503, the executable program code of storage runs the program corresponding with executable program code, for execution
Following steps:
Detection terminal is presently in network of network type;
It is presently in described in judgement whether network of network type is preset network type;
When being presently in network of network type described in determining and being described preset network type, according to preset video
Playlist downloading video files;
When receiving video playback request, play the video file that described video playback asks to choose.
Wherein, detect before terminal is presently in network of network type at described processor 502, described processor 502
Also perform:
Video play lists request is sent, to ask video play lists to described video server to video server;
Receive described video server and respond the video play lists that the request of described video play lists returns.
Wherein, described video play lists includes at least one video file information;
Described processor 502 includes according to preset video play lists downloading video files:
Obtain the video preference record of user;
Video preference record according to described user obtains inclined with the video of described user from described video play lists
First video file information of good record matching;
Download the video file that described first video file information is corresponding.
Wherein, detect before terminal is presently in network of network type at described processor 502, described processor 502
Also perform to include:
Show that preset video type list, described video type list include at least one video type;
Obtain the video type that user carries out selecting for described video type list;
Described include according to preset video play lists downloading video files:
Second video file information corresponding with described video type is obtained in described video play lists;
Download the video file that described second video file information is corresponding.
Wherein, described processor 502 includes according to preset video play lists downloading video files:
Obtain the size of described video file;
Judge that whether the size of described video file is more than or equal to the first threshold preset;
When the size judging described video file is more than or equal to described first threshold, described video file is pressed
Contracting is downloaded.
Wherein, at described processor 502 when receiving video playback request, play what the request of described video playback was chosen
After video file, described processor 502 also performs:
Whether the size of detection memory space is less than or equal to the Second Threshold preset;
When size memory space being detected is less than or equal to the Second Threshold preset, in the video file stored
Determine the video file play;
The video file play described in deletion.
It is understood that the function of each functional module of the terminal of the present embodiment can be according in said method embodiment
Method implements, and it implements process and is referred to the associated description of said method embodiment, the most no longer repeats.
In embodiments of the present invention, terminal detection terminal be presently in network of network type, it is judged that described in be presently in
The network type that network of network type is the most preset, it is described preset for being presently in network of network type described in determine
During network type, according to preset video play lists downloading video files, and when receiving video playback request, play institute
Stating the video file that video playback asks to choose, this makes terminal can carry out foradownloaded video literary composition in advance under preset network type
Part plays out again, effectively prevent the feelings that terminal carries out carrying out paying when watching Online Video under payment networks environment
Condition, reduces customer using cost, and ensures play quality, promotes Consumer's Experience.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show
Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy
Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be in office
One or more embodiments or example combine in an appropriate manner.Additionally, in the case of the most conflicting, the skill of this area
The feature of the different embodiments described in this specification or example and different embodiment or example can be tied by art personnel
Close and combination.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance
Or the implicit quantity indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or
Implicitly include at least one this feature.In describing the invention, " multiple " are meant that at least two, such as two, three
Individual etc., unless otherwise expressly limited specifically.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes
One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not by shown or discuss suitable
Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the present invention
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use
In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction
Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set
Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have the electricity of one or more wiring
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory
(ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits
Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable
Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning
His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage
Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under
Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function
Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried
Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium
In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the present invention can be integrated in a processing module, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated mould
Block both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.Described integrated module is such as
When fruit is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..Although having shown that above and retouching
Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, above-described embodiment can be changed, revise, replace and become by those of ordinary skill in the art within the scope of the invention
Type.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible
Instructing relevant hardware by computer program to complete, described program can be stored in computer read/write memory medium
In, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access
Memory, RAM) etc..
The above disclosed present pre-ferred embodiments that is only, can not limit the right model of the present invention with this certainly
Enclose, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.
Claims (10)
1. a video broadcasting method, it is characterised in that described method includes:
Detection terminal is presently in network of network type;
It is presently in described in judgement whether network of network type is preset network type;
When being presently in network of network type described in determining and being described preset network type, according to preset video playback
List downloading video files;
When receiving video playback request, play the video file that described video playback asks to choose.
2. the method for claim 1, it is characterised in that before described detection terminal is presently in network of network type
Including:
Video play lists request is sent, to ask video play lists to described video server to video server;
Receive described video server and respond the video play lists that the request of described video play lists returns.
3. the method for claim 1, it is characterised in that described video play lists includes that at least one video file is believed
Breath;
Described include according to preset video play lists downloading video files:
Obtain the video preference record of user;
Video preference record according to described user obtains the video preference note with described user from described video play lists
First video file information of record coupling;
Download the video file that described first video file information is corresponding.
4. the method for claim 1, it is characterised in that before described detection terminal is presently in network of network type
Including:
Show that preset video type list, described video type list include at least one video type;
Obtain the video type that user carries out selecting for described video type list;
Described include according to preset video play lists downloading video files:
Second video file information corresponding with described video type is obtained in described video play lists;
Download the video file that described second video file information is corresponding.
5. the method for claim 1, it is characterised in that described according to preset video play lists downloading video files
Including:
Obtain the size of described video file;
Judge that whether the size of described video file is more than or equal to the first threshold preset;
When the size judging described video file is more than or equal to described first threshold, described video file is compressed down
Carry.
6. the method for claim 1, it is characterised in that described when receiving video playback request, regards described in broadcasting
Frequently include after the video file that playing request is chosen:
Whether the size of detection memory space is less than or equal to the Second Threshold preset;
When the size of described memory space being detected less than or equal to described default Second Threshold, at the video literary composition stored
Part determines the video file play;
The video file play described in deletion.
7. a video play device, is applied to terminal, it is characterised in that described device includes:
First detector unit, is used for detecting terminal and is presently in network of network type;
Judging unit, is presently in whether network of network type is preset network type described in judging;
Download unit, being used for when being presently in network of network type described in the judgement of described judging unit is described preset network
During type, according to preset video play lists downloading video files;
Broadcast unit, for when receiving video playback request, plays the video file that described video playback asks to choose.
8. device as claimed in claim 7, it is characterised in that described device includes:
Transmitting element, for sending video play lists request to video server, to ask video to described video server
Playlist;
Receive unit, respond, for receiving described video server, the video playback row that the request of described video play lists returns
Table.
9. device as claimed in claim 7, it is characterised in that described video play lists includes that at least one video file is believed
Breath;
Described download unit includes:
First obtains subelement, for obtaining the video preference record of user;
Second obtains subelement, for obtaining and institute from described video play lists according to the video preference record of described user
State the first video file information of the video preference record matching of user;
First time subelements, for downloading the video file that described first video file information is corresponding.
10. a terminal, it is characterised in that including: housing, processor, memorizer, circuit board and power circuit, wherein, described
Circuit board is placed in the interior volume that described housing surrounds, described processor and described memorizer and is arranged on described circuit board;
Described power circuit, powers for each circuit or the device for described terminal;Described memorizer is used for storing executable program
Code;Described processor runs and described executable program by reading the executable program code of storage in described memorizer
The program that code is corresponding, for performing following steps:
Detection terminal is presently in network of network type;
It is presently in described in judgement whether network of network type is preset network type;
When being presently in network of network type described in determining and being described preset network type, according to preset video playback
List downloading video files;
When receiving video playback request, play the video file that described video playback asks to choose.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610647971.4A CN106210905A (en) | 2016-08-09 | 2016-08-09 | Video playing method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610647971.4A CN106210905A (en) | 2016-08-09 | 2016-08-09 | Video playing method, device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106210905A true CN106210905A (en) | 2016-12-07 |
Family
ID=57515502
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610647971.4A Pending CN106210905A (en) | 2016-08-09 | 2016-08-09 | Video playing method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106210905A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277031A (en) * | 2017-06-30 | 2017-10-20 | 广东欧珀移动通信有限公司 | A kind of Internet video method for down loading, device, storage medium and terminal |
CN108259975A (en) * | 2018-02-01 | 2018-07-06 | 广州市百果园信息技术有限公司 | Video broadcasting method, storage medium and terminal |
CN108965976A (en) * | 2017-05-27 | 2018-12-07 | 合信息技术(北京)有限公司 | The display control method and device of video window |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546715A (en) * | 2010-12-31 | 2012-07-04 | 上海恺达广告有限公司 | Method and device for transiting and caching media information |
US20130072152A1 (en) * | 2011-09-20 | 2013-03-21 | Kyocera Corporation | Mobile communication terminal and a download assisting method |
CN103701914A (en) * | 2013-12-30 | 2014-04-02 | 百度在线网络技术(北京)有限公司 | Off-line downloading method and device for serial resources |
CN104023055A (en) * | 2014-05-30 | 2014-09-03 | 北京金山网络科技有限公司 | Video sharing method and system, and terminal device |
CN104363302A (en) * | 2014-11-27 | 2015-02-18 | 北京奇艺世纪科技有限公司 | Method and device for downloading file offline |
CN105208549A (en) * | 2015-08-14 | 2015-12-30 | 深圳市金立通信设备有限公司 | File download method and terminal |
-
2016
- 2016-08-09 CN CN201610647971.4A patent/CN106210905A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546715A (en) * | 2010-12-31 | 2012-07-04 | 上海恺达广告有限公司 | Method and device for transiting and caching media information |
US20130072152A1 (en) * | 2011-09-20 | 2013-03-21 | Kyocera Corporation | Mobile communication terminal and a download assisting method |
CN103701914A (en) * | 2013-12-30 | 2014-04-02 | 百度在线网络技术(北京)有限公司 | Off-line downloading method and device for serial resources |
CN104023055A (en) * | 2014-05-30 | 2014-09-03 | 北京金山网络科技有限公司 | Video sharing method and system, and terminal device |
CN104363302A (en) * | 2014-11-27 | 2015-02-18 | 北京奇艺世纪科技有限公司 | Method and device for downloading file offline |
CN105208549A (en) * | 2015-08-14 | 2015-12-30 | 深圳市金立通信设备有限公司 | File download method and terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108965976A (en) * | 2017-05-27 | 2018-12-07 | 合信息技术(北京)有限公司 | The display control method and device of video window |
CN108965976B (en) * | 2017-05-27 | 2022-02-11 | 阿里巴巴(中国)有限公司 | Display control method and device for video window |
CN107277031A (en) * | 2017-06-30 | 2017-10-20 | 广东欧珀移动通信有限公司 | A kind of Internet video method for down loading, device, storage medium and terminal |
CN108259975A (en) * | 2018-02-01 | 2018-07-06 | 广州市百果园信息技术有限公司 | Video broadcasting method, storage medium and terminal |
CN108259975B (en) * | 2018-02-01 | 2020-11-06 | 广州市百果园信息技术有限公司 | Video playing method, storage medium and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104156414B (en) | A kind of method for cleaning of garbage files, device and terminal | |
CN106777229B (en) | Personalized recommendation real-time testing method and device and electronic equipment | |
AU2008361371B2 (en) | Method and apparatus for wireless digital content management | |
CN101238519B (en) | Updating a portable communication device with media files | |
CN104199913B (en) | Terminal resource cleaning method and device and terminal | |
CN105447115A (en) | Method and device for cleaning junk files and electronic equipment | |
CN101632063A (en) | Device specific content indexing for optimized device operation | |
CN104216740A (en) | Application software management method and device and terminal | |
CN108768821A (en) | Information-pushing method, device, server and computer-readable medium | |
CN105681714A (en) | Video shooting method and device and electronic equipment | |
CN104346202A (en) | Setting method and device of terminal application program and terminal | |
CN104601683A (en) | File download management method, mobile terminal and communication system | |
CN106210905A (en) | Video playing method, device and terminal | |
CN104239775A (en) | Method and device for establishing wireless connection of mobile phone end and PC (Personal Computer) end by short message | |
CN109511145B (en) | Network hotspot switching method, intelligent terminal and computer-readable storage medium | |
CN102004994A (en) | Online product recommendation and selection method, device and system | |
CN105472118A (en) | Method and device for delaying information sending of terminal and mobile terminal | |
CN105404537B (en) | A kind of discharging method and device of application program | |
CN106713596A (en) | Video playing method, device and mobile terminal | |
US20220224979A1 (en) | Method of montoring usage of at least one application executed within an operating system, corresponding apparatus, computer program product and computer-readable carrier medium | |
CN103716340A (en) | Terminal devices and information processing method | |
CN104239104B (en) | Method, device and terminal for unloading application program APP | |
CN106354364A (en) | Information distribution device and information distribution method | |
CN105528394A (en) | Webpage processing method and device and electronic equipment | |
CN110225304A (en) | A kind of area monitoring methods of exhibiting, device, electronic equipment and storage medium |
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: 20161207 |