CN107277031A - Network video downloading method and apparatus, storage medium and terminal - Google Patents

Network video downloading method and apparatus, storage medium and terminal Download PDF

Info

Publication number
CN107277031A
CN107277031A CN201710527827.1A CN201710527827A CN107277031A CN 107277031 A CN107277031 A CN 107277031A CN 201710527827 A CN201710527827 A CN 201710527827A CN 107277031 A CN107277031 A CN 107277031A
Authority
CN
China
Prior art keywords
video
network
version
module
definition
Prior art date
Application number
CN201710527827.1A
Other languages
Chinese (zh)
Inventor
梁昆
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to CN201710527827.1A priority Critical patent/CN107277031A/en
Publication of CN107277031A publication Critical patent/CN107277031A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements or protocols for real-time communications
    • H04L65/60Media handling, encoding, streaming or conversion
    • H04L65/601Media manipulation, adaptation or conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/06Network-specific arrangements or communication protocols supporting networked applications adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0125Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level one of the standards being a high definition standard
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0127Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level by changing the field or frame frequency of the incoming video signal, e.g. frame rate converter

Abstract

The embodiment of the invention discloses a network video downloading method and apparatus, a storage medium and a terminal. The method comprises the following steps: receiving a network video downloading instruction, determining a plurality of definition versions of a network video according to the downloading instruction, obtaining a residual storage space of the terminal, determining a first definition version from the plurality of definition versions according to the residual storage space, and downloading video data in the first definition version of the network video. By adoption of the network video downloading method and apparatus, the definition of the network video to be downloaded by a user can be automatically selected according to the residual storage space of the terminal, and the network video is downloaded according to the definition without redundant operation of the user, thereby greatly improving the network video downloading efficiency.

Description

一种网络视频下载方法、装置、存储介质和终端 A network video download method, apparatus, storage medium and the terminal

技术领域 FIELD

[0001] 本发明涉及移动通信领域,具体涉及一种网络视频下载方法、装置、存储介质和终端。 [0001] The present invention relates to mobile communications, and particularly relates to a network video download method, apparatus, storage medium and the terminal.

背景技术 Background technique

[0002] 随着终端技术的发展,终端已经开始从以前简单地提供通话设备渐渐变成一个通用软件运行的平台。 [0002] With the development of terminal technology, the terminal has started from the previous call simply providing equipment gradually become a common software platform to run. 该平台不再以提供通话管理为主要目的,而是提供一个包括通话管理、 游戏娱乐、办公记事、移动支付等各类应用软件在内的运行环境,随着大量的普及,已经深入至人们的生活、工作的方方面面。 The platform is no longer to provide management for the primary purpose of the call, but to provide a runtime environment including various types of call management application software, games, entertainment, office notes, mobile payments, etc., with a lot of popularity, has been deep into people's life, all aspects of work.

[0003] 视频点播业务是一种新型数字电视增值业务,可以利用空闲的广播信道,在不妨碍用户正常收看节目的前提下,将包含各种服务内容以及扩展服务内容的多媒体文件,根据用户的下载请求,通过超文本传输协议(HTTP,HypertextTransferProtocol)或文件传输协议(FTP,FileTransferProtocol)自动推送到用户终端,用户可以选择在任意时段从用户终端中读取相关多媒体文件,以享受数字电视运营商提供的各种扩展服务内容,实现本地点播。 [0003] VOD service is a new digital TV value-added services, may be utilized idle broadcast channel, without prejudice to the normal user to watch a program, and a variety of services including multimedia file extension services according to the user's download request, the hypertext transfer protocol (HTTP, HypertextTransferProtocol) or file transfer protocol (FTP, FileTransferProtocol) automatically pushed to the user terminal, a user can choose to read the relevant multimedia file from the user terminal at any time to enjoy digital TV operators various extension services provided for local demand.

[0004] 目前,视频文件通常都较大,从几十兆至几百兆甚至上千兆,用户通过发送下载请求下载整个视频文件,网络视频通常有多种分辨率,比如360P、720P或是1080P等多种分辨率,不同的分辨率所对应的网络视频文件的大小也会有所不同,通常用户在下载视频时需要根据终端本身的剩余存储容量来手动选择合适的分辨率,以下载对应分辨率的网络视频文件,而这种下载方式步骤较为繁琐,影响网络视频的下载效率。 [0004] Currently, the video files are usually large, from hundreds of megabytes to hundreds of megabytes or even Gigabit, the user requests to download the entire video file by sending the download, online video usually have a variety of resolutions, such as 360P, 720P or 1080P resolution and other, different resolutions corresponding video file size of the network will be different, the user typically needs to manually select an appropriate resolution in accordance with the remaining storage capacity of the terminal itself when downloading video, to download the corresponding resolution network video files, this method of step more complicated, affecting the efficiency of the network to download video.

发明内容 SUMMARY

[0005] 本发明实施例提供一种网络视频下载方法、装置、存储介质和终端,可以提升网络视频的下载效率。 Example embodiments provide a network video download method, apparatus, storage medium and the terminal [0005] In the present invention, can improve the efficiency of the network to download video.

[0006] 第一方面,本发明实施例提供一种网络视频下载方法,包括: [0006] In a first aspect, embodiments of the present invention provides a method for downloading video network, comprising:

[0007] 接收所述网络视频的下载指令; [0007] The download instruction received video network;

[0008] 根据所述下载指令,确定所述网络视频具有的多个清晰度版本; [0008] according to the download instruction, determining a plurality of network definition version of the video having;

[0009] 根据所述下载指令,获取所述终端的剩余存储空间; [0009] according to the download instruction, acquiring the remaining storage space of the terminal;

[0010] 根据所述剩余存储空间,从所述多个清晰度版本中确定第一清晰度版本; [0010] in accordance with the remaining storage space, a first determining from the plurality of definition-definition version of versions;

[0011] 下载所述网络视频的第一清晰度版本的视频数据。 [0011] a first network definition version of the video downloaded video data. .

[0012] 第二方面,本发明实施例还提供了一种网络视频下载装置,包括: [0012] In a second aspect, embodiments of the present invention further provides a network device to download a video, comprising:

[0013] 指令接收模块、第一获取模块、确定模块以及下载模块; [0013] The instruction receiving module, a first acquiring module, a determining module and a download module;

[0014] 所述指令接收模块,用于接收所述网络视频的下载指令; [0014] The instruction receiving module, for receiving said download instruction video network;

[0015] 所述第一获取模块,用于根据所述下载指令,确定所述网络视频具有的多个清晰度版本,以及获取所述终端的剩余存储空间; [0015] The first acquisition module, a download instruction for determining a plurality of network definition version of the video has, and the acquired terminal according to remaining memory;

[0016] 所述确定模块,用于根据所述剩余存储空间,从所述多个清晰度版本中确定第一清晰度版本; [0016] The determination module for determining from said plurality of versions of a first resolution in accordance with the definition version of remaining storage space;

[0017] 所述下载模块,用于下载所述网络视频的第一清晰度版本的视频数据。 [0017] The downloading module configured to download a first version of the definition of the network with the video data.

[0018] 第三方面,本发明还提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述方法的步骤。 [0018] a third aspect, the present invention also provides a storage medium having stored thereon a computer program implemented steps of the method described above when said computer program is executed by a processor. t〇〇19]第四方面,本发明实施例还提供一种终端,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上所述网络视频下载方法的步骤。 t〇〇19] a fourth aspect, embodiments of the present invention further provides a terminal, comprising a computer program memory, a processor and a memory and running on the processor in the memory, the processor, the program is executed to realize step network video downloading method described above.

[0020] 本发明实施例首先接收网络视频的下载指令,根据下载指令确定网络视频具有的多个清晰度版本,以及获取终端的剩余存储空间,根据剩余存储空间从多个清晰度版本中确定第一清晰度版本,下载网络视频的第一清晰度版本的视频数据。 [0020] Embodiments of the invention first receives a download instruction video network, determining a plurality of video version of the network with a definition in accordance with the download instruction, and acquires the remaining storage space of the terminal, and determining from the plurality of the first resolution version in accordance with the remaining storage space a definition version, the first definition version of the online video download video data. 本发明可以根据终端自身的剩余存储空间自动选择用户需要下载的网络视频的清晰度,然后根据该清晰度进行下载,无需用户进行多余的操作,大大提升了网络视频的下载效率。 The present invention may automatically select a user needs to download the network definition video based on the remaining storage space of the terminal itself, and according to this definition for download, the user need not perform any additional operation, greatly enhance the efficiency of the network to download video.

附图说明 BRIEF DESCRIPTION

