WO2016045606A1 - 一种媒体内容推荐方法和装置 - Google Patents

一种媒体内容推荐方法和装置 Download PDF

Info

Publication number
WO2016045606A1
WO2016045606A1 PCT/CN2015/090585 CN2015090585W WO2016045606A1 WO 2016045606 A1 WO2016045606 A1 WO 2016045606A1 CN 2015090585 W CN2015090585 W CN 2015090585W WO 2016045606 A1 WO2016045606 A1 WO 2016045606A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
media content
information
client
media
Prior art date
Application number
PCT/CN2015/090585
Other languages
English (en)
French (fr)
Inventor
孙强
Original Assignee
北京金山安全软件有限公司
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 北京金山安全软件有限公司 filed Critical 北京金山安全软件有限公司
Publication of WO2016045606A1 publication Critical patent/WO2016045606A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a media content recommendation method and apparatus.
  • the user when the user browses a media content failure (for example, the website server fails, or the user terminal used by the user has a relatively slow network speed, etc.), the user needs to use the user terminal to re-search the network to Continue browsing the media content on the website; or when the user watches the TV series on a website, and the website only updates to the episode 10 of the TV series, so that the user can only watch the 10th episode on the website, and the 11th episode You will need to go to the web search to continue watching the TV series on other websites that have updated 11 episodes.
  • a media content failure for example, the website server fails, or the user terminal used by the user has a relatively slow network speed, etc.
  • the user terminal cannot obtain the media content in time in the above technology.
  • the present application provides a media content recommendation method and apparatus, which enable a user terminal to obtain media content in time.
  • the application provides a media content recommendation method, including:
  • the client Identifying, according to the identification information, media content currently played by the client, and obtaining from the pre-acquisition Finding at least one target resource address in the media resource database, where the at least one target resource address is a resource address providing the media content;
  • the prompt information for sending the at least one target resource address to the client includes:
  • the method further includes:
  • the searching for the at least one target resource address from the pre-acquired media resource database includes:
  • the method further includes:
  • the method further includes:
  • the identification information sent by the receiving client for identifying the media content currently being played by the client includes:
  • the identifying, according to the identification information, the media content currently being played by the client including:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • At least one resource address providing the same media content is associated in the media resource database, and the associated at least one resource address is identified using the identifier of the media content.
  • the application provides a media content recommendation method, including:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the sending the identification information for identifying the currently played media content to the server includes:
  • a Uniform Resource Locator URL of the currently playing media content is sent to the server.
  • the application provides a media content recommendation apparatus, including: a receiving unit, a first searching unit, and a first sending unit, where:
  • the receiving unit is configured to receive, by the client, identification information for identifying media content currently being played by the client;
  • the first searching unit is configured to identify media content currently being played by the client according to the identification information, and search for at least one target resource address from a pre-acquired media resource database, where the at least one target resource address is provided a resource address of the media content;
  • the first sending unit is configured to send prompt information of the at least one target resource address to the client.
  • the first sending unit is configured to send address information of the at least one target resource address to the client.
  • the device further comprises:
  • a second sending unit configured to receive an address information obtaining request sent by the client in response to the prompting information, and send the address information of the at least one target resource address to the client according to the address information obtaining request;
  • a third sending unit configured to send address information of the at least one target resource address to the client.
  • the first searching unit is configured to identify media content currently played by the client according to the identification information, and search for address information of at least one target resource address from a pre-acquired media resource database;
  • the device also includes:
  • a second searching unit configured to search, from the pre-acquired media resource database, parameter information of the media content provided by each of the target resource addresses.
  • the device further comprises:
  • a fourth sending unit configured to send parameter information of the media content provided by each of the target resource addresses to the client.
  • the receiving unit is configured to receive a uniform resource locator URL of the media content currently played by the client sent by the client;
  • the first searching unit is configured to search for the media content provided by the URL from the media resource database according to the URL, and use the media content as the media content currently played by the client.
  • the device further comprises:
  • a third searching unit configured to search, from the media resource database, current parameter information of the media content currently played by the client;
  • the first searching unit is configured to search, according to the current parameter information, address information of at least one target resource address from a pre-acquired media resource database, where the quality of the media content provided by the at least one target resource address is high.
  • the quality of service of the media content currently being played by the client is high.
  • the device further comprises:
  • a establishing unit configured to acquire media information of media content provided by multiple resource addresses, and establish the media resource database based on the acquired media information, where the media resource database includes address information of each of the resource addresses, and each The media information of the media content provided by the resource address, wherein the media information includes an identifier of the media content and parameter information of the media content.
  • the device further comprises:
  • an association unit configured to associate at least one resource address that provides the same media content in the media resource database, and identify the at least one associated resource address by using the identifier of the media content.
  • the application provides a media content recommendation apparatus, including: a sending unit and a first receiving unit, where:
  • the sending unit is configured to send, to the server, identification information for identifying the currently played media content, where the identification information is used by the server to identify the currently played media content;
  • the first receiving unit is configured to receive prompt information of the at least one target resource address sent by the server, and display the prompt information, where the at least one target resource address is a resource database obtained by the server from a pre-acquisition The resource address that is found in the media content.
  • the receiving unit is configured to receive address information of the at least one target resource address sent by the server, and display address information of the at least one target resource address.
  • the device further comprises:
  • a requesting unit configured to receive an address information obtaining request that is input by the user in response to the prompting information, and send the address information acquiring request to the server;
  • a second receiving unit configured to receive, by the server, the response returned by the address information acquisition request Address information of the at least one target resource address, and displaying address information of the at least one target resource address.
  • the device further comprises:
  • a third receiving unit configured to receive address information of the at least one target resource address sent by the server
  • the response unit is configured to receive an address information display request input by the user in response to the prompt information, and respond to the address information display request to display address information of the at least one target resource address.
  • the device further comprises:
  • a fourth receiving unit configured to receive parameter information of the media content provided by each of the target resource addresses sent by the server.
  • the sending unit is configured to send, to the server, a uniform resource locator URL of the currently played media content.
  • the embodiment of the present application further provides an electronic device, including:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the memory stores executable program code
  • the processor by reading the executable program code stored in the memory, runs a program corresponding to the executable program code for executing any one of the media content recommendation methods provided by the embodiments of the present application.
  • the embodiment of the present application further provides a storage medium for storing an application, where the application is used to perform any one of the media content recommendation methods provided by the embodiments of the present application.
  • the embodiment of the present application further provides an application program for performing any one of the media content recommendation methods provided by the embodiments of the present application.
  • the identification information sent by the client for identifying the media content currently played by the client is received, and the media content currently played by the client is identified according to the identification information. And searching for at least one target resource address from the pre-acquired media resource database, where the at least one target resource address is a resource address that provides the media content; and sending the prompt information of the at least one target resource address to the client. In this way, the user terminal can obtain the media content in the target resource address in time through the prompt information.
  • FIG. 1 is a schematic flowchart of a media content recommendation method according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another media content recommendation method according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another media content recommendation method according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a media content recommendation apparatus according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of another media content recommendation apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another media content recommendation apparatus according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another media content recommendation apparatus according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another media content recommendation apparatus according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another media content recommendation apparatus according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of another media content recommendation apparatus according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of another media content recommendation apparatus according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of another media content recommendation apparatus according to an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of another media content recommendation apparatus according to an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of another media content recommendation apparatus according to an embodiment of the present application.
  • the media content may be media content such as video, audio, or image, wherein the video may include a video such as a movie or a television drama.
  • the resource address may be a webpage or a page
  • the resource address providing the media content may be understood as playing the media content in the resource address
  • the client in the embodiment of the present application may be a browser or a media player or the like.
  • FIG. 1 is a schematic flowchart of a media content recommendation method according to an embodiment of the present application. As shown in FIG. 1 , the method includes the following steps:
  • the identification information may be identification information automatically sent by the client when the client starts playing the media content, or the identification information may be identification information sent by the client according to an operation instruction input by the user.
  • the media resource database may include media information of the media content provided by the plurality of resource addresses, and the media information may be an identifier including the identifier of the media content, such as a name of the movie, a name and a set number of the drama, and the like.
  • step 102 can find at least one target resource address in the media resource database that provides the media content currently played by the client. For example, the client currently plays movie A, so that step 102 can find the resource address of the movie A, that is, find other resource addresses that can also play movie A.
  • the resource address of the media content provided in this embodiment may be a resource address for playing the media content, for example, if a plurality of movies are included in a certain main webpage, the main webpage includes Playing a plurality of sub-pages of the plurality of movies, and in the embodiment, providing a movie The resource address can be these sub-pages.
  • the resource address of the media content provided in this embodiment may be a primary resource address including a resource address for playing the media content.
  • the webpage includes the broadcast.
  • the plurality of sub-pages of the movie, and in this embodiment, the resource address of the movie is provided as the web page.
  • the prompt information for recommending the at least one target resource address to the client may be implemented, so that when the client plays the media content that is not smooth enough, abnormal, or lack of media resources, the prompt information may be used to quickly The above media content is played in a target resource address in a target resource address.
  • the foregoing method may be applied to a server, that is, the server may implement the foregoing method.
  • the identification information sent by the client for identifying the media content currently being played by the client is received, and the media content currently played by the client is identified according to the identification information, and the media resource database is obtained from the pre-acquired media resource database.
  • Finding at least one target resource address, the at least one target resource address is a resource address providing the media content, and sending the prompt information of the at least one target resource address to the client. In this way, the user terminal can obtain the media content in the target resource address in time through the prompt information.
  • FIG. 2 is a schematic flowchart of another media content recommendation method according to an embodiment of the present application. As shown in FIG. 2, the method includes the following steps:
  • step 201 may receive media information of media content provided by multiple resource addresses sent by each media resource server, for example, receiving video information of video content provided by multiple resource addresses sent by a server of a video website, for example, Receiving video information sent by the website server to provide a resource address of the currently lively movie or drama, the video information may include the name of the movie, or the name of the drama and the number of episodes that have been updated, of course, the video information may also include a movie. Parameter information such as duration and resolution.
  • the step 201 may be: obtaining media information of the media content provided by the multiple resource addresses by using a web crawler technology, and in addition, for providing the resource address of the drama, step 201 may be to obtain the television drama through the web crawler technology multiple times. Update set number information for the resource address.
  • the step 201 may further be: receiving an operation instruction input by the user, and acquiring media information of the media content provided by the multiple resource addresses, that is, being manually input.
  • the multiple resource addresses may be resource addresses that provide current live media content.
  • the foregoing method may further include the following steps:
  • At least one resource address providing the same media content is associated in the media resource database, and the associated at least one resource address is identified using the identifier of the media content.
  • At least one resource address providing the same media content can be associated, so that when the media content currently being played by the client is obtained, at least one target resource address providing the media content can be quickly found.
  • the identification information received by the step 202 may be a Uniform Resource Locator (abbreviated URL) of the media content currently being played by the client.
  • the step 202 may include:
  • the step of identifying the media content currently being played by the client according to the identification information may include:
  • the URL may also be edited, for example, the parameter following the URL "?” character is removed, because these parameters are often not parameters for identifying the media content, for example: yes Some statistics on the amount of play. In this way, the media content provided by the URL is searched from the media resource database according to the edited URL, so that the precision of the search and the speed of the search can be provided.
  • the foregoing identification information may directly be the ID of the media content, so that step 203 may directly identify the media content currently played by the client.
  • the method may further include the following steps:
  • the step of searching for the address information of the at least one target resource address from the pre-acquired media resource database may include:
  • At least one target media content whose quality of service of the provided media content is higher than the quality of service of the media content currently played by the client may be selected.
  • the above quality of service may include quality such as resolution or media content security or stability.
  • the service quality of the media content that is selected by the embodiment may be lower than the service quality of the media content currently played by the client. At least one target media content, so that the client can play the media content with lower quality of service in a scenario with a relatively slow network speed to ensure that the user can view the media content.
  • the foregoing prompt information may be address information of the at least one target resource address, where the address information may be any one or more of the following:
  • step 204 can include:
  • address information of a target resource address can be directly sent to the client.
  • the client After receiving the address information, the client can display the address information in a preset location.
  • the client can directly click the address information of the target resource address, thereby The above media content is played in the resource address.
  • the prompt information may also be information about a prompt function, where the prompt information is used to prompt the user that the currently played media content can also be played in other resource addresses.
  • a hint button or a reminder image For example: a hint button or a reminder image.
  • the prompt information may be clicked to obtain the address information of the at least one target media address from the server.
  • the method may further include:
  • the server may further send the address information of the at least one target resource address to the client when sending the prompt information. That is, the method may further include:
  • the prompt information can be clicked, so that the client can display the address information of the at least one target media address.
  • the prompt information can be displayed on the client first, and then the address information is displayed, because the prompt information tends to occupy a small position, so that the user does not affect the viewing of the media content.
  • the step of searching for the at least one target resource address from the pre-acquired media resource database may include:
  • the method may further include:
  • the parameter information may be information including a duration of the media content, a resolution, and an update set number information.
  • the method may further include:
  • the parameter information of the address information and the media content can be sent to the client, so that the user can obtain the parameter of the media content provided by each target resource address, so that the media content can be played according to the actual selection of the corresponding target resource address, for example: Select the target resource address with a high resolution to play the media content.
  • the address information of the at least one target resource address sent to the client may also be sorted, for example, sorted according to the resolution, or the quality of the service is sorted, so that the user can select the user more conveniently and quickly.
  • it may be sorted according to the quality of service of the source resource address, for example, preferentially displaying a target resource address whose quality of service is higher than the quality of service of the source resource address.
  • a plurality of optional implementation manners are added on the basis of the embodiment shown in FIG. 1, and both can enable the client to quickly select media content.
  • the embodiments in this embodiment can be applied to the embodiment shown in FIG. 1.
  • FIG. 3 is a schematic flowchart of another media content recommendation method according to an embodiment of the present application. As shown in FIG. 3, the method includes the following steps:
  • step 302 may include:
  • the address information sent by the server can be directly received, and the address information is displayed.
  • the address information can be directly clicked, thereby realizing viewing the media content on the clicked resource address. For example, when the currently played media content is abnormal, the user can click the address information of the target resource address to view the media content at the target resource address.
  • the method may further include:
  • the prompt information may be displayed first, for example, a prompt button or a prompt message, and then the address information of the target resource address is requested from the server according to the operation input by the user.
  • the method may further include:
  • the prompt information and the address information sent by the receiving server can be realized, but only the prompt information is displayed in advance.
  • the address information is locally obtained and displayed.
  • the foregoing method may further include:
  • parameter information indicating the media content provided by each target resource address may be implemented, so that the user can select the corresponding target resource address according to the requirement to view the media content.
  • the step of sending the identification information for identifying the currently played media content to the server may include:
  • the URL of the currently played media content is obtained through a specific interface of the client, for example, the URL is intercepted through the OnNavigate interface, and then the URL is sent to the server.
  • the foregoing method may be applied to a client, and the client may be understood as a client, and an application installed on the user terminal, for example, a browser.
  • the user terminal may include: a tablet computer, a mobile phone, an e-reader, a remote controller, a personal computer (Personal Computer, PC), a notebook computer, an in-vehicle device, a network television, a wearable device, and the like, and a network-enabled smart device.
  • the identification information for identifying the currently played media content is sent to the server, where the identification information is used by the server to identify the currently played media content; and receiving at least one target resource address sent by the server
  • the prompt information, and the prompt information is displayed, wherein the at least one target resource address is the server that is searched from the pre-acquired resource database, and provides the resource address of the media content.
  • the device embodiment of the present application is used to perform the method for implementing the first to third embodiments of the present application.
  • the device embodiment of the present application is used to perform the method for implementing the first to third embodiments of the present application.
  • the device embodiment of the present application is used to perform the method for implementing the first to third embodiments of the present application.
  • Only parts related to the embodiment of the present application are shown, and the specific technical details are not disclosed. Please refer to the first embodiment, the second embodiment and the third embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a media content recommendation apparatus according to an embodiment of the present disclosure, including: a receiving unit 41, a first searching unit 42, and a first sending unit 43, where:
  • the receiving unit 41 is configured to receive identification information that is sent by the client and used to identify media content currently being played by the client.
  • the first searching unit 42 is configured to identify media content currently being played by the client according to the identification information, and search for at least one target resource address from a pre-acquired media resource database, where the at least one target resource address is a provider The resource address of the media content.
  • the first sending unit 43 is configured to send the prompt information of the at least one target resource address to the client.
  • the prompting information for recommending the at least one target resource address to the client may be implemented by using the foregoing device, so that when the client plays the media content that is not smooth enough, abnormal, or lack of media resources, the prompt information may be used to quickly The above media content is played in a target resource address in a target resource address.
  • the above device may be applied to a server, that is, the server may include the above device.
  • the identification information sent by the client for identifying the media content currently being played by the client is received, and the media content currently played by the client is identified according to the identification information, and the media resource database is obtained from the pre-acquired media resource database.
  • Finding at least one target resource address, the at least one target resource address is a resource address providing the media content, and sending the prompt information of the at least one target resource address to the client. In this way, the user terminal can obtain the media content in the target resource address in time through the prompt information.
  • FIG. 5 is a schematic structural diagram of another media content recommendation apparatus according to an embodiment of the present disclosure. As shown in FIG. 5, the method includes: an establishing unit 51, a receiving unit 52, a first searching unit 53, and a first sending. Unit 54, wherein:
  • the establishing unit 51 is configured to acquire media information of the media content provided by the multiple resource addresses, and establish the media resource database based on the acquired media information, where the media resource database includes address information of each of the resource addresses, and Media information of the media content provided by each of the resource addresses, wherein the media information includes an identifier of the media content and parameter information of the media content.
  • the establishing unit 51 may receive media information of the media content provided by the multiple resource addresses sent by the media resource servers, for example, receiving video information of video content provided by multiple resource addresses sent by a server of a video website, For example, receiving video information sent by the website server to provide a resource address of the currently lively movie or drama, the video information may include the name of the movie, or the name of the drama and the number of episodes that have been updated. Of course, the video information may also include Parameter information such as duration and resolution of the movie.
  • the establishing unit 51 is further configured to obtain media information of the media content provided by the multiple resource addresses by using a web crawler technology, and in addition, for providing the resource address of the television drama, step 201 may be In order to obtain the update set number information of the resource address of the TV drama through the web crawler technology.
  • the establishing unit 51 is further configured to receive an operation instruction input by the user, and obtain media information of the media content provided by the multiple resource addresses, that is, to be manually input.
  • the multiple resource addresses may be resource addresses that provide current live media content.
  • the receiving unit 52 is configured to receive, by the client, identification information that is used to identify the media content currently being played by the client.
  • the first searching unit 53 is configured to identify media content currently being played by the client according to the identification information, and search for at least one target resource address from a pre-acquired media resource database, where the at least one target resource address is a provider The resource address of the media content.
  • the first sending unit 54 is configured to send the prompt information of the at least one target resource address to the client.
  • the apparatus may further include:
  • the associating unit 55 is configured to associate at least one resource address that provides the same media content in the media resource database, and identify the at least one associated resource address by using the identifier of the media content.
  • At least one resource address providing the same media content can be associated, so that when the media content currently being played by the client is obtained, at least one target resource address providing the media content can be quickly found.
  • the first sending unit 54 is configured to send address information of the at least one target resource address to the client.
  • address information of a target resource address can be directly sent to the client.
  • the client After receiving the address information, the client can display the address information in a preset location.
  • the client can directly click the address information of the target resource address, thereby The above media content is played in the resource address.
  • the prompt information may also be information about a prompt function, where the prompt information is used to prompt the user that the currently played media content can also be played in other resource addresses.
  • a hint button or a reminder image For example, as shown in FIG. 7, the device may further include:
  • the second sending unit 56 is configured to receive a sending address information acquiring request by the client in response to the prompting information, and send the address information of the at least one target resource address to the client according to the address information obtaining request.
  • the server may further send the address information of the at least one target resource address to the client when sending the prompt information. That is, as shown in FIG. 8, the device may further include:
  • the third sending unit 57 is configured to send address information of the at least one target resource address to the client.
  • the prompt information can be clicked, so that the client can display the address information of the at least one target media address.
  • the prompt information can be displayed on the client first, and then the address information is displayed, because the prompt information tends to occupy a small position, so that the user does not affect the viewing of the media content.
  • the first searching unit 53 may be configured to identify the media content currently played by the client according to the identification information, and search for address information of the at least one target resource address from the pre-acquired media resource database;
  • the apparatus may further include:
  • the second searching unit 58 is configured to search for parameter information of the media content provided by each of the target resource addresses from a pre-acquired media resource database.
  • the device may further include:
  • the fourth sending unit 59 is configured to send parameter information of the media content provided by each of the target resource addresses to the client.
  • the parameter information of the address information and the media content can be sent to the client, so that the user can obtain the parameter of the media content provided by each target resource address, so that the media content can be played according to the actual selection of the corresponding target resource address, for example: Select the target resource address with a high resolution to play the media content.
  • the receiving unit 52 is configured to receive a URL of the media content currently sent by the client sent by the client.
  • the first searching unit 53 may be configured to search for the media content provided by the URL from the media resource database according to the URL, and use the media content as the media content currently played by the client.
  • the apparatus may further include:
  • the third searching unit 510 is configured to search, from the media resource database, current parameter information of the media content currently played by the client;
  • the first searching unit 53 may be configured to search, according to the current parameter information, address information of at least one target resource address from a pre-acquired media resource database, where the quality of the media content provided by the at least one target resource address is high. The quality of service of the media content currently being played by the client.
  • At least one target media content whose quality of service of the provided media content is higher than the quality of service of the media content provided by the source resource address may be selected.
  • the above quality of service may include quality such as resolution or media content security or stability.
  • a plurality of optional implementation manners are added on the basis of the embodiment shown in FIG. 4, and both can enable the client to quickly select media content.
  • the embodiments in this embodiment can be applied to the embodiment shown in FIG.
  • FIG. 11 is a schematic structural diagram of another media content recommendation apparatus according to an embodiment of the present disclosure. As shown in FIG. 11, the sending unit 111 and the first receiving unit 112, where:
  • the sending unit 111 is configured to send, to the server, identification information for identifying the currently played media content, where the identification information is used by the server to identify the currently played media content.
  • the first receiving unit 112 is configured to receive prompt information of the at least one target resource address sent by the server, and display the prompt information, where the at least one target resource address is used by the server from a pre-acquired resource database. Finding, and providing a resource address of the media content.
  • the foregoing prompt information may be address information
  • the receiving unit 112 may be configured to receive address information of the at least one target resource address sent by the server, and display address information of the at least one target resource address.
  • the user can directly click on the address information, thereby realizing viewing the media content on the clicked resource address.
  • the user can click the address information of the target resource address to view the media content at the target resource address.
  • the apparatus may further include:
  • the requesting unit 113 is configured to receive an address information acquisition request that is input by the user in response to the prompt information, and send the address information acquisition request to the server;
  • the second receiving unit 114 is configured to receive address information of the at least one target resource address returned by the server in response to the address information acquisition request, and display address information of the at least one target resource address.
  • the prompt information may be displayed first, for example, a prompt button or a prompt message, and then the address information of the target resource address is requested from the server according to the operation input by the user.
  • the apparatus may further include:
  • a third receiving unit 115 configured to receive address information of the at least one target resource address sent by the server
  • the response unit 116 is configured to receive an address information display request that is input by the user in response to the prompt information, and respond to the address information display request to display address information of the at least one target resource address.
  • the prompt information and the address information sent by the receiving server can be realized, but only the prompt information is displayed in advance.
  • the address information is locally obtained and displayed.
  • the apparatus may further include:
  • the fourth receiving unit 117 is configured to receive parameter information of the media content provided by each of the target resource addresses sent by the server.
  • parameter information indicating the media content provided by each target resource address may be implemented, so that the user can select the corresponding target resource address according to the requirement to view the media content.
  • the sending unit 111 may be configured to send a URL of the currently played media content to the server.
  • the URL of the currently played media content is obtained through a specific interface of the client, for example, the URL is intercepted through the OnNavigate interface, and then the URL is sent to the server.
  • the foregoing device may be applied to a client, and the client may be understood as a client, and is an application installed on the user terminal, for example, a browser.
  • the user terminal may include: a tablet computer, a mobile phone, an e-reader, a remote controller, a PC, a notebook computer, an in-vehicle device, a network television, a wearable device, and the like, and a smart device having a network function.
  • the identification information for identifying the currently played media content is sent to the server, where the identification information is used by the server to identify the currently played media content; and receiving at least one target resource address sent by the server
  • the prompt information, and the prompt information is displayed, wherein the at least one target resource address is the server that is searched from the pre-acquired resource database, and provides the resource address of the media content.
  • an electronic device which may include:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the memory stores executable program code
  • the processor by reading the executable program code stored in the memory, to run a program corresponding to the executable program code, for performing the media content recommendation method provided by the embodiment of the present application;
  • the media content recommendation method provided in the embodiment may include:
  • the prompt information for sending the at least one target resource address to the client includes:
  • the method further includes:
  • the searching for the at least one target resource address from the pre-acquired media resource database includes:
  • the method further includes:
  • the method further includes:
  • the identification information sent by the receiving client for identifying the media content currently being played by the client includes:
  • the identifying, according to the identification information, the media content currently being played by the client including:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • At least one resource address providing the same media content is associated in the media resource database, and the associated at least one resource address is identified using the identifier of the media content.
  • the receiving the prompt information of the at least one target resource address sent by the server, and displaying the prompt information includes:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the sending the identification information for identifying the currently played media content to the server includes:
  • a Uniform Resource Locator URL of the currently playing media content is sent to the server.
  • the embodiment of the present application further provides a storage medium for storing an application, where the application is used to perform the media content recommendation method provided by the embodiment of the present application;
  • Recommended methods can include:
  • the prompt information for sending the at least one target resource address to the client includes:
  • the method further includes:
  • the searching for the at least one target resource address from the pre-acquired media resource database includes:
  • the method further includes:
  • the method further includes:
  • the identification information sent by the receiving client for identifying the media content currently being played by the client includes:
  • the identifying, according to the identification information, the media content currently being played by the client including:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • At least one resource address providing the same media content is associated in the media resource database, and the associated at least one resource address is identified using the identifier of the media content.
  • the receiving the prompt information of the at least one target resource address sent by the server, and displaying the prompt information includes:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the sending the identification information for identifying the currently played media content to the server includes:
  • a Uniform Resource Locator URL of the currently playing media content is sent to the server.
  • the embodiment of the present application further provides an application program for performing the media content recommendation method provided by the embodiment of the present application.
  • the media content recommendation method provided by the embodiment of the present application may include:
  • the prompt information for sending the at least one target resource address to the client includes:
  • the method further includes:
  • the searching for the at least one target resource address from the pre-acquired media resource database includes:
  • the method further includes:
  • the method further includes:
  • the identification information sent by the receiving client for identifying the media content currently being played by the client includes:
  • the identifying, according to the identification information, the media content currently being played by the client including:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • At least one resource address providing the same media content is associated in the media resource database, and the associated at least one resource address is identified using the identifier of the media content.
  • the receiving the prompt information of the at least one target resource address sent by the server, and displaying the prompt information includes:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the sending the identification information for identifying the currently played media content to the server includes:
  • a Uniform Resource Locator URL of the currently playing media content is sent to the server.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请实施例公开了一种媒体内容推荐方法和装置,该方法可包括:接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息;根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址;向所述客户端发送所述至少一个目标资源地址的提示信息。本申请实施例可以使用户终端及时获取到媒体内容。

Description

一种媒体内容推荐方法和装置
本申请要求于2014年9月28日提交中国专利局、申请号为201410509855.7发明名称为“一种媒体内容推荐方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及互联网技术领域,尤其涉及一种媒体内容推荐方法和装置。
背景技术
在高速发展的互联网时代,在线浏览媒体内容(例如:视频或者音频等)已经成为人们生活中的一部分。但目前提供媒体内容的网站也是越来越多,这样媒体内容的资源也越来越多,且种类也会越来越多。例如:对于同一个电影,可能不同网站的资源的清晰度会存在差别;或者对于同一个电视剧,可能不同网站当前已经更新的集数会存在区别。
在上述环境中,当用户浏览一个媒体内容出现故障时(例如:网站服务器出现故障、或者用户使用的用户终端的网速比较慢等),用户就需要使用用户终端重新去网络搜索,以在其他网站上继续浏览该媒体内容;或者当用户在某一网站上观看电视剧,而该网站只更新到该电视剧的10集,这样用户就只能在该网站上观看到第10集,而第11集就需要去网络搜索,以在已经更新11集的其他网站上继续观看该电视剧。
可见,上述技术中用户终端无法及时获取到媒体内容。
发明内容
本申请提供了一种媒体内容推荐方法和装置,可以使用户终端及时获取到媒体内容。
第一方面,本申请提供一种媒体内容推荐方法,包括:
接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息;
根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取 的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址;
向所述客户端发送所述至少一个目标资源地址的提示信息。
其中,所述向所述客户端发送所述至少一个目标资源地址的提示信息,包括:
向所述客户端发送所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收所述客户端响应所述提示信息而发送的地址信息获取请求,根据所述地址信息获取请求向所述客户端发送所述至少一个目标资源地址的地址信息;或者
向所述客户端发送所述至少一个目标资源地址的地址信息。
其中,所述从预先获取的媒体资源数据库中查找至少一个目标资源地址,包括:
从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息;
所述方法还包括:
从预先获取的媒体资源数据库中查找各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述方法还包括:
向所述客户端发送各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息,包括:
接收客户端发送的所述客户端当前播放的媒体内容的统一资源定位符URL;
所述根据所述识别信息识别所述客户端当前播放的媒体内容,包括:
根据所述URL从所述媒体资源数据库中查找所述URL提供的媒体内容,并将该媒体内容作为所述客户端当前播放的媒体内容。
其中,所述方法还包括:
从所述媒体资源数据库中查找所述客户端当前播放的媒体内容的当前参数信息;
所述从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,包括:
根据所述当前参数信息,从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,其中,所述至少一个目标资源地址提供的媒体内容的服务质量高于所述客户端当前播放的媒体内容的服务质量。
其中,所述方法还包括:
获取多个资源地址提供的媒体内容的媒体信息,并基于所述获取的媒体信息建立所述媒体资源数据库,所述媒体资源数据库包括各所述资源地址的地址信息,以及各所述资源地址提供的媒体内容的媒体信息,其中,所述媒体信息包括媒体内容的标识和媒体内容的参数信息。
其中,所述方法还包括:
在所述媒体资源数据库中将提供相同媒体内容的至少一个资源地址建立关联,并使用该媒体内容的标识对所述关联的至少一个资源地址进行标识。
第二方面,本申请提供一种媒体内容推荐方法,包括:
向服务器发送用于识别当前播放的媒体内容的识别信息,所述识别信息用于被所述服务器识别所述当前播放的媒体内容;
接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,其中,所述至少一个目标资源地址为所述服务器从预先获取的资源数据库中查找的,且提供所述媒体内容的资源地址。
其中,所述接收所述服务器发送的至少一个目标资源地址的提示信息, 并显示所述提示信息,包括:
接收所述服务器发送的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收用户响应所述提示信息输入的地址信息获取请求,并向所述服务器发送所述地址信息获取请求;
接收所述服务器响应所述地址信息获取请求返回的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收所述服务器发送的所述至少一个目标资源地址的地址信息;
接收用户响应所述提示信息输入的地址信息显示请求,响应所述地址信息显示请求,以显示所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收所述服务器发送的各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述向服务器发送用于识别当前播放的媒体内容的识别信息,包括:
向服务器发送当前播放的媒体内容的统一资源定位符URL。
第三方面,本申请提供一种媒体内容推荐装置,包括:接收单元、第一查找单元和第一发送单元,其中:
所述接收单元,用于接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息;
所述第一查找单元,用于根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址;
所述第一发送单元,用于向所述客户端发送所述至少一个目标资源地址的提示信息。
其中,所述第一发送单元用于向所述客户端发送所述至少一个目标资源地址的地址信息。
其中,所述装置还包括:
第二发送单元,用于接收所述客户端响应所述提示信息而发送的地址信息获取请求,根据所述地址信息获取请求向所述客户端发送所述至少一个目标资源地址的地址信息;或者
第三发送单元,用于向所述客户端发送所述至少一个目标资源地址的地址信息。
其中,所述第一查找单元用于根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息;
所述装置还包括:
第二查找单元,用于从预先获取的媒体资源数据库中查找各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述装置还包括:
第四发送单元,用于向所述客户端发送各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述接收单元用于接收客户端发送的所述客户端当前播放的媒体内容的统一资源定位符URL;
所述第一查找单元用于根据所述URL从所述媒体资源数据库中查找所述URL提供的媒体内容,并将该媒体内容作为所述客户端当前播放的媒体内容。
其中,所述装置还包括:
第三查找单元,用于从所述媒体资源数据库中查找所述客户端当前播放的媒体内容的当前参数信息;
所述第一查找单元用于根据所述当前参数信息,从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,其中,所述至少一个目标资源地址提供的媒体内容的服务质量高于所述客户端当前播放的媒体内容的服务质量。
其中,所述装置还包括:
建立单元,用于获取多个资源地址提供的媒体内容的媒体信息,并基于所述获取的媒体信息建立所述媒体资源数据库,所述媒体资源数据库包括各所述资源地址的地址信息,以及各所述资源地址提供的媒体内容的媒体信息,其中,所述媒体信息包括媒体内容的标识和媒体内容的参数信息。
其中,所述装置还包括:
关联单元,用于在所述媒体资源数据库中将提供相同媒体内容的至少一个资源地址建立关联,并使用该媒体内容的标识对所述关联的至少一个资源地址进行标识。
第四方面,本申请提供一种媒体内容推荐装置,包括:发送单元和第一接收单元,其中:
所述发送单元,用于向服务器发送用于识别当前播放的媒体内容的识别信息,所述识别信息用于被所述服务器识别所述当前播放的媒体内容;
所述第一接收单元,用于接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,其中,所述至少一个目标资源地址为所述服务器从预先获取的资源数据库中查找的,且提供所述媒体内容的资源地址。
其中,所述接收单元用于接收所述服务器发送的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
其中,所述装置还包括:
请求单元,用于接收用户响应所述提示信息输入的地址信息获取请求,并向所述服务器发送所述地址信息获取请求;
第二接收单元,用于接收所述服务器响应所述地址信息获取请求返回的 所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
其中,所述装置还包括:
第三接收单元,用于接收所述服务器发送的所述至少一个目标资源地址的地址信息;
响应单元,用于接收用户响应所述提示信息输入的地址信息显示请求,响应所述地址信息显示请求,以显示所述至少一个目标资源地址的地址信息。
其中,所述装置还包括:
第四接收单元,用于接收所述服务器发送的各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述发送单元用于向服务器发送当前播放的媒体内容的统一资源定位符URL。
第五方面,本申请实施例还提供了一种电子设备,包括:
处理器、存储器、通信接口和总线;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
所述存储器存储可执行程序代码;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行本申请实施例所提供的任意一种媒体内容推荐方法。
第六方面,本申请实施例还提供了一种存储介质,用于存储应用程序,所述应用程序用于执行本申请实施例所提供的任意一种媒体内容推荐方法。
第七方面,本申请实施例还提供了一种应用程序,用于执行本申请实施例所提供的任意一种媒体内容推荐方法。
上述技术方案中,接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息;根据所述识别信息识别所述客户端当前播放的媒体内容, 并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址;向所述客户端发送所述至少一个目标资源地址的提示信息。这样用户终端就可以通过该提示信息及时在目标资源地址获取到上述媒体内容。
附图说明
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种媒体内容推荐方法的流程示意图;
图2是本申请实施例提供的另一种媒体内容推荐方法的流程示意图;
图3是本申请实施例提供的另一种媒体内容推荐方法的流程示意图;
图4是本申请实施例提供的一种媒体内容推荐装置的结构示意图;
图5是本申请实施例提供的另一种媒体内容推荐装置的结构示意图;
图6是本申请实施例提供的另一种媒体内容推荐装置的结构示意图;
图7是本申请实施例提供的另一种媒体内容推荐装置的结构示意图;
图8是本申请实施例提供的另一种媒体内容推荐装置的结构示意图;
图9是本申请实施例提供的另一种媒体内容推荐装置的结构示意图;
图10是本申请实施例提供的另一种媒体内容推荐装置的结构示意图;
图11是本申请实施例提供的另一种媒体内容推荐装置的结构示意图;
图12是本申请实施例提供的另一种媒体内容推荐装置的结构示意图;
图13是本申请实施例提供的另一种媒体内容推荐装置的结构示意图;
图14是本申请实施例提供的另一种媒体内容推荐装置的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行 清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例中,媒体内容可以是视频、音频或者图像等媒体内容,其中,视频可以包括电影或者电视剧等视频。
另外,本申请实施例中,资源地址可以是网页或者页面,提供媒体内容的资源地址可以理解为在该资源地址中可以播放该媒体内容。
另外,本申请实施例中的客户端可以是浏览器或者媒体播放器等。
请参阅图1,图1是本申请实施例提供的一种媒体内容推荐方法的流程示意图,如图1所示,包括以下步骤:
101、接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息。
上述识别信息可以是上述客户端开始播放上述媒体内容时,客户端自动发送的识别信息;或者上述识别信息可以是客户端根据用户输入的操作指令而发送的识别信息等。
102、根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址。
上述媒体资源数据库可以包括多个资源地址提供的媒体内容的媒体信息,该媒体信息可以是包括媒体内容的标识ID,例如:电影的名称,电视剧的名称和集数等标识。这样步骤102就可以在该媒体资源数据库中查找到提供所述客户端当前播放的媒体内容的至少一个目标资源地址。例如:客户端当前播放电影A,这样步骤102就可以查找到提供该电影A的资源地址,即查找到其他也可以播放电影A的资源地址。
另外,需要说明的是,本实施例中提供媒体内容的资源地址可以是用于播放该媒体内容的资源地址,例如:在某一主网页中包括了多个电影,那么该主网页就会包括播放这多个电影的多个子网页,而本实施例中,提供电影 的资源地址就可以是这些子网页。或者,本实施例中提供媒体内容的资源地址可以是包括播放该媒体内容的资源地址的主资源地址,例如:在某一主网页中包括了多个电影,那么该网页就会包括播放这多个电影的多个子网页,而本实施例中,提供电影的资源地址就可以是这个网页。
103、向所述客户端发送所述至少一个目标资源地址的提示信息。
通过上述步骤可以实现向客户端推荐上述至少一个目标资源地址的提示信息,这样当客户端播放上述媒体内容不够流畅、出现异常或者媒体资源缺乏时,可以通过该提示信息,以快速地在上述至少一个目标资源地址中的一个目标资源地址中播放上述媒体内容。
可选的,上述方法可以应用于服务器,即服务器可以实现上述方法。
本实施例中,接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息;根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址;向所述客户端发送所述至少一个目标资源地址的提示信息。这样用户终端就可以通过该提示信息及时在目标资源地址获取到上述媒体内容。
请参阅图2,图2是本申请实施例提供的另一种媒体内容推荐方法的流程示意图,如图2所示,包括以下步骤:
201、获取多个资源地址提供的媒体内容的媒体信息,并基于所述获取的媒体信息建立所述媒体资源数据库,所述媒体资源数据库包括各所述资源地址的地址信息,以及各所述资源地址提供的媒体内容的媒体信息,其中,所述媒体信息包括媒体内容的标识和媒体内容的参数信息。
可选的,步骤201可以接收各媒体资源服务器发送的多个资源地址提供的媒体内容的媒体信息,例如:接收某一视频网站的服务器发送的多个资源地址提供的视频内容的视频信息,例如:接收该网站服务器发送的提供当前热闹的电影或者电视剧的资源地址的视频信息,该视频信息可以包括电影的名称,或者电视剧的名称和已经更新的集数,当然,该视频信息还可以包括电影的时长、分辨率等参数信息。
可选的,步骤201还可以是通过网络爬虫技术获取多个资源地址提供的媒体内容的媒体信息,另外,针对于提供电视剧的资源地址,步骤201可以是多次通过网络爬虫技术获取到提供电视剧的资源地址的更新集数信息。
可选的,步骤201还可以是接收用户输入的操作指令,获取多个资源地址提供的媒体内容的媒体信息,即实现由人工输入。
可选的,上述多个资源地址可以是提供当前热闹的媒体内容的资源地址。
可选的,上述方法还可以包括如下步骤:
在所述媒体资源数据库中将提供相同媒体内容的至少一个资源地址建立关联,并使用该媒体内容的标识对所述关联的至少一个资源地址进行标识。
这样可以实现将提供相同媒体内容的至少一个资源地址进行关联,这样当获取到客户端当前播放的媒体内容时,就可以快速地查找到提供该媒体内容的至少一个目标资源地址。
202、接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息。
203、根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址。
可选的,步骤202接收到的识别信息可以是客户端当前播放的媒体内容的统一资源定位符(Uniform Resource Locator,缩写URL),例如:步骤202可以包括:
接收客户端发送的所述客户端当前播放的媒体内容的URL。
上述根据所述识别信息识别所述客户端当前播放的媒体内容的步骤,可以包括:
根据所述URL从所述媒体资源数据库中查找所述URL提供的媒体内容,并将该媒体内容作为所述客户端当前播放的媒体内容。
这样可以实现通过URL识别出客户端当前播放的媒体内容,例如:识别 出客户端当前播放的媒体内容的ID。另外,步骤203在识别客户端当前播放的媒体内容时,还可以对该URL进行编辑,例如:去掉该URL“?”字符后面的参数,因为这些参数往往不是标识媒体内容的参数,例如:是一些统计播放量的参数。这样再根据编辑后的URL从所述媒体资源数据库中查找所述URL提供的媒体内容,从而可以提供查找的精度,以及查找的速度。
可选的,上述识别信息还可以直接是上述媒体内容的ID,这样步骤203就可以直接识别出客户端当前播放的媒体内容。
可选的,所述方法还可以包括以下步骤:
从所述媒体资源数据库中查找所述所述客户端当前播放的媒体内容的当前参数信息;
上述从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息的步骤,可以包括:
根据所述当前参数信息,从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,其中,所述至少一个目标资源地址提供的媒体内容的服务质量高于所述客户端当前播放的媒体内容的服务质量。
这样可以选择出提供的媒体内容的服务质量高于所述客户端当前播放的媒体内容的服务质量的至少一个目标媒体内容。其中,上述服务质量可以包括分辨率或者媒体内容安全性或者稳定性等质量。
当然,在一些应用场景,例如:在客户端当前使用的网速比较慢的场景下,本实施例还可以选择提供的媒体内容的服务质量低于所述客户端当前播放的媒体内容的服务质量的至少一个目标媒体内容,从而可以实现客户端可以在网速比较慢的场景下播放服务质量较低的媒体内容,以保证用户可以观看到该媒体内容。
204、向所述客户端发送所述至少一个目标资源地址的提示信息。
可选的,上述提示信息可以是所述至少一个目标资源地址的地址信息,其中,地址信息可以如下任意一项或者多项:
目标资源地址的名称、媒体内容的名称、目标资源地址的URL和媒体内 容的更新集数信息等等。
即步骤204可以包括:
向所述客户端发送所述至少一个目标资源地址的地址信息。
该实施方式中,可以实现直接向客户端发送目标资源地址的地址信息。客户端接收到该地址信息后就可以在预设位置显示该地址信息,当用户想要在目标资源地址中播放上述媒体内容时,就可以直接点击该目标资源地址的地址信息,从而在该目标资源地址中播放上述媒体内容。
可选的,上述提示信息还可以是一个提示功能的信息,该提示信息用于提示用户当前播放的媒体内容在其他资源地址中也可以播放。例如:一个提示按钮或者提示图像等。
当用户想要在其他资源地址中播放当前播放的媒体内容时,就可以点击该提示信息,以从服务器获取到上述至少一个目标媒体地址的地址信息。例如:所述方法还可以包括:
接收所述客户端响应所述提示信息而发送的地址信息获取请求,根据所述地址信息获取请求向所述客户端发送所述至少一个目标资源地址的地址信息。
或者,服务器还可以在发送上述提示信息时,还可以向所述客户端发送所述至少一个目标资源地址的地址信息。即所述方法还可以包括:
向所述客户端发送所述至少一个目标资源地址的地址信息。
当用户想要在其他资源地址中播放当前播放的媒体内容时,就可以点击该提示信息,从而客户端就可以显示上述至少一个目标媒体地址的地址信息。
这样可以实现在客户端先显示提示信息,再显示地址信息,因为提示信息往往占用的位置会比较小,从而不会影响用户观看媒体内容。
可选的,上述从预先获取的媒体资源数据库中查找至少一个目标资源地址的步骤,可以包括:
从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信 息。
另外,所述方法还可以包括:
从预先获取的媒体资源数据库中查找各所述目标资源地址提供的所述媒体内容的参数信息。
其中,参数信息可以是包括媒体内容的时长、分辨率和更新集数信息等信息。
另外,所述方法还可以包括:
向所述客户端发送各所述目标资源地址提供的所述媒体内容的参数信息。
这样可以实现向客户端发送地址信息和媒体内容的参数信息,这样用户就可以得到每个目标资源地址提供的媒体内容的参数,从而可以根据实际选择相应的目标资源地址进行播放媒体内容,例如:选择分辨率高的目标资源地址播放媒体内容。
另外,向客户端发送的至少一个目标资源地址的地址信息,还可以是对其进行排序,例如:按照分辨率高低进行排序,或者服务质量高低进行排序,从而可以使用用户更加方便快捷地选择用户需要的资源地址。或者还可以是根据上述源资源地址的服务质量进行排序,例如:优先显示服务质量高于上述源资源地址的服务质量的目标资源地址。
本实施例中,在图1所示的实施例的基础上增加了多种可选的实施方式,且都可以实现让客户端快速选择媒体内容。另外,本实施例中的实施方式都可以应用于图1所示的实施例中。
请参阅图3,图3是本申请实施例提供的另一种媒体内容推荐方法的流程示意图,如图3所示,包括以下步骤:
301、向服务器发送用于识别当前播放的媒体内容的识别信息,所述识别信息用于被所述服务器识别所述当前播放的媒体内容。
302、接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,其中,所述至少一个目标资源地址为所述服务器从预先获取 的资源数据库中查找的,且提供所述媒体内容的资源地址。
可选的,上述提示信息可以为地址信息,例如:步骤302可以包括:
接收所述服务器发送的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
这样可以实现直接接收服务器发送的地址信息,并显示地址信息,当用户需要在其他资源地址上观看上述媒体内容时,就可以直接点击这些地址信息,从而实现在点击的资源地址上观看媒体内容。例如:当前播放的媒体内容出现异常时,用户就可以点击目标资源地址的地址信息,以在该目标资源地址观看上述媒体内容。
可选的,所述方法还可以包括:
接收用户响应所述提示信息输入的地址信息获取请求,并向所述服务器发送所述地址信息获取请求;
接收所述服务器响应所述地址信息获取请求返回的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
该实施方式,可以实现先显示提示信息,例如:提示按钮或者提示消息等,再根据用户输入的操作向服务器请求目标资源地址的地址信息。
可选的,所述方法还可以包括:
接收所述服务器发送的所述至少一个目标资源地址的地址信息;
接收用户响应所述提示信息输入的地址信息显示请求,响应所述地址信息显示请求,以显示所述至少一个目标资源地址的地址信息。
该实施方式,可以实现接收服务器发送在的提示信息和地址信息,但事先只显示提示信息,当用户需要观看地址信息时,再从本地获取地址信息进行显示。
可选的,上述方法还可以包括:
接收所述服务器发送的各所述目标资源地址提供的所述媒体内容的参数信息。
该实施方式中,可以实现显示各目标资源地址提供的媒体内容的参数信息,这样用户就可以根据需求选择对应的目标资源地址以观看上述媒体内容。
可选的,上述向服务器发送用于识别当前播放的媒体内容的识别信息的步骤可以包括:
向服务器发送当前播放的媒体内容的URL。
具体可以是通过客户端的特定接口获取当前播放的媒体内容的URL,例如:通过OnNavigate接口截取URL,再向服务器发送该URL。
可选的,上述方法可以应用于客户端,客户端可以理解为用户端,为用户终端上安装的应用程序,例如:浏览器。其中,用户终端可以包括:平板电脑、手机、电子阅读器、遥控器、个人计算机(Personal Computer,PC)、笔记本电脑、车载设备、网络电视、可穿戴设备等具有网络功能的智能设备。
本实施例中,向服务器发送用于识别当前播放的媒体内容的识别信息,所述识别信息用于被所述服务器识别所述当前播放的媒体内容;接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,其中,所述至少一个目标资源地址为所述服务器从预先获取的资源数据库中查找的,且提供所述媒体内容的资源地址。这样用户终端可以及时地获取到媒体内容。
下面为本申请装置实施例,本申请装置实施例用于执行本申请方法实施例一至三实现的方法,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例一、实施例二和实施例三。
请参阅图4,图4是本申请实施例提供的一种媒体内容推荐装置的结构示意图,包括:接收单元41、第一查找单元42和第一发送单元43,其中:
接收单元41,用于接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息。
第一查找单元42,用于根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址。
第一发送单元43,用于向所述客户端发送所述至少一个目标资源地址的提示信息。
通过上述装置可以实现向客户端推荐上述至少一个目标资源地址的提示信息,这样当客户端播放上述媒体内容不够流畅、出现异常或者媒体资源缺乏时,可以通过该提示信息,以快速地在上述至少一个目标资源地址中的一个目标资源地址中播放上述媒体内容。
可选的,上述装置可以应用于服务器,即服务器可以包含上述装置。
本实施例中,接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息;根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址;向所述客户端发送所述至少一个目标资源地址的提示信息。这样用户终端就可以通过该提示信息及时在目标资源地址获取到上述媒体内容。
请参阅图5,图5是本申请实施例提供的另一种媒体内容推荐装置的结构示意图,如图5所示,包括:建立单元51、接收单元52、第一查找单元53和第一发送单元54,其中:
建立单元51,用于获取多个资源地址提供的媒体内容的媒体信息,并基于所述获取的媒体信息建立所述媒体资源数据库,所述媒体资源数据库包括各所述资源地址的地址信息,以及各所述资源地址提供的媒体内容的媒体信息,其中,所述媒体信息包括媒体内容的标识和媒体内容的参数信息。
可选的,建立单元51可以接收各媒体资源服务器发送的多个资源地址提供的媒体内容的媒体信息,例如:接收某一视频网站的服务器发送的多个资源地址提供的视频内容的视频信息,例如:接收该网站服务器发送的提供当前热闹的电影或者电视剧的资源地址的视频信息,该视频信息可以包括电影的名称,或者电视剧的名称和已经更新的集数,当然,该视频信息还可以包括电影的时长、分辨率等参数信息。
可选的,建立单元51还可以是通过网络爬虫技术获取多个资源地址提供的媒体内容的媒体信息,另外,针对于提供电视剧的资源地址,步骤201可 以是多次通过网络爬虫技术获取到提供电视剧的资源地址的更新集数信息。
可选的,建立单元51还可以是接收用户输入的操作指令,获取多个资源地址提供的媒体内容的媒体信息,即实现由人工输入。
可选的,上述多个资源地址可以是提供当前热闹的媒体内容的资源地址。
接收单元52,用于接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息。
第一查找单元53,用于根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址。
第一发送单元54,用于向所述客户端发送所述至少一个目标资源地址的提示信息。
可选的,如图6所示,所述装置还可以包括:
关联单元55,用于在所述媒体资源数据库中将提供相同媒体内容的至少一个资源地址建立关联,并使用该媒体内容的标识对所述关联的至少一个资源地址进行标识。
这样可以实现将提供相同媒体内容的至少一个资源地址进行关联,这样当获取到客户端当前播放的媒体内容时,就可以快速地查找到提供该媒体内容的至少一个目标资源地址。
可选的,第一发送单元54可以用于向所述客户端发送所述至少一个目标资源地址的地址信息。
该实施方式中,可以实现直接向客户端发送目标资源地址的地址信息。客户端接收到该地址信息后就可以在预设位置显示该地址信息,当用户想要在目标资源地址中播放上述媒体内容时,就可以直接点击该目标资源地址的地址信息,从而在该目标资源地址中播放上述媒体内容。
可选的,上述提示信息还可以是一个提示功能的信息,该提示信息用于提示用户当前播放的媒体内容在其他资源地址中也可以播放。例如:一个提示按钮或者提示图像等。例如:如图7所示,所述装置还可以包括:
第二发送单元56,用于接收所述客户端响应所述提示信息而的发送地址信息获取请求,根据所述地址信息获取请求向所述客户端发送所述至少一个目标资源地址的地址信息。
或者,服务器还可以在发送上述提示信息时,还可以向所述客户端发送所述至少一个目标资源地址的地址信息。即如图8所示,所述装置还可以包括:
第三发送单元57,用于向所述客户端发送所述至少一个目标资源地址的地址信息。
当用户想要在其他资源地址中播放当前播放的媒体内容时,就可以点击该提示信息,从而客户端就可以显示上述至少一个目标媒体地址的地址信息。
这样可以实现在客户端先显示提示信息,再显示地址信息,因为提示信息往往占用的位置会比较小,从而不会影响用户观看媒体内容。
可选的,第一查找单元53可以用于根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息;
另外,如图9所示,所述装置还可以包括:
第二查找单元58,用于从预先获取的媒体资源数据库中查找各所述目标资源地址提供的所述媒体内容的参数信息。
实施方式中,可选的,所述装置还可以包括:
第四发送单元59,用于向所述客户端发送各所述目标资源地址提供的所述媒体内容的参数信息。
这样可以实现向客户端发送地址信息和媒体内容的参数信息,这样用户就可以得到每个目标资源地址提供的媒体内容的参数,从而可以根据实际选择相应的目标资源地址进行播放媒体内容,例如:选择分辨率高的目标资源地址播放媒体内容。
可选的,接收单元52可以用于接收客户端发送的所述客户端当前播放的媒体内容的URL。
第一查找单元53可以用于根据所述URL从所述媒体资源数据库中查找所述URL提供的媒体内容,并将该媒体内容作为所述客户端当前播放的媒体内容。
可选的,如图10所示,所述装置还可以包括:
第三查找单元510,用于从所述媒体资源数据库中查找所述客户端当前播放的媒体内容的当前参数信息;
第一查找单元53可以用于根据所述当前参数信息,从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,其中,所述至少一个目标资源地址提供的媒体内容的服务质量高于所述客户端当前播放的媒体内容的服务质量。
这样可以选择出提供的媒体内容的服务质量高于所述源资源地址提供的媒体内容的服务质量的至少一个目标媒体内容。其中,上述服务质量可以包括分辨率或者媒体内容安全性或者稳定性等质量。
本实施例中,在图4所示的实施例的基础上增加了多种可选的实施方式,且都可以实现让客户端快速选择媒体内容。另外,本实施例中的实施方式都可以应用于图4所示的实施例中。
请参阅图11,图11是本申请实施例提供的另一种媒体内容推荐装置的结构示意图,如图11所示,发送单元111和第一接收单元112,其中:
发送单元111,用于向服务器发送用于识别当前播放的媒体内容的识别信息,所述识别信息用于被所述服务器识别所述当前播放的媒体内容。
第一接收单元112,用于接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,其中,所述至少一个目标资源地址为所述服务器从预先获取的资源数据库中查找的,且提供所述媒体内容的资源地址。
可选的,上述提示信息可以为地址信息,例如:接收单元112可以用于接收所述服务器发送的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
这样可以实现直接接收服务器发送的地址信息,并显示地址信息,当用 户需要在其他资源地址上观看上述媒体内容时,就可以直接点击这些地址信息,从而实现在点击的资源地址上观看媒体内容。例如:当前播放的媒体内容出现异常时,用户就可以点击目标资源地址的地址信息,以在该目标资源地址观看上述媒体内容。
可选的,如图12所示,所述装置还可以包括:
请求单元113,用于接收用户响应所述提示信息输入的地址信息获取请求,并向所述服务器发送所述地址信息获取请求;
第二接收单元114,用于接收所述服务器响应所述地址信息获取请求返回的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
该实施方式,可以实现先显示提示信息,例如:提示按钮或者提示消息等,再根据用户输入的操作向服务器请求目标资源地址的地址信息。
可选的,如图13所示,所述装置还可以包括:
第三接收单元115,用于接收所述服务器发送的所述至少一个目标资源地址的地址信息;
响应单元116,用于接收用户响应所述提示信息输入的地址信息显示请求,响应所述地址信息显示请求,以显示所述至少一个目标资源地址的地址信息。
该实施方式,可以实现接收服务器发送在的提示信息和地址信息,但事先只显示提示信息,当用户需要观看地址信息时,再从本地获取地址信息进行显示。
可选的,如图14所示,所述装置还可以包括:
第四接收单元117,用于接收所述服务器发送的各所述目标资源地址提供的所述媒体内容的参数信息。
该实施方式中,可以实现显示各目标资源地址提供的媒体内容的参数信息,这样用户就可以根据需求选择对应的目标资源地址以观看上述媒体内容。
可选的,发送单元111可以用于向服务器发送当前播放的媒体内容的URL。
具体可以是通过客户端的特定接口获取当前播放的媒体内容的URL,例如:通过OnNavigate接口截取URL,再向服务器发送URL。
可选的,上述装置可以应用于客户端,客户端可以理解为用户端,为用户终端上安装的应用程序,例如:浏览器。其中,用户终端可以包括:平板电脑、手机、电子阅读器、遥控器、PC、笔记本电脑、车载设备、网络电视、可穿戴设备等具有网络功能的智能设备。
本实施例中,向服务器发送用于识别当前播放的媒体内容的识别信息,所述识别信息用于被所述服务器识别所述当前播放的媒体内容;接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,其中,所述至少一个目标资源地址为所述服务器从预先获取的资源数据库中查找的,且提供所述媒体内容的资源地址。这样用户终端可以及时地获取到媒体内容。
另外,本申请实施例还提供了一种电子设备,可以包括:
处理器、存储器、通信接口和总线;
所述处理器、所述存储器和所述通信接口通过所述总线连接并完成相互间的通信;
所述存储器存储可执行程序代码;
所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于执行本申请实施例所提供的媒体内容推荐方法;其中,本申请实施例所提供的媒体内容推荐方法,可以包括:
接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息;
根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址;
向所述客户端发送所述至少一个目标资源地址的提示信息。
其中,所述向所述客户端发送所述至少一个目标资源地址的提示信息,包括:
向所述客户端发送所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收所述客户端响应所述提示信息而发送的地址信息获取请求,根据所述地址信息获取请求向所述客户端发送所述至少一个目标资源地址的地址信息;或者
向所述客户端发送所述至少一个目标资源地址的地址信息。
其中,所述从预先获取的媒体资源数据库中查找至少一个目标资源地址,包括:
从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息;
所述方法还包括:
从预先获取的媒体资源数据库中查找各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述方法还包括:
向所述客户端发送各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息,包括:
接收客户端发送的所述客户端当前播放的媒体内容的统一资源定位符URL;
所述根据所述识别信息识别所述客户端当前播放的媒体内容,包括:
根据所述URL从所述媒体资源数据库中查找所述URL提供的媒体内容,并将该媒体内容作为所述客户端当前播放的媒体内容。
其中,所述方法还包括:
从所述媒体资源数据库中查找所述客户端当前播放的媒体内容的当前参数信息;
所述从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,包括:
根据所述当前参数信息,从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,其中,所述至少一个目标资源地址提供的媒体内容的服务质量高于所述客户端当前播放的媒体内容的服务质量。
其中,所述方法还包括:
获取多个资源地址提供的媒体内容的媒体信息,并基于所述获取的媒体信息建立所述媒体资源数据库,所述媒体资源数据库包括各所述资源地址的地址信息,以及各所述资源地址提供的媒体内容的媒体信息,其中,所述媒体信息包括媒体内容的标识和媒体内容的参数信息。
其中,所述方法还包括:
在所述媒体资源数据库中将提供相同媒体内容的至少一个资源地址建立关联,并使用该媒体内容的标识对所述关联的至少一个资源地址进行标识。
其中,本申请实施例所提供的媒体内容推荐方法,还可以包括:
向服务器发送用于识别当前播放的媒体内容的识别信息,所述识别信息用于被所述服务器识别所述当前播放的媒体内容;
接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,其中,所述至少一个目标资源地址为所述服务器从预先获取的资源数据库中查找的,且提供所述媒体内容的资源地址。
其中,所述接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,包括:
接收所述服务器发送的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收用户响应所述提示信息输入的地址信息获取请求,并向所述服务器发送所述地址信息获取请求;
接收所述服务器响应所述地址信息获取请求返回的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收所述服务器发送的所述至少一个目标资源地址的地址信息;
接收用户响应所述提示信息输入的地址信息显示请求,响应所述地址信息显示请求,以显示所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收所述服务器发送的各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述向服务器发送用于识别当前播放的媒体内容的识别信息,包括:
向服务器发送当前播放的媒体内容的统一资源定位符URL。
另外,本申请实施例还提供了一种存储介质,用于存储应用程序,所述应用程序用于执行本申请实施例所提供的媒体内容推荐方法;其中,本申请实施例所提供的媒体内容推荐方法,可以包括:
接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息;
根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址;
向所述客户端发送所述至少一个目标资源地址的提示信息。
其中,所述向所述客户端发送所述至少一个目标资源地址的提示信息,包括:
向所述客户端发送所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收所述客户端响应所述提示信息而发送的地址信息获取请求,根据所述地址信息获取请求向所述客户端发送所述至少一个目标资源地址的地址信息;或者
向所述客户端发送所述至少一个目标资源地址的地址信息。
其中,所述从预先获取的媒体资源数据库中查找至少一个目标资源地址,包括:
从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息;
所述方法还包括:
从预先获取的媒体资源数据库中查找各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述方法还包括:
向所述客户端发送各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息,包括:
接收客户端发送的所述客户端当前播放的媒体内容的统一资源定位符URL;
所述根据所述识别信息识别所述客户端当前播放的媒体内容,包括:
根据所述URL从所述媒体资源数据库中查找所述URL提供的媒体内容,并将该媒体内容作为所述客户端当前播放的媒体内容。
其中,所述方法还包括:
从所述媒体资源数据库中查找所述客户端当前播放的媒体内容的当前参 数信息;
所述从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,包括:
根据所述当前参数信息,从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,其中,所述至少一个目标资源地址提供的媒体内容的服务质量高于所述客户端当前播放的媒体内容的服务质量。
其中,所述方法还包括:
获取多个资源地址提供的媒体内容的媒体信息,并基于所述获取的媒体信息建立所述媒体资源数据库,所述媒体资源数据库包括各所述资源地址的地址信息,以及各所述资源地址提供的媒体内容的媒体信息,其中,所述媒体信息包括媒体内容的标识和媒体内容的参数信息。
其中,所述方法还包括:
在所述媒体资源数据库中将提供相同媒体内容的至少一个资源地址建立关联,并使用该媒体内容的标识对所述关联的至少一个资源地址进行标识。
其中,本申请实施例所提供的媒体内容推荐方法,还可以包括:
向服务器发送用于识别当前播放的媒体内容的识别信息,所述识别信息用于被所述服务器识别所述当前播放的媒体内容;
接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,其中,所述至少一个目标资源地址为所述服务器从预先获取的资源数据库中查找的,且提供所述媒体内容的资源地址。
其中,所述接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,包括:
接收所述服务器发送的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收用户响应所述提示信息输入的地址信息获取请求,并向所述服务器 发送所述地址信息获取请求;
接收所述服务器响应所述地址信息获取请求返回的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收所述服务器发送的所述至少一个目标资源地址的地址信息;
接收用户响应所述提示信息输入的地址信息显示请求,响应所述地址信息显示请求,以显示所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收所述服务器发送的各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述向服务器发送用于识别当前播放的媒体内容的识别信息,包括:
向服务器发送当前播放的媒体内容的统一资源定位符URL。
另外,本申请实施例还提供了一种应用程序,用于执行本申请实施例所提供的媒体内容推荐方法;其中,本申请实施例所提供的媒体内容推荐方法,可以包括:
接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息;
根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址;
向所述客户端发送所述至少一个目标资源地址的提示信息。
其中,所述向所述客户端发送所述至少一个目标资源地址的提示信息,包括:
向所述客户端发送所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收所述客户端响应所述提示信息而发送的地址信息获取请求,根据所述地址信息获取请求向所述客户端发送所述至少一个目标资源地址的地址信息;或者
向所述客户端发送所述至少一个目标资源地址的地址信息。
其中,所述从预先获取的媒体资源数据库中查找至少一个目标资源地址,包括:
从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息;
所述方法还包括:
从预先获取的媒体资源数据库中查找各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述方法还包括:
向所述客户端发送各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息,包括:
接收客户端发送的所述客户端当前播放的媒体内容的统一资源定位符URL;
所述根据所述识别信息识别所述客户端当前播放的媒体内容,包括:
根据所述URL从所述媒体资源数据库中查找所述URL提供的媒体内容,并将该媒体内容作为所述客户端当前播放的媒体内容。
其中,所述方法还包括:
从所述媒体资源数据库中查找所述客户端当前播放的媒体内容的当前参数信息;
所述从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,包括:
根据所述当前参数信息,从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,其中,所述至少一个目标资源地址提供的媒体内容的服务质量高于所述客户端当前播放的媒体内容的服务质量。
其中,所述方法还包括:
获取多个资源地址提供的媒体内容的媒体信息,并基于所述获取的媒体信息建立所述媒体资源数据库,所述媒体资源数据库包括各所述资源地址的地址信息,以及各所述资源地址提供的媒体内容的媒体信息,其中,所述媒体信息包括媒体内容的标识和媒体内容的参数信息。
其中,所述方法还包括:
在所述媒体资源数据库中将提供相同媒体内容的至少一个资源地址建立关联,并使用该媒体内容的标识对所述关联的至少一个资源地址进行标识。
其中,本申请实施例所提供的媒体内容推荐方法,还可以包括:
向服务器发送用于识别当前播放的媒体内容的识别信息,所述识别信息用于被所述服务器识别所述当前播放的媒体内容;
接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,其中,所述至少一个目标资源地址为所述服务器从预先获取的资源数据库中查找的,且提供所述媒体内容的资源地址。
其中,所述接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,包括:
接收所述服务器发送的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收用户响应所述提示信息输入的地址信息获取请求,并向所述服务器发送所述地址信息获取请求;
接收所述服务器响应所述地址信息获取请求返回的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收所述服务器发送的所述至少一个目标资源地址的地址信息;
接收用户响应所述提示信息输入的地址信息显示请求,响应所述地址信息显示请求,以显示所述至少一个目标资源地址的地址信息。
其中,所述方法还包括:
接收所述服务器发送的各所述目标资源地址提供的所述媒体内容的参数信息。
其中,所述向服务器发送用于识别当前播放的媒体内容的识别信息,包括:
向服务器发送当前播放的媒体内容的统一资源定位符URL。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,简称RAM)等。
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。

Claims (30)

  1. 一种媒体内容推荐方法,其特征在于,包括:
    接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息;
    根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址;
    向所述客户端发送所述至少一个目标资源地址的提示信息。
  2. 如权利要求1所述的方法,其特征在于,所述向所述客户端发送所述至少一个目标资源地址的提示信息,包括:
    向所述客户端发送所述至少一个目标资源地址的地址信息。
  3. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    接收所述客户端响应所述提示信息而发送的地址信息获取请求,根据所述地址信息获取请求向所述客户端发送所述至少一个目标资源地址的地址信息;或者
    向所述客户端发送所述至少一个目标资源地址的地址信息。
  4. 如权利要求2或3所述的方法,其特征在于,所述从预先获取的媒体资源数据库中查找至少一个目标资源地址,包括:
    从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息;
    所述方法还包括:
    从预先获取的媒体资源数据库中查找各所述目标资源地址提供的所述媒体内容的参数信息。
  5. 如权利要求4所述的方法,其特征在于,所述方法还包括:
    向所述客户端发送各所述目标资源地址提供的所述媒体内容的参数信息。
  6. 如权利要求1-3中任一项所述的方法,其特征在于,所述接收客户端发送的用于识别所述客户端当前播放的媒体内容的识别信息,包括:
    接收客户端发送的所述客户端当前播放的媒体内容的统一资源定位符URL;
    所述根据所述识别信息识别所述客户端当前播放的媒体内容,包括:
    根据所述URL从所述媒体资源数据库中查找所述URL提供的媒体内容,并将该媒体内容作为所述客户端当前播放的媒体内容。
  7. 如权利要求6所述的方法,其特征在于,所述方法还包括:
    从所述媒体资源数据库中查找所述客户端当前播放的媒体内容的当前参数信息;
    所述从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,包括:
    根据所述当前参数信息,从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,其中,所述至少一个目标资源地址提供的媒体内容的服务质量高于所述客户端当前播放的媒体内容的服务质量。
  8. 如权利要求1-3中任一项所述的方法,其特征在于,所述方法还包括:
    获取多个资源地址提供的媒体内容的媒体信息,并基于所述获取的媒体信息建立所述媒体资源数据库,所述媒体资源数据库包括各所述资源地址的地址信息,以及各所述资源地址提供的媒体内容的媒体信息,其中,所述媒体信息包括媒体内容的标识和媒体内容的参数信息。
  9. 如权利要求8所述的方法,其特征在于,所述方法还包括:
    在所述媒体资源数据库中将提供相同媒体内容的至少一个资源地址建立关联,并使用该媒体内容的标识对所述关联的至少一个资源地址进行标识。
  10. 一种媒体内容推荐方法,其特征在于,包括:
    向服务器发送用于识别当前播放的媒体内容的识别信息,所述识别信息用于被所述服务器识别所述当前播放的媒体内容;
    接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,其中,所述至少一个目标资源地址为所述服务器从预先获取的资源数据库中查找的,且提供所述媒体内容的资源地址。
  11. 如权利要求10所述的方法,其特征在于,所述接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,包括:
    接收所述服务器发送的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
  12. 如权利要求10所述的方法,其特征在于,所述方法还包括:
    接收用户响应所述提示信息输入的地址信息获取请求,并向所述服务器发送所述地址信息获取请求;
    接收所述服务器响应所述地址信息获取请求返回的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
  13. 如权利要求12所述的方法,其特征在于,所述方法还包括:
    接收所述服务器发送的所述至少一个目标资源地址的地址信息;
    接收用户响应所述提示信息输入的地址信息显示请求,响应所述地址信息显示请求,以显示所述至少一个目标资源地址的地址信息。
  14. 如权利要求11-13中任一项所述的方法,其特征在于,所述方法还包括:
    接收所述服务器发送的各所述目标资源地址提供的所述媒体内容的参数信息。
  15. 如权利要求11-13中任一项所述的方法,其特征在于,所述向服务器发送用于识别当前播放的媒体内容的识别信息,包括:
    向服务器发送当前播放的媒体内容的统一资源定位符URL。
  16. 一种媒体内容推荐装置,其特征在于,包括:接收单元、第一查找单元和第一发送单元,其中:
    所述接收单元,用于接收客户端发送的用于识别所述客户端当前播放的 媒体内容的识别信息;
    所述第一查找单元,用于根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址,所述至少一个目标资源地址为提供所述媒体内容的资源地址;
    所述第一发送单元,用于向所述客户端发送所述至少一个目标资源地址的提示信息。
  17. 如权利要求16所述的装置,其特征在于,所述第一发送单元用于向所述客户端发送所述至少一个目标资源地址的地址信息。
  18. 如权利要求17所述的装置,其特征在于,所述装置还包括:
    第二发送单元,用于接收所述客户端响应所述提示信息而发送的地址信息获取请求,根据所述地址信息获取请求向所述客户端发送所述至少一个目标资源地址的地址信息;或者
    第三发送单元,用于向所述客户端发送所述至少一个目标资源地址的地址信息。
  19. 如权利要求17或18所述的装置,其特征在于,所述第一查找单元用于根据所述识别信息识别所述客户端当前播放的媒体内容,并从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息;
    所述装置还包括:
    第二查找单元,用于从预先获取的媒体资源数据库中查找各所述目标资源地址提供的所述媒体内容的参数信息。
  20. 如权利要求19所述的装置,其特征在于,所述装置还包括:
    第四发送单元,用于向所述客户端发送各所述目标资源地址提供的所述媒体内容的参数信息。
  21. 如权利要求16-19中任一项所述的装置,其特征在于,所述接收单元用于接收客户端发送的所述客户端当前播放的媒体内容的统一资源定位符URL;
    所述第一查找单元用于根据所述URL从所述媒体资源数据库中查找所述URL提供的媒体内容,并将该媒体内容作为所述客户端当前播放的媒体内容。
  22. 如权利要求21所述的装置,其特征在于,所述装置还包括:
    第三查找单元,用于从所述媒体资源数据库中查找所述客户端当前播放的媒体内容的当前参数信息;
    所述第一查找单元用于根据所述当前参数信息,从预先获取的媒体资源数据库中查找至少一个目标资源地址的地址信息,其中,所述至少一个目标资源地址提供的媒体内容的服务质量高于所述客户端当前播放的媒体内容的服务质量。
  23. 如权利要求16-19中任一项所述的装置,其特征在于,所述装置还包括:
    建立单元,用于获取多个资源地址提供的媒体内容的媒体信息,并基于所述获取的媒体信息建立所述媒体资源数据库,所述媒体资源数据库包括各所述资源地址的地址信息,以及各所述资源地址提供的媒体内容的媒体信息,其中,所述媒体信息包括媒体内容的标识和媒体内容的参数信息。
  24. 如权利要求23所述的装置,其特征在于,所述装置还包括:
    关联单元,用于在所述媒体资源数据库中将提供相同媒体内容的至少一个资源地址建立关联,并使用该媒体内容的标识对所述关联的至少一个资源地址进行标识。
  25. 一种媒体内容推荐装置,其特征在于,包括:发送单元和第一接收单元,其中:
    所述发送单元,用于向服务器发送用于识别当前播放的媒体内容的识别信息,所述识别信息用于被所述服务器识别所述当前播放的媒体内容;
    所述第一接收单元,用于接收所述服务器发送的至少一个目标资源地址的提示信息,并显示所述提示信息,其中,所述至少一个目标资源地址为所述服务器从预先获取的资源数据库中查找的,且提供所述媒体内容的资源地址。
  26. 如权利要求25所述的装置,其特征在于,所述接收单元用于接收所述服务器发送的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
  27. 如权利要求25所述的装置,其特征在于,所述装置还包括:
    请求单元,用于接收用户响应所述提示信息输入的地址信息获取请求,并向所述服务器发送所述地址信息获取请求;
    第二接收单元,用于接收所述服务器响应所述地址信息获取请求返回的所述至少一个目标资源地址的地址信息,并显示所述至少一个目标资源地址的地址信息。
  28. 如权利要求25所述的装置,其特征在于,所述装置还包括:
    第三接收单元,用于接收所述服务器发送的所述至少一个目标资源地址的地址信息;
    响应单元,用于接收用户响应所述提示信息输入的地址信息显示请求,响应所述地址信息显示请求,以显示所述至少一个目标资源地址的地址信息。
  29. 如权利要求25或26所述的装置,其特征在于,所述装置还包括:
    第四接收单元,用于接收所述服务器发送的各所述目标资源地址提供的所述媒体内容的参数信息。
  30. 如权利要求25-28中任一项所述的装置,其特征在于,所述发送单元用于向服务器发送当前播放的媒体内容的统一资源定位符URL。
