CN110324680A - A kind of video pushing method, device and server, client, storage medium - Google Patents

A kind of video pushing method, device and server, client, storage medium Download PDF

Info

Publication number
CN110324680A
CN110324680A CN201810287364.0A CN201810287364A CN110324680A CN 110324680 A CN110324680 A CN 110324680A CN 201810287364 A CN201810287364 A CN 201810287364A CN 110324680 A CN110324680 A CN 110324680A
Authority
CN
China
Prior art keywords
video
information
push
client
pushing
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.)
Granted
Application number
CN201810287364.0A
Other languages
Chinese (zh)
Other versions
CN110324680B (en
Inventor
郜光耀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201810287364.0A priority Critical patent/CN110324680B/en
Publication of CN110324680A publication Critical patent/CN110324680A/en
Application granted granted Critical
Publication of CN110324680B publication Critical patent/CN110324680B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, 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/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/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • 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/61Network physical structure; Signal processing
    • H04N21/6156Network physical structure; Signal processing specially adapted to the upstream path of the transmission network
    • H04N21/6175Network physical structure; Signal processing specially adapted to the upstream path of the transmission network involving transmission via Internet

Abstract

The embodiment of the invention discloses a kind of video pushing method, device and server, client, storage mediums, the method comprise the steps that if when detecting the pre- push trigger event to client, it is that client generates video push information according to pre- push rule, and determine that pushing video identifies the pre-download data volume for corresponding to video in pushed information, and then according to video push information and pre-download data volume, generating can serve to indicate that client downloads and store video data prestores instruction information.The sowing time that video can be shortened using the present invention is long.

Description

A kind of video pushing method, device and server, client, storage medium
Technical field
This application involves video technique field more particularly to a kind of video pushing method, device and server, client, Storage medium.
Background technique
It is more and more to use with the rapid development of electronic technology and network technology and the rapid proliferation of network video Like that various videos are downloaded and watched using intelligent terminal, digital television devices in family.
Currently, user, during playing network video using intelligent terminal, typically user clicks user interface After some video identifier of upper presentation, intelligent terminal arrives network side request again and downloads corresponding video data, and plays downloading Data.On the basis of existing technology, how video playing service more rapid and better is provided for user and had become a hot topic of research ask Topic.
Summary of the invention
The embodiment of the invention provides a kind of video pushing method, device and server, client, storage mediums, can be pre- First video is pushed and downloaded, video is improved and acts the rate broadcast.
On the one hand, the embodiment of the invention provides a kind of video pushing methods, comprising:
If detecting the pre- push trigger event to client, according to pre- push rule, generated for the client Video push information, the video push information include pushing video mark;
Determine that the pushing video identifies the pre-download data volume of corresponding video;
According to the video push information and the pre-download data volume, generation is used to indicate described in the client downloads The corresponding video data of pushing video mark prestores instruction information, and the data volume of the video data is according to the pre-download number Determining according to amount.
On the other hand, the embodiment of the invention provides another video pushing methods, are applied to client, this method packet It includes:
Pre- push request is generated, and sends the pre- push request to server;
Receive that the server responds that the pre- push request generates be used to indicate foradownloaded video data prestore instruction Information, the instruction information that prestores is that the server is generated according to video push information and pre-download data volume, the view The data volume of frequency evidence is determined according to the pre-download data volume;
Instruction information foradownloaded video data are prestored according to described.
In another aspect, being applied to server, this method packet the embodiment of the invention provides another video pushing method It includes:
Receive the pre- push request of client;
Video push information is generated, and determines that pushing video identifies the pre-download data for corresponding to video in the pushed information Amount;
Generate be used to indicate the client downloads video data prestore instruction information, and prestore instruction information for described It is sent to the client.
Another aspect, the embodiment of the invention provides a kind of video push devices, comprising:
Generation module, according to pre- push rule, is the visitor if detecting the pre- push trigger event to client Family end generates video push information, and the video push information includes pushing video mark;
Determining module, for determining that the pushing video identifies the pre-download data volume of corresponding video;
The generation module is also used to be generated according to the video push information and the pre-download data volume for referring to That shows the corresponding video data of the mark of pushing video described in the client downloads prestores instruction information.
Another aspect, the embodiment of the invention provides another video push devices, comprising:
Generation module, for generating pre- push request;
Sending module, for sending the pre- push request that the generation module generates to server;
Receiving module, for receive the server respond it is described it is pre- push request generate be used to indicate foradownloaded video number According to prestore instruction information, the instruction information that prestores is that the server is raw according to video push information and pre-download data volume At;
Download module, for prestoring instruction information foradownloaded video data according to.
Another aspect, the embodiment of the invention provides another video push devices, comprising:
Receiving module, the pre- push for receiving client are requested;
Generation module, for generating video push information;
Determining module, for determining the pre-download data volume of the corresponding video of pushing video mark in the pushed information;
The generation module, be also used to generate be used to indicate the client downloads video data prestore instruction information;
Sending module is sent to the client for prestoring instruction information described in generating the generation module.
Correspondingly, the embodiment of the invention also provides a kind of servers, comprising: processor and storage device;The storage Device, for storing program instruction;The processor calls described program instruction, for executing: if detected to client Pre- push trigger event generate video push information, the video push letter then according to pre- push rule for the client Breath includes that pushing video identifies;Determine that the pushing video identifies the pre-download data volume of corresponding video;It is pushed away according to the video It delivers letters breath and the pre-download data volume, generation is used to indicate pushing video described in the client downloads and identifies corresponding video counts According to prestore instruction information.It can be also used for executing: receiving the pre- push request of client;Video push information is generated, and really Pushing video identifies the pre-download data volume of corresponding video in the fixed pushed information;Generation is used to indicate the client downloads Video data prestores instruction information, and the instruction information that prestores is sent to the client;Wherein, the video data It is the data that pushing video identifies in indicated video in video push information, the data volume of the video data is according to What pre-download data volume determined.
Correspondingly, the embodiment of the invention also provides a kind of clients, comprising: processor and storage device;The storage Device, for storing program instruction;The processor calls described program instruction, for executing: if detected to client Pre- push trigger event generate video push information, the video push letter then according to pre- push rule for the client Breath includes that pushing video identifies;Determine that the pushing video identifies the pre-download data volume of corresponding video;It is pushed away according to the video Deliver letters breath and the pre-download data volume, generate be used to indicate that the downloading pushing video identifies corresponding video data prestore finger Show information.It can be also used for executing: generating pre- push request, and send the pre- push request to server;Receive the clothes Foradownloaded video data that business device responded that the pre- push request generates be used to indicate prestore instruction information, described to prestore instruction letter Breath is that the server is generated according to video push information and pre-download data volume;Instruction information downloading view is prestored according to described Frequency evidence
Correspondingly, it the embodiment of the invention also provides a kind of computer storage medium, is stored in the computer storage medium There is program instruction, which is performed, for realizing above-mentioned each method.
The embodiment of the present invention can be visitor according to pre- push rule when detecting the pre- push trigger event to client Family end generates video push information, and determines that pushing video identifies the pre-download data volume for corresponding to video in pushed information, in turn According to video push information and pre-download data volume, generation is used to indicate client downloads pushing video and identifies corresponding video data Prestore instruction information.When user, which triggers, plays the corresponding video of the video data, the video data can be directly played, from And the sowing time for shortening video is long.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 a is a kind of structural schematic diagram of video push system of the embodiment of the present invention;
Fig. 1 b is a kind of operation interface schematic diagram of the embodiment of the present invention;
Fig. 2 a is a kind of interaction schematic diagram of video pushing method of the embodiment of the present invention;
Fig. 2 b is the interaction schematic diagram of another video pushing method of the embodiment of the present invention;
Fig. 3 is the interaction schematic diagram of another video pushing method of the embodiment of the present invention;
Fig. 4 is a kind of flow diagram of video pushing method provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another video pushing method provided in an embodiment of the present invention;
Fig. 6 is the flow diagram of another video pushing method provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of video push device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another video push device provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of client provided in an embodiment of the present invention;
Figure 10 is the structural schematic diagram of another video push device provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
The described method about video push of the embodiment of the present invention, be related to providing the server of Video service and The client of video access service can be provided for user.A referring to Figure 1 is a kind of applicable video of the embodiment of the present invention The structural schematic diagram of supplying system.As shown in Figure 1a, which may include client 101 and server 102.Its In, which can refer in the server group that multiple servers for providing the video conferencing services such as video download are constituted Some server.The client can be a kind of intelligent terminal, be equipped with Video Applications in advance in the intelligent terminal or can To open the website of Video Applications, which can also be Video Applications itself, which can also be intelligent digital electricity Depending on equipment such as set-top boxes, the present invention is not especially limited this.
In one embodiment, the client 101 in this video push system can be generated pre- push request, and to service Device 102, which sends pre- push request, can be generated video push letter after server 102 receives the pre- push request of client 101 Breath, and determine that pushing video identifies the pre-download data volume of corresponding video in pushed information, and then generate and prestore instruction information, and Instruction information will be prestored and be sent to client 101, client 101 receive the transmission of server 102 prestore instruction information after, can To download and store video data according to the instruction for prestoring instruction information, the corresponding view of the video data is played when user triggers When frequency, it can use the video data and directly start to play, it is long so as to shorten the sowing time of video.Wherein, playing sowing time length is Refer to user trigger playing video data correspond to video triggered time and the video data be played play time between when Between it is poor, this rise sowing time length it is shorter, user wait time it is also shorter.
In one embodiment, after receiving the trigger action of request video push of user's input, it is believed that produce Pre- push trigger event is given birth to.For example, client current display interface be Video Applications displayed page as shown in Figure 1 b, when with It, can be for the triggering behaviour of the pre- push button input request video push in figure when triggering video preprocessor push function is wanted at family Make, when client detects that then determination produces pre- push trigger event to the trigger action.
In one embodiment, when preset automatic push trigger condition is satisfied, it is also assumed that producing pre- push Trigger event.Wherein, which can work as detecting in one embodiment for time conditions The preceding time is non-peak period time (such as 01:00-10:00)) when, confirmation produces pre- push trigger condition.Alternatively, this is automatic Push trigger condition can also can detect current available bandwidth capacity not in one embodiment for bandwidth condition When less than pre-set bandwidths capacity threshold, determination produces pre- push trigger condition.
In one embodiment, detect produce pre- push trigger event in the case where, can be according to the sight of user See the videos rating Informations such as the history played data of history, current various types of hot broadcast video ranking lists determine one or The pushing video of the multiple videos that can be pushed to user in advance of person identifies, such as determines that user's last time is seen based on viewing history See " earth " documentary film third collection, recommend video seniority among brothers and sisters based on homepage, determines that in the hot broadcast seniority among brothers and sisters of documentary film further include seniority among brothers and sisters " ocean " documentary film first can be collected be determined as a pushing video mark at this time by the first " ocean " documentary film.
Then it can determine that each push identifies the pre-download data volume of corresponding video, which indicates Be the associated video for needing to download in advance size of data.Pre-download data volume can be Uniform provisions, such as to each A pushing video identifies the pre-download data volume that corresponding video is disposed as 10M, it is of course also possible to according to some computation rules To determine that each pushing video identifies the pre-download data volume of corresponding video, such as the residue sky of the memory according to terminal Between, the combined factors such as the clarity of video, the playing duration of video determine the pre-download data volume of each video.
After pushing video mark and pre-download data volume has been determined, it can be generated one and be used to indicate relative users What client downloads pushing video identified corresponding video data prestores instruction information, and the data volume of the video data is according under pre- Carry what data volume determined.
Extended meeting prestores instruction information according to this after the client of relative users, downloads corresponding data in advance on suitable opportunity The corresponding video of the pushing video mark of amount.User is when video is watched at end, if the video of selection viewing is prestored Partial data amount, then directly starts to play the partial data amount at this time, while downloading remainder data amount, can effectively ensure that The timeliness broadcast ensures the viewing efficiency of user.
In one embodiment, Fig. 2 a is referred to, is a kind of interaction for video pushing method that the embodiment of the present invention proposes Schematic diagram, described method includes following steps.
S101: client generates pre- push request, and sends pre- push request to server.In one embodiment, should The memory information of user information and client is carried in pre- push request, which indicates the free memory of client Capacity.When client detects the trigger action of video push, the user information and memory information of available client, and it is raw It is requested at the pre- push for carrying the user information and memory information, and then the pre- push request is sent to server.The touching Hair operation can be inputted for user by modes such as click, pressing, sliding, voices.The user information can be the account of user Information, such as log in personal account, the User ID of the client.
S102: server receives the pre- push request of client.It include the user information of client in the pre- push request. User information can refer to the user account that client logs in, which facilitates the viewing history for determining the user, user The information such as permission, in order to find the pushing video of suitable relative users viewing for client.
S103: server generates video push information according to pre- push rule, for client, and determines video push information Middle pushing video identifies the pre-download data volume of corresponding video.
S104: server is used to indicate client downloads according to video push information and the generation of pre-download data volume and stores The corresponding video data of pushing video mark prestores instruction information, and will prestore instruction information and be sent to client.The video counts According to data volume be to be determined according to pre-download data volume.
It in one embodiment, can be according to the pre- push request to visitor after server receives pre- push request The user information at family end and the memory information of client, the memory information can be the free memory capacity of client.One In a embodiment, server can be got based on user information user history broadcast information and/or video rating Information (with Under be collectively referred to as recommending reference information), and then according to pre- recommendation reference information push rule and got, determine push view The pushing video of frequency identifies, and then generates video push information, the video push using the pushing video of pushing video mark Information includes the pushing video mark of each pushing video.In one embodiment, after generating video push information, server The free memory capacity of preset ratio can be determined as to free memory capacity, and push letter is determined based on the free memory capacity Pushing video identifies the pre-download data volume of corresponding video (hereinafter referred to as pushing video) in breath, wherein the data of pushing video Total amount is less than or equal to the free memory capacity.Further, server can be according to the above-mentioned video push information of generation With pre-download data volume, the pre-download data volume of each pushing video is determined, and then according to pushing video and pre-download data The corresponding relationship of amount, which generates to be used to indicate client downloads and store prestoring for the corresponding video data of pushing video mark, indicates letter The data volume of breath, the video data can be determined according to pre-download data volume.
In one embodiment, which can be a video push list, video push list note The corresponding pushing video mark of each pushing video has been recorded, pushing video mark can be uniquely corresponding with pushing video, such as It can be video name, video number etc., as shown in table 1-1.In this case, pushing video identifies in video push information The pre-download data volume of corresponding video (i.e. pushing video) and the corresponding relationship of pushing video then can be as shown in table 1-2.
Table 1-1
Serial number Video name
1 Video 001
2 Video 002
3 Video 003
Table 1-2
Serial number Video name Pre-download data volume (unit: M)
1 Video 001 5
2 Video 002 5
3 Video 003 5
Refer to Fig. 2 b again, be client after receiving and prestoring instruction information, according to prestore the instruction of instruction information with The process accompanying drawings of interaction, the video pushing method can also include the following steps between server.
S105: what client reception server was sent prestores instruction information, and prestores instruction information to server according to this Video download request is sent, for requesting above-mentioned pushing video to identify corresponding video data.The data volume of the video data is It is determined according to pre-download data volume.
In one embodiment, client receive server transmission prestore instruction information after, can from prestore instruction The pre-download data volume of each pushing video recorded in video push information and video push information is got in information, and The actual download size of each pushing video is determined according to the pre-download data volume of each pushing video, and then is believed according to the push The actual download size for ceasing and determining sends video download request to server, is pushing away for actual download size for request data quantity Video data is sent, which is that above-mentioned pushing video identifies corresponding video data.
In one embodiment, the corresponding value of data volume (i.e. actual download size) of the pushing video data can with it is pre- under It carries that data volume is equal, is also possible to meet data volume range, which can be and be with pre-download data volume What center was floated up and down, wherein the threshold value to float up and down can be preset.For example, the threshold value to float up and down is 1M, in advance Instruction information is deposited as shown in table 1-2, can be seen that the corresponding pre-download data volume of video 002 from table 1-2 is 5M, then with pre- The data volume range to float up and down centered on downloading data amount is then [4M, 6M], in response to this, under client needs When carrying 002 corresponding video data of video, video download request can be sent to server, for requesting actual download size to be The video 002 (i.e. video data) of [4M, 6M].
S106: the request of the server process video download, and obtain the video data of video download request instruction.
S107: server returns to the video data to client.
S108: client receives and stores the video data that server is returned according to video download request.
In one embodiment, after server receives the request of the video download from client, under available video The video data of request instruction is carried, and will acquire video data and be back to client, after client receives the video data Video data can be stored into storage device, when video corresponding in order to user's follow-up play video data, client End can directly play the video data, so that accelerating rising for video broadcasts rate.Wherein, which can be client SD card.For example, user end to server sends video download request, 001 (the i.e. video of video that request actual download size is 10M Data), server receive the video download request after, can according to the video 001 of video download request 10M, and The video 001 for the 10M that will acquire is back to client, in order to which client receives and stores the video 001 of the 10M.
On the basis of Fig. 2 b the method, then Fig. 3 is referred to, this method can be with step S301~S308, this method Described client may include storage device, and be equipped with Video Applications in advance.In one embodiment, it is logged in user The Video Applications, it is desirable to when watching target video, play operation can be inputted for the video identifier of the target video, video is answered The play operation inputted with detection user, and can inquire in local storage device and whether deposit when detecting the play operation The corresponding video data of target video is contained, and then returns to query result to Video Applications.If query result instruction storage dress It is stored with video data in setting, on the one hand can directly be risen and be broadcast using the video data, namely play the video data;Another party Face can also request to remove other data after the video data, namely request video counts in downloading target video to server Other video datas after guarantee that target video is subsequent in order to play other video datas in subsequent broadcasting Normal play.
In other embodiments, client can also be when preset time arrives or when receiving the operation of user, directly It connects and executes above-mentioned refer to: according to pre- push rule, generating video push information for client, and determine in video push information Pushing video identifies the pre-download data volume of indicated video, and is prestored according to video push information and the generation of pre-download data volume Indicate information two steps here, client itself is pre-generated to prestore instruction information accordingly, subsequent suitable opportunity again Carry out the processing such as corresponding initiation video download request.For example, client can be based on user information, obtains user and use client End plays the history played data of video, and by analyzing these history played datas, determines the video that user is most interested in Which has, and these videos are ranked up, generates user interest rating Information.Further, client can be according to pushing away in advance Rule is sent, user interest rating Information is indicated that the video identifier of d before ranking in video (d is the integer greater than 0) is determined as pushing away It send the pushing video of video to identify, and generates video push information using the video push of pushing video mark.Further, client Itself available free memory capacity is held, and each push in video push information is determined according to the free memory capacity The pre-download data volume of video indicated by video identifier, and then prestored according to the video push information and the generation of pre-download data volume Indicate information.
Fig. 4 is referred to again, is a kind of flow diagram of video pushing method of the embodiment of the present invention, the embodiment of the present invention The method can be executed by server, server group or client.The embodiment of the present invention the method includes such as Lower step.
S401: it if detecting the pre- push trigger event to client, according to pre- push rule, is generated for client Video push information, the video push information include pushing video mark.
In one embodiment, when step S401 is executed by server, if detect client pre- push request or Person detects that the state parameter of server meets pre- pushing condition, then i.e. it is believed that having been detected by the pre- push to client Trigger event.The state parameter of the server can be time parameter, available bandwidth capacity etc..For example, can be in time parameter When the time of instruction is pre- push time (such as non-peak period time (such as 01:00-10:00)), the state parameter of server is determined Meet pre- pushing condition;The state of server can also be determined when available bandwidth capacity is not less than pre-set bandwidths capacity threshold Parameter meets pre- pushing condition.Alternatively, the time that can also be indicated in time parameter is the available of pre- push time and service device When bandwidth capacity is not less than pre-set bandwidths capacity threshold, determine that the state parameter of server meets pre- pushing condition.The present invention couple This is not especially limited.
In one embodiment, it when step S401 is by client executing, can be pushed away in the request video for detecting input When the touch control operation sent, the pre- push trigger event to client is confirmly detected.The touch control operation can pass through a little for user It hits, press, sliding or the modes such as voice input.
In one embodiment, client or the available recommendation reference information of server, the recommendation reference information The history broadcast information for including: video rating Information and/or being got according to the user information of client, and then according to pre- push It send rule and recommends reference information, generate video push information.The user information can be the user for using the client user Mark, such as user account, User ID;Or the identification information of client itself, such as the IP address of client.The video Rating Information can be what server was determined by the history played data of all videos in Analysis server, be also possible to basis The setting determination of developer.
In one embodiment, which can be with are as follows: video rating Information being indicated to, (a is a before ranking in video Integer greater than 0) video and/or the instruction of history broadcast information video in play within nearly c days the view of (c is the integer greater than 0) Frequency is determined as pushing video.In response to this, client or server are detecting the pre- push triggering for client When event, it can determine that the pushing video of pushing video identifies according to pre- push rule, and push away using the video of pushing video Mark is sent to generate video push information.
In one embodiment, client or server can also utilize data analysing method, be based on user information, from Excavate the interest tags of user in the magnanimity historical behavior data of user, for example, user interest label may include love, It is terrible etc..After the interest tags of user have been determined, may further calculate the interested video of user's most probable have including Which, and these videos are ranked up, generate user interest rating Information.In one embodiment, the default push rule It can be that user interest rating Information being indicated to, the video of d before ranking in video (d is the integer greater than 0) is determined as pushing view Frequently.It in response to this, can basis after client or server determine user interest rating Information based on user information User interest rating Information is indicated that the video of d before ranking in video (d is the integer greater than 0) determines by the default push rule Video push mark for pushing video, and utilization pushing video generates video push information.
It is to be appreciated that the history broadcasting of above-mentioned video rating Information, user is believed when step S401 is by client executing Breath and user interest rating Information are also possible to user end to server and acquire.Namely video rating Information, user History broadcast information and user interest rating Information can be generated by server, then be obtained by user end to server.
In one embodiment, which can be a video push list, as shown in table 1-1.The view The corresponding pushing video mark of each pushing video is had recorded in frequency push list, pushing video mark can be with pushing video It is unique corresponding, such as can be video name, video number etc..
S402: determine that pushing video identifies the pre-download data volume of corresponding video.The characteristic manner of pre-download data volume can Think the EMS memory occupation amount of video data, such as 30M;Or the duration of video, such as 20s.
In one embodiment, the memory information of client or the available client of server, which can The free memory capacity of client is thought, it is possible to further which the free memory capacity of preset ratio is determined as free memory Capacity, and then the video presentation information and free memory of the indicated video of pushing video mark according to video push information record Capacity determines that each pushing video identifies the pre-download data volume of indicated video.The video presentation information may include with In lower information any one or it is multiple: according to video push information record pushing video identify determined by video it is total Each pushing video that number, video push information record identifies the levels of sharpness of indicated video, video push information records Each pushing video identifies the playing duration of indicated video, each pushing video of video push information record identifies indicated video Total amount of data.
In one embodiment, which may include the pushing video mark recorded according to video push information The sum of video determined by knowing, in response to this, client or server can be by free memory capacity and pushing videos Video sum determined by identifying is divided by, and the result after being divided by is determined as each pushing video and identifies indicated video Pre-download data volume.
In one embodiment, which may include each pushing video mark of video push information record The total amount of data of indicated video, in response to this, client or server can compare free memory capacity and data The size of total amount, and then according to comparing result, determine that each pushing video identifies the pre-download data volume of indicated video. For example, free memory capacity is e, video push information can be a video push list, have recorded n in video push list The corresponding pushing video mark of (n is positive integer) a pushing video, is in advance the initial pre-download number of each pushing video configuration It is m according to amount, the m is greater than 0 and less than one default value, and in one embodiment, default value can be according to client The numerical value that memory size determines, e.g. 1/10, the 1/5 of memory size are equivalent, are also possible to the view according to each pushing video Frequency data volume determines that e.g. 1/10, the 1/20 of the video data volume is equivalent, naturally it is also possible to it is fixed value, such as 20M.As shown in table 2-1, it can be seen that the total amount of data of each pushing video is n × m from table 2-1.In response to this, if it is right Total amount of data n × m than each pushing video as the result is shown is greater than free memory capacity e, then, then adjustable initial pre-download Data volume m, until total amount of data n × m of each pushing video adjusted is less than or equal to free memory capacity e, after adjustment Initial pre-download data volume be then pre-download data volume.
Table 2-1
In one embodiment, in feelings of the total amount of data less than or equal to free memory capacity for guaranteeing each pushing video Condition, client or server can also be further combined at least one in the levels of sharpness and playing duration of each pushing video It is a, adjust the pre-download data volume of each pushing video.In one embodiment, client or server can be more each The size of the playing duration of pushing video can distribute the first pre-download data volume for the pushing video of the first playing duration, For the pushing video of the second playing duration, the second pre-download data volume can be distributed, wherein the first playing duration is greater than second When playing duration, the first pre-download data volume is greater than the second pre-download data volume, which can be a duration range, such as Duration between 100 minutes to 120 minutes can be the first duration.Similar, in one embodiment, client Or server can the levels of sharpness of more each pushing video can be with for the pushing video of the first levels of sharpness Distribute the first pre-download data volume;For the pushing video of the second levels of sharpness, the second pre-download data volume can be distributed, the Clarity indicated by one levels of sharpness is higher than clarity indicated by the second levels of sharpness, and the first pre-download data volume is big In the second pre-download data volume.Levels of sharpness illustrates a clarity range.In one embodiment, in client or Server in conjunction with each pushing video pre-download data volume to adjust each pushing video of levels of sharpness and playing duration when, Different weights can also be distributed for the levels of sharpness and playing duration of each push, and then according to weight calculation, in conjunction with pushing away The total amount of data for sending the sum of video determined by video identifier and/or each pushing video to identify indicated video, is determined each The pre-download data volume of pushing video.
S403: according to video push information and pre-download data volume, generation is used to indicate the client downloads pushing video Identify corresponding video data prestores instruction information.The data volume of the video data is determined according to pre-download data volume.
In one embodiment, this, which prestores instruction information, can prestore instruction list for one, this prestores instruction list table The corresponding relationship that pushing video in video push information identifies corresponding video and pre-download data volume is levied.This prestores instruction column Table, can be as shown in table 1-2.
In one embodiment, client get this prestore instruction information after, can be prestored according to this instruction information it is true The pre-download data volume that pushing video in pushed information identifies corresponding video (i.e. pushing video) is made, and then according to pre-download number The actual download size of pushing video is determined according to amount, and it is practical for downloading to server and storing the corresponding data volume of pushing video The video data of download.
In one embodiment, the above-mentioned instruction information that prestores can also include that request time information prestores in this case Instruction information is also used to indicate that client downloads above-mentioned pushing video according to request time information and identifies corresponding video data.Its In, which can be the video access historical information that receives according to server to determine, the video access Historical information includes the history video access amount of access historical time section and the access historical time section, and/or, the request time Information is the video-see statistical information of the client obtained according to statistics to determine.
In one embodiment, which can be a video history access list, which goes through History access list can be as shown in table 2-2, and it is corresponding with history video access amount which has recorded each access historical time section Relationship.By the table it can be found that when accessing historical time section and being 18:00-23:00 history video access amount highest, can be with Referred to as video playing/downloading peak period.
Table 2-2
Serial number Access historical time section History video access amount (unit: G)
1 18:00-23:00 100
2 23:00-12:00 10
3 12:00-18:00 55
In one embodiment, which can be a time range, the specific number of this time range Value can be according to the history video of the access historical time section and the access historical time section that include in video access historical information Amount of access determines.For example, it is each access historical time section and history video access amount corresponding relationship as shown in table 2-2, by History video access amount highest when accessing historical time section and being 18:00-23:00, is not suitable for carrying out video pre-download.Therefore, In such a case, it is possible to which time range is determined as 18:00-23:00, client is used to indicate in this time range Do not execute the operation of request downloading pushing video data.That is, in this case, if client detects the current time not When belonging to this time range of 18:00-23:00, then downloading pushing video data can be requested to server.
In one embodiment, which can be time interval information.In one embodiment, Ke Yigen According to the history video access amount of the access historical time section and the access historical time section that include in video access historical information, it is Each access historical time section distributes different time intervals, and the corresponding each time interval of each access historical time section is constituted Set, then be time interval information.In one embodiment, when client or server can be according to each access history Between section history video access amount size, for the first history video access amount distribute first time interval, be the second history video Amount of access distributes the second time interval, wherein when the first history video access amount is greater than the second history video access amount, when first Between interval less than the second time interval.In response to this, the video access that client or server get server is gone through It, can be big according to the corresponding history video access amount of access historical time section each in video access historical information after history information It is small, determine corresponding time interval of each period, and then generate time interval information, namely generate request time information.
In one embodiment, the corresponding relationship of each period, history video access amount and time interval can be as Shown in table 2-3.In this case, it can detecte the period belonging to current time, if current time belongs to the period 18: 00-23:00 then can request downloading to recommend video data according to the time interval of 30min;If current time belongs to the period 23:00-12:00 then can request downloading to recommend video data according to the time interval of 5min.
Table 2-3
Serial number Period History video access amount (unit: G) Time interval (unit: min)
1 18:00-23:00 100 30
2 23:00-12:00 10 5
3 12:00-18:00 55 10
In one embodiment, client or server get video-see statistics of the client in some cycles After information, can by analyzing the video-see statistical information, determine user in the video-see frequency of each period, into And request time information is generated according to the video-see frequency, which can be a time interval.For example, the period It is 1 month, in 1 month video-see record display user this 1 month, client is used between daily 12:30 to 14:00 The frequency for watching video is higher (as being more than predeterminated frequency threshold value), then, then the time interval of 12:30 to 14:00 can be set It is set to 2 hours, and then generates request time information, which indicates that client belongs to 12:30-in current time It was time interval request downloading primary video data with 2 hours when 14:00.
Fig. 5 is referred to again, is a kind of flow diagram of video pushing method of the embodiment of the present invention, the embodiment of the present invention The method can be executed by client.Described method includes following steps for the embodiment of the present invention.
S501: pre- push request is generated, and sends pre- push request to server.
S502: it receives the server response instruction that prestores for being used to indicate foradownloaded video data that push request generates in advance and believes Breath, it is that server is generated according to video push information and pre-download data volume that this, which prestores instruction information, which is view The pushing video of frequency pushed information record identifies the data in corresponding video, and the data volume of the video data is according to pre-download number Determining according to amount.
In one embodiment, itself available memory information of client, the memory information indicate client Free memory capacity, and then the pre- push request for carrying memory information is generated according to memory information, which is used for Request server prestores instruction information according to video push information and the generation of pre-download data volume, wherein pre-download data volume is Server is determined according to memory information.This prestores the specific generating mode of instruction information, may refer to the phase of above-described embodiment Description is closed, details are not described herein again.
S503: information foradownloaded video data are indicated according to prestoring.
In one embodiment, client receive server transmission prestore instruction information after, can from prestore instruction The pre-download data volume of each pushing video recorded in pushed information and pushed information is got in information, and according to each The pre-download data volume of pushing video determines the actual download size (the as data volume of video data) of each pushing video, into And according to the pushed information and the actual download size determined, video download is sent to server and storage data quantity is under reality The pushing video (i.e. video data) of carrying capacity.
In one embodiment, it can also include that requesting interval information prestores finger in this case that this, which prestores instruction information, Show that information is also used to indicate that client requests foradownloaded video data according to the time interval that requesting interval information indicates.For example, pre- It deposits instruction information instruction client and downloads target data according to the time interval of one video data of request in one minute, then client End is got prestore instruction information after, so that it may instruction information is prestored according to this, downloaded and stores for time interval with one minute Video data.
In one embodiment, before client executing step S503, can also detect client state parameter whether Meet pre-download condition, if satisfied, then step S503, the state parameter of the client includes time parameter, network parameter, video At least one of broadcast state parameter.In one embodiment, which may include the first pre-download condition, Two pre-download conditions and third pre-download condition, wherein it is pre- that the first pre-download condition, which can be the time of time parameter instruction, Request time (such as non-peak period time (such as 01:00-10:00));Second pre-download condition can be the net of network parameter instruction Network speed is more than or equal to default network speed threshold value (such as 400k/s);Third pre-download condition can be video broadcasting condition parameter Instruction does not play video.In response to this, client can be pre- in the first pre-download condition, the second pre-download condition and third In the case that at least one in downloading condition is satisfied, determine that the state parameter of client meets pre-download condition, and then execute Step S503.
In one embodiment, if client receives the play operation for client input, it is determined that the broadcasting Corresponding video identifier to be played is operated, and inquires the downloading and in the video data that stores with the presence or absence of video identifier to be played Corresponding video data, and if it exists, then extract and play the video data, and then video can be improved and act the timeliness broadcast.It should Play operation can be inputted for user by modes such as click, pressing, sliding, voices.
In one embodiment, during playing the video data, client can also be downloaded to server wait broadcast Put other video datas in video indicated by video identifier (video hereinafter referred to as to be played) after video data, so guarantee to Play the subsequent normal play of video.
In one embodiment, video data is downloaded and stored to client according to instruction information is prestored, and can also detect this Whether the storage time of target video data is more than or equal to the default storage out-of-service time, if so, deleting the target video Data.
Fig. 6 is referred to again, is a kind of flow diagram of video pushing method of the embodiment of the present invention, the embodiment of the present invention The method can be executed by server or server group.Described method includes following steps for the embodiment of the present invention.
S601: the pre- push request of client is received.
S602: generating video push information, and determines that pushing video identifies the pre-download number for corresponding to video in pushed information According to amount.
It in one embodiment, include the user information of client in pre- push request, server receives pre- push and asks After asking, the recommendation reference information of user can be got based on user information, and then be somebody's turn to do with what is got according to pre- push rule Recommend reference information, determine the pushing video mark of pushing video, and then identifies life using the pushing video of the pushing video At video push information, which has recorded the pushing video mark of each pushing video.Wherein, the video push The specific generating mode of information, may refer to the associated description of above-described embodiment, details are not described herein again.
It in one embodiment, further include the memory information of client in pre- push request, which indicates visitor The free memory capacity at family end.Server can also extract the memory from pre- push request after generating video push information Information, and then determine that pushing video in pushed information identifies the pre-download data volume of indicated video according to the memory information.Its In, how server determines the pre-download data of the indicated video of pushing video mark in pushed information according to memory information Amount, may refer to the associated description of above-described embodiment, details are not described herein again.
S603: generate be used to indicate the client downloads video data prestore instruction information, and instruction information will be prestored It is sent to client.The video data is the data that pushing video identifies in corresponding video in video push information, the video counts According to data volume be to be determined according to pre-download data volume.
In one embodiment, this, which prestores instruction information, can be server according to video push information and pre-download data Amount generation obtains, this, which is prestored, indicates that information can characterize the indicated video of pushing video mark in video push information and (push away Send video) pre-download data volume and pushing video corresponding relationship, as shown in table 1-2.Wherein, how server is according to video Pushed information and the generation of pre-download data volume prestore instruction information, may refer to the associated description of above-described embodiment, herein no longer It repeats.
The embodiment of the invention also provides a kind of computer storage medium, program is stored in the computer storage medium and is referred to It enables, which is performed, for realizing correlation method described in above-described embodiment.
Fig. 7 is referred to again, is a kind of structural schematic diagram of video push device of the embodiment of the present invention, video push dress Setting can be set in server or client.
In one implementation of the described device of the embodiment of the present invention, described device is comprised the following structure.
Generation module 201, if for detecting the pre- push trigger event to client, it is regular according to pre- push, Video push information is generated for the client, the video push information includes pushing video mark;
Determining module 202, for determining that pushing video identifies the pre-download data volume of corresponding video;
Generation module 201 is also used to according to the video push information and the pre-download data volume, and generation is used to indicate The corresponding video data of the mark of pushing video described in the client downloads prestores instruction information, the data volume of the video data It is to be determined according to the pre-download data volume.
In one embodiment, generation module 201 are specifically used for obtaining and recommend reference information, the recommendation reference information The history broadcast information for including: video rating Information and/or being got according to the user information of the client;According to pre- push The regular and described recommendation reference information generates video push information for client.
In one embodiment, determining module 202, comprising: acquiring unit 2021, for obtaining the memory of the client Information, the memory information are the free memory capacity of the client;Determination unit 2022, for will be described in preset ratio Free memory capacity is determined as free memory capacity;Determination unit 2022 is also used to push according in the video push information Video identifier correspond to video video presentation information and the free memory capacity, determine the corresponding view of each pushing video mark The pre-download data volume of frequency.
In one embodiment, the video presentation information include in following information any one or it is multiple: according to What video sum determined by the pushing video mark of the video push information record, the video push information recorded respectively pushes away Send the levels of sharpness of video indicated by video identifier, the indicated view of each pushing video mark of video push information record The total amount of data of video indicated by the playing duration of frequency, each pushing video mark of video push information record.
In one embodiment, the instruction information that prestores is also used to indicate the client according under request time information It carries the pushing video and identifies corresponding video data, wherein the request time information is according to for providing video download For the video access historical information that the server of service receives come what is determined, the video access information includes access historical time History video access amount in section and the access historical time section, and/or, the request time information is obtained according to statistics The video-see statistical information of the client determines.
In embodiments of the present invention, the specific implementation of above-mentioned modules can refer to embodiment corresponding to aforementioned figures 4 The description of middle related content.
Fig. 8 is referred to again, is the structural schematic diagram of another video push device of the embodiment of the present invention, the video push Device can be set in the client.
In one implementation of the described device of the embodiment of the present invention, described device is comprised the following structure.
Generation module 301, for generating pre- push request;Sending module 302, for sending the generation mould to server The pre- push request that block generates;Receiving module 303 responds what the pre- push request generated for receiving the server Be used to indicate foradownloaded video data prestores instruction information, and the instruction information that prestores is that the server is believed according to video push What breath and pre-download data volume generated, the data volume of the video data is determined according to the pre-download data volume;Downloading Module 304, for prestoring instruction information foradownloaded video data according to.
In one embodiment, generation module 301, comprising: acquiring unit 3011, it is described interior for obtaining memory information Depositing information is free memory capacity;Generation unit 3012, for according to the memory information, generation to carry the memory information Pre- push request, the pre- push request generates in advance for request server according to video push information and pre-download data volume Deposit instruction information, wherein the pre-download data volume is that the server is determined according to the memory information.
In one embodiment, described device further include: detection module 305, for that whether detecting state parameter meets to be pre- Downloading condition triggers download module 304 according to described and prestores instruction information foradownloaded video data if meeting pre-download condition, The state parameter includes at least one of time parameter, network parameter, video broadcasting condition parameter.
In one embodiment, described device further include: determining module 306, if for being received by receiving module 303 To the play operation of input, it is determined that the corresponding video identifier to be played of the play operation;Enquiry module 307, for inquiring It states and whether there is the corresponding video data of the video identifier to be played in download module 304;Extraction module 308, if for Enquiry module 307 inquires in the video data of the downloading that there are the corresponding video datas of the video identifier to be played, then from It is extracted in download module 304 and plays the video data.
In embodiments of the present invention, the specific implementation of above-mentioned modules can refer to embodiment corresponding to aforementioned figures 5 The description of middle related content.
Refer to Fig. 9 again, be a kind of structural schematic diagram of client of the embodiment of the present invention, the embodiment of the present invention it is described Client may include processor 401, storage device 402 and communication interface 403.The processor 401, storage device 402 And corresponding video push function can be realized by processor 401 with interaction data between communication interface 403.
The storage device 402 may include volatile memory (volatile memory), such as random access memory Device (random-access memory, RAM);Storage device 402 also may include nonvolatile memory (non-volatile Memory), such as flash memory (flash memory), solid state hard disk (solid-state drive, SSD) etc.;It is described to deposit Storage device 402 can also include the combination of the memory of mentioned kind.
The communication interface 403 interaction data, server can will carry between server, various clients The response message of classification results is sent to the communication interface 403, is exported by the communication interface 403 to the processor of client 401 are handled.
The processor 401 can be central processing unit (central processing unit, CPU).The processor 401 can also be other general processors, digital signal processor (Digital Signal Processor, DSP), dedicated collection At circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
In first possible embodiment, the processor 401 of the client calls the storage device The program instruction stored in 402, if for detecting the pre- push trigger event to client, it is regular according to pre- push, Video push information is generated for the client, the video push information includes pushing video mark;Determine the push view Frequency marking knows the pre-download data volume of corresponding video;According to the video push information and the pre-download data volume, generation is used for Indicate the corresponding video data of client downloads pushing video mark prestores instruction information, the data volume of the video data It is to be determined according to the pre-download data volume.
In one embodiment, the processor 401 is also used to obtain recommendation reference information, the recommendation reference information The history broadcast information for including: video rating Information and/or being got according to the user information of the client;According to pre- push The regular and described recommendation reference information generates video push information for the client.
In one embodiment, the processor 401, is also used to obtain memory information, and the memory information is in residue Deposit capacity;The free memory capacity of preset ratio is determined as free memory capacity;According in the video push information Pushing video identifies the video presentation information for corresponding to video and the free memory capacity, determines each pushing video mark pair Answer the pre-download data volume of video.
In one embodiment, the video presentation information include in following information any one or it is multiple:: according to What video sum determined by the pushing video mark of the video push information record, the video push information recorded respectively pushes away Send the levels of sharpness of video indicated by video identifier, the indicated view of each pushing video mark of video push information record The total amount of data of video indicated by the playing duration of frequency, each pushing video mark of video push information record.
In one embodiment, the instruction information that prestores is also used to indicate the client according under request time information It carries the pushing video and identifies corresponding video data, wherein the request time information is according to for providing video download For the video access historical information that the server of service receives come what is determined, the video access information includes access historical time History video access amount in section and the access historical time section, and/or, the request time information is obtained according to statistics The video-see statistical information of the client determines.
In one embodiment, the processor 401 is also used to generate pre- push request, and to described in server transmission Pre- push request;Receive that the server responds that the pre- push request generates be used to indicate foradownloaded video data prestore finger Show information, the instruction information that prestores is that the server is generated according to video push information and pre-download data volume, described The data volume of video data is determined according to the pre-download data volume;Instruction information foradownloaded video number is prestored according to described According to.
In one embodiment, the processor 401, is also used to obtain memory information, and the memory information is in residue Deposit capacity;According to the memory information, the pre- push request for carrying the memory information is generated, the pre- push request is used for Request server prestores instruction information according to video push information and the generation of pre-download data volume, wherein the pre-download data Amount is that the server is determined according to the memory information.
In one embodiment, the processor 401, is also used to whether detecting state parameter meets pre-download condition, if Meet pre-download condition, then executes described prestore according to and indicate the step of information is downloaded and stores video data, the shape State parameter includes at least one of time parameter, network parameter, video broadcasting condition parameter.
In one embodiment, the processor 401, if being also used to receive the play operation of input, it is determined that should The corresponding video identifier to be played of play operation;It inquires in the foradownloaded video data with the presence or absence of the video identifier to be played Corresponding video data;If it exists, then it extracts and plays the video data.
In embodiments of the present invention, the specific implementation of the processor 401 can refer to reality corresponding to aforementioned figures 4 or 5 Apply the description of related content in example.
Again referring to Figure 10, it is the structural schematic diagram of another video push device of the embodiment of the present invention, which pushes away Device is sent to can be set in the server.
In one implementation of the described device of the embodiment of the present invention, described device is comprised the following structure.
Receiving module 501, the pre- push for receiving client are requested;Generation module 502, for generating video push letter Breath;Determining module 503, for determining the pre-download data volume of the indicated video of pushing video mark in the pushed information;It is raw At module 502, be also used to generate be used to indicate the client downloads video data prestore instruction information;Sending module 504, The client is sent to for prestoring instruction information described in generating the generation module 502;Wherein, the video data It is the data that pushing video identifies in indicated video in video push information, the data volume of the video data is according to described pre- What downloading data amount determined.
It in one embodiment, further include the memory information of the client, the memory letter in the pre- push request Breath is the free memory capacity of the client, and the determining module 503 is specifically used for out of in the pre- push request extract Information is deposited, the pre-download data of the corresponding video of pushing video mark in the pushed information are determined according to the memory information of extraction Amount.
In embodiments of the present invention, the specific implementation of above-mentioned modules can refer to embodiment corresponding to aforementioned figures 6 The description of middle related content.
Again referring to Figure 11, it is a kind of structural schematic diagram of server of the embodiment of the present invention, the institute of the embodiment of the present invention Stating server may include processor 601, storage device 602 and communication interface 603.The processor 601, storage device Corresponding video push function can be realized by processor 601 with interaction data between 602 and communication interface 603.
The storage device 602 may include volatile memory (volatile memory), such as RAM;Storage device 602 also may include nonvolatile memory (non-volatile memory), such as flash memory (flash Memory), SSD etc.;The storage device 602 can also include the combination of the memory of mentioned kind.
The communication interface 603 interaction data, server can will prestore finger between other servers, client Show that information is sent to the communication interface 603, is handled by the processor 601 that the communication interface 603 is exported to client.
The processor 601 can be CPU.The processor 601 can also be other general processors, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components etc..General processor It can be microprocessor or the processor be also possible to any conventional processor etc..
In first possible embodiment, the processor 601 of the server calls the storage device The program instruction stored in 602, if for detecting the pre- push trigger event to client, it is regular according to pre- push, Video push information is generated for the client, the video push information includes pushing video mark;Determine the push view Frequency marking knows the pre-download data volume of corresponding video;According to the video push information and the pre-download data volume, generation is used for Indicate the corresponding video data of the mark of pushing video described in the client downloads prestores instruction information, the number of the video data It according to amount is determined according to the pre-download data volume.
In one embodiment, the processor 601 is also used to obtain recommendation reference information, the recommendation reference information The history broadcast information for including: video rating Information and/or being got according to the user information of the client;According to pre- push The regular and described recommendation reference information generates video push information for the client.
In one embodiment, the processor 601 is also used to obtain the memory information of the client, the memory Information indicates the free memory capacity of the client;The free memory capacity of preset ratio is determined as free memory Capacity;The video presentation information for corresponding to video and the free memory capacity are identified according to the pushing video, determines each Pushing video identifies the pre-download data volume of corresponding video.
In one embodiment, the video presentation information include in following information any one or it is multiple: according to What video sum determined by the pushing video mark of the video push information record, the video push information recorded respectively pushes away Send the levels of sharpness of video indicated by video identifier, the indicated view of each pushing video mark of video push information record The total amount of data of video indicated by the playing duration of frequency, each pushing video mark of video push information record.
In one embodiment, the instruction information that prestores is also used to indicate the client according under request time information It carries the pushing video and identifies corresponding video data, wherein the request time information is according to for providing video download For the video access historical information that the server of service receives come what is determined, the video access information includes access historical time History video access amount in section and the access historical time section, and/or, the request time information is obtained according to statistics The video-see statistical information of the client determines.
In one embodiment, the processor 601 is also used to receive the pre- push request of client;Video is generated to push away It delivers letters breath, and determines that pushing video in the pushed information identifies the pre-download data volume of indicated video;Generation is used to indicate The client downloads video data prestores instruction information, and the instruction information that prestores is sent to the client;Its In, the video data is the data that pushing video identifies in indicated video in video push information, the video data Data volume is determined according to the pre-download data volume.
It in one embodiment, further include the memory information of the client, the memory letter in the pre- push request Breath is the free memory capacity of the client, and the processor 601 is also used to extract memory letter from the pre- push request Breath determines the pre-download data volume of the corresponding video of pushing video mark in the pushed information according to the memory information of extraction.
In embodiments of the present invention, the specific implementation of the processor 601 can refer to corresponding to aforementioned figures 4 or 6 The description of related content in embodiment.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only section Example of the invention, cannot limit the right of the present invention with this certainly Range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and according to right of the present invention Equivalent variations made by it is required that, still belongs to the scope covered by the invention.

Claims (15)

1. a kind of video pushing method characterized by comprising
If detecting the pre- push trigger event to client, according to pre- push rule, video is generated for the client Pushed information, the video push information include pushing video mark;
Determine that the pushing video identifies the pre-download data volume of corresponding video;
According to the video push information and the pre-download data volume, generation is used to indicate push described in the client downloads What video identifier corresponded to video data prestores instruction information.
2. the method as described in claim 1, which is characterized in that the basis pushes rule in advance, generates view for the client Frequency pushed information, comprising:
It obtains and recommends reference information, the recommendation reference information includes: video rating Information and/or the use according to the client The history broadcast information that family acquisition of information arrives;
According to the pre- push rule and the recommendation reference information, video push information is generated for the client.
3. method according to claim 1 or 2, which is characterized in that the determination pushing video identifies corresponding video Pre-download data volume, comprising:
The memory information of the client is obtained, the memory information is the free memory capacity of the client;
The free memory capacity of preset ratio is determined as free memory capacity;
The video presentation information of corresponding video is identified according to pushing video in the video push information and the free memory holds Amount determines that each pushing video identifies the pre-download data volume of corresponding video.
4. method as claimed in claim 3, which is characterized in that the video presentation information includes any one in following information It is a or multiple:
It is respectively pushed away according in video sum, the video push information determined by pushing video mark in the video push information Each pushing video identifies the broadcasting of corresponding video in the levels of sharpness of sending video identifier to correspond to video, the video push information Each pushing video identifies the total amount of data of corresponding video in duration, the video push information.
5. the method as described in claim 1, which is characterized in that the instruction information that prestores is also used to indicate the client root The pushing video is downloaded according to request time information and identifies corresponding video data, wherein the request time information is basis The video access historical information that server for providing video download services receives determines, the video access information Including the history video access amount in access historical time section and the access historical time section, and/or, the request time information It is the video-see statistical information of the client obtained according to statistics to determine.
6. a kind of video pushing method, which is characterized in that be applied to client, which comprises
Pre- push request is generated, and sends the pre- push request to server;
Receive that the server responds that the pre- push request generates be used to indicate foradownloaded video data prestore instruction information, The instruction information that prestores is that the server is generated according to video push information and pre-download data volume;
Instruction information foradownloaded video data are prestored according to described.
7. method as claimed in claim 6, which is characterized in that the pre- push request of generation, comprising:
Memory information is obtained, the memory information is free memory capacity;
According to the memory information, the pre- push request for carrying the memory information is generated, the pre- push request is for asking Server is asked to prestore instruction information according to video push information and the generation of pre-download data volume, wherein the pre-download number It is that the server is determined according to the memory information according to amount.
8. method as claimed in claim 6, which is characterized in that it is described prestored according to instruction information foradownloaded video data it Before, the method also includes:
Whether detecting state parameter meets pre-download condition;
If meeting the pre-download condition, the step for prestoring instruction information according to and downloading the video data is executed Suddenly, the state parameter includes at least one of time parameter, network parameter, video broadcasting condition parameter.
9. such as the described in any item methods of claim 6-8, which is characterized in that the method also includes:
If receiving the play operation of input, it is determined that the corresponding video identifier to be played of the play operation;
It inquires in the video data of the downloading and whether there is the corresponding video data of the video identifier to be played;
If it exists, then it extracts and plays the video data.
10. a kind of video pushing method, which is characterized in that be applied to server, which comprises
Receive the pre- push request of client;
Video push information is generated, and determines that pushing video identifies the pre-download data volume for corresponding to video in the pushed information;
Generate be used to indicate the client downloads video data prestore instruction information, and the instruction information that prestores is sent To the client.
11. method as claimed in claim 10, which is characterized in that further include the interior of the client in the pre- push request Information is deposited, the memory information is the free memory capacity of the client, pushing video in the determination pushed information Identify the pre-download data volume of corresponding video, comprising:
Memory information is extracted from the pre- push request;
The pre-download data of the corresponding video of pushing video mark in the pushed information are determined according to the memory information of extraction Amount.
12. a kind of video push device characterized by comprising
Generation module, if, according to pre- push rule, being the visitor for detecting the pre- push trigger event to client Family end generates video push information, and the video push information includes pushing video mark;
Determining module, for determining that the pushing video identifies the pre-download data volume of corresponding video;
The generation module is also used to according to the video push information and the pre-download data volume, and generation is used to indicate institute That states the corresponding video data of the mark of pushing video described in client downloads prestores instruction information.
13. a kind of server, which is characterized in that including processor and storage device, the processor is mutually interconnected with storage device It connects, wherein the storage device is for storing computer program, and the computer program includes program instruction, the processor It is configured for calling described program instruction, executes such as the described in any item correlation methods of claim 1-5 or 10-11.
14. a kind of client, which is characterized in that including processor and storage device, the processor is mutually interconnected with storage device It connects, wherein the storage device is for storing computer program, and the computer program includes program instruction, the processor It is configured for calling described program instruction, executes such as the described in any item correlation methods of claim 1-5 or 6-9.
15. a kind of computer storage medium, which is characterized in that be stored with program instruction in the computer storage medium, the program Instruction is performed, and for realizing the method according to claim 1 to 5 or is realized as claim 6-9 is any Method or realization such as the described in any item methods of claim 10-11 described in.
CN201810287364.0A 2018-03-30 2018-03-30 Video pushing method and device, server, client and storage medium Active CN110324680B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810287364.0A CN110324680B (en) 2018-03-30 2018-03-30 Video pushing method and device, server, client and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810287364.0A CN110324680B (en) 2018-03-30 2018-03-30 Video pushing method and device, server, client and storage medium

Publications (2)

Publication Number Publication Date
CN110324680A true CN110324680A (en) 2019-10-11
CN110324680B CN110324680B (en) 2021-09-28

Family

ID=68112165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810287364.0A Active CN110324680B (en) 2018-03-30 2018-03-30 Video pushing method and device, server, client and storage medium

Country Status (1)

Country Link
CN (1) CN110324680B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111163336A (en) * 2020-01-19 2020-05-15 北京字节跳动网络技术有限公司 Video resource pushing method and device, electronic equipment and computer readable medium
CN112019916A (en) * 2020-08-26 2020-12-01 广州市百果园信息技术有限公司 Video downloading method, device, server and storage medium
CN113132759A (en) * 2019-12-30 2021-07-16 中国移动通信集团北京有限公司 Method, device, server, system and storage medium for determining video playing time delay
CN113497976A (en) * 2020-03-19 2021-10-12 华为技术有限公司 Multimedia data downloading method and electronic equipment
CN113810773A (en) * 2021-09-17 2021-12-17 北京百度网讯科技有限公司 Video downloading method and device, electronic equipment and storage medium
WO2023217106A1 (en) * 2022-05-09 2023-11-16 北京字节跳动网络技术有限公司 Video playback method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843605A (en) * 2012-08-22 2012-12-26 Tcl集团股份有限公司 Video play method and device thereof
CN103618942A (en) * 2013-12-16 2014-03-05 乐视致新电子科技(天津)有限公司 Smart television, as well as method and device for playing browser webpage video of smart television
CN106358062A (en) * 2016-08-24 2017-01-25 乐视控股(北京)有限公司 Browser video file playing processing method and equipment
US20170034233A1 (en) * 2010-12-09 2017-02-02 NETFLIX Inc. Pre-Buffering Audio Streams
CN107566857A (en) * 2017-08-31 2018-01-09 北京奇艺世纪科技有限公司 A kind of method for downloading video, device, system, server and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170034233A1 (en) * 2010-12-09 2017-02-02 NETFLIX Inc. Pre-Buffering Audio Streams
CN102843605A (en) * 2012-08-22 2012-12-26 Tcl集团股份有限公司 Video play method and device thereof
CN103618942A (en) * 2013-12-16 2014-03-05 乐视致新电子科技(天津)有限公司 Smart television, as well as method and device for playing browser webpage video of smart television
CN106358062A (en) * 2016-08-24 2017-01-25 乐视控股(北京)有限公司 Browser video file playing processing method and equipment
CN107566857A (en) * 2017-08-31 2018-01-09 北京奇艺世纪科技有限公司 A kind of method for downloading video, device, system, server and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132759A (en) * 2019-12-30 2021-07-16 中国移动通信集团北京有限公司 Method, device, server, system and storage medium for determining video playing time delay
CN111163336A (en) * 2020-01-19 2020-05-15 北京字节跳动网络技术有限公司 Video resource pushing method and device, electronic equipment and computer readable medium
CN113497976A (en) * 2020-03-19 2021-10-12 华为技术有限公司 Multimedia data downloading method and electronic equipment
CN112019916A (en) * 2020-08-26 2020-12-01 广州市百果园信息技术有限公司 Video downloading method, device, server and storage medium
CN113810773A (en) * 2021-09-17 2021-12-17 北京百度网讯科技有限公司 Video downloading method and device, electronic equipment and storage medium
CN113810773B (en) * 2021-09-17 2024-03-01 北京百度网讯科技有限公司 Video downloading method and device, electronic equipment and storage medium
WO2023217106A1 (en) * 2022-05-09 2023-11-16 北京字节跳动网络技术有限公司 Video playback method and apparatus

