CN107566857B - Video downloading method, device, system, server and terminal - Google Patents

Video downloading method, device, system, server and terminal Download PDF

Info

Publication number
CN107566857B
CN107566857B CN201710772013.4A CN201710772013A CN107566857B CN 107566857 B CN107566857 B CN 107566857B CN 201710772013 A CN201710772013 A CN 201710772013A CN 107566857 B CN107566857 B CN 107566857B
Authority
CN
China
Prior art keywords
video
target
user
downloaded
downloading
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.)
Active
Application number
CN201710772013.4A
Other languages
Chinese (zh)
Other versions
CN107566857A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201710772013.4A priority Critical patent/CN107566857B/en
Publication of CN107566857A publication Critical patent/CN107566857A/en
Application granted granted Critical
Publication of CN107566857B publication Critical patent/CN107566857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a video downloading method, a video downloading device, a video downloading system, a server, a terminal and a storage medium, wherein the server acquires video characteristics of a target video; determining a target user interested in the target video according to the acquired video characteristics and the user characteristics of the user; generating a video table to be downloaded, which is used for downloading the target video, of the determined target user; and sending the video list to be downloaded to the determined terminal used by the target user, so that the terminal receives the video list to be downloaded sent by the server and used for downloading the target video, and downloading the target video according to the video list to be downloaded. By applying the embodiment of the invention, the terminal can automatically download the video, the user operation is simplified, and the user experience is improved.

Description

Video downloading method, device, system, server and terminal
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a video downloading method, apparatus, system, server, terminal, and storage medium.
Background
With the rapid development of network technology, network video resources are continuously abundant, and meanwhile, the network video resources are rapidly developed into the lives of users. More and more users choose to watch network videos, and they often download videos from the network in advance so that the downloaded videos can be continuously and smoothly watched under the environment without the network or with poor network state.
However, the inventor finds that the prior art has at least the following problems in the process of implementing the invention:
when videos such as a television play, an album and the like watched by a user are updated, the user needs to manually confirm downloading of the updated videos on the video playing page, a terminal used by the user initiates a downloading request instruction to a server, and the server receives the instruction and distributes the requested videos for the terminal, so that the terminal can download corresponding videos. When the user needs to download more videos, the download must be manually confirmed for each video. Therefore, the existing video downloading technology needs manual confirmation of a user, and is complex to operate.
Disclosure of Invention
The embodiment of the invention aims to provide a video downloading method, a video downloading device, a video downloading system, a video downloading server, a video downloading terminal and a storage medium, so that automatic downloading of videos is realized, user operation is simplified, and user experience is improved. The specific technical scheme is as follows:
in a first aspect, to achieve the above object, an embodiment of the present invention discloses a video downloading method applied to a server, where the method includes:
acquiring video characteristics of a target video;
determining a target user interested in the target video according to the acquired video characteristics and user characteristics of the users, wherein the user characteristic of one user is the characteristic determined according to the playing behavior of the user;
generating a video table to be downloaded, which is used by the determined target user for downloading the target video;
and sending the video table to be downloaded to the determined terminal used by the target user, so that the terminal downloads the target video according to the video table to be downloaded.
Optionally, the determining, according to the obtained video features and user features of the user, a target user interested in the target video includes:
for each user, calculating the number of the characteristics matched with the user characteristics of the user in the acquired video characteristics;
and determining the users with the calculated number of the characteristics larger than a preset first threshold value as target users interested in the target video.
Optionally, the generating a to-be-downloaded video list used by the determined target user to download the target video includes:
determining the moment to be downloaded of each determined target user for downloading the target video;
and generating a video table to be downloaded, which is used by each target user for downloading the target video, according to the determined moment to be downloaded of each target user for downloading the target video.
Optionally, the determining the time to be downloaded when each determined target user downloads the target video includes:
determining the time to be downloaded of each target user for downloading the target video according to at least one of the following information:
the determined geographic location of the target user;
a size of the target video;
the determined number of target users.
Optionally, the method further includes:
determining a first preset number of videos as hot videos according to the sequence of the playing times from high to low in a preset first time period;
determining the moment to be downloaded of each popular video downloaded by each target user;
the step of generating a video table to be downloaded for each target user to download the target video according to the determined moment to be downloaded for each target user to download the target video includes:
and generating a video table to be downloaded, which is used by the target user to download the target video and the hot video, according to the determined time to be downloaded when each target user downloads the target video and the determined time to be downloaded when each target user downloads each hot video.
Optionally, the method further includes:
and receiving new play behavior information sent by the determined terminal used by the target user, and updating the user characteristics of the determined target user.
In a second aspect, to achieve the above object, an embodiment of the present invention discloses a video downloading method applied to a terminal, where the method includes:
receiving a video table to be downloaded, which is sent by a server and used for downloading a target video, wherein the target video is a video which is interested by a target user, the target user is a user using the terminal, the target user is determined by the server according to video characteristics of the target video and user characteristics of the user, and the user characteristic of one user is determined according to the playing behavior of the user;
and downloading the target video according to the video table to be downloaded.
Optionally, the to-be-downloaded video table includes a to-be-downloaded time of the target video;
the downloading the target video according to the video table to be downloaded includes:
and downloading the target video according to the target video to-be-downloaded time recorded in the video table to-be-downloaded.
Optionally, the to-be-downloaded video list further includes a hot video and a to-be-downloaded time of the hot video, where the hot video is a second number of videos determined by the server according to a sequence from high to low of playing times within a second preset time period;
the downloading the target video according to the video table to be downloaded includes:
and respectively downloading the target video and the hot video according to the time to be downloaded of the target video and the time to be downloaded of the hot video recorded in the video table to be downloaded.
Optionally, before downloading the target video according to the to-be-downloaded video table, the method further includes:
judging whether the available storage space of the terminal is smaller than a preset second threshold value or not;
if the available storage space of the terminal is smaller than the second threshold value, releasing the storage space, and executing the step of downloading the target video according to the video table to be downloaded;
and if the available storage space of the terminal is larger than or equal to the second threshold value, directly executing the step of downloading the target video according to the video table to be downloaded.
Optionally, before downloading the target video according to the to-be-downloaded video table, the method further includes:
judging whether the network connection state of the terminal is in a preset state allowing video downloading;
and if the network connection state of the terminal is in the state of allowing video downloading, directly executing the step of downloading the target video according to the video table to be downloaded.
Optionally, the method further includes:
and sending the new playing behavior information of the target user to the server so that the server updates the user characteristics of the target user.
In a third aspect, to achieve the above object, an embodiment of the present invention discloses a video downloading apparatus, which is applied to a server, and the apparatus includes:
the target video acquisition module is used for acquiring video characteristics of a target video;
the target user determining module is used for determining a target user interested in the target video according to the acquired video characteristics and the user characteristics of the users, wherein the user characteristic of one user is the characteristic determined according to the playing behavior of the user;
the video list to be downloaded generating module is used for generating a video list to be downloaded, which is used for downloading the target video, of the determined target user;
and the to-be-downloaded video list sending module is used for sending the to-be-downloaded video list to the determined terminal used by the target user, so that the terminal downloads the target video according to the to-be-downloaded video list.
Optionally, the target user determining module is specifically configured to:
for each user, calculating the number of the characteristics matched with the user characteristics of the user in the acquired video characteristics;
and determining the users with the calculated number of the characteristics larger than a preset first threshold value as target users interested in the target video.
Optionally, the module for generating a to-be-downloaded video table includes:
the time determining submodule is used for determining the time to be downloaded of each determined target user for downloading the target video;
and the table generation submodule is used for generating a video table to be downloaded, which is used by each target user for downloading the target video, according to the determined moment to be downloaded of each target user for downloading the target video.
Optionally, the time determining submodule is specifically configured to:
determining the time to be downloaded of each target user for downloading the target video according to at least one of the following information:
the determined geographic location of the target user;
a size of the target video;
the determined number of target users.
Optionally, the apparatus further comprises:
the hot video determining module is used for determining a first preset number of videos as hot videos according to the sequence of the playing times from high to low in a preset first time period;
the download waiting time determining module is used for determining the download waiting time of each hot video downloaded by each target user;
the table generation submodule is specifically configured to generate a to-be-downloaded video table for the target user to download the target video and the hot video according to the determined to-be-downloaded time at which each target user downloads the target video and the determined to-be-downloaded time at which each target user downloads each hot video.
Optionally, the apparatus further comprises:
and the user characteristic updating module is used for receiving the new playing behavior information sent by the determined terminal used by the target user and updating the user characteristic of the determined target user.
In a fourth aspect, to achieve the above object, an embodiment of the present invention discloses a video downloading apparatus applied to a terminal, where the apparatus includes:
the system comprises a to-be-downloaded video list receiving module, a to-be-downloaded video list receiving module and a downloading module, wherein the to-be-downloaded video list receiving module is used for receiving a to-be-downloaded video list which is sent by a server and used for downloading a target video, the target video is a video which is interesting to a target user, the target user is a user using a terminal, the target user is determined by the server according to video characteristics of the target video and user characteristics of the user, and the user characteristic of one user is determined according to playing behaviors of the user;
and the target video downloading module is used for downloading the target video according to the video table to be downloaded.
Optionally, the to-be-downloaded video table includes a to-be-downloaded time of the target video;
the target video downloading module is specifically configured to download the target video according to the to-be-downloaded time of the target video recorded in the to-be-downloaded video table.
Optionally, the to-be-downloaded video list further includes a hot video and a to-be-downloaded time of the hot video, where the hot video is a second number of videos determined by the server according to a sequence from high to low of playing times within a second preset time period;
the target video downloading module is specifically configured to respectively download the target video and the hot video according to the time to be downloaded of the target video and the time to be downloaded of the hot video recorded in the video table to be downloaded.
Optionally, the apparatus further comprises: the system comprises a first judgment module and a space release module;
the first judging module is used for judging whether the available storage space of the terminal is smaller than a preset second threshold value, if the available storage space of the terminal is smaller than the second threshold value, the space releasing module is triggered, and if the available storage space of the terminal is larger than or equal to the second threshold value, the target video downloading module is triggered;
and the space release module is used for releasing the storage space and triggering the target video downloading module.
Optionally, the apparatus further comprises:
and the second judgment module is used for judging whether the network connection state of the terminal is in a preset state allowing video downloading, and triggering the target video downloading module if the network connection state of the terminal is in the state allowing video downloading.
Optionally, the apparatus further comprises:
and the playing behavior sending module is used for sending the new playing behavior information of the target user to the server so that the server updates the user characteristics of the target user.
In a fifth aspect, to achieve the above object, an embodiment of the present invention discloses a video downloading system, where the system includes a server and a terminal;
the server is used for acquiring video characteristics of the target video; determining a target user interested in the target video according to the acquired video characteristics and user characteristics of the users, wherein the user characteristic of one user is the characteristic determined according to the playing behavior of the user; generating a video table to be downloaded, which is used by the determined target user for downloading the target video; sending the video list to be downloaded to the determined terminal used by the target user;
the terminal is used for receiving a video list to be downloaded, sent by the server, for downloading the target video; and downloading the target video according to the video table to be downloaded.
In a sixth aspect, in order to achieve the above object, an embodiment of the present invention further discloses a server, where the server includes a first processor, a first communication interface, a first memory, and a first communication bus, where the first processor, the first communication interface, and the first memory complete communication with each other through the first communication bus;
the first memory is used for storing a computer program;
the first processor is configured to implement the video downloading method according to the first aspect when executing the program stored in the first memory.
In a seventh aspect, in order to achieve the above object, an embodiment of the present invention further discloses a terminal, where the terminal includes a second processor, a second communication interface, a second memory, and a second communication bus, where the second processor, the second communication interface, and the second memory complete communication with each other through the second communication bus;
the second memory is used for storing a computer program;
the second processor is configured to implement the video downloading method according to the second aspect when executing the program stored in the second memory.
In an eighth aspect, to achieve the above object, an embodiment of the present invention further discloses a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the video downloading method according to the first aspect are implemented.
In a ninth aspect, in order to achieve the above object, an embodiment of the present invention further discloses another computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the video downloading method according to the second aspect are implemented.
According to the video downloading method, the video downloading device, the video downloading system, the server, the terminal and the storage medium, the server determines a target user according to the video characteristics of the acquired target video and the user characteristics of the user; generating a video table to be downloaded, which is used by a target user for downloading a target video; sending the video list to be downloaded to the determined terminal used by the target user; and the terminal receives a video table to be downloaded, which is sent by the server and used for downloading the target video, and downloads the target video according to the video table to be downloaded. By applying the embodiment of the invention, the terminal can automatically download the video, the user operation is simplified, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a block diagram of a video downloading system according to an embodiment of the present invention;
fig. 2 is a first flowchart illustrating a video downloading method applied to a server according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a process for determining a target user according to an embodiment of the present invention;
fig. 4 is a second flowchart illustrating a video downloading method applied to a server according to an embodiment of the present invention;
fig. 5 is a first flowchart illustrating a video downloading method applied to a terminal according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of a second video downloading method applied to a terminal according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of a third method for downloading video applied to a terminal according to an embodiment of the present invention;
fig. 8 is a schematic diagram illustrating a first structure of a video downloading apparatus applied to a server according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a second structure of a video downloading device applied to a server according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a video downloading device applied to a terminal according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a video downloading system according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, a user downloads a video by using a terminal, and needs to click a 'download' button on the terminal to confirm the downloading of the video. And after receiving the downloading request of the user, the terminal sends the downloading request to the server. After receiving the downloading request, the server can distribute the video requested to be downloaded to the terminal, so that the terminal can download the video. However, if the number of videos the user wants to download is large, the user must manually confirm downloading of each video to be downloaded, which is complicated.
In order to solve the above problems, the present invention provides a video downloading method, device, system, server, terminal and storage medium. The following provides a general description of the solution provided by the embodiments of the present application from a system perspective. Referring to fig. 1, fig. 1 is a block diagram of a video downloading system according to an embodiment of the present invention.
The system shown in fig. 1 comprises: server and terminal, wherein, the server includes: the system comprises a page display and play system, a Content Delivery Network (CDN) system, a user portrait system and a timing push system; the terminal can be a computer, a smart phone or other intelligent terminals used by the user.
The page display and playing system is used for receiving a download request of a user sent by the terminal, transmitting the download request to the CDN system, and sending user behavior information in the download request to the user representation system.
The CDN system can redirect the user request to the service node closest to the user in real time according to the network flow, the connection of the network node, the load condition, the distance to the user, the response time and other comprehensive information. The purpose is to enable the user to obtain the required content nearby and solve the problem of network congestion.
A user representation system for constructing a user representation. The core of building the user portrait is to generate a user feature tag of the user, wherein the user feature tag is a tag which can embody the behavior feature of the user and is obtained by analyzing the behavior information of the user. The user representation system can receive the behavior information of the user sent by the terminal and the page display and play system, and generate the user characteristic label of the user according to the obtained behavior information of the user.
The timing pushing system can determine the target user interested in the target video by utilizing the video characteristics of the target video and the user characteristic label generated by the user portrait system. And generating a video table to be downloaded of each target user, wherein the video table to be downloaded records video information of videos which need to be downloaded by the target user. And the timing pushing system pushes the video table to be downloaded to the terminal used by the target user, so that the terminal downloads the video according to the obtained video table to be downloaded.
The terminal can receive the video table to be downloaded of the target user sent by the timing pushing system, and downloads the video according to the video information recorded in the video table to be downloaded. The new play behavior information of the target user may also be sent to a user representation system in the server to enable the user representation system to update the user feature tag of the target user.
Therefore, the terminal of the system can automatically download the video according to the video table to be downloaded sent by the server, so that the process that a user confirms the downloading is omitted, and the user experience is improved.
The present invention will be described in detail with reference to specific examples. Fig. 2 is a schematic flowchart of a first flowchart of a video downloading method applied to a server according to an embodiment of the present invention, where the method includes:
s201: and acquiring video characteristics of the target video.
The target video can be a video updated in the server, or a popular video obtained by the server according to the order of the video on demand times from high to low.
In one implementation, the obtained video features may be preset video feature tags (e.g., horror, love, action, home, animation, etc.) that can represent features of the target video. A target video may have one or more video feature tags.
In the present application, the features of the video are represented by the video feature tags of the video, and the method of actually obtaining the user features is not limited to this.
S202: and determining a target user interested in the target video according to the acquired video characteristics and the user characteristics of the user.
The user characteristics may be characteristics of the user obtained according to the registration information of the user, or characteristics of the user obtained according to the playing behavior information of the user.
In one implementation, the server may obtain a user feature tag generated by the user representation system, and determine the target user according to the number of matching video feature tags of the target video with the user feature tags. How to determine the target user according to the number of the video feature tags of the target video matched with the user feature tags will be described in detail in the following embodiments.
The number of the determined target users may be one or more, and the application is not limited thereto.
S203: and generating a video table to be downloaded, which is used for downloading the target video by the determined target user.
In one implementation, the target user may be more than one user. For each target user, the server may determine, as a video that is of interest to the target user, a target video whose number of matches between the video feature tag and the user feature tag of the target user is greater than a preset first threshold, that is, a video to be downloaded of the target user. And recording the determined video information of the video to be downloaded of the target user in a video table to be downloaded of the target user, wherein the video information of the video to be downloaded can comprise the video name, the video type, the video definition and the like of the video to be downloaded.
For example, the table of videos to be downloaded of a target user may contain information such as "the twelfth set of western notes, animation, high definition", "the fifth set of sanguo rehearsal, drama, bianshi", "shaolin temple, movie, high definition", etc.
S204: and sending the video table to be downloaded to the determined terminal used by the target user, so that the terminal downloads the target video according to the video table to be downloaded.
In one implementation mode, the server can send the new video table to be downloaded of each target user to the terminal used by the target user at the moment that the server access amount is small after the new video table to be downloaded is generated each time, so that the terminal can avoid the access peak period of the server to access the server, and downloads the video according to the video information of the video to be downloaded recorded in the new video table to be downloaded, thereby avoiding increasing the burden of the server and smoothly finishing the downloading of the target video.
Of course, the video list to be downloaded generated in one day may also be sent to the terminal used by the target user within a fixed time period of the day, for example, 1 to 2 points in the morning of each day.
The present application is described only by way of example, and is not limited to the manner in which the video table to be downloaded is transmitted to the terminal used by the target user.
As can be seen from the above, in the scheme provided by this embodiment, the server may determine the target user according to the video characteristics of the target video and the user characteristics of the user, generate the video table to be downloaded of the target user, and send the video table to be downloaded to the terminal used by the target user, so that the terminal directly downloads the target video according to the video table to be downloaded, thereby saving the confirmation process of the user and improving the user experience.
In an embodiment of the present invention, referring to fig. 3, fig. 3 is a flowchart illustrating a process of determining a target user according to an embodiment of the present invention, and is applied to a server, where a target user interested in a target video is determined according to an obtained video feature and a user feature of a user (S202), including:
s2021: and calculating the number of the characteristics matched with the user characteristics of the user in the acquired video characteristics for each user.
S2022: and determining the users with the calculated number of the features larger than a preset first threshold value as target users interested in the target video.
In an implementation manner, for each user, the server may calculate the number of video feature tags of a target video that is the same as the number of user feature tags of the user, and if the number of the user feature tags of the user that is the same as the number of the video feature tags of the target video is greater than a preset first threshold, it may be determined that the user is a target user interested in the target video, and the target video is determined to be a video to be downloaded of the user.
For example, the first threshold may be 4, the target video is the latest movie "distortion gold 3", and the preset video feature labels include: transformers, europe and america, movies, wars, mechanics, action, adventure. A user feature tag for a user comprising: europe and america, movies, television dramas, adventure, classics, love, war, and action. The same labels are: the same number of labels is larger than a first threshold value, so that the user can be determined to be a target user of the movie & lttransformers 3 & gt, and the movie & lttransformers 3 & gt is a video to be downloaded of the target user.
As can be seen from the above, in the scheme provided in this embodiment, the server may determine the target user according to the number of features that are matched between the video feature of the target video and the user feature of the user. The video interested by each target user can be determined, so that personalized automatic downloading of the video can be realized, and the user experience is improved.
In an embodiment of the present invention, applied to a server, a table of videos to be downloaded for downloading a target video by a determined target user is generated (S203), including:
s2031: and determining the moment to be downloaded of each target user for downloading the target video.
S2032: and generating a video table to be downloaded, which is used by each target user for downloading the target video, according to the determined moment to be downloaded, at which each target user downloads the target video.
In one implementation, the server may reasonably allocate the downloading time for downloading the target video to each target user according to the geographic location of the target user, the size of the target video, the number of the target users, and other factors.
For example, when the CDN system access pressure is usually the minimum from 12 am to 6 am, the target user's downloading time for downloading the target video may be evenly distributed in this period. The generated video list to be downloaded comprises the time to be downloaded corresponding to the target video, so that the terminal can download the corresponding target video according to the time to be downloaded recorded in the video list to be downloaded.
As can be seen from the above, in the scheme provided in this embodiment, the server may determine the time to be downloaded when each target user downloads the target video, and further generate the video table to be downloaded. The video table to be downloaded can enable the terminal to download the target video according to the moment to be downloaded determined by the server, and guarantee the automatic downloading of the video to be completed smoothly.
In an embodiment of the present invention, the determining, by the server, a time to be downloaded at which each target user downloads the target video includes:
determining the time to be downloaded of each target user for downloading the target video according to at least one of the following information:
the determined geographic location of the target user;
a size of the target video;
the determined number of target users.
In one implementation, the server may calculate the download time based on at least one of the determined geographic location of the target user, the size of the target video, and the determined number of target users.
For example, target users in beijing, shanghai, guangzhou, etc. usually work late, the downloading time of the target users in these areas for downloading the target video can be scheduled to be a little bit later than zero morning, and the downloading time of the target users in other areas for downloading the target video can be scheduled to be a little bit later than ten hours later than night, so as to ensure that the rest time of the target users can be fully utilized and the server can be prevented from being overloaded at the same time; for a target video occupying a small storage space, downloading the target video can be preferentially arranged, so that the terminal can complete downloading of the target video as far as possible, and the situation that the terminal does not have a viewable video is avoided; for a target video, if more target users need to download the target video, the target users can be divided into different groups, and the downloading time of the target users in different groups for downloading the target video is different, so that the problem that the server is overloaded at the same time is avoided.
Of course, when the downloading time is actually determined, factors in various aspects need to be comprehensively measured, so that the terminal can finish downloading all target videos in the scheduled time, and the server is prevented from being overloaded at the same time.
As can be seen from the above, in the scheme provided in this embodiment, the server may determine the time to be downloaded when each target user downloads the target video, and further generate the video table to be downloaded. The video table to be downloaded can enable the terminal to download the target video according to the moment to be downloaded determined by the server, and guarantee the automatic downloading of the video to be completed smoothly.
In an embodiment of the present invention, referring to fig. 4, fig. 4 is a second flowchart illustrating a video downloading method applied to a server according to an embodiment of the present invention, where the method further includes:
s205: and determining the first preset number of videos as hot videos according to the sequence of the playing times from high to low in the preset first time period.
S206: and determining the time to be downloaded of each hot video downloaded by each determined target user.
In the embodiment of the present application, the execution order of S205 and S206 is not limited, and the execution may be performed before S2032A.
Generating a video table to be downloaded, which is used by each determined target user for downloading the target video, according to the determined moment to be downloaded, at which each target user downloads the target video (S2032), wherein the method comprises the following steps:
S2032A: and generating a video table to be downloaded, which is used by the target user to download the target video and the hot video, according to the determined time to be downloaded when each target user downloads the target video and the determined time to be downloaded when each target user downloads each hot video.
In one implementation manner, according to the sequence of the playing times from high to low in the preset first time period, the previously preset first number of videos are determined to be used as the popular videos. And taking the hot video as the video to be downloaded of all target users, and calculating to obtain the time to be downloaded of the hot video. The method for calculating the time to be downloaded of the popular video may refer to the method for determining the downloading time of the target video, and is not described herein again.
Therefore, in the scheme provided by this embodiment, the server can use the hot video as the video to be downloaded of the target user to push the video to the terminal used by the target user, so that the terminal completes automatic downloading of the hot video, the target user is ensured not to miss watching of the hot video, and user experience is improved.
In an embodiment of the present invention, applied to a server, the method further includes:
and receiving new play behavior information sent by the determined terminal used by the target user, and updating the user characteristics of the determined target user.
The type of video that the user is interested in is not constant and, therefore, the user characteristics of the user may change over time. In one implementation manner, the server may receive new play behavior information of the target user sent by a terminal used by the target user, and recalculate to obtain the user feature tag of the target user in combination with the historical play behavior information of the target user.
As can be seen from the above, in the scheme provided in this embodiment, for each target user, the server may update the user characteristics of the target user by using the received new playing behavior information of the target user, so as to ensure that the latest user characteristics of the user are grasped in real time, provide a video meeting the user interest for the user, and improve the user experience.
Fig. 5 is a schematic flowchart of a first flowchart of a video downloading method applied to a terminal according to an embodiment of the present invention, where the method includes:
s501: and receiving a video table to be downloaded, which is sent by the server and used for downloading the target video.
The target video is a video that is of interest to the target user, specifically, the target video may be one video or more than one video, and the present application does not limit this. The target user is a user using the terminal, the target user is determined by the server according to the video characteristics of the target video and the user characteristics of the user, and the user characteristics of one user are determined according to the playing behavior of the user. The video table to be downloaded may record video information of the target video, and the video information may include information such as a video name, a video type, and video definition of the target video.
S502: and downloading the target video according to the video table to be downloaded.
In this embodiment, after receiving the video table to be downloaded sent by the server, the terminal may download the target videos according to the sequence of the target videos recorded in the video table to be downloaded; the target video can also be downloaded according to the downloading sequence set by the terminal; and downloading the corresponding target video at the specified time according to the time rule set by the terminal.
When downloading the target video, the terminal sends a request to the server according to the video information of the video to be downloaded recorded in the video table to be downloaded, and the steps are consistent with the steps of sending the request to the server by the terminal in the existing video downloading process and the steps thereafter, and are not repeated herein.
Therefore, in the scheme provided by the embodiment, the terminal can download the target video according to the received video list to be downloaded, so that the confirmation process of the user is omitted, and the user experience is improved.
In a specific embodiment of the invention, the method is applied to a terminal, and the video table to be downloaded comprises the moment to be downloaded of the target video;
downloading a target video according to a to-be-downloaded video table (S502), comprising:
and downloading the target video according to the target video to-be-downloaded time recorded in the video table to-be-downloaded.
In one implementation, the time to be downloaded may be a download time for downloading the target video, which is allocated by the server to each target user according to at least one of the geographic location of the target user, the size of the target video, and the number of the target users.
As can be seen from the above, in the scheme provided in this embodiment, the to-be-downloaded video table obtained by the terminal may include the to-be-downloaded time of the target video. The video table to be downloaded enables the terminal to download the target video according to the moment to be downloaded determined by the server, and the automatic downloading of the video is guaranteed to be completed smoothly.
In a specific embodiment of the present invention, the video table to be downloaded is applied to the terminal, and further includes a hot video and a time to be downloaded of the hot video, where the hot video is a second number of videos preset before the server determines according to a sequence from high to low of the playing times in a second preset time period;
downloading a target video according to a to-be-downloaded video table (S502), comprising:
and respectively downloading the target video and the hot video according to the time to be downloaded of the target video and the time to be downloaded of the hot video recorded in the video table to be downloaded.
As can be seen from the above, in the scheme provided in this embodiment, the to-be-downloaded video table obtained by the terminal may further include the hot video and the to-be-downloaded time of the hot video. The video table to be downloaded can guarantee that automatic downloading of hot videos can be completed, a target user can not miss watching of the hot videos, and user experience is improved.
In an embodiment of the present invention, referring to fig. 6, fig. 6 is a second flowchart illustrating a video downloading method applied to a terminal according to an embodiment of the present invention, where the method includes:
s601: and receiving a video table to be downloaded, which is sent by the server and used for downloading the target video.
The target video is a video which is interesting to a target user, the target user is a user using the terminal, the target user is determined by the server according to the video characteristics of the target video and the user characteristics of the user, and the user characteristics of one user are determined according to the playing behavior of the user.
This step is the same as S501 in the above embodiment, and is not described again here.
S602: and judging whether the available storage space of the terminal is smaller than a preset second threshold, if so, executing S603, and if so, executing S604.
S603: the storage space is released and S604 is performed.
The terminal used by the user has a fixed storage space, and each target video downloaded to the terminal occupies a certain storage space. When the available storage space of the terminal is smaller than a second threshold value, the terminal releases the storage space until the available storage space of the terminal meets the size of the space for downloading the target video, and then the target video can be downloaded; when the available storage space of the terminal is greater than or equal to the second threshold, the target video can be directly downloaded.
The available storage space of the terminal satisfies the size of the space for downloading the target video, and may be that the available storage space of the terminal is greater than or equal to the second threshold, or that the available storage space of the terminal is greater than or equal to the size of the target video to be downloaded by the terminal. The invention is not limited thereto.
When the terminal releases the storage space, the downloaded video which is not watched by the user for a long time in the terminal can be preferentially deleted, and the downloaded video which is watched by the user and ended can be preferentially deleted. The method for releasing the storage space by the terminal is not limited in the present invention.
S604: and downloading the target video according to the video table to be downloaded.
This step is the same as S502 of the above embodiment, and is not described herein again.
As can be seen from the above, in the scheme provided in this embodiment, before downloading the target video, the terminal determines whether the terminal has enough available storage space, and if the terminal does not have enough available storage space, the terminal releases the storage space first and then downloads the target video, so that it can be ensured that the target video is successfully downloaded.
In an embodiment of the present invention, referring to fig. 7, fig. 7 is a schematic flowchart of a third flow chart of a video downloading method applied to a terminal according to an embodiment of the present invention, where the method includes:
s701: and receiving a video table to be downloaded, which is sent by the server and used for downloading the target video.
The target video is a video which is interesting to a target user, the target user is a user using the terminal, the target user is determined by the server according to the video characteristics of the target video and the user characteristics of the user, and the user characteristics of one user are determined according to the playing behavior of the user.
This step is the same as S501 in the above embodiment, and is not described again here.
S702: and judging whether the network connection state of the terminal is in a preset state allowing video downloading, if the network connection state of the terminal is in the preset state allowing video downloading, executing S703, and if the network connection state of the terminal is not in the preset state allowing video downloading, returning to execute S702.
The state of allowing video downloading may be that the terminal is connected to an available WIFI (Wireless-Fidelity), or that the terminal is connected to a mobile network and the mobile network includes a large-traffic package service.
S703: and downloading the target video according to the video table to be downloaded.
This step is identical to S802 of the above embodiment, and is not described herein again.
As can be seen from the above, in the scheme provided in this embodiment, before downloading the target video, the terminal determines whether the terminal is in a preset state that allows video downloading, and if the terminal is not in the preset state that allows video downloading, the target video is not downloaded. The waste of the traffic of the user can be avoided.
In an embodiment of the present invention, the method is applied to a terminal, and the method further includes:
and sending the new playing behavior information of the target user to the server so that the server updates the user characteristics of the target user.
The playing behavior information may include operation behavior information of the user when the terminal watches the video. For example, the user deletes a horror film that is not being viewed, and the user completely views a comedy movie.
As can be seen from the above, in the scheme provided by this embodiment, the terminal may send the new playing behavior information of the user to the server, so that the server updates the user characteristics of the user, ensures that the target video downloaded by the terminal conforms to the latest user characteristics of the user, and improves user experience.
Corresponding to the above method embodiment, fig. 8 is a schematic structural diagram of a video downloading device applied to a server according to an embodiment of the present invention, including:
a target video obtaining module 801, configured to obtain video characteristics of a target video;
a target user determination module 802, configured to determine a target user interested in the target video according to the obtained video characteristics and user characteristics of the users, where a user characteristic of one user is a characteristic determined according to a play behavior of the user;
a to-be-downloaded video table generating module 803, configured to generate a to-be-downloaded video table that is used by the determined target user to download the target video;
a to-be-downloaded video table sending module 804, configured to send the to-be-downloaded video table to the determined terminal used by the target user, so that the terminal downloads the target video according to the to-be-downloaded video table.
As can be seen from the above, in the scheme provided by this embodiment, the server may determine the target user according to the video characteristics of the target video and the user characteristics of the user, generate the video table to be downloaded of the target user, and send the video table to be downloaded to the terminal used by the target user, so that the terminal directly downloads the target video according to the video table to be downloaded, thereby saving the confirmation process of the user and improving the user experience.
In an embodiment of the present invention, the target user determining module 802 is specifically configured to:
for each user, calculating the number of the characteristics matched with the user characteristics of the user in the acquired video characteristics;
and determining the users with the calculated number of the characteristics larger than a preset first threshold value as target users interested in the target video.
As can be seen from the above, in the scheme provided in this embodiment, the server may determine the target user according to the number of features that are matched between the video feature of the target video and the user feature of the user. The video interested by each target user can be determined, so that personalized automatic downloading of the video can be realized, and the user experience is improved.
In a specific embodiment of the present invention, the to-be-downloaded video table generating module 803 includes a time determining submodule 8031 and a table generating submodule 8032;
the time determining submodule 8031 is configured to determine a time to be downloaded when each determined target user downloads the target video;
the table generating submodule 8032 is configured to generate a to-be-downloaded video table, where the target user downloads the target video, according to the determined to-be-downloaded time at which each target user downloads the target video.
As can be seen from the above, in the scheme provided in this embodiment, the server may determine the time to be downloaded when each target user downloads the target video, and further generate the video table to be downloaded. The video table to be downloaded can enable the terminal to download the target video according to the moment to be downloaded determined by the server, and guarantee the automatic downloading of the video to be completed smoothly.
In an embodiment of the present invention, the time determining submodule 8031 is specifically configured to:
determining the time to be downloaded of each target user for downloading the target video according to at least one of the following information:
the determined geographic location of the target user;
a size of the target video;
the determined number of target users.
As can be seen from the above, in the scheme provided in this embodiment, the server may determine the time to be downloaded when each target user downloads the target video, and further generate the video table to be downloaded. The video table to be downloaded can enable the terminal to download the target video according to the moment to be downloaded determined by the server, and guarantee the automatic downloading of the video to be completed smoothly.
In an embodiment of the present invention, referring to fig. 9, fig. 9 is a schematic structural diagram of a second video downloading apparatus applied to a server according to an embodiment of the present invention, where the apparatus further includes:
the hot video determining module 805 is configured to determine, according to a sequence from high to low of playing times within a preset first time period, a first preset number of videos as hot videos;
a to-be-downloaded time determining module 806, configured to determine a to-be-downloaded time at which each determined target user downloads each popular video;
the table generating sub-module 8032 is specifically configured to generate a to-be-downloaded video table for the target user to download the target video and the hot video according to the determined to-be-downloaded time when each target user downloads the target video and the determined to-be-downloaded time when each target user downloads each hot video.
Therefore, in the scheme provided by this embodiment, the server can use the hot video as the video to be downloaded of the target user, so as to push the video to the terminal used by the target user, and the terminal completes the automatic downloading of the hot video, thereby ensuring that the target user cannot miss the watching of the hot video, and improving the user experience.
In a specific embodiment of the present invention, applied to a server, the apparatus further includes:
and the user characteristic updating module is used for receiving the new playing behavior information sent by the determined terminal used by the target user and updating the user characteristic of the determined target user.
As can be seen from the above, in the scheme provided in this embodiment, for each target user, the server may update the user characteristics of the target user by using the received new playing behavior information of the target user, so as to ensure that the latest user characteristics of the user are grasped in real time, provide a video meeting the user interest for the user, and improve the user experience.
Corresponding to the above method embodiment, fig. 10 is a schematic structural diagram of a video downloading device applied to a terminal according to an embodiment of the present invention, including:
a to-be-downloaded video table receiving module 1001, configured to receive a to-be-downloaded video table used for downloading a target video, where the target video is a video in which a target user is interested, the target user is a user using the terminal, the target user is determined by the server according to a video characteristic of the target video and a user characteristic of the user, and a user characteristic of one user is determined according to a play behavior of the user;
and the target video downloading module 1002 is configured to download the target video according to the video table to be downloaded.
Therefore, in the scheme provided by the embodiment, the terminal can download the target video according to the received video list to be downloaded, so that the confirmation process of the user is omitted, and the user experience is improved.
In a specific embodiment of the present invention, the to-be-downloaded video table includes a to-be-downloaded time of the target video;
the target video downloading module 1002 is specifically configured to download the target video according to the to-be-downloaded time of the target video recorded in the to-be-downloaded video table.
As can be seen from the above, in the scheme provided in this embodiment, the to-be-downloaded video table obtained by the terminal may include the to-be-downloaded time of the target video. The video table to be downloaded can enable the terminal to download the target video according to the moment to be downloaded determined by the server, and guarantee the automatic downloading of the video to be completed smoothly.
In a specific embodiment of the present invention, the to-be-downloaded video list further includes a hot video and a to-be-downloaded time of the hot video, where the hot video is a second number of videos determined by the server according to a sequence from high to low of the playing times in a preset second time period;
the target video downloading module 1002 is specifically configured to respectively download the target video and the popular video according to the time to be downloaded of the target video and the time to be downloaded of the popular video recorded in the video table to be downloaded.
As can be seen from the above, in the scheme provided in this embodiment, the to-be-downloaded video table obtained by the terminal may further include the hot video and the to-be-downloaded time of the hot video. The video table to be downloaded can guarantee that automatic downloading of hot videos can be completed, a target user can not miss watching of the hot videos, and user experience is improved.
In a specific embodiment of the present invention, applied to a terminal, the apparatus further includes: the system comprises a first judgment module and a space release module;
the first determining module is configured to determine whether the available storage space of the terminal is smaller than a preset second threshold, trigger the space releasing module if the available storage space of the terminal is smaller than the second threshold, and trigger the target video downloading module 1002 if the available storage space of the terminal is greater than or equal to the second threshold;
the space releasing module is configured to release a storage space and trigger the target video downloading module 1002.
As can be seen from the above, in the scheme provided in this embodiment, before downloading the target video, the terminal determines whether the terminal has enough available storage space, and if the terminal does not have enough available storage space, the terminal releases the storage space first and then downloads the target video, so that it can be ensured that the target video is successfully downloaded.
In a specific embodiment of the present invention, applied to a terminal, the apparatus further includes:
and the second judgment module is used for judging whether the network connection state of the terminal is in a preset state allowing video downloading, and triggering the target video downloading module if the network connection state of the terminal is in the state allowing video downloading.
As can be seen from the above, in the scheme provided in this embodiment, before downloading the target video, the terminal determines whether the terminal is in a preset state that allows video downloading, and if the terminal is not in the preset state that allows video downloading, the target video is not downloaded. Waste of traffic of the user can be avoided.
In a specific embodiment of the present invention, applied to a terminal, the apparatus further includes:
and the playing behavior sending module is used for sending the new playing behavior information of the target user to the server so that the server updates the user characteristics of the target user.
As can be seen from the above, in the scheme provided by this embodiment, the terminal may send the new playing behavior information of the user to the server, so that the server updates the user characteristics of the user, ensures that the target video downloaded by the terminal conforms to the latest user characteristics of the user, and improves user experience.
Fig. 11 is a schematic structural diagram of a video downloading system provided in an embodiment of the present invention, including a server 1101 and a terminal 1102;
the server 1101 is configured to obtain video characteristics of a target video; determining a target user interested in the target video according to the acquired video characteristics and user characteristics of the users, wherein the user characteristic of one user is the characteristic determined according to the playing behavior of the user; generating a video table to be downloaded, which is used by the determined target user for downloading the target video; sending the video table to be downloaded to the terminal 1102;
the terminal 1102 is configured to receive a video table to be downloaded, sent by the server 1101, for downloading a target video; and downloading the target video according to the video table to be downloaded.
In a specific embodiment of the present invention, the server 1101 determines, according to the obtained video features and user features of the users, a target user interested in the target video, specifically:
for each user, calculating the number of the characteristics matched with the user characteristics of the user in the acquired video characteristics;
and determining the users with the calculated number of the characteristics larger than a preset first threshold value as target users interested in the target video.
In a specific embodiment of the present invention, the server 1101 generates a video table to be downloaded, which is used by the determined target user for downloading the target video, specifically:
determining the moment to be downloaded of each determined target user for downloading the target video;
and generating a video table to be downloaded, which is used by each target user for downloading the target video, according to the determined moment to be downloaded of each target user for downloading the target video.
The terminal 1102 downloads the target video according to the video table to be downloaded, specifically:
and downloading the target video according to the target video to-be-downloaded time recorded in the video table to-be-downloaded.
In an embodiment of the present invention, the determining, by the server 1101, a time to be downloaded at which each target user downloads the target video includes:
determining the time to be downloaded of each target user for downloading the target video according to at least one of the following information:
the determined geographic location of the target user;
a size of the target video;
the determined number of target users.
In an embodiment of the present invention, the server 1101 is specifically configured to determine, according to a sequence from high to low of playing times within a preset first time period, a first number of videos that are preset before as a hot video;
determining the moment to be downloaded of each popular video downloaded by each target user;
the step of generating a video table to be downloaded for each target user to download the target video according to the determined moment to be downloaded for each target user to download the target video includes:
and generating a video table to be downloaded, which is used by the target user to download the target video and the hot video, according to the determined time to be downloaded when each target user downloads the target video and the determined time to be downloaded when each target user downloads each hot video.
The terminal 1102 downloads the target video according to the video table to be downloaded, specifically:
and respectively downloading the target video and the hot video according to the time to be downloaded of the target video and the time to be downloaded of the hot video recorded in the video table to be downloaded.
In an embodiment of the present invention, the server 1101 is specifically configured to receive new play behavior information sent by the terminal 1102, and update the user characteristics of the determined target user.
The terminal 1102 is specifically configured to send the new play behavior information of the target user to the server 1101, so that the server 1101 updates the user characteristic of the target user.
In a specific embodiment of the present invention, before downloading the target video according to the to-be-downloaded video table, the terminal 1102 is specifically configured to:
judging whether the available storage space of the terminal 1102 is smaller than a preset second threshold value;
if the available storage space of the terminal 1102 is smaller than the second threshold, releasing the storage space, and executing the step of downloading the target video according to the video table to be downloaded;
and if the available storage space of the terminal 1102 is greater than or equal to the second threshold, directly executing the step of downloading the target video according to the video table to be downloaded.
In a specific embodiment of the present invention, before downloading the target video according to the to-be-downloaded video table, the terminal 1102 is specifically configured to:
judging whether the network connection state of the terminal 1102 is in a preset state allowing video downloading;
and if the network connection state of the terminal 1102 is in the state of allowing video downloading, directly executing the step of downloading the target video according to the video table to be downloaded.
The embodiment of the present invention further provides a server, as shown in fig. 12, including a first processor 1201, a first communication interface 1202, a first memory 1203, and a first communication bus 1204, where the first processor 1201, the first communication interface 1202, and the first memory 1203 complete communication with each other through the first communication bus 1204,
a first memory 1203 for storing a computer program;
the first processor 1201 is configured to implement the video downloading method applied to the server according to the embodiment of the present invention when executing the program stored in the first memory 1203.
Specifically, the video downloading method applied to the server includes:
acquiring video characteristics of a target video;
determining a target user interested in the target video according to the acquired video characteristics and user characteristics of the users, wherein the user characteristic of one user is the characteristic determined according to the playing behavior of the user;
generating a video table to be downloaded, which is used by the determined target user for downloading the target video;
and sending the video table to be downloaded to the determined terminal used by the target user, so that the terminal downloads the target video according to the video table to be downloaded.
It should be noted that other implementation manners of the video downloading method applied to the server are the same as those of the foregoing method embodiment, and are not described herein again.
According to the server provided by the embodiment of the invention, when the video is downloaded, the target user can be determined according to the video characteristics of the target video and the user characteristics of the user, the video table to be downloaded of the target user is generated, and the video table to be downloaded is sent to the terminal used by the target user, so that the confirmation process of the user can be omitted, the terminal can directly download the target video according to the video table to be downloaded, and the user experience is improved.
The first communication bus 1204 mentioned above can be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. May be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The first communication interface 1202 is used for communication between the server and other devices.
The first Memory 1203 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the first memory 1203 may also be at least one storage device located remotely from the first processor 1201.
The first Processor 1201 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
The embodiment of the present invention further provides a terminal, as shown in fig. 13, including a second processor 1301, a second communication interface 1302, a second memory 1303 and a second communication bus 1304, where the second processor 1301, the second communication interface 1302 and the second memory 1303 complete mutual communication through the second communication bus 1304,
a second memory 1303 for storing a computer program;
the second processor 1301 is configured to implement the video downloading method applied to the terminal according to the embodiment of the present invention when executing the program stored in the second memory 1303.
Specifically, the video downloading method applied to the terminal includes:
receiving a video table to be downloaded, which is sent by a server and used for downloading a target video, wherein the target video is a video which is interested by a target user, the target user is a user using the terminal, the target user is determined by the server according to video characteristics of the target video and user characteristics of the user, and the user characteristic of one user is determined according to the playing behavior of the user;
and downloading the target video according to the video table to be downloaded.
It should be noted that other implementation manners of the video downloading method applied to the terminal are the same as those of the foregoing method embodiment, and are not described herein again.
The terminal provided by the embodiment of the invention can download the target video according to the received video list to be downloaded when downloading the video, thereby omitting the confirmation process of the user and improving the user experience.
The second communication bus 1304 mentioned in the above terminal may be a PCI bus or an EISA bus, etc. May be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The second communication interface 1302 is used for communication between the terminal and other devices.
The second memory 1303 may include a RAM, and may also include a nonvolatile memory, such as at least one disk memory. Optionally, the second memory 1303 may also be at least one storage device located remotely from the second processor 1301.
The second processor 1301 may be a general-purpose processor including a CPU, NP, etc.; but also DSPs, ASICs, FPGAs or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
An embodiment of the present invention further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is enabled to execute the video downloading method applied to the server provided by the embodiment of the present invention.
Specifically, the video downloading method applied to the server includes:
acquiring video characteristics of a target video;
determining a target user interested in the target video according to the acquired video characteristics and user characteristics of the users, wherein the user characteristic of one user is the characteristic determined according to the playing behavior of the user;
generating a video table to be downloaded, which is used by the determined target user for downloading the target video;
and sending the video table to be downloaded to the determined terminal used by the target user, so that the terminal downloads the target video according to the video table to be downloaded.
It should be noted that other implementation manners of the video downloading method applied to the server are the same as those of the foregoing method embodiment, and are not described herein again.
By operating the instruction stored in the computer-readable storage medium provided by the embodiment of the invention, the target user can be determined according to the video characteristics of the target video and the user characteristics of the user, the video table to be downloaded of the target user is generated, and the video table to be downloaded is sent to the terminal used by the target user, so that the confirmation process of the user can be omitted, the terminal can directly download the target video according to the video table to be downloaded, and the user experience is improved.
Another computer-readable storage medium is provided, and has instructions stored therein, which when run on a computer, cause the computer to execute the video downloading method applied to a terminal provided in the embodiment of the present invention.
Specifically, the video downloading method applied to the terminal includes:
receiving a video table to be downloaded, which is sent by a server and used for downloading a target video, wherein the target video is a video which is interested by a target user, the target user is a user using the terminal, the target user is determined by the server according to video characteristics of the target video and user characteristics of the user, and the user characteristic of one user is determined according to the playing behavior of the user;
and downloading the target video according to the video table to be downloaded.
It should be noted that other implementation manners of the video downloading method applied to the terminal are the same as those of the foregoing method embodiment, and are not described herein again.
By operating the instruction stored in the computer-readable storage medium provided by the embodiment of the invention, the target video can be downloaded according to the received video list to be downloaded, so that the confirmation process of the user is omitted, and the user experience is improved.
Embodiments of the present invention further provide a computer program product including instructions, which when run on a computer, enable the computer to execute the video downloading method applied to a server provided in embodiments of the present invention.
Specifically, the video downloading method applied to the server includes:
acquiring video characteristics of a target video;
determining a target user interested in the target video according to the acquired video characteristics and user characteristics of the users, wherein the user characteristic of one user is the characteristic determined according to the playing behavior of the user;
generating a video table to be downloaded, which is used by the determined target user for downloading the target video;
and sending the video table to be downloaded to the determined terminal used by the target user, so that the terminal downloads the target video according to the video table to be downloaded.
It should be noted that other implementation manners of the video downloading method applied to the server are the same as those of the foregoing method embodiment, and are not described herein again.
By operating the computer program product provided by the embodiment of the invention, the target user can be determined according to the video characteristics of the target video and the user characteristics of the user, the video table to be downloaded of the target user is generated, and the video table to be downloaded is sent to the terminal used by the target user, so that the confirmation process of the user can be omitted, the terminal can directly download the target video according to the video table to be downloaded, and the user experience is improved.
Embodiments of the present invention further provide another computer program product containing instructions, which when run on a computer, causes the computer to execute the video downloading method applied to a terminal provided in embodiments of the present invention.
Specifically, the video downloading method applied to the terminal includes:
receiving a video table to be downloaded, which is sent by a server and used for downloading a target video, wherein the target video is a video which is interested by a target user, the target user is a user using the terminal, the target user is determined by the server according to video characteristics of the target video and user characteristics of the user, and the user characteristic of one user is determined according to the playing behavior of the user;
and downloading the target video according to the video table to be downloaded.
It should be noted that other implementation manners of the video downloading method applied to the terminal are the same as those of the foregoing method embodiment, and are not described herein again.
By operating the computer program product provided by the embodiment of the invention, the target video can be downloaded according to the received video list to be downloaded, so that the confirmation process of a user is omitted, and the user experience is improved.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus, the system, the server, the terminal, the computer-readable storage medium, and the computer program product embodiment, since they are substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (19)

1. A video downloading method applied to a server, the method comprising:
acquiring video characteristics of a target video;
determining a target user interested in the target video according to the acquired video characteristics and user characteristics of the users, wherein the user characteristic of one user is the characteristic determined according to the playing behavior of the user;
generating a video table to be downloaded, which is used by the determined target user for downloading the target video;
sending the video table to be downloaded to the determined terminal used by the target user, so that the terminal downloads the target video according to the video table to be downloaded;
the generating a video table to be downloaded for the determined target user to download the target video includes:
determining the moment to be downloaded of each determined target user for downloading the target video;
generating a video table to be downloaded, which is used by each target user for downloading the target video, according to the determined moment to be downloaded, at which each target user downloads the target video;
the determining the time to be downloaded of each target user downloading the target video includes:
determining the number of target users;
or, according to the determined geographical location of the target user and the determined number of the target users;
or, according to the size of the target video and the determined number of target users;
or determining the time to be downloaded of each determined target user for downloading the target video according to the determined geographical position of the target user, the size of the target video and the number of the determined target users;
the method further comprises the following steps:
determining a first preset number of videos as hot videos according to the sequence of the playing times from high to low in a preset first time period;
determining the moment to be downloaded of each popular video downloaded by each target user;
the step of generating a video table to be downloaded for each target user to download the target video according to the determined moment to be downloaded for each target user to download the target video includes:
and generating a video table to be downloaded, which is used by the target user to download the target video and the hot video, according to the determined time to be downloaded when each target user downloads the target video and the determined time to be downloaded when each target user downloads each hot video.
2. The method of claim 1, wherein determining the target user interested in the target video according to the obtained video features and user features of the user comprises:
for each user, calculating the number of the characteristics matched with the user characteristics of the user in the acquired video characteristics;
and determining the users with the calculated number of the characteristics larger than a preset first threshold value as target users interested in the target video.
3. The method of claim 1, further comprising:
and receiving new play behavior information sent by the determined terminal used by the target user, and updating the user characteristics of the determined target user.
4. A video downloading method is applied to a terminal, and comprises the following steps:
receiving a video table to be downloaded, which is sent by a server and used for downloading a target video, wherein the target video is a video which is interested by a target user, the target user is a user using the terminal, the target user is determined by the server according to video characteristics of the target video and user characteristics of the user, and the user characteristic of one user is determined according to the playing behavior of the user;
downloading the target video according to the video table to be downloaded;
the video table to be downloaded comprises the moment to be downloaded of the target video;
the downloading the target video according to the video table to be downloaded includes:
downloading the target video according to the target video to-be-downloaded time recorded in the video table to-be-downloaded;
the time to be downloaded is as follows: the server is used for receiving the number of the target users;
or according to the geographic position of the target user and the number of the target users;
or according to the size of the target video and the number of the target users;
or the downloading time for downloading the target video is distributed to each target user according to the geographical position of the target user, the size of the target video and the number of the target users;
the video list to be downloaded further comprises hot videos and the time to be downloaded of the hot videos, wherein the hot videos are the videos of the preset second number determined by the server according to the sequence of the playing times from high to low in the preset second time period;
the downloading the target video according to the video table to be downloaded includes:
and respectively downloading the target video and the hot video according to the time to be downloaded of the target video and the time to be downloaded of the hot video recorded in the video table to be downloaded.
5. The method of claim 4, wherein before the downloading the target video according to the to-be-downloaded video list, the method further comprises:
judging whether the available storage space of the terminal is smaller than a preset second threshold value or not;
if the available storage space of the terminal is smaller than the second threshold value, releasing the storage space, and executing the step of downloading the target video according to the video table to be downloaded;
and if the available storage space of the terminal is larger than or equal to the second threshold value, directly executing the step of downloading the target video according to the video table to be downloaded.
6. The method of claim 4, wherein before the downloading the target video according to the to-be-downloaded video list, the method further comprises:
judging whether the network connection state of the terminal is in a preset state allowing video downloading;
and if the network connection state of the terminal is in the state of allowing video downloading, directly executing the step of downloading the target video according to the video table to be downloaded.
7. The method of claim 4, further comprising:
and sending the new playing behavior information of the target user to the server so that the server updates the user characteristics of the target user.
8. A video downloading apparatus applied to a server, the apparatus comprising:
the target video acquisition module is used for acquiring video characteristics of a target video;
the target user determining module is used for determining a target user interested in the target video according to the acquired video characteristics and the user characteristics of the users, wherein the user characteristic of one user is the characteristic determined according to the playing behavior of the user;
the video list to be downloaded generating module is used for generating a video list to be downloaded, which is used for downloading the target video, of the determined target user;
a to-be-downloaded video table sending module, configured to send the to-be-downloaded video table to a terminal used by the determined target user, so that the terminal downloads the target video according to the to-be-downloaded video table;
the module for generating the video list to be downloaded comprises:
the time determining submodule is used for determining the time to be downloaded of each determined target user for downloading the target video;
the table generation submodule is used for generating a video table to be downloaded, which is used by each target user for downloading the target video, according to the determined moment to be downloaded of each target user for downloading the target video;
the time determination submodule is specifically configured to:
determining the number of target users;
or, according to the determined geographical location of the target user and the determined number of the target users;
or, according to the size of the target video and the determined number of target users;
or determining the time to be downloaded of each determined target user for downloading the target video according to the determined geographical position of the target user, the size of the target video and the number of the determined target users;
the device further comprises:
the hot video determining module is used for determining a first preset number of videos as hot videos according to the sequence of the playing times from high to low in a preset first time period;
the download waiting time determining module is used for determining the download waiting time of each hot video downloaded by each target user;
the table generation submodule is specifically configured to generate a to-be-downloaded video table for the target user to download the target video and the hot video according to the determined to-be-downloaded time at which each target user downloads the target video and the determined to-be-downloaded time at which each target user downloads each hot video.
9. The apparatus of claim 8, wherein the target user determination module is specifically configured to:
for each user, calculating the number of the characteristics matched with the user characteristics of the user in the acquired video characteristics;
and determining the users with the calculated number of the characteristics larger than a preset first threshold value as target users interested in the target video.
10. The apparatus of claim 8, further comprising:
and the user characteristic updating module is used for receiving the new playing behavior information sent by the determined terminal used by the target user and updating the user characteristic of the determined target user.
11. A video downloading apparatus applied to a terminal, the apparatus comprising:
the system comprises a to-be-downloaded video list receiving module, a to-be-downloaded video list receiving module and a downloading module, wherein the to-be-downloaded video list receiving module is used for receiving a to-be-downloaded video list which is sent by a server and used for downloading a target video, the target video is a video which is interesting to a target user, the target user is a user using a terminal, the target user is determined by the server according to video characteristics of the target video and user characteristics of the user, and the user characteristic of one user is determined according to playing behaviors of the user;
the target video downloading module is used for downloading the target video according to the video table to be downloaded;
the video table to be downloaded comprises the moment to be downloaded of the target video;
the target video downloading module is specifically used for downloading the target video according to the target video to-be-downloaded time recorded in the to-be-downloaded video table;
the time to be downloaded is as follows: the server is used for receiving the number of the target users;
or according to the geographic position of the target user and the number of the target users;
or according to the size of the target video and the number of the target users;
or the downloading time for downloading the target video is distributed to each target user according to the geographical position of the target user, the size of the target video and the number of the target users;
the video list to be downloaded further comprises hot videos and the time to be downloaded of the hot videos, wherein the hot videos are the videos of the preset second number determined by the server according to the sequence of the playing times from high to low in the preset second time period;
the target video downloading module is specifically configured to respectively download the target video and the hot video according to the time to be downloaded of the target video and the time to be downloaded of the hot video recorded in the video table to be downloaded.
12. The apparatus of claim 11, further comprising: the system comprises a first judgment module and a space release module;
the first judging module is used for judging whether the available storage space of the terminal is smaller than a preset second threshold value, if the available storage space of the terminal is smaller than the second threshold value, the space releasing module is triggered, and if the available storage space of the terminal is larger than or equal to the second threshold value, the target video downloading module is triggered;
and the space release module is used for releasing the storage space and triggering the target video downloading module.
13. The apparatus of claim 11, further comprising:
and the second judgment module is used for judging whether the network connection state of the terminal is in a preset state allowing video downloading, and triggering the target video downloading module if the network connection state of the terminal is in the state allowing video downloading.
14. The apparatus of claim 11, further comprising:
and the playing behavior sending module is used for sending the new playing behavior information of the target user to the server so that the server updates the user characteristics of the target user.
15. A video download system, characterized in that the system comprises a server and a terminal;
the server is used for acquiring video characteristics of the target video; determining a target user interested in the target video according to the acquired video characteristics and user characteristics of the users, wherein the user characteristic of one user is the characteristic determined according to the playing behavior of the user; generating a video table to be downloaded, which is used by the determined target user for downloading the target video; sending the video list to be downloaded to the determined terminal used by the target user;
the generating a video table to be downloaded for the determined target user to download the target video includes:
determining the moment to be downloaded of each determined target user for downloading the target video;
generating a video table to be downloaded, which is used by each target user for downloading the target video, according to the determined moment to be downloaded, at which each target user downloads the target video;
the determining the time to be downloaded of each target user downloading the target video includes:
determining the number of target users;
or, according to the determined geographical location of the target user and the determined number of the target users;
or, according to the size of the target video and the determined number of target users;
or determining the time to be downloaded of each determined target user for downloading the target video according to the determined geographical position of the target user, the size of the target video and the number of the determined target users;
the terminal is used for receiving a video list to be downloaded, sent by the server, for downloading the target video; downloading the target video according to the video table to be downloaded;
the server is further used for determining a first preset number of videos as hot videos according to the sequence of the playing times from high to low in a preset first time period; determining the moment to be downloaded of each popular video downloaded by each target user;
the server is specifically configured to generate a video table to be downloaded, where the target user is used to download the target video and the hot video, according to the determined time to be downloaded when each target user downloads the target video and the determined time to be downloaded when each target user downloads each hot video.
16. A server is characterized by comprising a first processor, a first communication interface, a first memory and a first communication bus, wherein the first processor, the first communication interface and the first memory are used for completing communication among the first processor, the first memory and the first communication bus;
the first memory is used for storing a computer program;
the first processor, when executing the program stored in the first memory, implementing the method steps of any of claims 1-3.
17. A terminal is characterized by comprising a second processor, a second communication interface, a second memory and a second communication bus, wherein the second processor, the second communication interface and the second memory are used for completing communication among the second processor, the second memory and the second communication bus;
the second memory is used for storing a computer program;
the second processor, when executing the program stored in the second memory, implementing the method steps of any of claims 4-7.
18. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-3.
19. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 4 to 7.
CN201710772013.4A 2017-08-31 2017-08-31 Video downloading method, device, system, server and terminal Active CN107566857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710772013.4A CN107566857B (en) 2017-08-31 2017-08-31 Video downloading method, device, system, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710772013.4A CN107566857B (en) 2017-08-31 2017-08-31 Video downloading method, device, system, server and terminal

Publications (2)

Publication Number Publication Date
CN107566857A CN107566857A (en) 2018-01-09
CN107566857B true CN107566857B (en) 2020-03-17

Family

ID=60977674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710772013.4A Active CN107566857B (en) 2017-08-31 2017-08-31 Video downloading method, device, system, server and terminal

Country Status (1)

Country Link
CN (1) CN107566857B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282690A (en) * 2018-01-26 2018-07-13 广东欧珀移动通信有限公司 A kind of Internet video method for down loading, device and computer readable storage medium
CN110324680B (en) * 2018-03-30 2021-09-28 腾讯科技(深圳)有限公司 Video pushing method and device, server, client and storage medium
CN109635155B (en) * 2018-12-17 2023-02-24 杭州柚子街信息科技有限公司 Method and device for pushing video to user, electronic equipment and storage medium
CN110012102A (en) * 2019-04-11 2019-07-12 湖南快乐阳光互动娱乐传媒有限公司 P2P based on the push of popular video preprocessor actively does kind of a method and system
CN109889868A (en) * 2019-04-11 2019-06-14 湖南快乐阳光互动娱乐传媒有限公司 A kind of video broadcasting method and system
CN113434717A (en) * 2020-03-20 2021-09-24 华为技术有限公司 Content recommendation method and device, electronic equipment and storage medium
CN113395529A (en) * 2021-06-11 2021-09-14 重庆农村商业银行股份有限公司 Video recording reading method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850434A (en) * 2015-04-30 2015-08-19 腾讯科技(深圳)有限公司 Method and apparatus for downloading multimedia resources
CN105872742A (en) * 2015-11-30 2016-08-17 乐视网信息技术(北京)股份有限公司 Network video downloading method and user terminal device
CN105898420A (en) * 2015-01-09 2016-08-24 阿里巴巴集团控股有限公司 Video recommendation method and device, and electronic equipment
CN107105323A (en) * 2017-05-23 2017-08-29 北京奇艺世纪科技有限公司 A kind of video pushing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9244916B2 (en) * 2013-10-01 2016-01-26 Penthera Partners, Inc. Downloading media objects

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898420A (en) * 2015-01-09 2016-08-24 阿里巴巴集团控股有限公司 Video recommendation method and device, and electronic equipment
CN104850434A (en) * 2015-04-30 2015-08-19 腾讯科技(深圳)有限公司 Method and apparatus for downloading multimedia resources
CN105872742A (en) * 2015-11-30 2016-08-17 乐视网信息技术(北京)股份有限公司 Network video downloading method and user terminal device
CN107105323A (en) * 2017-05-23 2017-08-29 北京奇艺世纪科技有限公司 A kind of video pushing method and device

