CN106534990A - A method for obtaining related recommended videos of YouTube videos - Google Patents
A method for obtaining related recommended videos of YouTube videos Download PDFInfo
- Publication number
- CN106534990A CN106534990A CN201611107991.9A CN201611107991A CN106534990A CN 106534990 A CN106534990 A CN 106534990A CN 201611107991 A CN201611107991 A CN 201611107991A CN 106534990 A CN106534990 A CN 106534990A
- Authority
- CN
- China
- Prior art keywords
- video
- channel
- youtube
- obtaining
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management 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/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4668—Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
- H04N21/4826—End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/633—Control signals issued by server directed to the network components or client
- H04N21/6332—Control signals issued by server directed to the network components or client directed to client
- H04N21/6334—Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key
- H04N21/63345—Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key by transmitting keys
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to the mobile terminal application field and discloses a method for obtaining related recommended videos of YouTube videos, so that after successive search of a user, the user can watch related videos of searched videos conveniently without carrying out search again. The method, in summary, is characterized by establishing connection between a mobile terminal application and a YouTube Data API; when the mobile terminal application receives a user input instruction, obtaining information of each video list item; calling a corresponding interface of the YouTube Data API and obtaining channel information corresponding to a channel of the video; analyzing the obtained channel information to obtain a playlist Id related to the channel; according to the playlist Id, obtaining video Id of the recommended video; according to the obtained video Id of the recommended video, obtaining video information of the recommended video; and displaying the obtained video information to the user. The method is suitable for the users, who watch the YouTube videos through mobile terminals.
Description
Technical field
The present invention relates to intelligent television field, the method for more particularly to obtaining the associated recommendation video of YouTube video.
Background technology
With the fast development of mobile hand-held device, obtain wanting regarding for viewing by the application on mobile hand-held device
Frequency has become the selection of most of users.In Chinese patent, Patent No.:201610055707.1, it is entitled " to apply mobile terminal
In the method for integrated YouTube functions ", have been achieved with the search of mobile terminal application integration YouTube video, classification, comment and send out
The function of table comment so that user need not install YouTube clients and be capable of achieving quickly to search identically with YouTube clients
Rope video, the function of being classified to video, improve the practicality of the mobile terminal application.
The present invention is realized when mobile terminal completes to regard using according to user input instruction on the basis of 201610055707.1
The functions such as frequency search, classification obtain list of videos, into after the video details page of a certain list of videos item, how to obtain the video
Associated recommendation video method, to facilitate user to watch the associated video of the video as needed, need not be searched again for.
The content of the invention
The technical problem to be solved in the present invention is:A kind of method of the associated recommendation video for obtaining YouTube video is provided,
After user searches for successively, facilitate user to watch the associated video of search video, need not be searched again for.
For solving the above problems, the technical solution used in the present invention is:Obtain the associated recommendation video of YouTube video
Method, is applied to be integrated with the mobile terminal application of YouTube functions, comprises the steps:
Step 1, mobile terminal application obtain the key of YouTube Data API, set up the company with YouTube Data API
Connect;
Step 2, when mobile terminal is instructed using receiving user's input, the function of completing video search or classification obtains video
During list, the channel Id and video Id of each list of videos item are obtained;
Step 3, according to video channel Id, call the Channels of YouTube Data API:List interfaces, and set
Interface requests parameter is put, the corresponding channel information of video place channel is obtained;
Step 4, the channel information to obtaining are parsed, and obtain the playlist Id related to the channel;
Step 5, according to the playlist Id, call PlaylistItems:List interfaces, correctly arrange interface requests
Parameter, obtains the video Id of associated recommendation video;
The video Id of the associated recommendation video that step 6, basis are obtained, call Videos:List interfaces, and interface is set
Required parameter, obtains the video information of associated recommendation video;
Step 7, mobile terminal are shown to user using the video information of the associated recommendation video for obtaining parsing.
Further, in step 3, the channel information for obtaining at least includes the playlist Id related to the channel, channel
The date and time that title, the poster URL of channel, channel are created.
Further, in step 6, video name of the video information for obtaining at least including associated recommendation video, poster
URL, video video Id, channel Id, channel title and video duration.
Further, in step 7, mobile terminal is entered after row format conversion using the video information to obtaining, and is shown to user.
The invention has the beneficial effects as follows:Mobile solution end is completed at Mobile solution end by calling YouTube api interfaces
After the functions such as YouTube video search, classification obtain list of videos item, the associated recommendation video to each list of videos item is realized
Acquisition so that after video of the user in the case where classification search or a certain has been watched, being capable of direct viewing as needed
The associated recommendation video of the video, without the need for scanning for again, further increases the practicality of mobile terminal application.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, the present invention is done further retouch in detail below
State.
The present invention requires more and more higher for the practicality that user is applied to mobile terminal, and user in mobile terminal, watch by application
The phenomenon of the associated recommendation video of viewing video after YouTube video, is often selected, a kind of mobile terminal application integration is proposed
The method of the associated recommendation video of YouTube video.First, mobile terminal application needs to obtain the close of YouTube Data API
Key, sets up the connection with YouTube Data API;Secondly, the correspondence of mobile terminal application call YouTube api interface document
Interface simultaneously correctly arranges interface requests parameter, and mobile terminal application obtains request results;Finally, mobile terminal is using entering to request results
Row parsing, is shown to user.Using by correctly calling and parsing to YouTube api interfaces, realization is being moved for mobile terminal
End application in integrated YouTube video associated recommendation video function, further increase mobile terminal application practicality and
Convenience.
Embodiment 1
For the function of the associated recommendation video in mobile terminal application integration YouTube video, one kind is provided in this example and is obtained
The method for taking the associated recommendation video of YouTube video, it is specific as follows:
First, in order to the api interface for correctly calling YouTube related, need to obtain Google for mobile terminal application
The certificate of authority that developer's platform is supported.Firstly the need of there is a Google account to be able to access that Google developer's platform,
Google developer's platform registers our mobile terminal application, in API information bank selects YouTube DataV3 for enabling
State, and be authenticated in authentication interface, the key of an access YouTube Data API is obtained, is set up and YouTube
The connection of Data API.
The acquisition of the associated recommendation video of a certain videos of YouTube needs to call YouTube Data API's
Channels:List interfaces, call the interface to need to arrange the channel Id of the video.When mobile terminal is using defeated according to user
After entering to instruct the function of completing video search or classification to obtain list of videos, each list of videos item can be obtained
Channel Id, the channel Id are and call Channels:The Id parameters arranged needed for list interfaces.Correctly arranging
Channels:After the required parameter of list interfaces, the channel information of the video place channel can be obtained, to the channel information
Carry out parsing to obtain the playlist Id related to the channel, channel designation, the poster URL of channel, channel and be created
The channel informations such as date and time.
According to playlist Id obtained above, PlaylistItems is called:List interfaces, correctly arrange interface requests
Parameter, can obtain the video Id of associated recommendation video;When implementing, in order to improve request speed, only ask every time
The video data of five associated recommendation videos, user go to ask following five associated recommendation video when clicking on drops down button again
Video data.
Due to calling PlaylistItems according to YouTube api interface documents:List interfaces cannot obtain needing to show
To the video duration field of user.Therefore we call Videos according to the video Id of the video for obtaining:List interfaces come
To need to show user and meet the video name of video normal play, poster URL, video video Id, channel Id,
The video informations such as channel title, video duration.It should be noted that needing to consider solution when request results are parsed
Whether the data form of analysis result needs to show the data form of user consistent with us.If inconsistent, mobile terminal
Using needing to enter video information after row format conversion, user is shown to.Such as:To Videos:The request results of list interfaces
Parse to obtain during video duration, the form of analysis result is PMXHXMXS, it would be desirable to correctly process the form
To the video duration form that we need.
During specifically used, when mobile terminal is regarded using the video search according to user input or sort instructions
After frequency list, after a certain list of videos item of click enters video details page, mobile terminal application call YouTube Data API's
Channels:List interfaces, obtain the channel information that the video is located, and carry out parsing that to obtain the channel related to channel information
The date and time that playlist Id, channel designation, the poster URL of channel, channel are created, first by channel designation, poster,
Date created and time show user.PlaylistItems is called according to the related playlist Id of channel simultaneously:List connects
Mouthful, obtain the video Id of associated recommendation video.Due to needing to show video duration to user, and interface PlaylistItems:
The request results of list do not include video duration field, therefore according to the video video Id for obtaining, call Videos:List connects
Mouthful obtaining the video informations such as video name, poster, video duration.In order to improve interface requests speed, five phases are asked every time
The video data for recommending video is closed, user can click on the drops down button of associated recommendation video, request following five as needed
Individual associated recommendation video.
When user clicks on the list items of associated recommendation video, into the corresponding video details page of the recommendation video, while
The corresponding associated recommendation video of the recommendation video can be obtained.
To sum up, mobile terminal is realized in mobile terminal application integration YouTube using by calling YouTube api interfaces
The function of the associated recommendation video of video.
The ultimate principle and main feature of the present invention is the foregoing described, the description of description simply illustrates the original of the present invention
Reason, without departing from the spirit and scope of the present invention, the present invention also has various changes and modifications, these changes and improvements
Both fall within scope of the claimed invention.
Claims (4)
1. the method for obtaining the associated recommendation video of YouTube video, it is characterised in that be applied to be integrated with YouTube functions
Mobile terminal application, comprise the steps:
Step 1, mobile terminal application obtain the key of YouTube Data API, set up the connection with YouTube Data API;
Step 2, when mobile terminal is instructed using receiving user's input, the function of completing video search or classification obtains list of videos
When, obtain the channel Id and video Id of each list of videos item;
Step 3, according to video channel Id, call the Channels of YouTube Data API:List interfaces, and arrange connect
Mouth required parameter, obtains the corresponding channel information of video place channel;
Step 4, the channel information to obtaining are parsed, and obtain the playlist Id related to the channel;
Step 5, according to the playlist Id, call PlaylistItems:List interfaces, it is correct that interface requests parameter is set,
Obtain the video Id of associated recommendation video;
The video Id of the associated recommendation video that step 6, basis are obtained, call Videos:List interfaces, and interface requests are set
Parameter, obtains the video information of associated recommendation video;
Step 7, mobile terminal are shown to user using the video information of the associated recommendation video for obtaining parsing.
2. it is according to claim 1 obtain YouTube video associated recommendation video method, it is characterised in that step 3
In, the channel information for obtaining at least includes the playlist Id related to the channel, channel designation, the poster URL of channel, channel
The date and time being created.
3. it is according to claim 1 obtain YouTube video associated recommendation video method, it is characterised in that step 6
In, video name of the video information for obtaining at least including associated recommendation video, poster URL, video video Id, channel
Id, channel title and video duration.
4. it is according to claim 3 obtain YouTube video associated recommendation video method, it is characterised in that step 7
In, mobile terminal is entered after row format conversion using the video information to obtaining, and is shown to user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611107991.9A CN106534990A (en) | 2016-12-06 | 2016-12-06 | A method for obtaining related recommended videos of YouTube videos |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611107991.9A CN106534990A (en) | 2016-12-06 | 2016-12-06 | A method for obtaining related recommended videos of YouTube videos |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106534990A true CN106534990A (en) | 2017-03-22 |
Family
ID=58341525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611107991.9A Pending CN106534990A (en) | 2016-12-06 | 2016-12-06 | A method for obtaining related recommended videos of YouTube videos |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106534990A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107295413A (en) * | 2017-08-10 | 2017-10-24 | 四川长虹电器股份有限公司 | A kind of method of mobile terminal application integration YouTube recommendation of the channels functions |
CN107360451A (en) * | 2017-08-10 | 2017-11-17 | 四川长虹电器股份有限公司 | The method of mobile terminal application integration YouTube channel subscription correlation functions |
CN109168045A (en) * | 2018-10-16 | 2019-01-08 | 深圳市云歌人工智能技术有限公司 | Channel content creation method, device, server and system based on recommendation of the channels |
CN109600625A (en) * | 2018-12-20 | 2019-04-09 | 深圳创维-Rgb电子有限公司 | A kind of program searching method, device, equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244811A (en) * | 2011-07-20 | 2011-11-16 | 江苏省广播电视信息网络股份有限公司南京分公司 | System and method for recommending television channels |
US20140053182A1 (en) * | 2012-08-20 | 2014-02-20 | Veiko Jääger | Method and system for evaluating and sharing media |
CN105611363A (en) * | 2016-02-26 | 2016-05-25 | 四川长虹电器股份有限公司 | Multi-screen coordination control method based on YouTube |
CN105740014A (en) * | 2016-01-27 | 2016-07-06 | 四川长虹电器股份有限公司 | Method for integrating YouTube functions in mobile terminal application |
-
2016
- 2016-12-06 CN CN201611107991.9A patent/CN106534990A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244811A (en) * | 2011-07-20 | 2011-11-16 | 江苏省广播电视信息网络股份有限公司南京分公司 | System and method for recommending television channels |
US20140053182A1 (en) * | 2012-08-20 | 2014-02-20 | Veiko Jääger | Method and system for evaluating and sharing media |
CN105740014A (en) * | 2016-01-27 | 2016-07-06 | 四川长虹电器股份有限公司 | Method for integrating YouTube functions in mobile terminal application |
CN105611363A (en) * | 2016-02-26 | 2016-05-25 | 四川长虹电器股份有限公司 | Multi-screen coordination control method based on YouTube |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107295413A (en) * | 2017-08-10 | 2017-10-24 | 四川长虹电器股份有限公司 | A kind of method of mobile terminal application integration YouTube recommendation of the channels functions |
CN107360451A (en) * | 2017-08-10 | 2017-11-17 | 四川长虹电器股份有限公司 | The method of mobile terminal application integration YouTube channel subscription correlation functions |
CN109168045A (en) * | 2018-10-16 | 2019-01-08 | 深圳市云歌人工智能技术有限公司 | Channel content creation method, device, server and system based on recommendation of the channels |
CN109600625A (en) * | 2018-12-20 | 2019-04-09 | 深圳创维-Rgb电子有限公司 | A kind of program searching method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106254560B (en) | Information transmission method and device | |
US20170188102A1 (en) | Method and electronic device for video content recommendation | |
US8176068B2 (en) | Method and system for suggesting search queries on electronic devices | |
CN105163142B (en) | A kind of user preference determines method, video recommendation method and system | |
US20120317085A1 (en) | Systems and methods for transmitting content metadata from multiple data records | |
CN106331779A (en) | Method and system for pushing anchor based on user preferences during video playing process | |
CN106534990A (en) | A method for obtaining related recommended videos of YouTube videos | |
US20140289751A1 (en) | Method, Computer Readable Storage Medium, and Introducing and Playing Device for Introducing and Playing Media | |
CN1305309C (en) | Televison receiver and method of operating server | |
KR20130139166A (en) | Overlay image providing system, server and method | |
CN105141995B (en) | A kind of method and system for realizing the remote control of TV cloud based on converged communication technology | |
US20100023980A1 (en) | Information Processing Apparatus, Terminal Apparatus, and Program | |
WO2013184875A2 (en) | Systems and methods for compiling media information based on privacy and reliability metrics | |
WO2020135161A1 (en) | Video playback jump method and system, and computer readable storage medium | |
KR101404596B1 (en) | System and method for providing video service based on image data | |
CN105721944A (en) | News information recommendation method for smart television | |
KR20190037270A (en) | System and method for clarifying terms based on static and temporal knowledge graphs | |
CN105740014A (en) | Method for integrating YouTube functions in mobile terminal application | |
CN111355651B (en) | Content sharing method, display method, device, processing equipment and storage medium | |
US9232251B2 (en) | Personalized content recommendation | |
CN106686442A (en) | Method and device for searching for television program | |
CN104144350B (en) | Display methods, device and the system of IPTV customized information | |
CN106060641A (en) | Display apparatus for searching and control method thereof | |
US20140089958A1 (en) | Systems and methods for recommending media assets based on visual attributes | |
TW201233169A (en) | Apparatus and method for searching subtitle of television program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |