Embodiments of the present disclosure relate to information processing technologies, and in particular, to a method and an electronic device for playing media content.
At present, when using a smart television to play video media content, a user actively chooses to watch a television program by using a broadcast television network or by using a media resource library on a server for the smart television.
When the user watches a television program by using the broadcast television network, the user may not know that there are more abundant media resources in the media resource library on the server; or when the user watches a television program by using the broadcast television network, the user blindly switches to the media resource library on the server to find whether there is a same media resource, but fails to find the media resource. The occurrence of the foregoing cases is mainly due to that the smart television fails to make good use of the media resource library of the server side to provide media resources to the user at an appropriate time, resulting in that the user encounters the foregoing problems when viewing the television program.
Embodiments of the present disclosure provide a method and an electronic device for playing media content, so as to actively provide media content to a user at an appropriate time by means of a server of a smart television, thereby improving experience of the user in viewing the media content.
To implement the objectives, an embodiment of the present disclosure provides a method for playing media content, including: when a smart television plays a television program received from a broadcast television network, collecting data of the currently played television program, and uploading the data to a server; and receiving media content that matches the currently played television program and that is sent by the server according to the data, and playing the media content.
An embodiment of the present disclosure further provides another method for playing media content, including: receiving data of a currently played television program sent by a smart television received from a broadcast television network; and selecting media content matching the currently played television program from a local media library, and sending the media content to the smart television, so that the smart television plays the media content.
An embodiment of this disclosure further provides a non-volatile computer storage medium, which stores computer executable instructions, where the computer executable instructions are used to execute any foregoing method for playing media content of this disclosure.
An embodiment of this disclosure further provides an electronic device, including: at least one processor; and memory for storing instructions executable by the at least one processor, where execution of the instructions by the at least one processor causes the at least one processor to execute any foregoing method for playing media content of this disclosure.
One or more embodiments are exemplarily described by using figures that are corresponding thereto in the accompanying drawings; the exemplary descriptions do not form a limitation to the embodiments. Elements with same reference signs in the accompanying drawings are similar elements. Unless otherwise particularly stated, the figures in the accompanying drawings do not form a scale limitation.
Basic conceptions of embodiments of the present disclosure are: collecting data of a broadcast television program currently played by a smart television, and uploading the data to a back-end server; and selecting, by the server, media content corresponding to the currently played television program from a local media library, and providing the media content to the smart television for playing, thereby satisfying a potential requirement of a user for watching media content.
Referring to
Generally, when using a smart television to watch a media program, a user actively chooses to watch a television program by using a broadcast television network (for example, using Gehua Wire) or by using a media resource library on a server for the smart television. When the user watches the television program by using the broadcast television network, and the smart television also enables a service connection to a back-end server, the data of the currently played television program may be collected in real time by a data acquisition device integrated on the smart television. The data of the television program may be station information, information of the television program (for example, title, play time, content outline of the television program) obtained by the smart television when the smart television receives a data flow of the television program through broadcast network, or may be data of a screen image of the television program collected in a process in which the smart television plays the television program. In an embodiment, the data of the television program in this solution mainly includes: the station information and/or the image data of the television program.
In step S120, the apparatus receives media content that matches the currently played television program and that is sent by the server according to the data of the currently played television program, and play the media content.
After receiving the data of the currently played television program, the server selects the media content matching the television program from a local media library on the server, and sends the media content to the smart television.
Specifically, the media content selected by the server may be same as or similar in content to the media content of the currently played television program. Specific selection methods and content and types of the selected media content may refer to content of a corresponding method in an embodiment as shown in
After receiving the media content sent by the server, the smart television plays the media content, and at the same time, the smart television switches a mode in which the television program is watched currently receiving the data of the television program from the broadcast television network to the media library on the server.
In an embodiment, to respect a watching habit of the user, the user is not forced to switch the mode in which the television program is watched currently. After the server selects the media content matching the television program currently watched by the user, the server may first send a request for playing the media content to the smart television, and wait an instruction of whether to send the media content to the smart television.
After the smart television receives the request, the smart television presents the request for playing on an image playing interface, and the user determines whether to play the media content provided by the server. Specifically, when the television program watched by the user is an episode of a TV series A, and the media content selected by the server is other episodes of the TV series A, the request for playing displayed in the corresponding image playing interface may be: “More attractive content of the TV series A is all in here □”. □ may be a link operation key for requesting the server to send the media content. When the user operates the operation key by using a remote control or a touch operation (for example, a touchscreen of the smart television), that is, after sending an operation of allowing playing the media content to the server, the smart television receives the media content sent by the server, and controls play of the media content.
The method for playing media content provided by this embodiment of the present disclosure is, using a terminal device (front-end device) of a smart television as a subject of executing. By means of collecting data of a currently played television program from a broadcast television network, and uploading the data to a server; and play media content matching the television program obtained from the server, to improve experience of a user in watching the television program.
In an embodiment, before playing the media content provided by the server, the smart television may further display information of the request for playing by using the image playing interface according to the media content, to inquiry the user whether to watch the media content, and the user provides a corresponding indicative operation, thereby providing the user a more individualized selective operation.
Referring to FIG. Ian step S210, the apparatus receives data of a currently played television program sent by a smart television received from a broadcast television network.
Generally, when using a smart television to watch a media program, a user actively chooses to watch a television program by using a broadcast television network (for example, using Gehua Wire) or by using a media resource library on a server for the smart television. When the user watches a television program by using the broadcast television network, and the smart television also enables a service connection to a back-end server, the data of the currently played television program may be collected real time by a device, such as a data acquisition device integrated on the smart television. The data of the television program may be station information, information of the television program obtained by the smart television when the smart television receives a data flow of the television program through broadcast network, or may be data of a screen image of the television program collected in a process in which the smart television plays the television program. In an embodiment, the data of the television program in this solution mainly includes: the station information and/or the image data of the television program.
In step S220, the apparatus selects media content matching the currently played television program from a local media library, and send the media content to the smart television, so that the smart television plays the media content.
After receiving the data of the currently played television program, the server selects the media content matching the television program from the local media library on the server, and sends the media content to the smart television.
Specifically, the media content selected by the server may be same as or similar in content to the media content of the currently played television program. Specific selection methods and content and types of the selected media content are not limited. On the basis of that the data of the currently played television program is the station information and/or the image data of the current television program, the following provides a specific implementation manner for selecting the media content.
First, the station information and/or the image data of the currently played television program are parsed to identify content of the currently played television program.
For example, a schedule of the television program of a station may be learned according to the station information, so that a television program played at the current time is obtained. For another example, to identify image date according to the image data of the currently played television program, and in particular on a station icon of the image at the top left corner, so that the station on which the television program is played at the current time is obtained, and then the television program played at the current time may be obtained according to the schedule of the television program of the station. For another example, image content is collected directly from the image data, for example, character identification is performed on an actor in the television program, so that the content of the currently played television program is determined by querying all television programs acted by the actor.
Second, media content, same as or similar in content to the currently played television program is selected as the media content matching the currently played television program, from the local media library.
For example, when the television program watched by the user is an episode of a TV series A, other episodes of the TV series A may be selected as the media content pushed to the smart television. For another example, when it is identified that an actor B acts in the current television program, other television programs acted by the actor B may be selected as the media content pushed to the smart television.
In an embodiment, to respect a watching habit of the user, the user is not forced to switch the mode in which the television program is watched currently. After the server selects media content matching the television program currently watched by the user, the server may first send a request for playing the media content matching the currently played television program to the smart television, and wait an instruction of whether to send the media content to the smart television.
After the smart television receives the request, information of the request for playing may be presented on an image playing interface, and the user determines whether to play the media content provided by the server. Specific content that presents the request for playing may be referred to the corresponding content in
The method for playing media content provided by this embodiment of the present disclosure is, using a server device (back-end device) of a smart television as a subject of executing. By means of receiving data of a currently played television program from a broadcast television network; and selecting media content, matching the television program, from a local media library on the server, and sending the media content to the smart television for playing, to improve experience of a user in watching the television program.
In an embodiment, before sending the media content to the smart television, the server first sends the request for playing the media content to the smart television, to inquiry the user whether to watch the media content by using the smart television, and the user provides a corresponding indicative operation, thereby providing the user a more individualized selective operation.
Referring to
The data upload module 310 is configured to: when a smart television plays a television program received from a broadcast television network, collect data of the currently played television program, and upload the data to a server; and the data processing module 320 is configured to: receive media content that matches the currently played television program and that is sent by the server according to the data, and play the media content.
According to the terminal device provided by this embodiment of the present disclosure, by means of collecting the data of the currently played television program from the broadcast television network, and uploading the data to the server, the server obtains media content matching the television program and plays the media content, to improve experience of a user in watching the television program.
On this basis, as shown in
In an embodiment, the data of the currently played television program includes: station information and/or image data of the currently played television program.
In this solution, before playing the media content provided by the server, the smart television may further display information of the request for playing by using the image playing interface according to the media content, to inquiry the user whether to watch the media content, and the user provides a corresponding indicative operation, thereby providing the user a more individualized selective operation.
Referring to
The data receive module 510 is configured to receive data of a currently played television program sent by a smart television received from a broadcast television network; the data selection module 520 is configured to select media content, matching the currently played television program, from a local media library; and the data transmit module 530 is configured to send the media content to the smart television, so that the smart television plays the media content.
According to the server device provided by this embodiment of the present disclosure, by means of receiving data of a currently played television program from a broadcast television network; and selecting media content matching the television program from a local media library on the server, and sending the media content to the smart television for playing, to improve experience of a user in watching the television program.
On this basis, as shown in
In an embodiment, the data of the currently played television program includes: station information and/or image data of the currently played television program.
On this basis, the data selection module 520 may include: a data parsing unit 521, configured to parse the station information and/or the image data of the currently played television program to identify content of the currently played television program; and a data selection unit 522, configured to select media content same as or similar in content to the currently played television program as the media content matching the currently played television program from the local media library.
In this solution, before sending the media content to the smart television, the server sends the request for playing the media content to the smart television first, to inquiry the user whether to watch the media content by using the smart television, and the user provides a corresponding indicative operation, thereby providing the user a more individualized selective operation.
On this basis, an embodiment of the present disclosure further provides a system for playing media content, including: the terminal device in
Specifically, the terminal device is configured to: when a smart television plays a television program received from a broadcast television network, collect data of the currently played television program, and upload the data to a server; and receive media content that matches the currently played television program and that is sent by the server according to the data, and play the media content.
The server device is configured to: receive data of a currently played television program sent by a smart television received from a broadcast television network; and select media content, matching the currently played television program, from a local media library, and send the media content to the smart television, so that the smart television plays the media content.
The system for playing media content provided by the implementation manners of the present disclosure actively provides media content to a user at an appropriate time by means of a server of a smart television, thereby improving experience of the user in watching the media content.
An embodiment of this disclosure provides a non-volatile computer storage medium, which stores computer executable instructions, where the computer executable instructions can execute the method for playing media content in any one of the foregoing method embodiments.
An electronic device for executing the method for playing media content may further include: an input apparatus 630 and an output apparatus 640.
The processor 610, the memory 620, the input apparatus 630, and the output apparatus 640 can be connected by means of a bus or in other manners. A connection by means of a bus is used as an example in
As a non-volatile computer readable storage medium, the memory 620 can be used to store non-volatile software programs, non-volatile computer executable programs and modules, for example, program instructions/module corresponding to the method for playing media content in the embodiments of this disclosure (for example, the data upload module 310, the data processing module 320 shown in
The memory 620 may include a program storage area and a data storage area, where the program storage area may store an operating system and an application that is needed by at least one function; the data storage area may store data created according to use of the device for executing the method for playing media content, and the like. In addition, the memory 620 may include a high-speed random access memory, or may also include a non-volatile memory such as at least one disk storage device, flash storage device, or another non-volatile solid-state storage device. In some embodiments, the memory 620 optionally includes memories that are remotely disposed with respect to the processor 610, and the remote memories may be connected, via a network, to the electronic device for executing the method for playing media content. Examples of the foregoing network include but are not limited to: the Internet, an intranet, a local area network, a mobile communications network, or a combination thereof.
The input apparatus 630 can receive entered digits or character information, and generate key signal inputs relevant to user setting and functional control of the server. The output apparatus 640 may include a display device, for example, a display screen.
The one or more modules are stored in the memory 620; when the one or more modules are executed by the one or more processors 610, the method for playing media content in any one of the foregoing method embodiments is executed.
The foregoing product can execute the method provided in the embodiments of this disclosure, and has corresponding functional modules for executing the method and beneficial effects. Refer to the method provided in the embodiments of this disclosure for technical details that are not described in detail in this embodiment.
The electronic device in this embodiment of this disclosure exists in multiple forms, including but not limited to:
(1) Mobile communication device: such devices are characterized by having a mobile communication function, and primarily providing voice and data communications; terminals of this type include: a smart phone (for example, an iPhone), a multimedia mobile phone, a feature phone, a low-end mobile phone, and the like;
(2) Ultra mobile personal computer device: such devices are essentially personal computers, which have computing and processing functions, and generally have the function of mobile Internet access; terminals of this type include: PDA, MID and UMPC devices, and the like, for example, an iPad;
(3) Portable entertainment device: such devices can display and play multimedia content; devices of this type include: an audio and video player (for example, an iPod), a handheld game console, an e-book, an intelligent toy and a portable vehicle-mounted navigation device;
(4) Server: a device that provides a computing service; a server includes a processor, a hard disk, a memory, a system bus, and the like; an architecture of a server is similar to a universal computer architecture. However, because a server needs to provide highly reliable services, requirements for the server are high in aspects of the processing capability, stability, reliability, security, extensibility, and manageability; and
(5) other electronic apparatuses having a data interaction function.
The apparatus embodiment is merely exemplary, and units described as separated components may be or may not be physically separated; components presented as units may be or may not be physical units, that is, the components may be located in a same place, or may be also distributed on multiple network units. Some or all modules therein may be selected according to an actual requirement to achieve the objective of the solution of this embodiment.
Through description of the foregoing implementation manners, a person skilled in the art can clearly learn that each implementation manner can be implemented by means of software in combination with a universal hardware platform, and certainly, can be also implemented by using hardware. Based on such understanding, the essence, or in other words, a part that makes contributions to relevant technologies, of the foregoing technical solutions can be embodied in the form of a software product. The computer software product may be stored in a computer readable storage medium, for example, a ROM/RAM, a magnetic disk, or a compact disc, including several instructions for enabling a computer device (which may be a personal computer, a sever, or a network device, and the like) to execute the method in the embodiments or in some parts of the embodiments.
Finally, it should be noted that: the foregoing embodiments are only used to describe the technical solutions of this disclosure, rather than limit this disclosure. Although this disclosure is described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that he/she can still modify technical solutions disclosed in the foregoing embodiments, or make equivalent replacements to some technical features therein; however, the modifications or replacements do not make the essence of corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of this disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201510918550.6 | Dec 2015 | CN | national |
The present disclosure is a continuation of PCT application No. PCT/CN2016/089551PCT submitted on Jul. 10, 2016. The present disclosure claims priority to Chinese Patent Application No. 201510918550.6, filed with the Chinese Patent Office on Dec. 10, 2015, which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2016/089551 | Jul 2016 | US |
Child | 15243485 | US |