Also Published As

Publication number Publication date
CN107566857A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN107566857B (en) Video downloading method, device, system, server and terminal
US8943164B2 (en) Apparatus and methods for retrieving/ downloading content on a communication device
US20140298395A1 (en) Methods and systems for playing video on multiple terminals
KR101777392B1 (en) Central server and method for processing of voice of user
CN109639636B (en) Service data forwarding method, service data processing method, service data forwarding device, service data processing device and electronic equipment
CN109542361B (en) Distributed storage system file reading method, system and related device
US20210160577A1 (en) Method for playing video, electronic device and storage medium
US20080189294A1 (en) Method and apparatus for sharing content
CN101690129A (en) Coordination and management of content distribution
CN107786631B (en) Content publishing method and device and electronic equipment
CN109791557A (en) Media storage
KR101783431B1 (en) Method for providing funding and consulting information related with entertainment by crowd funding system
EP3651421A1 (en) Multimedia display method, apparatus, and device
TW201903604A (en) System and method for application navigation
CN109522462B (en) Cloud query method, device, equipment and storage medium based on block chain
WO2014153963A1 (en) Methods and systems for playing video on multiple terminals
TWI462045B (en) Pushing message system for multiple system platforms
CN109639813B (en) Video file transmission processing method and device, electronic equipment and storage medium
JP7058795B2 (en) Video processing methods, devices, terminals and storage media
CN105872028B (en) Server-side, client and access strategy management method
US9813777B1 (en) Time shifting content for network DVR and trick play keys
EP3160101B1 (en) Multi-media resource management method, cloud server and electronic device
CN111225255B (en) Target video push playing method and device, electronic equipment and storage medium
CN110413684B (en) Database synchronization method, device and system
CN114172964B (en) Scheduling method, device, communication equipment and storage medium of content distribution network

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