PCT/CN2015/090585 2014-09-28 2015-09-24 一种媒体内容推荐方法和装置 WO2016045606A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410509855.7 2014-09-28
CN201410509855.7A CN104244099A (zh) 2014-09-28 2014-09-28 一种媒体内容推荐方法和装置

Publications (1)

Publication Number Publication Date
WO2016045606A1 true WO2016045606A1 (zh) 2016-03-31

Family

ID=52231303

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/090585 WO2016045606A1 (zh) 2014-09-28 2015-09-24 一种媒体内容推荐方法和装置

Country Status (2)

Country Link
CN (1) CN104244099A (zh)
WO (1) WO2016045606A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244099A (zh) * 2014-09-28 2014-12-24 北京金山安全软件有限公司 一种媒体内容推荐方法和装置
CN105263055B (zh) * 2015-09-02 2018-10-12 康佳集团股份有限公司 一种电视直播的互动方法及系统
CN107370780B (zh) * 2016-05-12 2020-06-26 腾讯科技(北京)有限公司 基于互联网的媒体推送方法、装置和系统
CN108881353B (zh) * 2017-05-16 2020-07-31 腾讯科技(深圳)有限公司 一种内容推送方法、装置及计算机可读存储介质
CN110677489B (zh) * 2019-09-30 2022-07-12 北京奇艺世纪科技有限公司 媒体资源处理方法、装置、系统及存储介质
CN111306709B (zh) * 2020-01-20 2021-09-07 海信视像科技股份有限公司 一种空调
CN113535274A (zh) * 2021-07-30 2021-10-22 北京字跳网络技术有限公司 首位资源显示方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011059274A2 (en) * 2009-11-13 2011-05-19 Samsung Electronics Co., Ltd. Adaptive streaming method and apparatus
CN103501449A (zh) * 2013-10-08 2014-01-08 十分(北京)信息科技有限公司 与电视节目关联的视频源推荐方法及推荐装置
CN103873928A (zh) * 2014-03-14 2014-06-18 可牛网络技术(北京)有限公司 一种播放视频的方法、装置及应用服务器
CN104244099A (zh) * 2014-09-28 2014-12-24 北京金山安全软件有限公司 一种媒体内容推荐方法和装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8285701B2 (en) * 2001-08-03 2012-10-09 Comcast Ip Holdings I, Llc Video and digital multimedia aggregator remote content crawler
EP2252050B1 (en) * 2009-05-13 2014-06-25 Sony Europe Limited A method of recommending local and remote content
KR101315608B1 (ko) * 2011-09-27 2013-10-18 엘지전자 주식회사 컨텐츠 관리 방법 및 그를 이용한 영상 표시 장치
US9077947B2 (en) * 2011-11-09 2015-07-07 Microsoft Technology Licensing, Llc Presenting linear and nonlinear content via DVR

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011059274A2 (en) * 2009-11-13 2011-05-19 Samsung Electronics Co., Ltd. Adaptive streaming method and apparatus
CN103501449A (zh) * 2013-10-08 2014-01-08 十分(北京)信息科技有限公司 与电视节目关联的视频源推荐方法及推荐装置
CN103873928A (zh) * 2014-03-14 2014-06-18 可牛网络技术(北京)有限公司 一种播放视频的方法、装置及应用服务器
CN104244099A (zh) * 2014-09-28 2014-12-24 北京金山安全软件有限公司 一种媒体内容推荐方法和装置

Also Published As

Publication number Publication date
CN104244099A (zh) 2014-12-24

Similar Documents

Publication Publication Date Title
US11985178B2 (en) Methods, systems and media for associating multiple users with a media presentation device
WO2016045606A1 (zh) 一种媒体内容推荐方法和装置
US10535107B2 (en) Offline content sharing
US11550451B2 (en) Systems and methods for providing and updating live-streaming online content in an interactive web platform
US10326715B2 (en) System and method for updating information in an instant messaging application
US10185486B2 (en) Method for one-click subscribing to multiple channels of information on a single topic
WO2015184746A1 (zh) 自动获取视频更新的方法和系统
US9323755B2 (en) Secondary content
US10498839B2 (en) Providing supplemental content in relation to embedded media
WO2016062183A1 (zh) 一种媒体内容推荐方法和装置
US11109093B2 (en) Method and apparatus for providing information associated with media content
CN109451333B (zh) 一种弹幕显示方法、装置、终端及系统
WO2015085842A1 (zh) 在移动终端中展现搜索结果的方法及装置
US8700650B2 (en) Search results comparison methods and systems
CN103647978A (zh) 一种智能电视的节目辅助信息推荐方法及装置
CN107786631B (zh) 一种内容发布方法、装置及电子设备
US20170180805A1 (en) Method and electronic device for video follow-play
US10555051B2 (en) Internet enabled video media content stream
CN109672911B (zh) 一种视频处理方法及装置
CN110708402A (zh) 可访问资源的展示方法、装置及资源访问系统
CN104917754B (zh) 一种视频数据发送及接收的方法、服务器和客户端
US20150358691A1 (en) Music sharing and advertising
WO2016184288A1 (zh) 一种广告投放方法、装置及系统
JP2015184887A (ja) マッチング装置、マッチングシステム及びマッチング方法
US20180176631A1 (en) Methods and systems for providing an interactive second screen experience

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15844762

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 14.07.2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15844762

Country of ref document: EP

Kind code of ref document: A1