U.S. patent application number 17/135440 was filed with the patent office on 2021-04-22 for media file pushing method, media file server, and media file pushing system.
The applicant listed for this patent is Huawei Technologies Co., Ltd.. Invention is credited to Rui Li, Yi Zhu.
Application Number | 20210120283 17/135440 |
Document ID | / |
Family ID | 1000005307603 |
Filed Date | 2021-04-22 |
![](/patent/app/20210120283/US20210120283A1-20210422-D00000.png)
![](/patent/app/20210120283/US20210120283A1-20210422-D00001.png)
![](/patent/app/20210120283/US20210120283A1-20210422-D00002.png)
![](/patent/app/20210120283/US20210120283A1-20210422-D00003.png)
![](/patent/app/20210120283/US20210120283A1-20210422-D00004.png)
![](/patent/app/20210120283/US20210120283A1-20210422-D00005.png)
United States Patent
Application |
20210120283 |
Kind Code |
A1 |
Zhu; Yi ; et al. |
April 22, 2021 |
Media File Pushing Method, Media File Server, and Media File
Pushing System
Abstract
A media file pushing method, a media file server, and a media
file pushing system relate to the field of communications
technologies and are configured to resolve a problem that a user
cannot quickly obtain a media file satisfying a pushing requirement
of the user. The method includes obtaining search information from
a user, where the search information includes time information, and
the time information indicates a requirement of the user on
playback duration of a media file, determining playback content of
the media file based on a preset content determining rule,
obtaining at least one target media file satisfying the time
information and the playback content from a media file resource
library based on the time information and the playback content of
the media file, and presenting the at least one target media file
in a pushing interface.
Inventors: |
Zhu; Yi; (Shenzhen, CN)
; Li; Rui; (Nanjing, CN) |
|
Applicant: |
Name |
City |
State |
Country |
Type |
Huawei Technologies Co., Ltd. |
Shenzhen |
|
CN |
|
|
Family ID: |
1000005307603 |
Appl. No.: |
17/135440 |
Filed: |
December 28, 2020 |
Related U.S. Patent Documents
|
|
|
|
|
|
Application
Number |
Filing Date |
Patent Number |
|
|
16295593 |
Mar 7, 2019 |
10911802 |
|
|
17135440 |
|
|
|
|
PCT/CN2017/099366 |
Aug 28, 2017 |
|
|
|
16295593 |
|
|
|
|
Current U.S.
Class: |
1/1 |
Current CPC
Class: |
H04L 67/26 20130101;
G06F 16/00 20190101; H04N 21/252 20130101; H04N 21/25891 20130101;
H04N 21/4828 20130101; H04N 21/2387 20130101; H04N 21/8405
20130101; H04L 65/4061 20130101; H04N 21/26241 20130101; H04L
67/325 20130101; H04N 21/234 20130101 |
International
Class: |
H04N 21/2387 20060101
H04N021/2387; H04N 21/25 20060101 H04N021/25; H04N 21/482 20060101
H04N021/482; G06F 16/00 20060101 G06F016/00; H04N 21/8405 20060101
H04N021/8405; H04N 21/258 20060101 H04N021/258; H04L 29/06 20060101
H04L029/06; H04L 29/08 20060101 H04L029/08; H04N 21/234 20060101
H04N021/234; H04N 21/262 20060101 H04N021/262 |
Foreign Application Data
Date |
Code |
Application Number |
Sep 7, 2016 |
CN |
201610808142.X |
Claims
1. A media file pushing method implemented by a computer system and
comprising: receiving search information from a terminal, wherein
the search information comprises time information indicating a
first playback duration; searching a media file resource library to
determine whether the media file resource library comprises a
target media file satisfying the time information; determining a
media file from the media file resource library when the media file
resource library does not comprise the target media file satisfying
the time information, wherein a second playback duration of the
media file is greater than the first playback duration; editing the
media file to obtain the target media file satisfying the time
information; and sending the target media file to the terminal.
2. The media file pushing method of claim 1, wherein determining
the media file from the media file resource library comprises
determining, based on a historical playback record indicating a
quantity of playback times of the media file, the media file,
wherein the quantity is greater than other quantities of playback
times of other media files.
3. The media file pushing method of claim 1, wherein the time
information comprises a time range.
4. The media file pushing method of claim 1, wherein the time
information comprises a fixed time duration.
5. The media file pushing method of claim 1, wherein the time
information comprises a time-based search field.
6. The media file pushing method of claim 1, wherein the search
information further comprises a content key word.
7. The media file pushing method of claim 1, wherein the terminal
comprises a mobile phone, a smart band, a tablet computer, or an
intelligent remote control.
8. The media file pushing method of claim 1, wherein the media file
comprises an audio file, a video file, or an image file.
9. A computer system comprising: a memory comprising instructions;
and a processor coupled to the memory, wherein the instructions
cause the processor to be configured to: receive search information
from a terminal, wherein the search information comprises time
information indicating a first playback duration; search a media
file resource library to determine whether the media file resource
library comprises a target media file satisfying the time
information; determine a media file from the media file resource
library when the media file resource library does not comprise the
target media file satisfying the time information, wherein a second
playback duration of the media file is greater than the first
playback duration; edit the media file to obtain the target media
file satisfying the time information; and send the target media
file to the terminal.
10. The computer system of claim 9, wherein the instructions
further cause the processor to be configured to determine, based on
a historical playback record indicating a quantity of playback
times of the media file, the media file, wherein the quantity is
greater than other quantities of playback times of other media
files.
11. The computer system of claim 9, wherein the time information
comprises a time range.
12. The computer system of claim 9, wherein the time information
comprises a fixed time duration.
13. The computer system of claim 9, wherein the time information
comprises a time-based search field.
14. The computer system of claim 9, wherein the terminal comprises
a mobile phone, a smart band, a tablet computer, or an intelligent
remote control.
15. The computer system of claim 9, wherein the media file
comprises an audio file, a video file, or an image file.
16. A terminal comprising: a memory comprising instructions; and a
processor coupled to the memory, wherein the instructions cause the
processor to be configured to: receive search information
comprising time information indicating a first playback duration;
send the search information to a remote computer; receive a target
media file from the remote computer in response to sending the
search information; and present the target media file, wherein the
target media file is based on a source media file with a second
playback duration that is greater than first playback duration.
17. The terminal of claim 16, wherein the time information
comprises a time range.
18. The terminal of claim 16, wherein the time information
comprises a fixed time duration.
19. The terminal of claim 16, wherein the time information
comprises a time-based search field.
20. The terminal of claim 16, wherein the target media file
comprises an audio file, a video file, or an image file.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is a continuation of U.S. patent
application Ser. No. 16/295,593 filed on Mar. 7, 2019, which is a
continuation of International Patent Application No.
PCT/CN2017/099366 filed on Aug. 28, 2017, which claims priority to
Chinese Patent Application No. 201610808142.X filed on Sep. 7,
2016. The disclosures of the aforementioned applications are hereby
incorporated by reference in their entireties.
TECHNICAL FIELD
[0002] This application relates to the field of communications
technologies, and in particular, to a media file pushing method, a
media file server, and a media file pushing system.
BACKGROUND
[0003] When a user watches a video using a terminal such as a
mobile phone or a computer, the following application scenario may
exist. The user has no time to watch an entire video program, for
example, an entire movie, but watches some short video programs
using short fragmented time, for example, watches a news program, a
funny video, or an essential part of a movie at breakfast time. In
this case, the user enters a key word on the terminal to search for
a video satisfying a requirement of the user.
[0004] In other approaches, after the user enters the key word on
the terminal, videos pushed by the terminal to the user may not
satisfy a watching requirement of the user, and the user still
needs to screen the videos. For example, the user wants to watch a
video about local news for about 10 minutes. When the user enters a
key word "news," a video server may push all news videos, and
playback duration of the videos varies. In this case, the user
still needs to click/tap a video details page to view video
duration information, or duration information is displayed using a
playback control bar after a video is played back to further
obtain, through screening, a video satisfying a duration
requirement of the user. In this case, the user may give up
watching due to time consumed for searching for a related
video.
SUMMARY
[0005] This application provides a media file pushing method, a
media file server, and a media file pushing system to resolve a
problem that a user cannot quickly obtain a media file satisfying a
pushing requirement of the user.
[0006] To achieve the foregoing objective, the following technical
solutions are used in this application.
[0007] According to one aspect, this application provides a media
file pushing method, including obtaining search information entered
by a user, where the search information includes at least time
information, and the time information indicates a requirement of
the user on playback duration of a media file, determining playback
content of the media file based on a preset content determining
rule, obtaining at least one target media file that satisfies the
time information and the playback content from a media file
resource library based on the time information and the playback
content of the media file, and presenting the at least one target
media file in a pushing interface.
[0008] The time information included in the search information may
be a time range or fixed duration.
[0009] Optionally, the search information may be a search key word
from the user, and the search key word includes at least a duration
key word. For example, the user enters a search key word "10
minutes+news," "10 minutes" is a duration key word, and "news" is a
content key word.
[0010] Optionally, when the user searches for a media file using a
terminal, the terminal displays a plurality of time-based search
fields for the user to select. Therefore, the search information
entered by the user may further be a search field selected by the
user from all time-based search fields displayed by the terminal.
For example, the terminal displays the following time-based search
fields: "breakfast," "afternoon tea," and "dinner," and the user
may select any one of the search fields.
[0011] As can be learned, compared with the other approaches in
which the user cannot quickly obtain a media file satisfying a
pushing requirement of the user, in this application, a media file
server can determine the requirement of the user on the playback
duration of the media file based on the time information in the
search information entered by the user, determine the playback
content of the media file based on the preset content determining
rule, and further push, to the user, only the at least one media
file that satisfies the duration requirement and the playback
content, but does not push another media file that does not satisfy
the pushing requirement such that time consumed by the user to
search for the media file can be reduced, and the user can quickly
obtain the media file satisfying the pushing requirement of the
user, thereby improving user experience.
[0012] In a possible design, when the search information entered by
the user includes only the time information, when determining the
playback content of the media file, the media file server
determines, based on a historical playback record of the user, at
least one content category whose playback frequency of the user
satisfies a preset requirement, and determines any one of the at
least one content category as a target content category, and
determines playback content satisfying the target content category
as the playback content of the media file. For example, if the
search information entered by the user is "10 minutes," the media
file server can only determine, based on the search information,
that the requirement of the user on the duration of the media file
is "10 minutes." To determine the playback content of the media
file, the media file server determines, by viewing a historical
watching record of the user, that the user usually watches media
files of a variety and entertainment category and a sports
category. Then, the media file server may determine the variety and
entertainment category or the sports category as the target content
category, and determine playback content belonging to the target
content category as the playback content of the media file.
[0013] In this embodiment, the media file server can determine the
target content category of the media file based on the historical
playback record of the user, and further determine the playback
content satisfying the target content category as the playback
content of the media file. The playback content that is of the
media file and that is determined using this implementation is
based on the historical playback record of the user, and can be
closer to an actual requirement of the user. Further, the media
file server pushes, to the user, only the at least one media file
that satisfies the time information and the playback content, but
does not push another media file that does not satisfy the pushing
requirement such that the time consumed by the user to search for
the media file can be reduced, and the user can quickly obtain the
media file satisfying the pushing requirement of the user, thereby
improving user experience.
[0014] In a possible design, when the search information entered by
the user includes only the time information, and the media file
server stores a content category pre-stored by the user, when the
playback content of the media file is determined, a preset content
category is determined as the target content category, and playback
content satisfying the target content category is determined as the
playback content of the media file.
[0015] In this embodiment, the media file server can determine the
pre-stored content category as the target content category, and
further determine the playback content satisfying the target
content category as the playback content of the media file. The
playback content that is of the media file and that is determined
using this implementation is based on user setting, and can satisfy
a requirement of the user on the playback content. Further, the
media file server pushes, to the user, only the at least one media
file that satisfies the time information and the playback content,
but does not push another media file that does not satisfy the
pushing requirement such that the time consumed by the user to
search for the media file can be reduced, and the user can quickly
obtain the media file satisfying the pushing requirement of the
user, thereby improving user experience.
[0016] In a possible design, when the search information entered by
the user further includes a content key word, when the playback
content of the media file is determined, playback content including
the content key word is determined as the playback content of the
media file based on the content key word. For example, if the
search information entered by the user is a search key word "10
minutes+news," the media file server can determine, based on "10
minutes," that the requirement of the user on the duration of the
media file is 10 minutes, and determine, based on "news," that a
requirement of the user on content of the media file is a media
file of a news category.
[0017] In this embodiment, the media file server can determine the
playback content of the media file based on the content key word
entered by the user. The playback content that is of the media file
and that is determined using this implementation is based on the
content key word entered by the user, and can satisfy the
requirement of the user on the playback content. Further, the media
file server pushes, to the user, only the at least one media file
that satisfies the time information and the playback content, but
does not push another media file that does not satisfy the pushing
requirement such that the time consumed by the user to search for
the media file can be reduced, and the user can quickly obtain the
media file satisfying the pushing requirement of the user, thereby
improving user experience.
[0018] In a possible design, obtaining at least one target media
file that satisfies the time information and the playback content
from a media file resource library based on the time information
and the playback content of the media file further includes
searching the media file resource library to determine whether the
media file resource library includes the target media file that
satisfies the time information and the playback content, and
editing at least one media file whose playback frequency satisfies
the preset requirement into the target media file that satisfies
the time information and the playback content if the media file
resource library does not include the target media file.
[0019] In this embodiment, when the target media file is obtained
from the media file resource library, if the media file that
satisfies the time information and the playback content can be
found, the found media file may be used as a to-be-pushed target
media file. If the media file cannot be found, a media file having
a relatively high playback frequency may be edited to obtain the
target media file that satisfies the time information and the
playback content. Further, only the at least one media file that
satisfies the time information and the playback content is pushed
to the user, and another media file that does not satisfy the
pushing requirement is not pushed such that the time consumed by
the user to search for the media file can be reduced, and the user
can quickly obtain the media file satisfying the pushing
requirement of the user, thereby improving user experience.
[0020] In a possible design, when presenting the at least one
target media file in the pushing interface, the media file server
pushes a plurality of target media files based on playback
popularity or quantities of playback times such that the user
selects, from the plurality of target media files, a media file
that the user intends to play back.
[0021] In this embodiment, the media file server can push the
target media files to the user based on the playback popularity and
the quantities of playback times of media files, and further push,
to the user, only the at least one media file that satisfies the
time information and the playback content, but does not push
another media file that does not satisfy the pushing requirement
such that the user selects, from the target media files, the media
file that the user intends to play back. Therefore, the time
consumed by the user to search for the media file can be reduced,
and the user can quickly obtain the media file satisfying the
pushing requirement of the user, thereby improving user
experience.
[0022] According to another aspect, this application further
provides a media file server, capable of implementing functions
performed by the media file server in the method example. The
functions may be implemented using hardware, or by hardware
executing corresponding software. The hardware or the software
includes one or more modules corresponding to the foregoing
functions.
[0023] In a possible design, a structure of the media file server
includes a processor and a transceiver, and the processor is
configured to support the media file server in performing the
corresponding functions in the method. The transceiver is
configured to support communication between the media file server
and another network element. The media file server may further
include a memory. The memory is coupled to the processor, and
stores a program instruction and data that are required by the
media file server.
[0024] According to still another aspect, this application provides
a computer storage medium configured to store a computer software
instruction used by the media file server, and the computer
software instruction includes a program designed to perform the
foregoing aspect.
[0025] According to yet another aspect, this application provides a
media file pushing system, including the media file server provided
in this application and a terminal. The terminal is configured to
display at least one target media file pushed by the media file
server.
[0026] In the media file pushing method, the media file server, and
the media file pushing system that are provided in this
application, compared with the other approaches in which the user
cannot quickly obtain the media file satisfying the pushing
requirement of the user, in this application, the media file server
can determine the requirement of the user on the duration of the
media file using the time information in the search information
entered by the user, determine the playback content of the media
file based on the preset content determining rule, and further
push, to the user, only the media file that satisfies the duration
requirement and the playback content, but does not push another
media file that does not satisfy the pushing requirement such that
the time consumed by the user to search for the media file can be
reduced, and the user can quickly obtain the media file satisfying
the pushing requirement of the user, thereby improving user
experience.
BRIEF DESCRIPTION OF DRAWINGS
[0027] To describe the technical solutions in some of the
embodiments of this application art more clearly, the following
briefly describes the accompanying drawings describing some of the
embodiments. The accompanying drawings in the following description
show merely some embodiments of this application, and a person of
ordinary skill in the art may still derive other drawings from
these accompanying drawings without creative efforts.
[0028] FIG. 1 is a schematic structural diagram of a media file
pushing system according to an embodiment of this application;
[0029] FIG. 2 is a schematic structural diagram of another media
file pushing system according to an embodiment of this
application;
[0030] FIG. 3 is a schematic flowchart of a media file pushing
method according to an embodiment of this application;
[0031] FIG. 4 is a schematic diagram of an interface used for
entering search information on a terminal according to an
embodiment of this application;
[0032] FIG. 5 is a schematic diagram of another interface used for
entering search information on a terminal according to an
embodiment of this application;
[0033] FIG. 6 is a schematic flowchart of another media file
pushing method according to an embodiment of this application;
[0034] FIG. 7 is a schematic structural diagram of a media file
server according to an embodiment of this application;
[0035] FIG. 8 is a schematic structural diagram of another media
file server according to an embodiment of this application; and
[0036] FIG. 9 is a schematic structural diagram of a computer
device according to an embodiment of this application.
DESCRIPTION OF EMBODIMENTS
[0037] The following clearly describes the technical solutions in
the embodiments with reference to the accompanying drawings in the
embodiments.
[0038] A media file pushing method provided in the embodiments of
this application may be applied to an application scenario in which
a user plays back a media file using a terminal.
[0039] As shown in FIG. 1, an embodiment of this application
provides a media file pushing system applied to this application
scenario. The media file pushing system includes a terminal 101 and
a media file server 102.
[0040] The terminal 101 may be any device having a media file
searching and playback function, for example, a mobile phone, a
tablet computer, or a smart television. The media file server 102
can communicate with the terminal 101 and push a media file to the
terminal 101.
[0041] The media file pushing method provided in the embodiments of
this application may further be applied to an application scenario
of air sharing. Air sharing means that a series of operations such
as transmission, parsing, presentation, and controlling of
multimedia content may be performed on different multimedia
terminals using an Intelligent Grouping and Resource Sharing
protocol, the Miracast protocol, and the like and using a WI-FI
network connection to share presented content on different platform
devices, and enrich a multimedia life of a user. For example, after
the air sharing technology is used, a movie on a mobile phone can
be played back on a television, an image on a tablet computer can
be shared on a television, and content on a computer can be
projected to a television.
[0042] As shown in FIG. 2, an embodiment of this application
provides a media file pushing system applied to the application
scenario of air sharing. The media file pushing system includes a
first terminal 201, a media file server 202, and a second terminal
203.
[0043] The first terminal 201 may be a device such as a mobile
phone, a smart band, a tablet computer, or an intelligent remote
control. The media file server 202 is configured to find a media
file based on search information that is entered by a user using
the first terminal 201, and push the media file to the second
terminal 203. The second terminal 203 may be a device such as a
smart television including a set top box, a tablet computer, or a
mobile phone, and is configured to play back the media file pushed
by the media file server 202.
[0044] An embodiment of this application provides a media file
pushing method. The media file pushing method may be performed by
the media file server shown in FIG. 1 or FIG. 2. This embodiment of
this application is described using an example in which the media
file pushing method provided in this embodiment of this application
is applied to the system architecture shown in FIG. 2. In addition,
a media file in this embodiment of this application includes
various files such as an audio file, a video file, and an image
file. This embodiment of this application is described using an
example in which the media file is a video file.
[0045] As shown in FIG. 3, the method includes the following
steps.
[0046] Step 301. The media file server obtains search information
that is entered by a user using a first terminal.
[0047] The search information includes at least time information,
and the time information is used to indicate a requirement of the
user on duration of a media file. Further, the time information may
be a time range, a fixed time value, or a time-based search field.
When the time information is a time range, for example, "10 minutes
to 30 minutes," it may be determined that the requirement of the
user on the duration of the media file is a media file whose
playback duration is "10 minutes to 30 minutes." When the time
information is a fixed time value, the requirement of the user on
the duration of the media file is a time range of fluctuation about
the time value. For example, if the time information is "30
minutes," it may be determined that the requirement of the user on
the duration of the media file is a media file whose playback
duration is about 30 minutes, for example, 25 minutes to 35
minutes. When the time information is a time-based search field,
for example, afternoon tea or breakfast, the requirement that is
indicated by the time information and that is of the user on the
duration of the media file is a statistical value based on the time
scenario. For example, breakfast time of the user is usually 10
minutes to 30 minutes, and the indicated duration requirement is 10
minutes to 30 minutes.
[0048] Optionally, the search information may further include a
content key word related to a to-be-pushed media file, for example,
a name of the media file, or a name of an actor in the media file.
The content key word is used to indicate a requirement of the user
on content of the media file.
[0049] In a specific embodiment, the search information entered by
the user may be a search key word entered by the user, and the
search key word includes at least a time key word.
[0050] As shown in FIG. 4, an embodiment of this application
provides a schematic diagram of an interface used for entering
search information on the first terminal. When the user intends to
search for the media file in a manner of entering a key word, after
selecting "Search key word" by clicking/tapping, the user may enter
corresponding key words on locations, for example, "Enter a key
word 1," "Enter a key word 2," and "Enter a key word 3" in FIG. 4,
on corresponding search boxes on a popup interface. After
determining that the entered search key words are correct, the user
may click/tap "Send" to trigger the first terminal to send the
search information to the media file server. The user may
alternatively click/tap a reset button to re-enter a key word.
[0051] For example, the search information may be a search key word
including a plurality of key word fields entered by the user on the
search boxes displayed by the first terminal 201, for example, "10
minutes+news," or "half an hour+the Titanic." "10 minutes" and
"half an hour" are time information, and may indicate a requirement
of the user on watching duration of the media file, and "news" and
"the Titanic" are content key words, and may indicate the
requirement of the user on the content of the media file.
[0052] In another specific embodiment, when the user searches for
the media file using the first terminal 201, the first terminal 201
displays a plurality of time-based search fields for the user to
select. The search information is a time-based search field
selected by the user.
[0053] As shown in FIG. 5, an embodiment of this application
provides a schematic diagram of another interface used for entering
search information on the first terminal. When the user intends to
search for the media file by selecting a time-based search field,
after selecting "Time-based search field" by clicking/tapping, the
user may select a time-based search field from a plurality of
search fields displayed on a popup interface, for example,
breakfast, lunch, and afternoon tea. After determining that the
selected search field is correct, the user may click/tap Send, to
trigger the first terminal to send the search information to the
media file server. The user may alternatively click/tap a reset
button to re-select a time-based search field.
[0054] It should be noted that when the method is applied to the
system shown in FIG. 1, the search information is search
information that is entered by the user using the terminal 101.
[0055] Step 302. The media file server determines playback content
of a media file based on a preset content determining rule.
[0056] When the search information entered by the user includes
only the time information, when the playback content of the media
file is determined, first, a target content category of the media
file may be determined, and then, playback content satisfying the
target content category is determined as playback content of a
to-be-pushed media file.
[0057] When the media file server stores a content category
pre-stored by the user, the target content category may be a preset
content category.
[0058] For example, if the preset content category is a variety and
entertainment category, playback content belonging to the variety
and entertainment category is directly determined as the playback
content of the to-be-pushed media file.
[0059] The target content category may alternatively be a target
content category that is determined by the media file server based
on a particular rule. For a specific implementation process, refer
to the following specification.
[0060] When the search information entered by the user further
includes the content key word, when the playback content of the
media file is determined, playback content including the content
key word is determined as the playback content of the media file
based on the content key word. For example, if the search
information entered by the user is the search key word "10
minutes+the Titanic," the media file server can determine, based on
"10 minutes," that the requirement of the user on the duration of
the media file is 10 minutes, and determine, based on "the
Titanic," that the playback content of the media file is playback
content related to the Titanic.
[0061] Step 303. The media file server obtains at least one target
media file that satisfies time information and the playback content
from a media file resource library based on the time information
and the playback content of the media file.
[0062] Media files stored in the media file resource library are
various media file segments having different duration and edited by
an operator or a content provider. When the target media file is
obtained from the media file resource library, if the media file
that satisfies the time information and the playback content can be
found, the found media file may be used as the to-be-pushed target
media file, or if the media file that satisfies the time
information and the playback content cannot be found, at least one
media file whose playback frequency satisfies a preset requirement
may be edited to obtain the target media file that satisfies the
time information and the playback content.
[0063] For example, if the requirement of the user on the duration
of the media file is half an hour, and the requirement on the
content of the media file is a movie A, statistics are collected on
content or segments that a plurality of users watch when they watch
the movie A within half an hour, and one or more media file
segments having relatively high watching frequencies are edited
into a target media file having duration of half an hour.
[0064] Step 304. The media file server presents the at least one
target media file in a pushing interface, and sends the at least
one target media file to a second terminal.
[0065] In an embodiment, if there are a plurality of target media
files, the target media files are sequentially presented in the
pushing interface based on playback popularity or quantities of
playback times such that the user selects, from the plurality of
target media files, a media file that the user intends to play
back.
[0066] It should be noted that when the method is applied to the
system architecture shown in FIG. 1, the media file server 102 may
push a plurality of target media files to the terminal 101.
[0067] In the media file pushing method provided in this
application, compared with the other approaches in which the user
cannot quickly obtain a media file satisfying a pushing requirement
of the user, in this application, the media file server can
determine the requirement of the user on the duration of the media
file using the time information in the search information entered
by the user, determine the playback content of the media file based
on the preset content determining rule, and further push, to the
user, only the media file that satisfies the duration requirement
and the playback content, but does not push another media file that
does not satisfy the pushing requirement such that time consumed by
the user to search for the media file can be reduced, and the user
can quickly obtain the media file satisfying the pushing
requirement of the user, thereby improving user experience.
[0068] As shown in FIG. 6, an embodiment of this application
further provides a media file pushing method. The method is applied
to an application scenario in which search information includes
only time information. The method includes the following steps.
[0069] Step 401. A media file server obtains search information
that is entered by a user using a first terminal, where the search
information includes at least time information, and the time
information indicates a requirement of the user on playback
duration of a media file.
[0070] For a specific implementation process of this step, refer to
step 301, and details are not described herein again.
[0071] Step 402. Determine, based on a historical playback record
of the user, at least one content category whose playback frequency
of the user satisfies a preset requirement.
[0072] The historical playback record of the user may be a playback
record within a time period, for example, one month or two weeks.
The preset requirement may be a requirement on a quantity of times,
and that the playback frequency satisfies the preset requirement
means that the playback frequency is greater than or equal to a
particular quantity of times.
[0073] During specific implementation, in an embodiment, a category
to which media files that the user usually watches belong may be
determined based on the historical playback record using a big data
statistics method.
[0074] For example, it may be learned, by collecting statistics on
a watching record of the user within one month, that within this
time period, the user watches programs of a variety and
entertainment category for n1 times, watches programs of a sports
category for n2 times, watches programs of a news category for n3
times, and watches emotional television series for n4 times. If n1
and n3 both are greater than the preset requirement on the quantity
of times, it is determined that target content categories
corresponding to a user A are the variety and entertainment
category and the news category.
[0075] Step 403. The media file server determines any one of the at
least one content category as a target content category, and
determines playback content satisfying the target content category
as playback content of the media file.
[0076] Optionally, media file content watched by some users is
similar, and it may be considered that the users belong to a same
target content category. Then, a media file played back by another
user belonging to the same target content category is determined as
the playback content of the media file based on a watching record
of the another user. For example, the user A and a user B usually
watch media files of the variety and entertainment category. When a
media file is pushed to the user A, a media file that the user B
has watched but the user A does not watch may be determined, based
on a watching record of the user B, as the media file to be pushed
to the user A.
[0077] Step 404. The media file server obtains at least one target
media file that satisfies the time information and the playback
content from a media file resource library based on the time
information and the playback content of the media file.
[0078] For a specific implementation process of this step, refer to
step 303, and details are not described herein again.
[0079] Step 405. The media file server presents the at least one
target media file in a pushing interface, and sends the at least
one target media file to a second terminal.
[0080] For a specific implementation process of this step, refer to
step 304, and details are not described herein again.
[0081] Optionally, when the target content category corresponding
to the user is determined, watching time corresponding to the user
may further be determined, to obtain a target content category
corresponding to the watching time. Then, when the time information
included in the search information is a time-based search field
selected by the user, a media file corresponding to the time
information can be pushed.
[0082] For example, it may be learned, by collecting statistics on
a historical playback record of the user within one month, that a
media file category of the user corresponding to breakfast time is
a news category, a media file category corresponding to afternoon
tea time (three o'clock to five o'clock pm) is an entertainment
category, a media file category corresponding to dinner time is an
emotional television series category, and a media file category
corresponding to time (nine o'clock to 12 o'clock pm) before the
user goes to sleep is a movie category. When the time information
entered by the user is the afternoon tea, a media file
corresponding to the afternoon tea is presented in the pushing
interface.
[0083] In the media file pushing method provided in this embodiment
of this application, when the search information entered by the
user includes only the time information, to be specific, a clear
requirement is imposed only on duration of a to-be-pushed media
file, but is not imposed on content of the to-be-pushed media file,
statistics are collected on the historical playback record of the
user, a target content category that the user usually watches is
determined based on the historical playback record, playback
content of the target content category is determined as playback
content of the to-be-pushed media file, and a media file that
satisfies the time information and the content category is pushed.
The media file pushed using this implementation can be closer to an
actual pushing requirement of the user, thereby improving user
experience.
[0084] The foregoing describes the solutions provided in the
embodiments of this application mainly from the perspective of
interaction between network elements. It may be understood that to
implement the foregoing functions, each network element, for
example, the media file server, includes corresponding hardware
structures and/or software modules performing the functions. A
person skilled in the art should be easily aware that, in
combination with the units and algorithm steps of the examples
described in the embodiments disclosed in this specification, this
application can be implemented by hardware or a combination of
hardware and computer software. Whether a function is performed by
hardware or by computer software driving hardware depends on
particular applications and design constraint conditions of the
technical solutions. A technician may use different methods to
implement the described functions for the particular applications,
but it should not be considered that this implementation goes
beyond the scope of this application.
[0085] In the embodiments of this application, module or unit
division may be performed on the media file server based on the
example of the method. For example, each function module may be
obtained through division for each corresponding function, or at
least two functions may be integrated into one processing module.
The integrated module may be implemented in a form of hardware, or
may be implemented in a form of a software function module. It
should be noted that module division in the embodiments of this
application is an example and is merely logical function division.
During actual implementation, there may be another division
manner.
[0086] When each function module is obtained through division for
each corresponding function, as shown in FIG. 7, an embodiment of
this application further provides a schematic diagram of a possible
structure of the media file server 102 or the media file server 202
used in the foregoing embodiment. The media file server includes an
obtaining module 501, a processing module 502, and a pushing module
503. The obtaining module 501 is configured to support the media
file server in performing step 301 in FIG. 3 and step 401 in FIG.
6, to be specific, obtain search information that is entered by a
user using a first terminal, where the search information includes
time information, and the time information is used to indicate a
requirement of the user on duration of a media file. The processing
module 502 is configured to support the media file server in
performing step 302 and step 303 in FIG. 3, to be specific,
determine playback content of the media file based on a preset
content determining rule, and obtain at least one target media file
that satisfies the time information and the playback content from a
media file resource library based on the time information and the
playback content of the media file. The processing module 502 is
further configured to support the media file server in performing
step 402, step 403, and step 404 in FIG. 6. The pushing module 503
is configured to support the media file server in performing step
304 in FIG. 3 and step 405 in FIG. 6, to be specific, present the
at least one target media file in a pushing interface, and send the
at least one target media file to a second terminal. All related
content of the steps in the foregoing method embodiments may be
referred to for the function descriptions of the corresponding
function modules. Details are not described herein again.
[0087] When an integrated unit is used, as shown in FIG. 8, an
embodiment of this application further provides a schematic diagram
of a possible structure used in the foregoing embodiment. The media
file server includes a processing module 601 and a communications
module 602. The processing module 601 is configured to control and
manage an action of the media file server. For example, the
processing module 601 is configured to support the media file
server in performing processes steps 301, 302, 303, and 304 in FIG.
3, processes steps 401, 402, 403, 404, and 405 in FIG. 4, and/or
other processes of the technology described in this specification.
The communications module 602 is configured to support
communication between the media file server and another network
entity, for example, communication between a function module shown
in FIG. 1 or FIG. 2 and a network entity. The media file server may
further include a storage module 603 configured to store program
code and data of the media file server.
[0088] The processing module 601 may be a processor or a
controller, for example, may be a central processing unit (CPU), a
general purpose processor, a digital signal processor (DSP), an
application-specific integrated circuit (ASIC), a field
programmable gate array (FPGA) or another programmable logic
device, a transistor logic device, a hardware component, or any
combination thereof. The processing module 601 may implement or
execute various example logical blocks, modules, and circuits that
are described with reference to the content disclosed in this
application. The processing module 601 may also be a combination of
computing functions, for example, a combination of one or more
microprocessors or a combination of a DSP and a microprocessor. The
communications module 602 may be a transceiver, a
transmission/receiving circuit, a communications interface, or the
like. The storage module 603 may be a memory.
[0089] When the processing module 601 is a processor, the
communications module 602 is a transceiver, and the storage module
603 is a memory, the media file server used in this embodiment of
this application may be a computer device shown in FIG. 9.
[0090] As shown in FIG. 9, an embodiment of this application
provides a computer device 700, including at least one processor
701, a communications bus 702, a memory 703, and at least one
transceiver 704. The processor 701, the memory 703, and the at
least one transceiver 704 are connected using the communications
bus 702.
[0091] The processor 701 may be a general-purpose CPU, a
microprocessor, an ASIC, or one or more integrated circuits
configured to control program execution in the solutions of this
application.
[0092] The communications bus 702 may include a path for
transmitting information between the components. The transceiver
704 is configured to communicate with another device or a
communications network such as the Ethernet, a radio access network
(RAN), or a wireless local area network (WLAN).
[0093] The memory 703 may be a read-only memory (ROM) or another
type of static storage device capable of storing static information
and instructions, a random access memory (RAM) or another type of
dynamic storage device capable of storing information and
instructions, or may be an electrically erasable programmable ROM
(EEPROM), a compact disc ROM (CD-ROM), or other compact disc
storage or optical disc storage (including a compressed optical
disc, a laser disc, an optical disc, a digital universal optical
disc, a BLU-RAY disc, and the like), a magnetic disk storage medium
or another magnetic storage device, or any other medium capable of
carrying or storing expected program code in a form of instructions
or data structures and capable of being accessed by a computer, but
is not limited thereto. The memory 703 may independently exist and
be connected to the processor using the bus. Alternatively, the
memory 703 may be integrated with the processor 701.
[0094] The memory 703 is configured to store application program
code for execution of the solution of this application, and the
execution is controlled by the processor 701. The processor 701 is
configured to execute the application program code stored in the
memory 703.
[0095] During specific implementation, in an embodiment, the
processor 701 may include one or more CPUs, for example, a CPU 0
and a CPU 1 in FIG. 9.
[0096] During specific implementation, in an embodiment, the
computer device 700 may include a plurality of processors such as
the processor 701 and a processor 707 in FIG. 9. Each of these
processors may be a single-core (single-CPU) processor, or may be a
multi-core (multi-CPU) processor. Herein, the processors 701 and
707 may be one or more devices, circuits, and/or processing cores
used to process data (for example, a computer program
instruction).
[0097] During specific implementation, in an embodiment, the
computer device 700 may further include an output device 705 and an
input device 706. The output device 705 communicates with the
processor 701, and may display information in various manners. For
example, the output device 705 may be a liquid crystal display
(LCD), a light emitting diode (LED) display device, a cathode ray
tube (CRT) display device, a projector, or the like. The input
device 706 communicates with the processor 701, and may receive an
input of a user in various manners. For example, the input device
706 may be a mouse, a keyboard, a touchscreen device, a sensing
device, or the like.
[0098] The computer device 700 may be a general-purpose computer
device or a dedicated computer device. During specific
implementation, the computer device 700 may be a desktop computer,
a portable computer, a network server, a personal digital assistant
(PDA), a mobile phone, a tablet computer, a wireless terminal
device, a communications device, an embedded device, or a device
having a structure similar to that in FIG. 9. This embodiment of
this application does not limit a type of the computer device
700.
[0099] The methods or algorithm steps described with reference to
the content disclosed in this application may be implemented in a
hardware manner, or may be implemented in a manner of executing a
software instruction by a processor. The software instruction may
include a corresponding software module. The software module may be
stored in a RAM, a flash memory, a ROM, an erasable programmable
ROM (EPROM), an EEPROM, a register, a hard disk, a removable hard
disk, a CD-ROM, or a storage medium in any other forms well-known
in the art. A storage medium used as an example is coupled to the
processor such that the processor can read information from the
storage medium, and can write information into the storage medium.
Certainly, the storage medium may be a part of the processor. The
processor and the storage medium may be located in an ASIC.
[0100] A person of skill in the art should be aware that in one or
more of the foregoing examples, the functions described in this
application may be implemented using hardware, software, firmware,
or any combination thereof. When this application is implemented by
software, these functions may be stored in a computer-readable
medium or transmitted as one or more instructions or code in the
computer-readable medium. The computer-readable medium includes a
computer storage medium and a communications medium, where the
communications medium includes any medium that enables a computer
program to be transmitted from one place to another. The storage
medium may be any available medium accessible to a general or
dedicated computer.
[0101] The objectives, technical solutions, and benefits of this
application are further described in detail in the foregoing
specific embodiments. It should be understood that the foregoing
descriptions are merely specific embodiments of this application,
but are not intended to limit the protection scope of this
application. Any modification or improvement made based on the
technical solutions of this application shall fall within the
protection scope of this application.
* * * * *