[0021] 为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 [0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, as briefly described in the introduction to the accompanying drawings required for use in describing the embodiments. Apparently, the drawings in the following description are only some of the present invention. embodiments of the present art in terms of art, without creative efforts, can derive from these drawings other drawings.

[0022] 图1为本发明实施例提供的网络视频下载方法的一种应用场景示意图。 [0022] FIG 1 an application scenario network video download method provided a schematic embodiment of the present invention.

[0023]图2为本发明实施例提供的网络视频下载方法的一种流程示意图。 [0023] FIG 2 flow diagram of a network video downloading method according to an embodiment of the present invention.

[0024]图3为本发明实施例提供的一种网络视频分辨率与数据量的对应示意图。 [0024] FIG. 3 corresponds to the schematic diagram of a network video resolution data amount according to an embodiment of the present invention.

[0025]图4为本发明实施例提供的网络视频下载方法的另一种流程示意图。 [0025] Fig 4 a schematic flow diagram of another network video downloading method according to an embodiment of the present invention.

[0026]图5为本发明实施例提供的网络视频下载装置的一种结构示意图。 [0026] FIG. 5 one kind of network schematic configuration video download apparatus according to an embodiment of the present invention.

[0027]图6为本发明实施例提供的网络视频下载装置的另一种结构示意图。 [0027] Fig 6 a schematic diagram of another video download network configuration apparatus according to an embodiment of the present invention.

[0028]图7为本发明实施例提供的终端的一种结构示意图。 [0028] FIG 7 schematic structural diagram of one kind of the terminal embodiment of the present invention.

[0029]图8为本发明实施例提供的终端的另一种结构示意图。 [0029] Figure 8 a schematic structural diagram of another embodiment of the invention a terminal.

具体实施方式 Detailed ways

[0030]请参照图式,其中相同的组件符号代表相同的组件,本发明的原理是以实施在一适当的运算环境中来举例说明。 [0030] Referring to the drawings, wherein the same components as characters represent like components, the principles of the present invention is implemented in a suitable computing environment be exemplified. 以下的说明是基于所例示的本发明具体实施例,其不应被视为限制本发明未在此详述的其它具体实施例。 The following description is based on the specific embodiments of the present invention is illustrated, which should not be construed as limiting the present invention are not described in detail herein other embodiments.

[0031 ]在以下的说明中,本发明的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。 [0031] In the following description, the specific embodiments of the present invention will be described with reference to one or more of the symbol and the step executed by a computer unit, unless otherwise stated. 因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。 Accordingly, these steps will be mentioned several times and operations performed by a computer, the computer performs referred to herein includes a computer processing unit to represent the electronic signals in a structured data type operation. 此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。 This conversion at the data or to maintain it in the computer system memory location, or otherwise it may be reconfigured to test person skilled in the art way to change the operation of the computer. 该数据所维持的数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。 The data structures maintained by the data location in memory for the entity, having particular properties defined by the data format. 但是,本发明原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。 However, the principles of the present invention in the character described which does not represent a limitation of the present test art will understand that various steps described below may be implemented in hardware and operating them. / /

[GG32]本发明的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行操作。 [GG32] principles of the present invention, numerous other general-purpose or specific-purpose operation, or configuration of the communication environment to operate. 所熟知的适合用于本发明的运算系统、环境与组态的范例可包括(但不限于)手持电话、 个人计算机、服务器、多处理器系统、微电脑为主的系统、主架构型计算机、及分布式运算环境,其中包括了任何的上述系统或装置。 Examples of well known computing systems suitable for use in the present invention, the environment and the configuration may include (but are not limited to) a portable telephone, personal computers, servers, multiprocessor systems, microprocessor-based microcomputer system, main frame computers, and distributed computing environment that includes any of the above systems or devices.

[0033]以下将分别进行详细说明。 [0033] The following will separately be described in detail.

[0034] 本实施例将从网络视频下载装置的角度进行描述,该装置具体可以集成在终端中,该终端可以为移动互连接网络设备(如智能手机、平板电脑)等具备网络通信功能的电子设备。 [0034] Example angle from the network to download a video apparatus according to the present embodiment will be described, the apparatus may be specifically integrated in the terminal, the terminal may be a mobile network comprising interconnecting communication function of electronic network devices (such as smart phones, tablet PCs), etc. device.

[0035] 首先参考图1,图1为本发明实施例提供的网络视频下载方法的一种应用场景示意图,包括终端设备11和服务器12,终端设备11和服务器12通过互联网建立通信连接。 [0035] Referring initially to Figure 1, which shows an application scenario network video downloading method provided in schematic, including a terminal device 11 and the server 12, the terminal device 11 and the server 12 establishes a communication connection via the Internet embodiment of the present invention.

[0036]当用户需要从服务器12下载视频文件时,可以通过终端设备11向服务器12发送网络视频下载指令,其中,用户可以通过终端设备11采用WEB方式向服务器12发送网络视频下载指令,也可以通过终端设备11中安装的客户端程序向服务器12发送网络视频下载指令, 本发明实施例对此不做进一步限定。 [0036] When a user needs to download the video file from the server 12, by the terminal device 11 to the server 12 sends a network video download instruction, wherein the user can use the terminal apparatus using the WEB 11 to the server 12 sends a network video download instruction, may be , the embodiments of the client terminal apparatus 11 installed in the network sends an instruction to download the video server 12 of the present invention which is not further defined. 服务器12接收到网络视频下载指令后,通过互联网将用户所请求的视频文件传输给该终端设备11。 After the network server 12 receives a download instruction video, via the Internet requested by a user to transfer a video file 11 of the terminal device. 终端设备11和服务器12之间可以但不限于采用以下传输协议中的任一种:HTTP (Hypertext transfer protocol,超文本传输协议)、FTP (File Transfer Protocol,文件传输协议)、P2P(Peer to Peer,对等网络)、P2SP(Peer to Server&Peer,点对服务器和点)等。 But is not limited to the terminal device may employ any of the following transmission protocol between the servers 11 and 12: HTTP (Hypertext transfer protocol, Hypertext Transfer Protocol), FTP (File Transfer Protocol, File Transfer Protocol), P2P (Peer to Peer , peer to peer network), P2SP (peer to server & amp; peer, the point and the point on the server) or the like.

[0037]比如,用户可以通过注册流程从服务器12获得用户标识(ID)和密码,并利用获得的用户ID登录并向服务器12发送网络视频下载指令,使得服务器12根据用户ID识别不同用户发送的请求。 [0037] For example, the user may be obtained through the registration process from the server 12 the user identification (ID) and password, and user ID to the log server 12 sends the obtained video network download instruction, so that the server 12 identifies the different users based on the user ID transmitted request. 如果用户未登录向服务器12发送视频文件下载请求时,服务器12还可以为用户分配一个临时用户ID,并通过临时用户ID识别不同用户发送的请求。 If the user is not logged downloading request to the server 12 transmits the video file server 12 may also assign that user a temporary user ID, and different user identification request sent by the temporary user ID. 通常,该临时用户ID可以为终端设备11的设备标识。 Typically, the temporary ID may be a user identification device 11 of the terminal device. 通过该设备标识能够在网络中唯一的识别出终端设备11,其可以为终端设备11的MAC地址,也可以为利用终端设备11的某些特征信息采用一定的计算规则计算得到,只要能够保证该设备标识在网络中是唯一的即可。 Obtained by the device identifier can uniquely identify the terminal apparatus 11, which may be a MAC address of the terminal device 11, the terminal device may be employed utilizing certain calculation rule for calculating certain features of the information network 11, as long as the guaranteed device identification is unique to the network. 终端设备11可以为终端设备,如手机、平板电脑等,也可以为传统的PC (Personal Computer,个人电脑)等,本发明实施例对此不进行限定。 Terminal device 11 may also be, embodiment of a terminal device, such as mobile phones, tablet computers, as a conventional PC (Personal Computer, PC) and the like of the present invention which is not limited.

[0038]下面结合图1的应用场景,请继续参阅图2,图2为本发明实施例一提供的一种网络视频下载方法的流程示意图,本实施例的网络视频下载方法包括: [0038] Next, in conjunction with the application scenario of FIG. 1, continued reference to FIG. 2, FIG. 2 embodiment a flow diagram of a network to provide video download method embodiment of the invention, network video download method according to the present embodiment includes:

[0039] 步骤S101,接收网络视频的下载指令。 [0039] In step S101, the network receives the download instruction video.

[0040]其中,该网络视频的下载指令的生成方式可以有多种。 [0040] wherein generating instructions to download the network can have a variety of video. 在一种实施方式中,上述网络视频的下载指令可以是在用户登录终端中的视频应用客户端后自动生成的,比如,用户登录视频应用后检测到用户所关注的电视剧、综艺节目等有更新内容后自动生成其对应的下载指令。 In one embodiment, the command of the network to download video may be generated automatically after the user logs in the video terminal application client, such as a video user login application detects the user's interest drama, variety shows updated generated automatically downloads the corresponding instruction content. 在其他实施例当中,上述网络视频的下载指令还可以是通过用户对该终端进行操作触发的,比如,用户先通过输入关键字找到想要下载的网络视频,然后点击“下载”按钮确定生成该网络视频的下载指令。 In other embodiments among the above-described network video download instruction may also be triggered by a user to operate the terminal, for example, the user to find the desired video downloaded through the network input keywords, and click the "Download" button determination producer that Download online video instruction.

[0041]在本发明实施例中,上述网络视频具有多种清晰度,清晰度指影像上各细部影纹及其边界的清晰程度。 [0041] In an embodiment of the present invention, it said network having a plurality of video sharpness, resolution refers to the clarity of each image detail shadow patterns on its borders. 清晰度一般是从录像机角度出发,通过看重放图像的清晰程度来比较图像质量,所以常用清晰度一词。 General definition is from the perspective of the VCR, the term commonly used to compare the clarity of image quality value by the clarity of the image to put it. 在与清晰度有关的用语中,除了清晰度一词以外,我们经常还可以见到分辨力、分辨率、解析力、解析度、解像力、解像度等等。 With clarity about the terms in addition to the definition of the term, we can often see the resolution, resolution, resolving power, resolution, resolving power, resolution, and so on.

[0042]目前市面上较为常见的视频门户网站经常会通过分辨率来代表清晰度,分辨率是屏幕图像的精密度,是指显示器所能显示的像素有多少。 [0042] Currently on the market the more common video portals are often represented by a resolution of clarity, precision resolution screen image, refer to pixels the monitor can display the number. 目前较为常见的几种分辨率包括36〇P、720P、1080P、以及更高的2K分辨率,其中,360P代表的分辨率为480 X 360,720P代表的分辨率为1280X72〇,1080P代表的分辨率为1920义1080,而21(分辨率是指屏幕横向像素达到2000以上,主流2K分辨率为2560x1440。 Now more commonly several resolutions include 36〇P, 720P, 1080P, 2K and higher resolution, wherein the resolution represented by the resolution 480 X 360,720P 360P representative of 1280X72〇, represented by resolution 1080P Yi was 1920 1080, and 21 (lateral pixel screen resolution is reached more than 2000, the mainstream 2K resolution 2560x1440.

[0043]步骤S102,根据下载指令确定网络视频具有的多个清晰度版本,以及获取终端的剩余存储空间。 [0043] step S102, determining a plurality of video version of the network with a definition in accordance with the download instruction, and acquires the remaining storage space of the terminal.

[0044]在本发明实施例中,终端在接收到下载指令后,可获取网络视频所具有的多种清晰度,比如视频A具有三种清晰度,分别为360P、720P以及1080P分辨率。 [0044] In an embodiment of the present invention, after the terminal receives the download instruction, the video network having available a plurality of clarity, such as video resolution has three A, respectively, 360P, 720P and 1080P resolution. 另外,在在接收到下载指令后可触发生成一个查询指令,用于查询终端当前存储空间使用状态,比如终端可以调用文件管理器来获取上述存储空间使用状态。 Further, after receiving the download instruction may be triggered to generate a query instruction, the query terminal currently used storage space use, such as the terminal may call the file manager to obtain the storage space usage state. 该存储空间使用状态可以包括终端能够使用的存储空间总和、当前已使用的存储空间以及当前未使用的存储空间也即剩余存储空间等信息,以便终端根据终端当前剩余的存储空间来下载网络视频。 The storage use state may include a storage sum of the space of the terminal can be used, the storage space currently used and a storage space currently unused i.e. information of the remaining storage space, so that the terminal can download a network video based on the current remaining storage space of the terminal.

[0045]需要说明的是,若终端为可扩展存储设备,比如可以使用SD卡(Secure Digital Memory Card,安全数码卡),则上述存储空间使用状态还可以包括该SD卡的能够使用的存储空间总和、当前已使用的存储空间以及当前未使用的存储空间也即剩余存储空间等信息。 [0045] Incidentally, if the terminal is a scalable storage device, such as an SD card (Secure Digital Memory Card, Secure Digital Card), then the storage space usage state may further include a storage space of the SD card can be used the sum of the storage space currently used and a storage space that is currently unused storage space remaining information.

[0046] 步骤S103,根据剩余存储空间从多个清晰度版本中确定第一清晰度版本。 [0046] Step S103, the first resolution is determined from a plurality of resolution version version The remaining storage space.

[0047] 在本发明实施例当中,由于网络视频的不同清晰度所对应的视频数据量大小也不相同,所以当该网络视频包含多种清晰度可供用户选择时,需要确定第一清晰度版本,以便用户下载对应的视频源文件。 [0047] In an embodiment of the present invention, which, due to the different network definition video corresponding to the amount of video data is not the same size, so that when the network comprises a plurality of video resolution to choose from, the first resolution is determined version, you can download the corresponding video source file. 比如,如图3所示,用户需要下载的网络视频可以包括4种清晰度,分别为360?、720?、1080?、以及21(分辨率,而上述分辨率所对应的视频源文件分别是100MB、300MB、800MB、以及1800MB。 For example, as shown in FIG. 3, the user needs to download the video network may include four kinds of resolution, respectively 360?, 720?, And 21 ?, 1080 (resolution, resolution and said corresponding video source files are 100MB, 300MB, 800MB, and 1800MB.

[0048] 基于剩余存储空间大小从多种清晰度版本中确定第一清晰度版本,其中,网络视频在第一清晰度版本下的视频数据量大小小于剩余存储空间大小。 [0048] Based on a first remaining storage space size is determined from a plurality of definition-definition version of release, wherein the amount of video data size of the video network at a first resolution version is less than the remaining storage space. 具体的,可以分别判断每种清晰度所对应的视频文件大小是否小于该剩余存储空间大小,若是,则可以确定该清晰度为第一清晰度。 Specifically, the resolution can be determined respectively corresponding to each video file size is smaller than the remaining storage space, and if so, it may be determined that the first resolution is a resolution. 比如,当终端当前的剩余存储空间大小为200MB时,上述4种清晰度所对应的视频源文件只有320P分辨率的视频源文件小于该剩余存储空间,此时可以确定320P分辨率为第一清晰度版本。 For example, when the terminal of the current remaining storage space size is 200MB, the four kinds of definition files corresponding to the video source only 320P resolution video source is less than the remaining storage space, this time may be determined as a first clear resolution 320P degree version.

[0049] 在一实施例当中,若存在多种清晰度所对应的视频文件都小于上述剩余存储空间大小,则可以进一步从上述多种清晰度当中按照预设优先级确定第一清晰度版本。 [0049] In an embodiment which, if present more definition files corresponding to the video is smaller than the remaining storage space size can be further from the plurality of definition among preset priority determining a first definition version. 该预设优先级可以根据分辨率的高低来进行设定,比如在满足条件的多种清晰度当中确定最髙清晰度为第一清晰度版本。 The predetermined priority may be set according to the level of resolution, such as determining the best resolution for the first sharpness Gao version satisfying the condition among the plurality of clarity. 也即根据剩余存储空间大小从多个清晰度版本中确定第一清晰度版本的步骤可以具体包括: That definition version of a first remaining storage space size of the step of determining from the plurality of versions depending on the sharpness may specifically include:

[0050] 查询网络视频数据量小于剩余存储空间的网络视频清晰度的数量; Quantity [0050] queries the network video data is less than the remaining storage space in network video resolution;

[0051] 当数量大于一时,根据预设优先级从多种清晰度中确定所述第一清晰度版本。 [0051] while, determining from a plurality of the first resolution version number is greater than when the resolution according to the preset priority.

[0052] 举例来说,若上述终端的剩余存储空间大小为900MB,该剩余内存空间无法存储2K 分辨率级别的视频文件,但可以存储3e〇P、720P以及1080P分辨率的视频文件,此时可以确定1080P分辨率为第一清晰度版本。 [0052] For example, if the remaining storage space size of the terminal is 900MB, the remaining memory space is 2K resolution level can not store the video file, but can be stored 3e〇P, 720P and 1080P resolution video files, then 1080P resolution can be determined as the first definition version. 当然,还可以根据用户指令在上述多种清晰度当中确定第一清晰度版本。 Of course, it can also be determined in the above definition version of the first plurality of definition among user instruction.

[0053] 在一实施例当中,若上述网络视频下载指令包含多个网络视频,则可以基于剩余存储空间大小分别确定每个网络视频的第一清晰度版本。 [0053] In an embodiment which, when said network comprises a plurality of video network video download instruction, may be determined separately for each network definition version of the first video based on the remaining storage space. 此时,需要说明的是,每次确定网络视频的第一清晰度版本之前,都需要重新获取终端的剩余存储空间大小。 In this case, to be noted that, prior to determining each of a first resolution version of the video network, need to re-acquire the remaining storage space size of the terminal. 比如,网络视频下载指令包含两个网络视频,分别为视频A和视频B,视频A包含三种清晰度分别为360P、 720P以及1080P分辨率,对应的视频文件大小分别为l〇〇MB、3〇〇MB和800MB,视频B包含两种清晰度,分别为360P和720P分辨率,所对应的视频文件大小分别为50MB和200MB。 For example, the network comprising two video download instruction video, each video A and video B, video A comprises three resolution are 360P, 720P and 1080P resolution, corresponding to the size of video files are l〇〇MB, 3 〇〇MB and 800MB, B comprises two video resolution, the resolution of 720P and 360P, respectively, the corresponding video file size is 50MB and 200MB respectively. 若终端当前的剩余存储空间大小为900MB,首先确定视频A的第一清晰度版本,由于视频A的三种清晰度对应的文件大小均小于剩余存储空间大小,可以选择最高清晰度的版本为第一清晰度版本,也即视频A的第一清晰度版本为1080P分辨率,而在确定视频B的第一清晰度版本之前, 需要重新获取终端的剩余存储空间大小为900MB-80(MB,计算可知此时终端的剩余存储空间大小为100MB,故而视频B的两种清晰度当中只有360P分辨率对应的文件大小小于此时的剩余存储空间大小,也即确定视频B的第一清晰度版本为360P分辨率。其中,本发明实施例可以预先设置上述多个网络视频的优先级,然后按照该优先级来分别确定每个网络视频的第一清晰度版本。 If the terminal is currently remaining storage space size is 900MB, first determine a first resolution version of the video A, since three kinds of A definition video corresponding to the file size is less than the remaining storage space, the highest resolution can be selected as a first version a definition version, i.e. a first definition version a is 1080P video resolution, but before determining a first resolution version of video B, the need to re-acquire the remaining storage space size of the terminal is 900MB-80 (MB, calculated At this time, the remaining storage space seen terminal is 100MB, and therefore two kinds of B-definition video corresponding to the resolution of which only 360P file size is smaller than the remaining storage space in this case, i.e. determining a first resolution version of video B 360P resolution which, embodiments of the present invention may be previously set the priority of the plurality of video network, and then follow the hierarchy to determine a first resolution version of each video network respectively.

[0054] 步骤S104,下载网络视频的第一清晰度版本的视频数据。 [0054] Step S104, the first resolution version of the video downloaded video data network.

[0055] 具体的,终端向服务器发送下载指令,该下载指令包含网络视频的标识信息(比如视频名称)以及第一清晰度版本,服务器将对应的视频数据发送至终端以使其进行保存。 [0055] Specifically, the terminal sends a download instruction to the server, the download instruction containing the identification information (such as video name) and a first network definition version of the video, the server transmits video data corresponding to the terminal so as to be saved.

[0056] 其中,上述视频数据包括视频帧和音频帧数据,服务器将该视频帧和音频帧数据打包发送至终端。 [0056] wherein the video data comprises video frames and audio frame data, the server video frame and audio frame data package to the terminal. 不同视频文件格式对桢的存储方式有所不同,有的把一个巾贞分开放入大小固定的多个包(Packet)或块(Chunk),或由多个帧组合在一起放入一个大小固定的包,有的则由包头信息指示包大小和包中含有的具体数据。 Different video file formats on different storage frames, some put into a separate napkin Chen plurality of fixed size packets (Packet) or blocks (the Chunk), or a plurality of frames grouped together into a fixed size packet, some packet size indicated by the header information and contained in the particular packet.

[0057] 为了使用户在下载所述视频片段数据后,能够播放该视频片段,服务器在将视频片段的视频帧和音频帧数据发送给用户端之前,可以为视频片段设置新的索引和头文件, 进行打包。 [0057] To allow the user after downloading the video clip data, capable of playing the video clip server before sending the video data of the video frames and audio frames to the user terminal segment, set a new header file and index video segments , packaged. 当然,在一实施例中,也可以将视频片段的视频帧和音频帧数据发送给用户端后,在用户端进行打包操作,以保存网络视频文件。 Of course, in the embodiment, it may send the video data of the video frames and audio frames to the UE segments an embodiment, a packaging operation at the UE, the network to save the video file.

[0058]由上可知,本发明实施例可以接收网络视频的下载指令,根据下载指令确定网络视频具有的多个清晰度版本,以及获取终端的剩余存储空间,根据剩余存储空间从多个清晰度版本中确定第一清晰度版本,下载网络视频的第一清晰度版本的视频数据。 [0058] From the above, embodiments of the present invention may be a network download instruction received video resolution determining a plurality of video version of the network in accordance with the download instruction, and acquires the remaining storage space of the terminal, according to the resolution from the plurality of remaining storage space the first definition version, the first resolution version of the video downloaded video data network version determined. 本发明可以根据终端自身的剩余存储空间自动选择用户需要下载的网络视频的清晰度,然后根据该清晰度进行下载,无需用户进行多余的操作,大大提升了网络视频的下载效率,具有较好的用户体验。 The present invention may be automatically selected according to the terminal itself remaining storage space of the user needs to download the network definition video, and according to this definition for download, the user need not perform any additional operation, greatly enhance the efficiency of the network to download a video, having good user experience.

[0059] 根据上一实施例的描述,以下将进一步地来说明本发明的网络视频下载方法。 [0059] The previous description of the embodiments, as will be described further network video downloading process of the present invention.

[0060] 请参阅图4,图4为本发明实施例提供的另一种网络视频下载方法的流程示意图, 在本实施例中,网络视频下载指令可以包含多个网络视频,包括以下步骤: [0060] Please refer to FIG. 4, FIG. 4 schematic flowchart of a further network according to the video download method embodiment of the invention, in the present embodiment, the network may comprise a plurality of video download instruction video, comprising the steps of:

[0061]步骤S201,接收网络视频的下载指令。 [0061] step S201, the network receives the download instruction video.

[0062]在本发明实施例中,上述网络视频下载指令可以是在用户登录终端中的视频应用客户端后自动生成的,比如,用户登录视频应用后检测到用户所关注的电视剧、综艺节目等有更新内容后自动生成其对应的下载指令。 [0062] In the embodiment of the present invention, said network video download instruction may be a video application client in the user login terminal automatically generated after the end of, for example, user login video application detects the user interest drama, variety show, etc. automatic generation instruction corresponding to download updates. 在其他实施例当中,上述网络视频下载指令还可以是通过用户对该终端进行操作触发的,比如,用户先通过输入关键字找到想要下载的网络视频,然后点击“下载”按钮确定生成该网络视频的下载指令。 In other embodiments among the network video download instructions may also be triggered by a user to operate the terminal, for example, the user to find the desired video downloaded through the network input keywords, and click the "Download" button to generate the determined network Download instruction video.

[0063] 其中,上述网络视频下载指令可以包含一个或多个网络视频,在本实施例中,上述网络视频下载指令包含多个网络视频。 [0063] wherein said network video download instructions may comprise one or more video, in the present embodiment, said network comprising a plurality of video network video download instruction. t〇〇64]步骤S202,根据下载指令获取网络视频具有的多个清晰度版本和终端的剩余存储空间。 t〇〇64] step S202, acquires the video network having a plurality of memory remaining definition version and the terminal according to the download instruction.

[0065] 终端在接收到网络视频下载指令后,可获取网络视频所具有的多种清晰度,还可以触发生成一个查询指令,用于查询终端当前存储空间使用状态,比如终端可以调用文件管理器来获取上述存储空间使用状态。 [0065] In the terminal after receiving the instruction to download the video network, the network can be obtained by having a plurality of video sharpness, can also trigger the generation of a query command for inquiring terminal current storage space use, such as the terminal may call the file manager to obtain the storage space usage state. 该存储空间使用状态可以包括终端能够使用的存储空间总和、当前已使用的存储空间以及当前未使用的存储空间也即剩余存储空间等信息, 以便终端根据终端当前剩余的存储空间来下载网络视频。 The storage use state may include a storage sum of the space of the terminal can be used, the storage space currently used and a storage space currently unused i.e. information of the remaining storage space, so that the terminal can download a network video based on the current remaining storage space of the terminal.

[0066] 步骤S203,判断是否存在网络视频数据量小于剩余存储空间大小的网络视频第二清晰度版本,若存在,则执行步骤S204,若不存在,则执行步骤S205。 [0066] step S203, the network determines whether there is video data is less than the remaining storage space of the second network definition version of the video, if present, is executed step S204, if not, proceed to step S205.

[0067]在本发明实施例当中,可以确定多个清晰度版本中,每个清晰度版本对应的数据量,根据每个清晰度版本的数据量,确定多个第二清晰度版本,每个第二清晰度版本对应的数据量小于终端的剩余存储空间。 [0067] In an embodiment of the present invention, among the plurality of definition version may be determined, the resolution of each version of the data corresponding to the amount, the amount of data of each resolution version, determining a plurality of versions of a second resolution, each the amount of data of the second resolution corresponding to the version of the terminal is less than the remaining storage space. 由于网络视频的不同清晰度所对应的视频文件大小也不相同,比如,用户需要下载的网络视频可以包括4种清晰度,分别为360P、720P、1080P、以及2K分辨率,而上述分辨率所对应的视频源文件大小分别是100MB、300MB、800MB、W&1800MB 也即1 • 8GB。 Depending on the network definition video corresponding to the video file is not the same size, for example, the user needs to download the video network may include four kinds of resolution, respectively, 360P, 720P, 1080P, and 2K resolution, and the resolution of the above corresponding to the video source file size are 100MB, 300MB, 800MB, W & amp; 1800MB i.e. 1 • 8GB. 所以当该网络视频包含多种清晰度可供用户选择时,需要先判断是否存在视频文件大小小于剩余存储空间大小的网络视频清晰度。 So when the network comprises a plurality of video resolution to choose from, it is necessary to determine whether there is a video file size is less than the remaining storage space size of the network video resolution.

[0068] 步骤S204,获取终端的剩余数据流量值。 [0068] Step S204, the acquisition of the remaining data value of the terminal traffic.

[0069]在本实施例中,客户端还可结合终端账户的数据流量使用状态信息来选择待下载网络视频的第一清晰度版本,当步骤S203确定存在文件大小小于剩余存储空间大小的网络视频清晰度时,获取终端账户的剩余数据流量值。 [0069] In the present embodiment, the client terminal may also incorporate data traffic using the account status information to select the network to be downloaded first-definition version of the video, when the size of file is determined in step S203 is smaller than the remaining storage space size of the video network of when clarity, acquiring the remaining data value of the terminal traffic account. 上述终端账户可以具体为终端对应的运营商账户。 Accounts may be embodied as the terminal corresponding to the terminal operator's account. 比如向运营商发送查询信息,以查询当前运营商账户的数据流量使用状态信息, 该数据流量使用状态信息可以包括已使用流量值和剩余流量值等信息。 For example sends a query to the operator information, the operator to check the current account data usage status information, the data traffic usage state information may include information used flow rate value and the residual value of the flow rate and the like.

[0070]步骤S205,按照预设提醒方式生成提示信息并显示至终端屏幕。 [0070] step S205, according to a preset mode generating alert message and to display terminal screen.

[0071]当步骤S2〇3确定不存在文件大小小于剩余存储空间大小的网络视频清晰度时,可以按照预设提醒方式生成提示信息并显示至终端屏幕,其中,提示信息可以包括网络视频的多种清晰度和对应的视频文件大小。 [0071] When the file size is determined in step S2〇3 less than the remaining storage space size of the network does not exist definition video, presentation information may be generated and displayed according to a predetermined manner to alert the terminal screen, wherein the presentation information may include a plurality of video network kind of clarity and corresponding video file size. 比如,当前终端的剩余存储空间大小只有80MB时,而网络视频的多所分辨率对应的视频文件均大于8〇MG,则可以生成一个提示信息并显示至用户,该提示信息譬如为“内存不足! 32〇P分辨率需要100MB存储空间,720P分辨率需要300MB 存储空间,1080P分辨率需要8〇OMB存储空间,2K分辨率需要1800MB存储空间,请清理内存后重试。” For example, the current remaining storage space size of the terminal when only 80MB, and more than the resolution corresponding to the video files are larger than 8〇MG video network, a message may be generated and displayed to the user, the message such as "Out of Memory ! 32〇P resolution requires 100MB of storage space, 720P resolution requires 300MB of storage space, 1080P resolution needs 8〇OMB storage space, 2K resolution requires 1800MB storage space, clean up memory and try again. "

[0072]进一步,该提示信息还可以包含一接口,通过该接口可以直接跳转至终端的文件管理器,以方便用户进行内存清理。 [0072] Further, the prompt may further comprise an interface, the terminal can directly jump to the file manager via this interface, a user memory to facilitate cleaning.

[0073]步骤S06,根据剩余存储空间大小和剩余数据流量值,从多个清晰度版本中确定第一清晰度版本。 [0073] Step S06, in accordance with the remaining storage space and the remaining data flow value is determined from a plurality of definition-definition version of the first version.

[0074]具体的,根据剩余存储空间大小和剩余数据流量值,从多种分辨率当中筛选出占用存储空间大小小于剩余存储空间大小,且视频下载流量值低于剩余数据流量值的目标分辨率。 [0074] Specifically, according to the remaining storage space and the remaining data traffic value, among a variety of resolutions from the filter occupies less than the remaining storage space size of the storage space, and the video resolution is lower than the target value of download traffic flow data values ​​remaining .

[0075]步骤S207,分别提取多个网络视频的关键字,并根据关键字对多个网络视频进行排序。 [0075] Step S207, the extracted keywords are a plurality of video network, and a plurality of sort network video keyword.

[0076] 在本实施例中,网络视频下载指令可以包含多个网络视频,因此可以分别提取多个网络视频的关键字,并根据关键字对多个网络视频进行排序。 [0076] In the present embodiment, the network may comprise a plurality of video download instruction video, it is possible to extract a keyword of the plurality of video network respectively, and a plurality of keywords are sorted in accordance with the video network. 比如,上述关键字可以为数字,然后根据数字的大小对多个网络视频进行排序。 For example, the above-described keyword may be digital, video and multiple network numbers sorted according to size.

[0077]步骤S208,按照排序分别下载网络视频的第一清晰度版本的视频数据。 [0077] step S208, each sorted downloaded first resolution version of the network with the video data.

[0078]比如网络视频下载指令包含的多个网络视频为“人民的名义第1集”、“人民的名义第2集”以及“人民的名义第3集”,用户势必会首先观看第1集,然后观看第2集,最后观看第3 集,因此终端可以再下载视频时,先下载第1集,然后再下载第2集和第3集。 [0078] multiple networks such as network video download video instructions contained in the "name of the people Episode 1", "2 Episode name of the people" and "name of the people Episode 3", the user is bound to First Watch Episode 1 and viewing the second set, third set of last viewed, and therefore when the terminal may then download video, to download the first set, and then download the second set and third set.

[0079]具体的,终端向服务器发送下载指令,该下载指令包含网络视频的标识信息(比如视频名称)以及第一清晰度版本,服务器将对应的视频数据发送至终端以使其进行保存。 [0079] Specifically, the terminal sends a download instruction to the server, the download instruction containing the identification information (such as video name) and a first network definition version of the video, the server transmits video data corresponding to the terminal so as to be saved.

[0080] 由上可知,本发明实施例可以接收网络视频的下载指令,根据下载指令获取网络视频具有的多个清晰度版本和终端的剩余存储空间,判断是否存在网络视频数据量小于剩余存储空间大小的网络视频第二清晰度版本,若不存在,则按照预设提醒方式生成提示信息并显示至终端屏幕,若存在,则获取终端的剩余数据流量值,基于剩余存储空间大小和剩余数据流量值,从多个清晰度中确定第一清晰度版本,分别提取多个网络视频的关键字,并根据关键字对多个网络视频进行排序,按照排序分别下载网络视频的第一清晰度版本的视频数据。 [0080] From the above, embodiments of the present invention may receive network video download instruction, acquiring network having a plurality of video resolution and remaining storage space of the terminal in accordance with versions of the download instruction, determines whether there is a network of video data is less than the remaining storage space the size of the second network-definition version of the video, if not, generating a reminder message according to a predetermined manner and displayed to the terminal screen, if present, remaining data flow value is acquired terminal, based on the remaining storage space and the remaining data traffic value is determined from a first resolution version of the plurality of clarity, a plurality of keywords each extracted video network, and a plurality of network video keyword sort sorted are downloaded first definition version of the video network video data. 本发明可以根据终端自身的剩余存储空间自动选择用户需要下载的网络视频的清晰度,无需用户进行多余的操作,大大提升了网络视频的下载效率,具有较好的用户体验。 The present invention may be automatically selected according to the terminal itself remaining storage space of the user needs to download the network definition video, without the user's operation unnecessary, greatly enhance the efficiency of the network to download a video, has a better user experience.

[0081] 为了便于更好的实施本发明实施例提供的网络视频下载方法,本发明实施例还提供了一种基于上述网络视频下载方法的装置。 [0081] To facilitate a better implementation of the network video download method according to an embodiment of the present invention, embodiments of the present invention further provides a method of downloading a video based on the network device. 其中名词的含义与上述网络视频下载方法中相同,具体实现细节可以参考方法实施例中的说明。 Wherein the same meaning as the aforementioned term network video download process, the specific implementation details may refer to the description in the method embodiment of FIG.

[0082] 请参阅图5,图5为本发明实施例提供的一种网络视频下载装置的结构示意图,该网络视频下载装置30用于终端下载网络视频,包括:指令接收模块301、第一获取模块302、 确定模块303以及下载模块304; [0082] Referring to FIG. 5, FIG. 5 is a schematic structure of a network to download video apparatus according to an embodiment of the present invention, the network device 30 for downloading video terminal downloads the video network, comprising: an instruction receiving module 301, a first acquisition module 302, a determining module 303 and a download module 304;

[0083]该指令接收模块301,用于接收网络视频的下载指令; [0083] The instruction receiving module 301, a network for receiving video download instruction;

[0084]该第一获取模块302,用于根据下载指令,确定网络视频具有的多个清晰度版本, 以及终端的剩余存储空间; [0084] The first acquisition module 302, according to the download instruction, to determine the network definition video having a plurality of versions, and remaining storage space of the terminal;

[0085]该确定模块303,用于根据剩余存储空间,从多个清晰度版本中确定第一清晰度版本; [0085] The determining module 303, in accordance with the remaining storage space used to determine a first resolution version of the definition from the plurality of versions;

[0086]该下载模块304,用于下载网络视频的第一清晰度版本的视频数据。 [0086] The download module 304, a first resolution version of the video downloaded video data network.

[0087] 进一步的,如图6所示,确定模块3〇3具体包括:第一确定子模块3031、第二确定子模块3032以及第三确定子模块3033; [0087] Further, as shown in Figure 6, 3〇3 determining module comprises: a first determining sub-module 3031, a second determining sub-module 3032 and a third determining submodule 3033;

[0088] 第一确定子模块3031,用于确定多个清晰度版本中,每个清晰度版本对应的数据量; [0088] a first determining sub-module 3031 for determining a plurality of versions of clarity, the amount of data corresponding to each definition version;

[0089]第二确定子模块3032,用于根据每个清晰度版本的数据量,确定多个第二清晰度版本,每个第二清晰度版本对应的数据量小于终端的剩余存储空间; [0089] The second sub-module 3032 determines, based on the amount of data for each resolution version, determining a plurality of versions of a second resolution, the second resolution version of each data amount corresponding to less than the remaining storage space of the terminal;

[0090] 第三确定子模块3033,用于根据预设的优先级,将多个第二清晰度版本中优先级最高的清晰度版本确定为第一清晰度版本。 [0090] The third sub-module 3033 determines, according to a preset priority definition version of the second plurality of priority highest resolution version determined as the first definition version.

[0091] 在一实施例中,该网络视频下载装置30还包括:第二获取模块305; [0091] In one embodiment, the network device 30 further comprises a video download: a second acquisition module 305;

[0092] 该第二获取模块305,用于在指令接收模块301接收网络视频的下载指令之后,获取终端的剩余数据流量值; [0092] The second obtaining module 305, configured to download instruction after the instruction receiving module 301 receives the video network, acquiring the remaining data traffic value of the terminal;

[0093] 该确定模块303,具体用于根据剩余存储空间大小和剩余数据流量值,从多个清晰度版本中确定第一清晰度版本。 [0093] The determining module 303 is specifically configured according to the remaining storage space and the remaining data flow value is determined from a plurality of definition-definition version of the first version.

[0094] 需要说明的是,上述第二获取模块305可以放在第一获取模块302之前也可放在第一获取模块302之后,也即获取终端的剩余数据流量值的步骤与获取终端的剩余存储空间大小的步骤可以相互调换。 [0094] Incidentally, after the second acquisition module 305 can be placed before a first acquiring module 302 may also be placed in a first acquiring module 302, the step value remaining data traffic of the terminal and access terminal that is acquiring the remaining step storage space may be interchanged.

[0095] 在一实施例中,确定模块303还可以具体包括:提醒子模块; [0095] In one embodiment, the determining module 303 may further comprises: alert sub-module;

[0096] 该提醒子模块,用于当第二确定子模块3032确定不存在数据量小于剩余存储空间的清晰度版本时,按照预设提醒方式生成提示信息并显示至终端屏幕,其中,提示信息包括网络视频的多个清晰度版本和每个清晰度版本对应的数据量。 [0096] The alert sub-module, for determining when the second sub-module 3032 determines an amount of data less than the remaining storage space resolution version does not exist, generating a reminder message according to a predetermined manner and displays a screen to the terminal, wherein the message amount of data included in a plurality of video version of the network definition and resolution of each corresponding version.

[0097] 在一实施例中,该网络视频下载装置30还可以包括:提取模块和排序模块; [0097] In one embodiment, the network video download device 30 may further comprise: extraction module and a sorting module;

[0098] 该提取模块,用于当指令接收模块301接收的网络视频的下载指令包含多个网络视频时,提取多个网络视频的关键字; [0098] The extraction module for a download instruction when the instruction receiving module 301 receives a video network comprising a plurality of networks when the video, extracting keywords plurality of video network;

[0099] 该排序模块,用于根据关键字对多个网络视频进行排序; [0099] The sorting module, for a plurality of keywords are sorted in accordance with the video network;

[0100] 该下载模块304,具体用于按照排序分别下载网络视频的第一清晰度版本的视频数据。 [0100] The download module 304, configured to download the network are sorted first video resolution version of the video data.

[0101] 由上可知,本发明实施例提供的网络视频下载装置30可以由指令接收模块301接收网络视频的下载指令,第一获取模块3〇2根据下载指令确定网络视频具有的多个清晰度版本,以及获取终端的剩余存储空间,确定模块3〇3根据剩余存储空间从多个清晰度版本中确定第一清晰度版本,下载模块304下载网络视频的第一清晰度版本的视频数据。 [0101] From the above, the network device 30 to download video according to an embodiment of the present invention may download instruction receiving module 301 receives a network command by the video, a first acquiring module 3〇2 video network having a plurality of clarity determined according to the download instruction version, and obtaining the remaining storage space of a terminal, a first determining module determines 3〇3 definition version, the first resolution version of the download online video module 304 to download data from a plurality of video versions definition according to the remaining storage space. 本发明可以根据终端自身的剩余存储空间自动选择用户需要下载的网络视频的清晰度,然后根据该清晰度进行下载,无需用户进行多余的操作,大大提升了网络视频的下载效率。 The present invention may automatically select a user needs to download the network definition video based on the remaining storage space of the terminal itself, and according to this definition for download, the user need not perform any additional operation, greatly enhance the efficiency of the network to download video.

[0102] 本发明还提供一种存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现方法实施例提供的网络视频下载方法。 [0102] The present invention further provides a storage medium having stored thereon a computer program, characterized in that, when executed by a processor implement the method of the computer program to download video network method provided by the embodiment.

[0103] 本发明还提供一种终端,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现方法实施例提供的网络视频下载方法。 [0103] The present invention further provides a terminal, comprising a computer program memory, a processor and a memory and running on the processor in the memory, wherein the program is executed to realize the method of Example processor provided network video download method.

[0104] 在本发明又一实施例中还提供一种终端,该终端可以是智能手机、平板电脑等设备。 [0104] In a further embodiment of the present invention further provides a terminal, the terminal may be smart phones, tablet computers and other equipment. 如图7所示,终端400包括处理器401、存储器402。 7, the terminal 400 includes a processor 401, a memory 402. 其中,处理器401与存储器402电性连接。 Wherein the processor 401 is electrically connected to the memory 402.

[0105] 处理器401是终端400的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或加载存储在存储器4〇2内的应用程序,以及调用存储在存储器402内的数据, 执行终端的各种功能和处理数据,从而对终端进行整体监控。 [0105] The processor 401 is a control center terminal 400, the use of various interfaces and parts of the overall line connection terminals, or load data by running an application stored in the memory 4〇2, and a call stored in the memory 402 , performs various data processing functions and terminals, thus monitor the whole terminal.

[0106] 在本实施例中,终端400中的处理器401会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器402中,并由处理器401来运行存储在存储器402 中的应用程序,从而实现各种功能: [0106] In the present embodiment, the processor 401 of the terminal 400 will follow the steps of the process one or more applications corresponding to the instruction loaded into the memory 402 by the processor 401 are stored in the run the application memory 402, thereby realizing various functions:

[0107] 接收所述网络视频的下载指令; [0107] The download instruction received video network;

[0108]根据所述下载指令,确定所述网络视频具有的多个清晰度版本; [0108] according to the download instruction, determining a plurality of network definition version of the video having;

[0109]根据所述下载指令,获取所述终端的剩余存储空间; [0109] according to the download instruction, acquiring the remaining storage space of the terminal;

[0110] 根据所述剩余存储空间,从所述多个清晰度版本中确定第一清晰度版本; [0110] in accordance with the remaining storage space, a first determining from the plurality of definition-definition version of versions;

[0111] 下载所述网络视频的第一清晰度版本的视频数据。 [0111] a first network definition version of the video downloaded video data.

[0112] 请参阅图8,图8为本发明实施例提供的终端结构示意图。 [0112] Referring to FIG. 8, FIG. 8 a schematic view of the structure of a terminal according to an embodiment of the present invention. 该终端500可以包括射频(RF,Radio Frequency)电路501、包括有一个或一个以上计算机可读存储介质的存储器502、输入单元503、显示单元504、传感器504、音频电路506、无线保真(WiFi,Wireless Fidelity)模块507、包括有一个或者一个以上处理核心的处理器508、以及电源509等部件。 The terminal 500 may include a radio frequency (RF, Radio Frequency) circuit 501, comprising one or more computer-readable storage medium, a memory 502, an input unit 503, a display unit 504, a sensor 504, an audio circuit 506, wireless fidelity (WiFi , Wireless Fidelity) module 507, a processor comprises one or more processing cores 508, 509 and a power supply member. 本领域技术人员可以理解,图8中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。 Those skilled in the art will be appreciated, the structure of the terminal shown in FIG. 8 do not limit the terminal, may include more or fewer components than shown, or a combination of some of the components, or a different arrangement of components.

[0113] 射频电路501可用于收发信息,或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器508处理;另外,将涉及上行的数据发送给基站。 [0113] RF circuit 501 may be used to send and receive information, during a call or receive and transmit signals, in particular, after the base station receives the downlink information, referred to the one or more processors 508 process; Further, uplink data will involve to the base station. 通常,射频电路501包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、稱合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。 Typically, the RF circuit 501 include, but are not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, Subscriber Identity Module) card, a transceiver, said coupler, a low noise amplifier (LNA , Low Noise Amplifier), and a duplexer. 此外,射频电路501还可以通过无线通信与网络和其他设备通信。 Further, the RF circuit 501 also communicates with a wireless communication network and other devices through. 该无线通信可以使用任一通信标准或协议,包括但不限于全球移动通信系统(GSM,Global System of Mobile communication)、通用分组无线服务(GPRS,General Packet Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long Term Evolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。 The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), Access (CDMA, Code Division Multiple Access), wideband Code Division Multiple Access (WCDMA, wideband Code Division Multiple Access), long term evolution (LTE, long Term Evolution), e-mail, short message service (SMS, short messaging service) and so on.

[0114] 存储器502可用于存储应用程序和数据。 [0114] The memory 502 may be used to store applications and data. 存储器502存储的应用程序中包含有可执行代码。 Application memory 502 comprises stored executable code. 应用程序可以组成各种功能模块。 Applications can be composed of various functional modules. 处理器508通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。 The application processor 508 in the memory 502 to perform various functions and data processing application run by storage. 存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、 图像播放功能等)等;存储数据区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。 The memory 502 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least a function of the desired application (such as a sound playback function, an image playback function, etc.); data storage area may store data created using the terminal (such as audio data, telephone book, etc.). 此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器, 例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。 In addition, memory 502 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage devices, flash memory devices, or other volatile solid-state memory device. 相应地,存储器502还可以包括存储器控制器,以提供处理器508和输入单元503对存储器502的访问。 Accordingly, the memory 502 may further include a memory controller to provide the processor 508 and the input unit 503 to access the memory 502.

[0115]输入单元503可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。 Digital [0115] The input unit 503 may be used to receive input, character information, or the user characteristic information (such as fingerprints), and generate user setting and function control for a keyboard, mouse, joystick, trackball, or the optical input signal. 具体地,在一个具体的实施例中,输入单元503可包括触敏表面以及其他输入设备。 Specifically, in one particular embodiment, the input unit 503 may include a touch sensitive surface and other input devices. 触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。 A touch-sensitive surface also called touch screen or a touch panel, the user may collect on or near the touch operation (such as a user finger, a pen or any other suitable object or accessory on the touch-sensitive surface or touch-sensitive near the surface of the operation), and drive the corresponding connection device in accordance with a preset program. 可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。 Alternatively, the touch-sensitive surface may comprise a touch detection device and a touch controller. 其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器508,并能接收处理器508发来的命令并加以执行。 The touch detecting means detects a user touch position, and the detection signal caused by the touch operation, the touch signal to the controller; a touch controller receives touch information from the touch detecting device, and converts it into contact coordinates, sending to processor 508, and can receive commands sent by the processor 508 and execute. 此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。 Further, using resistive, capacitive, infrared and surface acoustic wave type implementations, and other touch sensitive surface. 除了触敏表面,输入单元503还可以包括其他输入设备。 In addition to touch-sensitive surface, the input unit 503 may also include other input devices. 具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、指纹识别模组、轨迹球、鼠标、操作杆等中的一种或多种。 In particular, other input devices may include but are not limited to, a physical keyboard, function keys (such as volume control keys, key switches, etc.), one or more fingerprint module, a trackball, a mouse, a joystick, and the like.

[0116]显示单元504可用于显示由用户输入的信息或提供给用户的信息以及终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。 [0116] The display unit 504 can display information input by the user or various graphical user interfaces provided to the user terminal information, the graphical user interface may be composed of graphics, text, icons, video, and any combination thereof. 显示单元504可包括显示面板。 The display unit 504 may include a display panel. 可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、 有机发光二极管(〇LED,Organic Light-Emitting Diode)等形式来配置显示面板。 Alternatively, a liquid crystal display can be used (LCD, Liquid Crystal Display), an organic light emitting diode (〇LED, Organic Light-Emitting Diode) and the like to form a display panel. 进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器508以确定触摸事件的类型,随后处理器508根据触摸事件的类型在显示面板上提供相应的视觉输出。 Further, the touch-sensitive surface can cover the display panel, when the touch-sensitive surface is detected after the touch operation on or near to the processor 508 to determine the type of touch event, then processor 508 according to the type of touch event on the display provide a corresponding visual output on the display panel. 虽然在图8中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。 Although, in FIG. 8, the touch-sensitive surface and the display panel as two separate parts for input and output functions, in some embodiments, the touch-sensitive surface may be integrated with the display panel and the input and output functions.

[0117]终端还可包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。 [0117] Terminal 505 may further include at least one sensor, such as an optical sensor, a motion sensor, and other sensors. 具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在终端移动到耳边时,关闭显示面板和/或背光。 Specifically, the optical sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of ambient light, the proximity sensor may be moved to the terminal ear, close the display panel and / or backlighting . 作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、 相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。 As a motion sensor, the accelerometer may detect the size of the respective directions (usually three axes) acceleration may be stationary detect the magnitude and direction of gravity, it is used for identifying of a cell phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), related to vibration identification features (such as a pedometer, percussion) and the like; As for the other sensor terminals may also be configured gyroscope, barometer, hygrometer, a thermometer, an infrared sensor, which is not repeat.

[0118]音频电路506可通过扬声器、传声器提供用户与终端之间的音频接口。 [0118] The audio circuit 506 through a speaker, a microphone provide an audio interface between a user and the terminal. 音频电路506可将接收到的音频数据转换成电信号,传输到扬声器,由扬声器转换为声音信号输出; 另一方面,传声器将收集的声音信号转换为电信号,由音频电路5〇6接收后转换为音频数据,再将音频数据输出处理器508处理后,经射频电路501以发送给比如另一终端,或者将音频数据输出至存储器5〇2以便进一步处理。 After the sound signal the other hand, the collected microphone into an electric signal received by the audio circuit 5〇6; audio circuit 506 may convert the received audio data into an electric signal, transmitted to the speaker, a sound signal is converted by the loudspeaker output into audio data, the processor 508 then outputs the audio data processing circuit 501 via RF transmission to another terminal such as or the audio data output to the memory 5〇2 for further processing. 音频电路506还可能包括耳塞插孔,以提供外设耳机与终端的通信。 The audio circuit 506 may also include an earphone jack, and to provide communication between a peripheral earphone terminal.

[0119]无线保真(WiFi)属于短距离无线传输技术,终端通过无线保真模块507可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。 [0119] Wireless Fidelity (WiFi) is a short-range wireless transmission technology, a terminal 507 through a wireless fidelity module can help users to send and receive e-mail, web browsing, and access to streaming media, etc., which provides wireless broadband Internet access for the user. 虽然图8示出了无线保真模块5〇7,但是可以理解的是,其并不属于终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。 While Figure 8 shows a wireless fidelity 5〇7 module, it will be appreciated that it is not part of the terminal must be configured, and can be omitted in the range that does not change the essence of the invention as needed.

[0120] 处理器5〇8是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器5〇2内的应用程序,以及调用存储在存储器5〇2内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。 [0120] The processor 5〇8 terminal control center, using a variety of interfaces and parts of the overall line connection terminal, or by running the application program executes a program stored in the memory 5〇2, and a call stored in the memory 5〇2 data in the various data processing functions and executing terminal to monitor the whole terminal. 可选的,处理器508可包括一个或多个处理核心;优选的,处理器5〇8可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。 Optionally, processor 508 may include one or more processing cores; Preferably, the processor may be integrated 5〇8 application processor and the modem processor, wherein the main processing operation of the application processor systems, user interfaces and applications program and the like, the modem processor mainly processes wireless communication. 可以理解的是,上述调制解调处理器也可以不集成到处理器508中。 It will be appreciated that the modem processor may not be integrated into the processor 508.

[0121] 终端还包括给各个部件供电的电源5〇9(比如电池)。 [0121] The terminal also includes a power supply to the various components 5〇9 (such as a battery). 优选的,电源可以通过电源管理系统与处理器508逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗^理等功能。 Preferably, the power supply and the power management system can be logically connected to the processor 508, to manage the power management system is achieved by charging, discharging, and power management functions ^. 电源5〇9还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。 Power 5〇9 may also include one or more DC or AC power supply, any recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator and the like.

[0122] 尽管图8中未示出,终端还可以包括摄像头、蓝牙模块等,在此不再赘述。 [0122] Although not shown in FIG. 8, the terminal may further include a camera, a Bluetooth module, etc., which are not repeated herein.

[0123] 处理器508还用于实现以下功能:接收网络视频的下载指令,根据下载指令确定网络视频具有的多个清晰度版本,以及获取终端的剩余存储空间,根据剩余存储空间从多个清晰度版本中确定第一清晰度版本,下载网络视频的第一清晰度版本的视频数据。 [0123] The processor 508 is further configured to perform the following functions: receiving an instruction to download the video network, determining a plurality of video version of the network having a resolution according to the download instruction, and acquires the remaining storage space in the terminal, according to the remaining storage space of the plurality of clear the first definition version, the first resolution version of the downloads of the online video version of the video data is determined.

[0124] 具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。 [0124] DETAILED implementation, each of the above modules may be implemented as a separate entity, may be performed in any combination, as the same or several entities to achieve the specific implementation of each module can be found in the foregoing method embodiments, and will not then repeat.

[0125] 需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如信息发布方法的实施例的流程。 [0125] Incidentally, those of ordinary skill in the art can appreciate that various embodiments of the method of the above-described embodiments all or part of the steps may be relevant hardware instructed by a program, the program may be stored in a computer-readable storage medium , as in the memory of the terminal, and at least one processor within the terminal storing, during execution of the processes of the information distribution method of the embodiment. 其中,存储介质可以包括:只读存储器®〇M,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。 Wherein the storage medium may include: ®〇M read-only memory, Read Only Memory), a random access memory, etc. (RAM, Random Access Memory), magnetic or optical disk.

[0126] 以上对本发明实施例提供的一种网络视频下载方法、装置、存储介质和终端进行了详细介绍,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在, 也可以两个或两个以上模块集成在一个模块中。 Described in detail. A network video download method, apparatus, storage medium and the terminal provided in [0126] the above embodiment of the present invention, each of the functional modules may be integrated into a processing chip, or may be separate physical presence of the respective module, two or more modules may be integrated into one module. 上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。 The integrated module may be implemented in the form of hardware, software functional modules may also be implemented. 本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时, 对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 Herein through specific examples and embodiments of the principles of the present invention are set forth in the above described embodiments are only used to help understand the method and core ideas of the present invention; Meanwhile, those skilled in the art, according to the present invention. I thought, may make modifications in the specific embodiments and application scope of the specification shall not be construed as limiting the present invention.

Claims (12)

1. 一种网络视频下载方法,用于终端下载网络视频,其特征在于,包括以下步骤: 接收所述网络视频的下载指令; 根据所述下载指令,确定所述网络视频具有的多个清晰度版本; 根据所述下载指令,获取所述终端的剩余存储空间; 根据所述剩余存储空间,从所述多个清晰度版本中确定第一清晰度版本; 下载所述网络视频的第一清晰度版本的视频数据。 A network video downloading method for downloading network video terminal, characterized by comprising the steps of: receiving the download instruction video network; according to the download instruction, determining the network definition video having a plurality of version; according to the download instruction, acquiring the remaining storage space of the terminal; and, determining from said plurality of versions of a first resolution in accordance with the definition version of remaining storage space; a first definition video downloading the network version of the video data.
2. 如权利要求1所述的网络视频下载方法,其特征在于,根据所述剩余存储空间,从所述多个清晰度版本中确定第一清晰度版本的步骤具体包括: 确定所述多个清晰度版本中,每个清晰度版本对应的数据量; 根据所述每个清晰度版本的数据量,确定多个第二清晰度版本,每个所述第二清晰度版本对应的数据量小于所述终端的剩余存储空间; 根据预设的优先级,将所述多个第二清晰度版本中优先级最高的清晰度版本确定为所述第一清晰度版本。 2. The network video downloading method according to claim 1, characterized in that, in accordance with the remaining storage space, a first determining step comprises the definition version from said plurality of versions definition: determining a plurality of definition version, the amount of data corresponding to each definition version; the amount of data to the resolution of each version, determining a plurality of versions of a second resolution, the second resolution data amount of each of the corresponding version is less than the remaining storage space of the terminal; definition version of the first priority, determines the predetermined plurality of highest priority version of the second resolution according to resolution version.
3. 如权利要求1所述的网络视频下载方法,其特征在于,在接收所述网络视频的下载指令之后,所述方法还包括: 获取所述终端的剩余数据流量值; 根据所述剩余存储空间,从所述多个清晰度版本中确定第一清晰度版本的步骤具体包括: 根据所述剩余存储空间和所述剩余数据流量值,从所述多个清晰度版本中确定第一清晰度版本。 3. The network video downloading method according to claim 1, wherein, after receiving the instruction to download the video network, said method further comprising: obtaining the flow rate value of the remaining data terminal; according to the residual storage space, the step of determining a first resolution version of the definition from the plurality of versions comprises: in accordance with the remaining storage space and the remaining data flow value, determining a first resolution from said plurality of versions sharpness version.
4. 如权利要求2所述的网络视频下载方法,其特征在于,所述方法还包括: 若不存在所述数据量小于所述剩余存储空间的清晰度版本,则按照预设提醒方式生成提示信息并显示至所述终端屏幕,其中,所述提示信息包括所述网络视频的多个清晰度版本和每个清晰度版本对应的数据量。 4. The network video downloading method according to claim 2, wherein said method further comprises: if the presence of the data is less than the remaining storage space resolution version, generating preset reminder prompt manner and displaying information to the terminal screen, wherein the presentation information includes a plurality of data amount of the network definition version of the video and resolution of each corresponding version.
5. 如权利要求1所述的网络视频下载方法,其特征在于,所述方法还包括: 当所述下载指令包含多个网络视频时,提取所述多个网络视频的关键字; 根据所述关键字对所述多个网络视频进行排序; 下载所述网络视频的第一清晰度版本的视频数据的步骤具体包括: 按照所述排序分别下载所述网络视频的第一清晰度版本的视频数据。 5. The network video downloading method according to claim 1, wherein said method further comprises: when the download instructions comprising a plurality of video network, the plurality of keywords extracted video network; according to the the keyword sorting the plurality of video network; a first step of the network definition version of the video downloaded video data comprises: according to the ordering are downloaded first resolution version of the video data of the video network .
6. —种网络视频下载装置,用于终端下载网络视频,其特征在于,包括:指令接收模块、 第一获取模块、确定模块以及下载模块; 所述指令接收模块,用于接收所述网络视频的下载指令; 所述第一获取模块,用于根据所述下载指令,确定所述网络视频具有的多个清晰度版本,以及获取所述终端的剩余存储空间; 所述确定模块,用于根据所述剩余存储空间,从所述多个清晰度版本中确定第一清晰度版本; 所述下载模块,用于下载所述网络视频的第一清晰度版本的视频数据。 6. - such networks video download means for downloading network video terminal, characterized by comprising: an instruction receiving module, a first acquiring module, a determining module and a download module; the instruction receiving module, for receiving said video network the download instruction; the first acquiring module, according to the download instruction for determining the network definition video having a plurality of versions, and acquires the remaining storage space of the terminal; the determination module, according to the remaining storage space, is determined from the plurality of definition-definition version of a first version; a downloading module configured to download a first version of the definition of the network with the video data.
7. 如权利要求6所述的网络视频下载装置,其特征在于,所述确定模块具体包括:第一确定子模块、第二确定子模块以及第三确定子模块; 所述第一确定子模块,用于确定所述多个清晰度版本中,每个清晰度版本对应的数据量; 所述第二确定子模块,用于根据所述每个清晰度版本的数据量,确定多个第二清晰度版本,每个所述第二清晰度版本对应的数据量小于所述终端的剩余存储空间; 所述第三确定子模块,用于根据预设的优先级,将所述多个第二清晰度版本中优先级最高的清晰度版本确定为所述第一清晰度版本。 7. The network device according to video downloaded to claim 6, wherein the determining module comprises: a first determining sub-module, a second and a third determination sub-module determining sub-module; the first determining sub-module , for determining the plurality of definition versions, versions of the amount of data corresponding to each resolution; the second determining sub-module, according to the data amount of each version of clarity, determining a second plurality definition version, the data amount of each version of the second resolution corresponding to less than the remaining storage space of the terminal; determining a third sub-module, according to a preset priority, the second plurality definition version of the highest priority is determined as the first definition version definition version.
8. 如权利要求6所述的网络视频下载装置,其特征在于,所述装置还包括:第二获取模块; 所述第二获取模块,用于在所述指令接收模块接收所述网络视频的下载指令之后,获取所述终端的剩余数据流量值; 所述确定模块,具体用于根据所述剩余存储空间和所述剩余数据流量值,从所述多个清晰度版本中确定第一清晰度版本。 8. The network device according to video downloaded to claim 6, characterized in that said apparatus further comprises: a second acquiring module; a second acquiring module, receiving means for receiving said instructions in said video network after the download instruction, acquiring the remaining data traffic values ​​of the terminal; the determining module, particularly according to the remaining storage space and the remaining data flow value, determining a first resolution from said plurality of versions sharpness version.
9. 如权利要求7所述的网络视频下载装置,其特征在于,所述确定模块还具体包括:提醒子模块; 所述提醒子模块,用于当所述第二确定子模块确定不存在所述数据量小于所述剩余存储空间的清晰度版本时,按照预设提醒方式生成提示信息并显示至所述终端屏幕,其中,所述提示信息包括所述网络视频的多个清晰度版本和每个清晰度版本对应的数据量。 9. The network device of said video downloading claim 7, wherein the determining module further comprises: alert submodule; the reminder sub-module, configured to, when the determination sub-module determines that the second does not exist said data amount is smaller than the remaining storage space resolution version, generating alert message according to a predetermined manner and displayed to the terminal screen, wherein the presentation information includes a plurality of network definition version of the video, and each of a data amount corresponding to the definition version.
10. 如权利要求6所述的网络视频下载装置,其特征在于,所述装置还包括:提取模块和排序模块; 所述提取模块,用于当所述指令接收模块接收的下载指令包含多个网络视频时,提取所述多个网络视频的关键字; 所述排序模块,用于根据所述关键字对所述多个网络视频进行排序; 所述下载模块,具体用于按照所述排序分别下载所述网络视频的第一清晰度版本的视频数据。 10. The network device of said video downloading to claim 6, characterized in that said apparatus further comprises: extraction module and a sorting module; extraction module the download instruction, when the instruction receiving module for receiving comprises a plurality of video network, the plurality of keywords extracted video network; said sorting module for sorting the plurality of video network according to the key; the downloading module, particularly for respectively according to the ordering a first network definition version of the video downloaded video data.
11. 一种存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-5任一项所述方法的步骤。 11. A storage medium having stored thereon a computer program, characterized in that, to achieve a method as claimed in any one of the steps of claims 1-5 when said computer program is executed by a processor.
12.—种终端,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1-5任一项所述方法的步骤。 12.- type of terminal, including a computer program memory, a processor and a memory and running on the processor in the memory, characterized in that said implement either one of claims 1-5 when executed the program processor steps of the method.
CN201710527827.1A 2017-06-30 2017-06-30 Network video downloading method and apparatus, storage medium and terminal CN107277031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710527827.1A CN107277031A (en) 2017-06-30 2017-06-30 Network video downloading method and apparatus, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710527827.1A CN107277031A (en) 2017-06-30 2017-06-30 Network video downloading method and apparatus, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN107277031A true CN107277031A (en) 2017-10-20

Family

ID=60071551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710527827.1A CN107277031A (en) 2017-06-30 2017-06-30 Network video downloading method and apparatus, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN107277031A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377203A (en) * 2018-02-11 2018-08-07 中国联合网络通信集团有限公司 Method and device for providing differentiated traffic service based on subscription business

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286169A (en) * 2007-04-13 2008-10-15 奥多比公司 Client end management for coordinating content downloading order
CN101420452A (en) * 2008-12-05 2009-04-29 深圳市迅雷网络技术有限公司 Video file publishing method and device
CN101594241A (en) * 2009-06-26 2009-12-02 北京大学;北大方正集团有限公司;北京北大方正电子有限公司 Method and system for downloading network video
CN101689174A (en) * 2006-08-18 2010-03-31 索尼株式会社;索尼电子有限公司 Selective media access through recommended engine
US20100185655A1 (en) * 2009-01-20 2010-07-22 Payam Mirrashidi Re-Download Management of Previously Acquired Digital Media Assets
CN103338401A (en) * 2013-06-03 2013-10-02 贝壳网际(北京)安全技术有限公司 A method, an apparatus and a system used for play control of a video in a mobile terminal browser
CN103581762A (en) * 2013-09-02 2014-02-12 小米科技有限责任公司 Method, device and terminal equipment for playing network videos
CN103701914A (en) * 2013-12-30 2014-04-02 百度在线网络技术(北京)有限公司 Off-line downloading method and device for serial resources
CN103733197A (en) * 2011-08-18 2014-04-16 苹果公司 Management of local and remote media items
CN104410721A (en) * 2014-12-23 2015-03-11 合一网络技术(北京)有限公司 Method and system for supporting automatic caching according to update content
CN104954445A (en) * 2015-05-27 2015-09-30 广东欧珀移动通信有限公司 Data transmission method and data transmission system
CN105163135A (en) * 2015-08-25 2015-12-16 广东欧珀移动通信有限公司 Method, device and system for downloading network resources and mobile terminal
CN105900131A (en) * 2014-01-13 2016-08-24 脸谱公司 Systems and methods for priority-based digital content downloading
CN106210905A (en) * 2016-08-09 2016-12-07 北京金山安全软件有限公司 Video playing method and apparatus and terminal
CN106851413A (en) * 2015-12-07 2017-06-13 北京奇虎科技有限公司 The video processing method and a mobile terminal

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101689174A (en) * 2006-08-18 2010-03-31 索尼株式会社;索尼电子有限公司 Selective media access through recommended engine
CN101286169A (en) * 2007-04-13 2008-10-15 奥多比公司 Client end management for coordinating content downloading order
CN101420452A (en) * 2008-12-05 2009-04-29 深圳市迅雷网络技术有限公司 Video file publishing method and device
US20100185655A1 (en) * 2009-01-20 2010-07-22 Payam Mirrashidi Re-Download Management of Previously Acquired Digital Media Assets
CN101594241A (en) * 2009-06-26 2009-12-02 北京大学;北大方正集团有限公司;北京北大方正电子有限公司 Method and system for downloading network video
CN103733197A (en) * 2011-08-18 2014-04-16 苹果公司 Management of local and remote media items
CN103338401A (en) * 2013-06-03 2013-10-02 贝壳网际(北京)安全技术有限公司 A method, an apparatus and a system used for play control of a video in a mobile terminal browser
CN103581762A (en) * 2013-09-02 2014-02-12 小米科技有限责任公司 Method, device and terminal equipment for playing network videos
CN103701914A (en) * 2013-12-30 2014-04-02 百度在线网络技术(北京)有限公司 Off-line downloading method and device for serial resources
CN105900131A (en) * 2014-01-13 2016-08-24 脸谱公司 Systems and methods for priority-based digital content downloading
CN104410721A (en) * 2014-12-23 2015-03-11 合一网络技术(北京)有限公司 Method and system for supporting automatic caching according to update content
CN104954445A (en) * 2015-05-27 2015-09-30 广东欧珀移动通信有限公司 Data transmission method and data transmission system
CN105163135A (en) * 2015-08-25 2015-12-16 广东欧珀移动通信有限公司 Method, device and system for downloading network resources and mobile terminal
CN106851413A (en) * 2015-12-07 2017-06-13 北京奇虎科技有限公司 The video processing method and a mobile terminal
CN106210905A (en) * 2016-08-09 2016-12-07 北京金山安全软件有限公司 Video playing method and apparatus and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377203A (en) * 2018-02-11 2018-08-07 中国联合网络通信集团有限公司 Method and device for providing differentiated traffic service based on subscription business

Similar Documents

Publication Publication Date Title
CN104113787B (en) Based on the program review method, terminal, server and systems
WO2015027714A1 (en) Video playing method and apparatus, terminal device and server
JP6324625B2 (en) Live interactive system, the method of transmitting information, receiving method and apparatus for information
WO2015124033A1 (en) Video interaction method, terminal, server and system
CN103617165A (en) Picture loading method, device and terminal
WO2015014144A1 (en) Method and apparatus for installing application, and terminal device
CN103500049A (en) Desktop display method, device and terminal
US20150220317A1 (en) Method, equipment and system of incremental update
JP6186443B2 (en) Recording method, reproducing method, apparatus, terminal, system, program, and recording medium
CN105487889A (en) Application interface updating method and device
CN106020987A (en) Method and device for determining kernel running configurations in processor
CN103402190B (en) Network selection method, and a terminal device
CN103294515B (en) A method for obtaining an application method, apparatus and system for
KR101846756B1 (en) Tv program identification method, apparatus, terminal, server and system
US9363551B2 (en) TV program identification method, apparatus, terminal, server and system
US10069818B2 (en) Method, system, device, and terminal for network initialization of multimedia playback device
CN105025314B (en) Method and apparatus for multimedia broadcast
CN104427083A (en) Volume adjusting method and device
CN103455582B (en) Browser navigation page display method of the mobile terminal and
CN103501485B (en) The method of application of the pushing, device and the terminal device
US9800609B2 (en) Method, device and system for detecting malware in a mobile terminal
WO2015039564A1 (en) Method and apparatus for data migration
CN103473092B (en) Processing method for downloading application, device and terminal device
CN103313139A (en) History display method and device and electronic device
CN103544033B (en) Applications fallback method, apparatus and associated equipment

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination