CN106973302A - A kind of method of foradownloaded video data, apparatus and system - Google Patents

A kind of method of foradownloaded video data, apparatus and system Download PDF

Info

Publication number
CN106973302A
CN106973302A CN201610025358.9A CN201610025358A CN106973302A CN 106973302 A CN106973302 A CN 106973302A CN 201610025358 A CN201610025358 A CN 201610025358A CN 106973302 A CN106973302 A CN 106973302A
Authority
CN
China
Prior art keywords
video
download
downloaded
home agent
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610025358.9A
Other languages
Chinese (zh)
Inventor
严华梁
黄李龙
冯涛
朱子荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610025358.9A priority Critical patent/CN106973302A/en
Publication of CN106973302A publication Critical patent/CN106973302A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method of foradownloaded video data, apparatus and system, belong to the communications field.Methods described includes:The first download command that mobile client is sent is received, first download command carries the video labeling and server identification of video to be downloaded;According to default download policy, the server identification and the video labeling, the video data of the video to be downloaded is downloaded;The video data is sent to video player, the video player is integrated in the mobile client.Described device includes:Receiving module, download module and sending module.The system includes:Mobile client, home agent module and video player.The present invention can be controlled to reduce the occupancy to bandwidth resources to downloading process.

Description

A kind of method of foradownloaded video data, apparatus and system
Technical field
The present invention relates to the communications field, more particularly to a kind of method of foradownloaded video data, apparatus and system.
Background technology
With the fast development of mobile terminal technology, the function for the application installed in the terminal is more and more, Many applications can download the function of simultaneously playing video data at present.For example, for current social networking application, When user receives the video link of good friend's transmission and clicks on the video link, social networking application can be according to this Video link is downloaded and plays corresponding video data.
At present, H5 (HyperText Markup Language 5.0, the 5th edition hypertext are integrated with the application Markup language) player, using the video labeling and server of video to be downloaded can be sent to H5 players Mark;H5 players are according to the video labeling of video to be downloaded, onto the corresponding server of the server identification The video data of video to be downloaded is downloaded, the video data is then played again.
During the present invention is realized, inventor has found that prior art at least has problems with:
H5 players will not be controlled in foradownloaded video data to downloading process, often take mobile terminal All idle bandwidth resources to download whole video as early as possible, but user only watches the previous small portion of video sometimes Point, most of video data of download is not all played, wastes substantial amounts of bandwidth resources.
The content of the invention
In order to be controlled downloading process to reduce the occupancy to bandwidth resources, the invention provides under one kind Carry method, the apparatus and system of video data.The technical scheme is as follows:
First aspect includes there is provided a kind of method of foradownloaded video data, methods described:
The first download command that mobile client is sent is received, first download command carries video to be downloaded Video labeling and server identification;
According to default download policy, the server identification and the video labeling, described to be downloaded regard is downloaded The video data of frequency;
The video data is sent to video player, the video player is integrated in the mobile client In end.
Second aspect includes there is provided a kind of method of foradownloaded video data, methods described:
The first download command is sent to home agent module, first download command carries video to be downloaded Video labeling and server identification, first download command are used for the home agent module according to setting in advance Carry tactful, described server identification and the video labeling downloads the video data of the video to be downloaded;
The second download command is sent to video player, second download command carries the local agent mould The address of block, second download command is used for ground of the video player according to the home agent module Location obtains the video data from the home agent module.
The third aspect includes there is provided a kind of device of foradownloaded video data, described device:
Receiving module, the first download command for receiving mobile client transmission, first download command Carry the video labeling and server identification of video to be downloaded;
Download module, for basis default download policy, the server identification and the video labeling, under Carry the video data of the video to be downloaded;
Sending module, for the video data to be sent into video player, the video player is integrated In the mobile client.
Fourth aspect includes there is provided a kind of device of foradownloaded video data, described device:
First sending module, for sending the first download command to home agent module, described first downloads life Order carries the video labeling and server identification of video to be downloaded, and first download command is used for described local Proxy module is downloaded described to be downloaded according to default download policy, the server identification and the video labeling The video data of video;
Second sending module, for sending the second download command, second download command to video player The address of the home agent module is carried, second download command is used for the video player according to institute The address for stating home agent module obtains the video data from the home agent module.
5th aspect is there is provided a kind of system of foradownloaded video data, and the system includes:
Mobile client, home agent module and video player, the home agent module and the video Player is integrated in the mobile client;
The mobile client, for sending the first download command, described first to the home agent module Download command carries the video labeling and server identification of video to be downloaded, and is sent out to the video player The second download command is sent, second download command carries the address of the home agent module;
The video player, for receiving second download command, according to the home agent module Address, receives the video data for the video to be downloaded that the home agent module is sent;
The home agent module, for receiving first download command, according to default download policy, institute State video labeling and the server identification downloads the video data of the video to be downloaded, broadcast to the video Put device and send the video data.
In embodiments of the present invention, home agent module is made according to default download policy foradownloaded video data, this Sample can control the downloading process of home agent module by presetting download policy, to reduce to bandwidth resources Take.
Brief description of the drawings
Fig. 1 is a kind of network architecture schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of system structure diagram for foradownloaded video data that the embodiment of the present invention 2 is provided;
Fig. 3 is a kind of mobile terminal structure schematic diagram that the embodiment of the present invention 3 is provided;
Fig. 4 is a kind of server architecture schematic diagram that the embodiment of the present invention 4 is provided;
Fig. 5 is a kind of method flow diagram for foradownloaded video data that the embodiment of the present invention 5 is provided;
Fig. 6 is a kind of method flow diagram for foradownloaded video data that the embodiment of the present invention 6 is provided;
Fig. 7 is a kind of method flow diagram for foradownloaded video data that the embodiment of the present invention 7 is provided;
Fig. 8 is a kind of apparatus structure schematic diagram for foradownloaded video data that the embodiment of the present invention 8 is provided;
Fig. 9 is a kind of apparatus structure schematic diagram for foradownloaded video data that the embodiment of the present invention 8 is provided.
Embodiment
To make technical scheme and advantage clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment 1
Referring to Fig. 1, Fig. 1 is CDN (the Content Delivery Network, content of this hair embodiment application Distribution network) network architecture, the CDN framework include video background server 101 and CDN service Device 102;
CDN server 102 is distributed in the edge of CDN and close to user side including multiple.Video Background server 101 is used to store video data, and each CDN server 102 takes for buffered video backstage The video data for the partial video that business device 101 includes.
Mobile terminal can access CDN, the video link of video to be downloaded be shown, if detecting use When family is to the clicking operation of the video link, downloading request message can be sent to video background server, should Downloading request message carries the video link of video to be downloaded.
Accordingly, video background server 101 receives the downloading request message that mobile terminal is sent, according to this The video link that downloading request message is carried, from the video link and the corresponding relation of video labeling that have stored The video labeling of video to be downloaded is obtained, inquiring about in CDN whether there is according to the video labeling includes treating The CDN server 102 of foradownloaded video, response message is downloaded if it is present being sent to mobile terminal, should Download response message and carry the video labeling of video to be downloaded and the server identification of the CDN server 102, If it does not exist, then obtain the server identification of itself, sent to mobile terminal and download response message, under this Carry video labeling and the server identification of its own that response message carries video to be downloaded.
Mobile terminal receives the download response message, the video to be downloaded carried according to the download response message Video labeling and server identification, download and play the video data of video to be downloaded.
Optionally, video labeling and the server identification of CDN server are preserved after video in server 101 Corresponding relation.Video background server 101 searches correspondence pass according to the video labeling of video to be downloaded System, if finding out the server identification of corresponding CDN server, judges exist in CDN Include the CDN server of video to be downloaded, otherwise, judge to be downloaded in the absence of including in CDN The CDN server of video.
Optionally, mobile terminal is received after the download response message, the clothes carried according to the download response message Business device mark, http (HyperText Transfer Protocol, Hyper text transfer are sent to corresponding server Agreement) request, the video labeling of http request carrying video to be downloaded, the server receives the http please Set up and connected the http length between mobile terminal after asking, and connected by the http length by video to be downloaded The corresponding video data of video labeling is sent to mobile terminal.Wherein, the server can be video backstage clothes Business device or CDN server.
The embodiments of the invention provide a kind of system of foradownloaded video data, the system can be above-mentioned mobile whole Run, referring to Fig. 2, be provided with mobile terminal in mobile client 201, and mobile client 201 in end It is integrated with home agent module 202 and video player 203.
Mobile client 201, for sending the first download command to home agent module 202, first downloads life Order carries the video labeling and server identification of video to be downloaded, and sends second to video player 203 Download command, the second download command carries the address of home agent module 202;
Video player 203, for receiving the second download command, according to the address of home agent module 202, Receive the video data for the video to be downloaded that home agent module 202 is sent;
Home agent module 202, for receiving the first download command, according to default download policy, the video mark Know the video data that video to be downloaded is downloaded with Liao's server identification, the video is sent to video player 103 Data.
Optionally, video player 203, can be according to home agent module after the second download command is received 202 address, http request is sent to home agent module 202;Home agent module 202 receives the http Request, the http connections set up between video player 203, is connected to video player by the http 203 send the video data;Video player 203 receives the video data by the http connections.
In embodiments of the present invention, home agent module 202 is according to default download policy foradownloaded video data, The downloading process of home agent module 202 can be so controlled by presetting download policy.Optionally, preset Download policy can include data speed of download.
Accordingly, home agent module 202 can be according to the data speed of download, to the server identification pair The corresponding video data of the video labeling is downloaded in the server answered.It can so be controlled by the speed of download The part idle bandwidth resource that home agent module 202 processed only takes up mobile terminal carrys out foradownloaded video data, prolongs The long time for downloading whole video, so when user, which only watches, to stop playing after the front portion of video, this May only have small part video data not play in the video data that ground proxy module 202 is downloaded, reduce to band The occupancy of wide resource.
For example, it is assumed that for when the video of a length of ten minutes, may if taking whole idle bandwidth resources Only need to the video data of the complete video of time download of one minute.But in the present embodiment, local generation The video data that reason module 202 may need eight minutes to download the video by default data speed of download; Stop playing if user is in two clocks before watching the video, now home agent module 202 has been downloaded Video data may there was only a quarter of the video, so remaining 3/4ths video data is not With download, the occupancy to bandwidth resources is reduced.
Optionally, default download policy can include default data buffering duration.
Accordingly, home agent module 202 can obtain the currently playing progress msg of video player 203, The video data for determining to need to download according to the current playback progress information and the data buffering duration, Ran Houcong The video data of determination is downloaded in the corresponding server of the server identification.
For example, it is assumed that a length of one minute during default data buffering, video player 203 it is currently playing enter It is to be played at first minute of video to spend information, and such home agent module 202 is according to currently playing progress Information and the data buffering duration determine need the video data downloaded to be video first minute to second minute Between video data, the video data between first minute to second minute is then downloaded, so when using When family stops playing video data, home agent module has downloaded the video data of one minute more 202, subtract The occupancy to bandwidth resources is lacked.
Embodiment 3
Referring to Fig. 3, the embodiment of the present invention provides a kind of mobile terminal 300, available for the operation embodiment of the present invention System described in 2.Fig. 3 shows the structure for the mobile terminal 300 that the embodiment of the present invention 3 is provided.
The mobile terminal 300 can be include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, Personal digital assistant) etc. terminal device, by mobile terminal 300 be mobile phone exemplified by, Fig. 3 be illustrated that with this The block diagram of the part-structure of the mobile phone 300 for the terminal correlation that inventive embodiments are provided.With reference to Fig. 3, mobile phone 300 Including transceiver 310, memory 320, input block 330, display unit 340, sensor 350, audio Circuit 360, WiFi (wireless fidelity, Wireless Fidelity) module 370, processor 380 and power supply 390 Deng part.It will be understood by those skilled in the art that the handset structure shown in Fig. 3 only does the act of implementation Example, does not constitute the restriction to mobile phone, can include parts more more or less than diagram, or combine certain A little parts, or different part arrangements.
Each component parts of mobile phone 300 is specifically introduced with reference to Fig. 3:
Transceiver 310 can be RF circuits, available for receive and send messages or communication process in, the reception of signal and hair Send, especially, after the downlink information of base station is received, handled to processor 380;In addition, will design up Data be sent to base station.Generally, transceiver 310 includes but is not limited to antenna, at least one amplifier, received Sender, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..This Outside, receiving device 310 can also be communicated by radio communication with network and other equipment.The radio communication can be with Use any communication standard or agreement, including but not limited to GSM (Global System of Mobile Communication, global system for mobile communications), GPRS (General Packet Radio Service, it is general Be grouped wireless service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, short message clothes Business) etc..
Memory 320 can be used for storage software program and module, and processor 380 is stored in storage by operation The software program and module of device 320, so as to perform various function application and the data processing of mobile phone 300. Memory 320 can mainly include storing program area and storage data field, wherein, storing program area can store operation Application program (such as sound-playing function, image player function etc.) needed for system, at least one function Deng;Storage data field can be stored uses created data (such as voice data, phone according to mobile phone 300 This etc.) etc..In addition, memory 320 can include high-speed random access memory, it can also include non-volatile Property memory, for example, at least one disk memory, flush memory device or other volatile solid-states Part.
Input block 330 can be used for the numeral or character information for receiving input, and produce and mobile phone 300 The key signals input that user is set and function control is relevant.Specifically, input block 330 may include touch-control Panel 331 and other input equipments 332.Contact panel 331, also referred to as touch-screen, collect user and exist (such as user is existed using any suitable objects such as finger, stylus or annex for touch operation on or near it Operation on contact panel 331 or near contact panel 331), and phase is driven according to formula set in advance The attachment means answered.Optionally, contact panel 331 may include touch detecting apparatus and touch controller two Part.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will It is converted into contact coordinate, then gives processor 380, and the order sent of reception processing device 380 and can be subject to Perform.Furthermore, it is possible to be realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Contact panel 331.Except contact panel 331, input block 330 can also include other input equipments 332. Specifically, other input equipments 332 can include but is not limited to physical keyboard, function key (such as volume control Button processed, switch key etc.), trace ball, mouse, the one or more in action bars etc..
Display unit 340 can be used for the information and mobile phone for showing the information inputted by user or being supplied to user 300 various menus.Display unit 340 may include display panel 341, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light emission two Pole pipe) etc. form configure display panel 341.Further, contact panel 331 can cover display panel 341, After contact panel 331 detects the touch operation on or near it, send processor 380 to determine to touch The type of event is touched, provides on display panel 341 corresponding according to the type of touch event with preprocessor 380 Visual output.Although in figure 3, contact panel 331 and display panel 341 are as two independent parts To realize input and the input function of mobile phone 300, but in some embodiments it is possible to by contact panel 331 With the input that is integrated and realizing mobile phone 300 of display panel 341 and output function.
Mobile phone 300 may also include at least one sensor 350, such as optical sensor, motion sensor and its His sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, environment Optical sensor can adjust the brightness of display panel 341 according to the light and shade of ambient light, and proximity transducer can be in hand When machine 300 is moved in one's ear, display panel 341 and/or backlight are closed.As one kind of motion sensor, plus Fast flowmeter sensor can detect in all directions the size of (generally three axles) acceleration, can detect that when static The size of gravity and direction, available for identification mobile phone posture application (such as horizontal/vertical screen switching, dependent game, Magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone 300 The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor that can also configure, It will not be repeated here.
Voicefrequency circuit 360, loudspeaker 361, the audio that microphone 362 can be provided between user and mobile phone 300 connect Mouthful.Electric signal after the voice data received conversion can be transferred to loudspeaker 361 by voicefrequency circuit 360, Voice signal output is converted to by loudspeaker 361;On the other hand, microphone 362 turns the voice signal of collection Be changed to electric signal, by voicefrequency circuit 360 receive after be converted to voice data, then by voice data output processor After 380 processing, through RF circuits 310 to be sent to such as another mobile phone, or voice data exported to storage Device 320 is so as to further processing.
WiFi belongs to short range wireless transmission technology, and mobile phone 300 can help user by WiFi module 370 Send and receive e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection Net is accessed.Although Fig. 3 shows WiFi module 370, but it is understood that, it is simultaneously not belonging to mobile phone 300 must be configured into, can be omitted in the essential scope for do not change invention as needed completely.
Processor 380 is the control centre of mobile phone 300, utilizes various interfaces and connection whole mobile phone Various pieces, software program and/or module in memory 320 are stored in by operation or execution, and adjust With the data being stored in memory 320, the various functions and processing data of mobile phone 300 are performed, so that right Mobile phone carries out integral monitoring.Optionally, processor 380 may include one or more processing units;It is preferred that, Processor 380 can integrated application processor and modem processor, wherein, application processor is mainly handled Operating system, user interface and application program etc., modem processor mainly handles radio communication.Can be with Understand, above-mentioned modem processor can not also be integrated into processor 380.
Mobile phone 300 also includes the power supply 390 (such as battery) powered to all parts, it is preferred that power supply can With logically contiguous by power-supply management system and processor 380, managed so as to be realized by power-supply management system The functions such as charging, electric discharge and power managed.
Although not shown, mobile phone 300 can also include camera, bluetooth module etc., will not be repeated here.
In embodiments of the present invention, mobile client is stored in the memory 320 of mobile terminal 300, and should Home agent module and video player are integrated with mobile client.
Processor 380 can run the mobile client, and the local generation being integrated in the mobile client Manage module and video player.Running the mobile client, the home agent module and the video player When, following function is performed respectively.
Mobile client, for sending the first download command to home agent module, the first download command is carried The video labeling and server identification of video to be downloaded, and the second download command is sent to video player, Second download command carries the address of home agent module;
Video player, for receiving the second download command, according to the address of home agent module, receives this The video data for the video to be downloaded that ground proxy module is sent;
Home agent module, for receiving the first download command, according to default download policy, the video labeling The video data of video to be downloaded is downloaded with Liao's server identification, the video data is sent to video player.
Optionally, video player, can be according to the ground of home agent module after the second download command is received Location, http request is sent to home agent module;Home agent module receives the http request, sets up and regards Http connections between frequency player, are connected to video player by the http and send the video data;Depending on Frequency player receives the video data by the http connections.
Embodiment 4
Referring to Fig. 4, Fig. 4 is the structural representation of server 400 provided in an embodiment of the present invention.The server 400 can be above-mentioned video background server 101 or CDN server 102, and server 400 can be because of configuration Or performance is different and produce than larger difference, one or more processor 401, transceivers can be included 402 and memory 432, the storage medium 430 of one or more storage application programs 442 or data 444 (such as one or more mass memory units).Wherein, memory 432 and storage medium 430 can be with It is of short duration storage or persistently storage.One or more can be included by being stored in the program of storage medium 430 Module (diagram is not marked), each module can include operating the series of instructions in server 400.More Further, processor 422 could be arranged to communicate with storage medium 430, be performed on server 400 Series of instructions operation in storage medium 430.
Server 400 can also include one or more power supplys 426, one or more wired or nothings Wired network interface 450, one or more input/output interfaces 458, one or more keyboards 456, And/or, one or more operating systems 441, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
In the present invention, if server 400 is video background server 101, the place of server 400 Managing device 401 and transceiver 402 has following functions:
Transceiver 402, the downloading request message for receiving mobile terminal transmission, downloading request message is carried Video link;
Processor 401, for obtaining to be downloaded from the video link and the corresponding relation of video labeling that have stored The video labeling of video, being inquired about to whether there is in CDN according to the video labeling includes video to be downloaded CDN server.
Transceiver 402, is additionally operable to if there is the CDN server of video to be downloaded is included, then to mobile whole End, which is sent, downloads response message, and the video labeling and the CDN that the download response message carries video to be downloaded take The server identification of business device, response message is downloaded if it does not exist, then being sent to mobile terminal, and the download rings Message is answered to carry the video labeling of video to be downloaded and the server identification of server 400.
Optionally, transceiver 402, are additionally operable to receive the http request that mobile terminal is sent, the http request is taken Video labeling with video to be downloaded;
Processor 401, the http length for being additionally operable to set up between mobile terminal is connected;
Transceiver 402, is additionally operable to connect the corresponding video of the video labeling of video to be downloaded by the http length Data are sent to mobile terminal.Wherein, the server can be video background server or CDN server.
If server 400 is CDN server 102, the processor 401 and transceiver of server 400 402 have following functions:
Transceiver 402, the http request for receiving mobile terminal transmission, http request carries to be downloaded regard The video labeling of frequency;
Processor 401, for the http length connection between foundation and mobile terminal;
Transceiver 402, is additionally operable to connect the corresponding video of the video labeling of video to be downloaded by the http length Data are sent to mobile terminal.Wherein, the server can be video background server or CDN server.
Embodiment 5
Referring to Fig. 5, the embodiments of the invention provide a kind of method of foradownloaded video data, including:
Step 501:The first download command that mobile client is sent is received, the first download command carries to be downloaded The video labeling and server identification of video.
Step 502:According to default download policy, the server identification and the video labeling, to be downloaded regard is downloaded The video data of frequency.
Step 503:The video data is sent to video player, wherein, the video player is integrated in this In mobile client.
In embodiments of the present invention, so can be by default according to default download policy foradownloaded video data Download policy controls downloading process, to reduce the occupancy to bandwidth resources.
Embodiment 6
Referring to Fig. 6, the embodiments of the invention provide a kind of method of foradownloaded video data, including:
Step 601:The first download command is sent to home agent module, the first download command carries to be downloaded regard The video labeling and server identification of frequency, the first download command are used for home agent module and download plan according to default Slightly, the server identification and the video labeling download the video data of video to be downloaded.
Step 602:The second download command is sent to video player, the second download command carries local agent mould The address of block, the second download command is used for video player according to the address of home agent module from local agent Module obtains the video data.
In embodiments of the present invention, home agent module is made according to default download policy foradownloaded video data, this Sample can control the downloading process of home agent module by presetting download policy, to reduce to bandwidth resources Take.
Embodiment 7
Referring to Fig. 7, the embodiments of the invention provide a kind of method of foradownloaded video data, including:
Step 701:Mobile client obtains the video labeling of video to be downloaded and the server mark of place server Know.
Mobile client can show the video link of video to be downloaded, when user needs to play video to be downloaded, User can click on the video link.Wherein, mobile client can be social networking application or news application etc.; The chat messages that the video link of video to be downloaded can receive for social networking application, or can be news application Certain news links of middle display.
This step can be, when mobile client detects the clicking operation for the video link for treating foradownloaded video, The video link is obtained, downloading request message is sent to video background server, the downloading request message is carried The video link, receives the download response message that video background server is sent, and the download response message is carried The video labeling of video to be downloaded and the server identification of place server.
Optionally, video background server receives the downloading request message, is carried according to the downloading request message Video link, video to be downloaded is obtained from the video link and the corresponding relation of video labeling that have stored Video labeling;According to the video labeling, the video labeling stored and the server mark of CDN server are searched The corresponding relation of knowledge, if finding out the server identification of corresponding CDN server, to mobile client Send and download response message, the download response message carries the video labeling and the CDN service of video to be downloaded The server identification of device, if not finding out the server identification of corresponding CDN server, is obtained from The server identification of body, is sent to mobile client and downloads response message, and the download response message is carried and treated down Carry the video labeling and the server identification of its own of video.
Step 702:Mobile client sends the first download command to home agent module, and the first download command is taken Video labeling and server identification with video to be downloaded.
Optionally, home agent module can be integrated in mobile client, so mobile client can be straight Connect to be locally-downloaded module send the first download command.
Step 703:Mobile client sends the second download command to video player, and the second download command is carried The address of home agent module.
Optionally, video player can be integrated in mobile client, so mobile client can be direct The second download command is sent to video player.
Optionally, the video player can be H5 players etc., and it can run in a browser.
, wherein it is desired to which explanation is:Step 702 and step 703 can first carry out step without sequencing Rapid 702, then step 703 is performed, step 703 can also be first carried out, then perform step 702, or both Perform simultaneously.
Step 704:Home agent module receives the first download command, according to default download policy, to be downloaded regards The video labeling and server identification of frequency, download the video data of video to be downloaded.
Wherein, home agent module, so can be by default according to default download policy foradownloaded video data Download policy controls the downloading process of home agent module, to reach the occupancy reduced to bandwidth resources.
Optionally, default download policy can include data speed of download or data buffering duration etc..
When default download policy includes data speed of download, home agent module can be downloaded according to the data Speed, the video labeling that the video to be downloaded is downloaded into the corresponding server of the server identification corresponding is regarded Frequency evidence.
Detailed process can be:
Local proxy server sends http according to the server identification to the corresponding server of the server identification Request, the http request carries the video labeling of video to be downloaded;The server receives the http request, builds It is vertical with the home agent module http length between mobile terminals be connected;Then, home agent module root According to the data speed of download, downloaded and treated down from the corresponding server of the server identification by the http connections Carry the corresponding video data of video labeling of video.
Wherein, by the data speed of download home agent module can be controlled to only take up shifting in the present embodiment The part idle bandwidth resource of dynamic terminal carrys out foradownloaded video data, and the time of whole video is downloaded in extension, so When user, which only watches, to stop playing after the front portion of video, in the video data that home agent module is downloaded May only have small part video data not play, reduce the occupancy to bandwidth resources.
For example, it is assumed that for when the video of a length of ten minutes, may if taking whole idle bandwidth resources Only need to time of one minute.But home agent module may need eight by default data speed of download Minute has downloaded the video;Stop playing if user is in two clocks before watching the video, now locally The video data that proxy module has been downloaded may only have a quarter of the video, and so remaining 3/4ths Video data without download, reduce the occupancy to bandwidth resources.
Optionally, when default download policy includes data buffering duration, home agent module can be obtained and regarded The currently playing progress msg of frequency player, it is true according to the current playback progress information and the data buffering duration The fixed video data for needing to download, this for then downloading determination from the corresponding server of the server identification is regarded Frequency evidence.
Detailed process can be:
Local proxy server sends http according to the server identification to the corresponding server of the server identification Request, the http request carries the video labeling of video to be downloaded;The server receives the http request, builds The vertical http length between the server identification is connected;Then, home agent module obtains video and broadcast in real time again The currently playing progress msg of device is put, need are determined according to the current playback progress information and the data buffering duration The video data to be downloaded, is connected from the clothes according to the video labeling of video to be downloaded, and by the http length Business device identifies the video data that determination is downloaded in corresponding server.
For example, it is assumed that a length of one minute during default data buffering, the currently playing progress letter of video player Cease to be played to one minute position of video, such home agent module is according to currently playing progress msg and is somebody's turn to do Data buffering duration determines to need the video data downloaded to be regarding between first minute to second minute of video Frequency evidence, then downloads the video data between first minute to second minute, so when user stops broadcasting When putting video data, home agent module has only downloaded the video datas of one minute more, reduces and bandwidth is provided The occupancy in source.
In the present embodiment, the server may be CDN server, it is also possible to be video background server.
Step 705:Video player receives the second download command, according to the local of second download command carrying The address of proxy module, http request is sent to home agent module.
Step 706:Home agent module receives the http request, the http set up between video player Connection.
In the present embodiment, because video player is to run in a browser, video player is sent to this The request of ground proxy module is http request, and the connection between this proxy module and video player connects for http Connect, so the interaction logic between home agent module and video player is based on http agreements, however, What type of browser all compatibility http agreements, so ensure that home agent module can be compatible different The browser of type.
Step 707:Home agent module is connected to video player by the http and sends regarding for video to be downloaded Frequency evidence.
Video player receives the video data by the http connections, and plays the video data.Playing During, if user closes the video player to stop playing during the video data, local agent mould Block can stop the video data for continuing to download video to be downloaded.
In embodiments of the present invention, home agent module is made according to default download policy foradownloaded video data, this Sample can control the downloading process of home agent module by presetting download policy, to reduce to bandwidth resources Take.
Embodiment 8
Referring to Fig. 8, the embodiments of the invention provide a kind of device 800 of foradownloaded video data, described device 800 Including:
Receiving module 801, the first download command for receiving mobile client transmission, described first downloads life Order carries the video labeling and server identification of video to be downloaded;
Download module 802, for basis default download policy, the server identification and the video labeling, Download the video data of the video to be downloaded;
Sending module 803, for the video data to be sent into video player, the video player collection Into in the mobile client.
Optionally, the sending module 803 includes:
Receiving unit, for receiving the HTTP http request that the video player is sent;
Unit is set up, for setting up the http connections between the video player;
Transmitting element, the video data is sent for being connected by the http to the video player.
Optionally, the default download policy includes data speed of download;
The download module 802, specifically for according to the data speed of download, the server identification and institute Video labeling is stated, the video data of the video to be downloaded is downloaded.
Optionally, the default download policy includes data buffering duration;
The download module 802 includes:
Acquiring unit, the currently playing progress msg for obtaining the video player;
Determining unit, for according to the currently playing progress msg and the data buffering duration, it is determined that needing The video data to be downloaded;
Download unit, for according to the server identification and the video labeling, downloading regarding for the determination Frequency evidence.
In embodiments of the present invention, so can be by default according to default download policy foradownloaded video data Download policy controls downloading process, to reduce the occupancy to bandwidth resources.
Embodiment 9
Referring to Fig. 9, the embodiments of the invention provide a kind of device of foradownloaded video data, described device includes:
First sending module 901, for sending the first download command to home agent module, described first downloads Order carries the video labeling and server identification of video to be downloaded, and first download command is used for described Ground proxy module is treated down according to being downloaded default download policy, the server identification and the video labeling Carry the video data of video;
Second sending module 902, for sending the second download command to video player, described second downloads life Order carries the address of the home agent module, second download command be used for the video player according to The address of the home agent module obtains the video data from the home agent module.
In embodiments of the present invention, home agent module is made according to default download policy foradownloaded video data, this Sample can control the downloading process of home agent module by presetting download policy, to reduce to bandwidth resources Take.
One of ordinary skill in the art will appreciate that realizing all or part of step of above-described embodiment can pass through Hardware is completed, and the hardware of correlation can also be instructed to complete by program, described program can be stored in In a kind of computer-readable recording medium, storage medium mentioned above can be read-only storage, disk or CD etc..
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all the present invention's Within spirit and principle, any modification, equivalent substitution and improvements made etc. should be included in the present invention's Within protection domain.

Claims (13)

1. a kind of method of foradownloaded video data, it is characterised in that methods described includes:
The first download command that mobile client is sent is received, first download command carries video to be downloaded Video labeling and server identification;
According to default download policy, the server identification and the video labeling, described to be downloaded regard is downloaded The video data of frequency;
The video data is sent to video player, the video player is integrated in the mobile client In end.
2. the method as described in claim 1, it is characterised in that described be sent to the video data regards Frequency player, including:
Receive the HTTP http request that the video player is sent;
The http connections set up between the video player;
Connected by the http to the video player and send the video data.
3. the method as described in claim 1, it is characterised in that the default download policy is included under data Carry speed;
The basis presets download policy, the server identification and the video labeling, download described in treat down The video data of video is carried, including:
According to the data speed of download, the server identification and the video labeling, treated down described in download Carry the video data of video.
4. the method as described in claim 1, it is characterised in that the default download policy is slow including data Rush duration;
The basis presets download policy, the server identification and the video labeling, download described in treat down The video data of video is carried, including:
Obtain the currently playing progress msg of the video player;
According to the currently playing progress msg and the data buffering duration, it is determined that needing the video counts downloaded According to;
According to the server identification and the video labeling, the video data of the determination is downloaded.
5. a kind of method of foradownloaded video data, it is characterised in that methods described includes:
The first download command is sent to home agent module, first download command carries video to be downloaded Video labeling and server identification, first download command are used for the home agent module according to setting in advance Carry tactful, described server identification and the video labeling downloads the video data of the video to be downloaded;
The second download command is sent to video player, second download command carries the local agent mould The address of block, second download command is used for ground of the video player according to the home agent module Location obtains the video data from the home agent module.
6. method as claimed in claim 5, it is characterised in that second download command is specifically for institute State video player and http request sent to the home agent module according to the address of the home agent module, Set up the http connections between the home agent module and described local by http connections reception The video data that proxy module is sent.
7. the method as described in claim 5 or 6, it is characterised in that the home agent module and described Video player is integrated in same mobile client.
8. a kind of device of foradownloaded video data, it is characterised in that described device includes:
Receiving module, the first download command for receiving mobile client transmission, first download command Carry the video labeling and server identification of video to be downloaded;
Download module, for basis default download policy, the server identification and the video labeling, under Carry the video data of the video to be downloaded;
Sending module, for the video data to be sent into video player, the video player is integrated In the mobile client.
9. device as claimed in claim 8, it is characterised in that the sending module includes:
Receiving unit, for receiving the HTTP http request that the video player is sent;
Unit is set up, for setting up the http connections between the video player;
Transmitting element, the video data is sent for being connected by the http to the video player.
10. device as claimed in claim 8, it is characterised in that the default download policy includes data Speed of download;
The download module, specifically for according to the data speed of download, the server identification and described Video labeling, downloads the video data of the video to be downloaded.
11. device as claimed in claim 8, it is characterised in that the default download policy includes data Buffer duration;
The download module includes:
Acquiring unit, the currently playing progress msg for obtaining the video player;
Determining unit, for according to the currently playing progress msg and the data buffering duration, it is determined that needing The video data to be downloaded;
Download unit, for according to the server identification and the video labeling, downloading regarding for the determination Frequency evidence.
12. a kind of device of foradownloaded video data, it is characterised in that described device includes:
First sending module, for sending the first download command to home agent module, described first downloads life Order carries the video labeling and server identification of video to be downloaded, and first download command is used for described local Proxy module is downloaded described to be downloaded according to default download policy, the server identification and the video labeling The video data of video;
Second sending module, for sending the second download command, second download command to video player The address of the home agent module is carried, second download command is used for the video player according to institute The address for stating home agent module obtains the video data from the home agent module.
13. a kind of system of foradownloaded video data, it is characterised in that the system includes:
Mobile client, home agent module and video player, the home agent module and the video Player is integrated in the mobile client;
The mobile client, for sending the first download command, described first to the home agent module Download command carries the video labeling and server identification of video to be downloaded, and is sent out to the video player The second download command is sent, second download command carries the address of the home agent module;
The video player, for receiving second download command, according to the home agent module Address, receives the video data for the video to be downloaded that the home agent module is sent;
The home agent module, for receiving first download command, according to default download policy, institute State video labeling and the server identification downloads the video data of the video to be downloaded, broadcast to the video Put device and send the video data.
CN201610025358.9A 2016-01-14 2016-01-14 A kind of method of foradownloaded video data, apparatus and system Pending CN106973302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610025358.9A CN106973302A (en) 2016-01-14 2016-01-14 A kind of method of foradownloaded video data, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610025358.9A CN106973302A (en) 2016-01-14 2016-01-14 A kind of method of foradownloaded video data, apparatus and system

Publications (1)

Publication Number Publication Date
CN106973302A true CN106973302A (en) 2017-07-21

Family

ID=59334318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610025358.9A Pending CN106973302A (en) 2016-01-14 2016-01-14 A kind of method of foradownloaded video data, apparatus and system

Country Status (1)

Country Link
CN (1) CN106973302A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737505A (en) * 2018-04-27 2018-11-02 厦门理工学院 A kind of method of resource downloading, system and terminal device
CN111328032A (en) * 2018-12-17 2020-06-23 中国移动通信集团北京有限公司 Method and device for sending video short message
CN112423125A (en) * 2020-11-20 2021-02-26 上海哔哩哔哩科技有限公司 Video loading method and device
WO2022199484A1 (en) * 2021-03-24 2022-09-29 华为技术有限公司 Media playback method and apparatus and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108257A (en) * 2011-11-10 2013-05-15 中国科学院声学研究所 Method used for embedded terminal and capable of improving playback quality of streaming media and system used for embedded terminal and capable of improving playback quality of streaming media
CN103248962A (en) * 2013-04-23 2013-08-14 华为技术有限公司 Method, equipment and system for obtaining streaming media data
CN103501327A (en) * 2013-09-25 2014-01-08 北京奇虎科技有限公司 Downloading method and device based on mobile terminal application
CN103685302A (en) * 2013-12-24 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for processing connection content delivery network
CN104618418A (en) * 2014-07-09 2015-05-13 腾讯科技(北京)有限公司 Method and device for playing multimedia file
CN105007339A (en) * 2015-08-25 2015-10-28 广东欧珀移动通信有限公司 Resource download method, device thereof and intelligent terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108257A (en) * 2011-11-10 2013-05-15 中国科学院声学研究所 Method used for embedded terminal and capable of improving playback quality of streaming media and system used for embedded terminal and capable of improving playback quality of streaming media
CN103248962A (en) * 2013-04-23 2013-08-14 华为技术有限公司 Method, equipment and system for obtaining streaming media data
CN103501327A (en) * 2013-09-25 2014-01-08 北京奇虎科技有限公司 Downloading method and device based on mobile terminal application
CN103685302A (en) * 2013-12-24 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for processing connection content delivery network
CN104618418A (en) * 2014-07-09 2015-05-13 腾讯科技(北京)有限公司 Method and device for playing multimedia file
CN105007339A (en) * 2015-08-25 2015-10-28 广东欧珀移动通信有限公司 Resource download method, device thereof and intelligent terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737505A (en) * 2018-04-27 2018-11-02 厦门理工学院 A kind of method of resource downloading, system and terminal device
CN111328032A (en) * 2018-12-17 2020-06-23 中国移动通信集团北京有限公司 Method and device for sending video short message
CN112423125A (en) * 2020-11-20 2021-02-26 上海哔哩哔哩科技有限公司 Video loading method and device
WO2022199484A1 (en) * 2021-03-24 2022-09-29 华为技术有限公司 Media playback method and apparatus and electronic device

Similar Documents

Publication Publication Date Title
CN106454404B (en) A kind of methods, devices and systems playing live video
CN103905885B (en) Net cast method and device
CN104618217B (en) Share method, terminal, server and the system of resource
CN103347003B (en) A kind of Voice over Internet method, Apparatus and system
WO2018120905A1 (en) Message reminding method for terminal, and terminal
CN104699501B (en) A kind of method and device for running application program
CN104239332A (en) Webpage content processing method, webpage content processing device and browser client side
CN103631625B (en) A kind of method of data acquisition, user terminal, server and system
CN103593247B (en) Method and device for data transmission
CN106375774A (en) Live broadcast room display content control method, apparatus and system
CN106302087A (en) Instant communication method, Apparatus and system
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
CN103491240B (en) A kind of alarm clock ringing method, device and mobile terminal
CN106034114A (en) Multimedia information sharing method and device
CN106973302A (en) A kind of method of foradownloaded video data, apparatus and system
CN104660769B (en) A kind of methods, devices and systems for adding associated person information
CN105530239A (en) Multimedia data obtaining method and device
US10992723B2 (en) Method for processing streaming media data and terminal
CN104240710B (en) A kind of method, system and the terminal device of information transmission
CN107025574A (en) The methods of exhibiting and device of promotion message
CN106953899A (en) Multi-medium data sharing method and device
CN106648306A (en) Method for assisting utilize of terminal equipment and terminal device
CN106547874A (en) Multimedia recommendation method and device
CN106228994B (en) A kind of method and apparatus detecting sound quality
CN107786423B (en) A kind of method and system of instant messaging

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for 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: 20170721