Also Published As

Publication number Publication date
CN110324680B (en) 2021-09-28

Similar Documents

Publication Publication Date Title
CN110324680A (en) A kind of video pushing method, device and server, client, storage medium
CN106528813B (en) A kind of multimedia recommendation method and device
CN107222566B (en) Information pushing method and device and server
CN108763502B (en) Information recommendation method and system
CN106561054B (en) Recommend method and system in a kind of live streaming room for webcast website
AU722754B2 (en) Interactive service device metering systems
CN112492334B (en) Live video pushing method, device and equipment
CN103686375B (en) Video sharing method and device
CN107645686A (en) Information processing method, device, terminal device and storage medium
CN103686396A (en) Video sharing method and device
CN108848393B (en) Method, device and equipment for showing entrance and storage medium
CN103686237A (en) Method and system for recommending video resource
CN110602514B (en) Live channel recommendation method and device, electronic equipment and storage medium
CN103686236A (en) Method and system for recommending video resource
CN107871242A (en) Advertisement delivery system and method
WO2012017279A2 (en) A system and method for predicting specific mobile user/specific set of localities for targeting advertisements
CN106851343A (en) For the method and apparatus of net cast
CN108269109A (en) A kind of Advertisement arrangement injected volume equalization methods and device
CN105808714B (en) Method and device for acquiring network file resources and electronic equipment
CN103997662A (en) Program pushing method and system
JP2004013195A (en) Advertisement display system and advertisement display program
CN108737486A (en) Information-pushing method and device
CN110798717B (en) Media resource pushing method and device, storage medium and electronic device
CN110099292B (en) Data center node determination method and device and electronic equipment
CN106027673B (en) The control and training method, device that resource pushes in advance

Legal Events

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