WO2015062385A1 - 浏览器中加载影音文件信息的方法和装置 - Google Patents

浏览器中加载影音文件信息的方法和装置 Download PDF

Info

Publication number
WO2015062385A1
WO2015062385A1 PCT/CN2014/087657 CN2014087657W WO2015062385A1 WO 2015062385 A1 WO2015062385 A1 WO 2015062385A1 CN 2014087657 W CN2014087657 W CN 2014087657W WO 2015062385 A1 WO2015062385 A1 WO 2015062385A1
Authority
WO
WIPO (PCT)
Prior art keywords
video file
video
address
webpage
option
Prior art date
Application number
PCT/CN2014/087657
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 WO2015062385A1 publication Critical patent/WO2015062385A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/738Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a method and apparatus for loading video file information in a browser.
  • users can search for audio and video files on the Internet. Users can search for audio and video files through Baidu, Google or other search engines. Users can enter keywords in search engines and then click search options to search for audio and video files. The server will return a large number of files. The search results are presented to the user.
  • the search results returned by the server are generally the link addresses of some audio-visual websites. After the user clicks on the link address of the audio-visual website, the user enters the audio-visual website corresponding to the link address of the audio-visual website. If the user wants to obtain a certain video file, the keyword of the video file to be searched is required to be re-entered in the search interface provided by the video website, so that the video file to be searched can be obtained from the video website.
  • This approach may have the following problems:
  • the video website since the audio-visual website is obtained according to a keyword searched by the search engine, the video website includes the keyword input by the user.
  • the information of the keyword input by the user in the video website may be an audio-visual file. It may also be a text file, so the user may not be able to get the video file to be found from the video website.
  • the prior art has problems: the search process is cumbersome, complicated, and time consuming; the search results are not intuitive and the accuracy is low.
  • the present invention has been made in order to provide a method for loading video file information in a browser that overcomes the above problems or at least partially solves the above problems, and a corresponding device for loading video file information in a browser.
  • a video file information is loaded in a browser.
  • the method includes: sending a search request to a background server, where the search request includes a video file key of the video file to be searched; receiving a video file search result returned by the background server, wherein the video file
  • the search result includes: a webpage search result information corresponding to the video file keyword and a link address of the playable video file included in the webpage corresponding to the webpage search result information; loading and displaying the videofile keyword on the browser side Corresponding webpage search result information and a link address of the playable video and audio file included in the webpage corresponding to the webpage search result information.
  • an apparatus for loading video file information in a browser includes: a sending module configured to send a search request to a background server, wherein the search request includes a video file to be searched for a video file keyword; a first receiving module, configured to receive a video file search result returned by the background server, where the video file search result includes: webpage search result information corresponding to the video file keyword and the The webpage search result information corresponds to a link address of the playable video file included in the webpage; the first loading display module is configured to load and display the webpage search result information corresponding to the video file keyword on the browser side; the second loading display And a module configured to load and display a link address of the playable video file included in the webpage corresponding to the webpage search result information on the browser side.
  • a computer program comprising computer readable code, when the computer readable code is run on an electronic device, causing the electronic device to perform loading of a video file according to the browser The method of information.
  • a computer readable medium wherein the computer program described above is stored.
  • the webpage search result information corresponding to the video file keyword and the link of the playable video file included in the webpage search result information corresponding webpage are loaded and displayed on the browser side. address.
  • the user can find the link address of the playable video file, and the user can directly view the video file by clicking the option corresponding to the link address, and the operation is simple, from issuing the search request to obtaining Search results take a short time. Searching for the link address of the playable audio and video file is directly displayed on the browser side, and the performance is intuitive.
  • the link address of the playable audio and video file corresponds to the video file that the user finds, and the obtained search result has high accuracy.
  • FIG. 1 is a flowchart of a method for loading video file information in a browser in a first embodiment of the present invention
  • FIG. 2 is a flowchart of a method for loading video file information in a browser in a second embodiment of the present invention
  • FIG. 3 is a schematic diagram of loading and displaying search results on the browser side in the embodiment shown in FIG. 2;
  • FIG. 4 is a schematic diagram of still loading and displaying search results on the browser side in the embodiment shown in FIG. 2;
  • FIG. 5 is a flowchart of a method for loading video file information in a browser in a third embodiment of the present invention.
  • FIG. 6 is a flow chart of playing a video file in the embodiment shown in FIG. 5;
  • FIG. 7 is a flowchart of a method for loading video file information in a browser according to a fourth embodiment of the present invention.
  • FIG. 8 is a flowchart of a method for obtaining an address of a video file in a fifth embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for obtaining an address of a video file in a sixth embodiment of the present invention.
  • FIG. 10 is a structural block diagram of an apparatus for loading video and audio file information in a browser in a seventh embodiment of the present invention.
  • FIG. 11 is a structural block diagram of an apparatus for acquiring an address of a video and audio file in an eighth embodiment of the present invention.
  • Figure 12 is a block diagram showing the structure of a link address selection in the embodiment shown in Figure 11;
  • Figure 13 schematically shows a block diagram of an electronic device for performing the method according to the invention
  • Fig. 14 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • the method for loading audio and video file information in a browser includes:
  • Step 102 Send a search request to a background server, where the search request includes a video file key of the video file to be searched.
  • Step 104 Receive a video file search result returned by the background server.
  • the video file search result may include: a webpage search result information corresponding to the video file keyword and a link address of the playable video file included in the webpage search result information corresponding webpage.
  • the link address of the playable video file is an address at which the video file can be directly played.
  • Step 106 Load and display the webpage search result information corresponding to the video file keyword and the link address of the playable video file included in the webpage search result information corresponding webpage on the browser side.
  • a search result page may be loaded on the browser side, and the webpage search result information corresponding to the video file keyword and the webpage search result information corresponding webpage may be loaded and displayed on the search result page.
  • the method for loading video file information in the browser of the embodiment of the present invention loads and displays the webpage search result corresponding to the video file keyword directly on the browser side according to the result returned by the background server.
  • the information and the webpage search result information correspond to the link address of the playable video file included in the webpage, and the performance is intuitive.
  • the link address of the video and audio file can be directly displayed on the browser side, and the other link addresses that are not the audio and video files are not displayed to the user, so the obtained search result has high accuracy.
  • the user after the user inputs the keyword once, the user can find the link address of the playable video file, and the operation is simple, and the time from issuing the search request to obtaining the search result is short.
  • FIG. 2 there is shown a flow chart of a method of loading video file information in a browser in a second embodiment of the present invention.
  • the method for loading audio and video file information in the browser includes:
  • Step 202 The browser sends a search request to the background server, where the search request includes a video file key of the video file to be searched.
  • Step 204 The browser receives the video file search result returned by the background server.
  • the video file search result includes: a webpage search result information corresponding to the video file keyword and a link address of the playable video file included in the webpage search result information corresponding webpage.
  • Step 206 Load and display webpage search result information corresponding to the video file keyword on the browser side.
  • the webpage search result information may include: a first level to an N-1th video file address, N is a positive integer greater than or equal to 3, and the first level to the N-1 level
  • the video file address is the parent address of the link address of the playable video file.
  • the step 206 can include the following sub-steps:
  • Sub-step 2062 the browser loads and displays the webpage corresponding to the first-level video file address on the browser side according to the first-level video file address.
  • Sub-step 2064 the browser selects any one or more video file addresses corresponding to the first-level video file address from the second-level to N-1th video file addresses.
  • Sub-step 2066 The browser generates a link corresponding to the selected one or more video file addresses in the webpage corresponding to the first-level video file address.
  • Step 208 Load and display a link address of the playable video file included in the webpage corresponding to the webpage search result information on the browser side.
  • the step 208 may include the following sub-steps:
  • Sub-step 2082 the browser loads the video playback option corresponding to the video file information according to the video file information indicated by the link play address of the playable video file.
  • the video file information may include: episode information of the audio and video file, definition information of the audio and video file, format information of the audio and video file, integrity information of the audio and video file, version information of the audio and video file, and a plug-in required for playing the audio and video file. At least one of the information.
  • the video play option corresponding to the video file information may be loaded on the webpage corresponding to the first-level video file address, and the video play option may include: episode option, definition option, integrity At least one of the options and playback format options.
  • Sub-step 2084 the browser displays the video playback option in the webpage search result information corresponding webpage.
  • FIG. 3 it is a schematic diagram of loading and displaying search results on the browser side in the embodiment shown in FIG. 2.
  • the implementation flow of the step 206 and the step 208 will be described in detail below with reference to FIG. 3.
  • the browser receives the search result returned by the background server according to the keyword "crazy primitive", and loads and generates a search result page as shown in FIG. 3 according to the level 1 video file address. Any one or more of the video file addresses of the second to N-1th video file addresses are displayed in a link form on the search result page, such as the link address 1, the link address 2, and the link address in the figure. 3, link address 4 and link address 5 and so on. At the same time, the video and audio playback options are displayed corresponding to the link address 1, the link address 2, the link address 3, the link address 4, and the link address 5.
  • the link address 1 has a play option 1, a play option 2, and a play option 3;
  • the link address 2 has a play option 4, a play option 5, a play option 6 and a play option 7.
  • the video file can be directly played;
  • the web page corresponding to the link address can be opened to view detailed information of the video file, for example, the actor information and movie review of the video file.
  • the link address and the play option may be displayed on the search result page by using a title form, and the title content may include video file information or other attribute information of the video file.
  • FIG. 4 it is another schematic diagram of loading and displaying search results on the browser side in the embodiment shown in FIG. 2.
  • the search result page is loaded according to the above-mentioned level 1 video file address returned by the background server. Display as title Link address, display audio and video playback options in BD complete, QMV, preemptive, full version, DVD, HD HD, DVDSCR, TS or Blu-ray options.
  • the method for loading video and audio file information in a browser can directly play a video and audio file after clicking the video and audio playback option, thereby reducing the search and click operation; at the same time, the browser automatically Screening and obtaining audio and video files that can be directly played and displayed to the user, avoiding manual screening operations, improving the accuracy of search results and saving time.
  • the method for loading audio and video file information in the browser according to the embodiment of the present invention provides various types of audio and video playback options for users to select, and the search results are rich and diverse. The user can intuitively select the video file that meets the requirements according to the information displayed by the video playback option.
  • the method for loading video file information in the browser may include:
  • Step 502 Send a search request to a background server, where the search request includes a video file key of the video file to be searched.
  • Step 504 Receive a video file search result returned by the background server.
  • the video file search result includes: a webpage search result information corresponding to the video file keyword and a link address of the playable video file included in the webpage search result information corresponding webpage.
  • Step 506 Load and display the webpage search result information corresponding to the video file keyword and the link address of the playable video file included in the webpage search result information corresponding webpage on the browser side.
  • Step 508 When the link address of the playable video file loaded and displayed on the browser side is triggered, load a built-in webpage, enter a video mode of the browser, and play a video file that matches the search request.
  • the step 508 may include the following sub-steps:
  • Sub-step 5082 generating a core web address according to the link address of the playable video file.
  • the core website includes: a video mode startup address and a link address and a virtual address of the playable video file.
  • Sub-step 5084 loading a built-in webpage, and entering an address into the browser's audio and video mode according to the video mode.
  • Sub-step 5086 the virtual address is displayed in the address bar of the browser.
  • Sub-step 5088 playing the video file matching the search request directly in the video mode according to the link address of the playable video file.
  • the core website may further include: plug-in information for playing the video file.
  • the sub-step 5088 may include:
  • Sub-step 602 according to the plug-in information for playing the video file, calling a play plug-in for playing the video file.
  • Sub-step 604 using the invoked play-in plug-in, directly plays the video file that matches the search request in the video mode.
  • the method for loading audio and video file information in the browser of the embodiment of the present invention provides a video and audio mode for playing a searched video and audio file, and in the audio and video mode, a play plugin that satisfies the playing of the audio and video file can be called.
  • the playing of the video file avoids the problem that the playing plug-in in the webpage does not support playing the video file when the video file is played in the webpage mode.
  • a video file file is loaded in a browser according to a fourth embodiment of the present invention.
  • the method for loading video file information in the browser may include:
  • Step 702 Send a search request to a background server, where the search request includes a video file key of the video file to be searched.
  • Step 704 Receive a video file search result returned by the background server.
  • the video file search result includes: a webpage search result information corresponding to the video file keyword and a link address of the playable video file included in the webpage search result information corresponding webpage.
  • Step 706 Load and display the webpage search result information corresponding to the video file keyword and the link address of the playable video file included in the webpage search result information corresponding webpage on the browser side.
  • Step 708 When the link address of the playable video file loaded and displayed on the browser side is triggered, load a built-in webpage, enter a video mode of the browser, and play a video file that matches the search request.
  • At least one of the following options may be loaded in the browser webpage in the audio and video mode: sending to an option, scanning a QR code option, viewing an original webpage option, a search option, and a cloud cache option. And download options.
  • step 710 is executed to send the link address of the playable video file to the mobile terminal.
  • step 712 is executed to generate a two-dimensional code according to the link address of the playable video file.
  • step 714 is executed to load and display the parent address of the link address of the playable video file on the browser side.
  • step 716 is performed in which a search request is sent to the background server.
  • the user can directly input a keyword in a browser webpage in the audio and video mode, and then trigger a search option, and the browser directly sends the keyword input by the user to the background server in the audio and video mode to perform a video file search.
  • step 718 is executed to download the video file offline cache that matches the search request to the cloud disk.
  • step 720 is executed to download the video file that matches the search request; and, a download built-in page is loaded, and the search being downloaded and the search are displayed in the download built-in page.
  • Requesting a matching video file; and/or, at The downloaded built-in page displays the downloaded video file that matches the search request.
  • the download built-in page can include three areas: all tasks, downloading tasks, and downloading completed tasks.
  • the video file that is being downloaded and matched with the search request may be displayed in the downloading task area, and the video file that has been downloaded and matched with the search request may be displayed in the download completion task area, and may be in all task areas.
  • a video file that matches the search request being downloaded, a video file that has been downloaded that matches the search request, and a video file that is to be downloaded that matches the search request are displayed.
  • the browser webpage in the audio and video mode may also be loaded with a playlist, a hotcast recommendation, and a play recording option.
  • the method for loading the video file information in the browser may further include the following steps:
  • Step 722 Load a link address of the playable video file in the playlist, and display a video file corresponding to the link address of the playable video file.
  • Step 724 Load a link address of the video file of the network hot broadcast in the hot broadcast recommendation, and display a video file corresponding to the link address of the video file that is broadcasted by the network.
  • Step 726 Save the play record of the video file that matches the search request.
  • step 728 is executed to load a play record built-in page, and the play record is displayed in the play record built-in page.
  • step 722, step 724, and step 726 corresponding to the add-on are performed.
  • the order of the above steps 722, 724, and 726 is merely an exemplary description. In actual use, the above steps 722, 724, and 726 may be performed in any order, or in parallel.
  • the method for loading audio and video file information in the browser of the embodiment of the present invention implements the provision of video resources supported by a plurality of play plugins in the browser, and is an address link of the video file that can be directly played. It can be switched to the theater mode for playback, saving search time and improving the accuracy of search results.
  • a plurality of options are loaded in the browser webpage in the audio and video mode for the user to select, which improves user interactivity.
  • the method for obtaining an address of a video file may include:
  • Step 802 receiving a search request.
  • the search request includes: a video file key of the video file to be searched and a set condition for directly playing the video file.
  • Step 804 Obtain webpage search result information corresponding to the video file keyword.
  • Step 806 Acquire a video file address corresponding to the video file indicated by the video file keyword that satisfies the condition of the set direct play video file.
  • the video file address may include: a link address of the playable video file included in the webpage corresponding to the webpage search result information.
  • the address of the video file that matches the keyword is stored in the server.
  • Step 808 Return the obtained webpage search result information corresponding to the video file keyword and the link address of the playable video file included in the webpage search result information corresponding webpage to the browser.
  • the method for obtaining the address of the video file directly obtains the link address of the playable video file that can directly play the video file directly in the background server, and the search efficiency is high and the time is short.
  • the search results are highly accurate.
  • the method for obtaining an address of a video file may include:
  • the server receives the search request.
  • the search request includes: a video file key of the video file to be searched and a set condition for directly playing the video file.
  • Step 904 The server acquires webpage search result information corresponding to the video file keyword.
  • Step 906 The server acquires a video file address corresponding to the video file indicated by the video file keyword that satisfies the condition of the set direct play video file.
  • the video file address may include: a link address of the playable video file included in the webpage corresponding to the webpage search result information.
  • the video file address may further include: a first level to an N-1th video file address, and N is a positive integer greater than or equal to 3.
  • the step 906 can include the following sub-steps:
  • Sub-step 9062 the server acquires a first-level video file address that matches the video file indicated by the video file keyword.
  • Sub-step 9064 the server acquires the second to N-1th video and audio file addresses corresponding to the first-level video file address; and acquires the next-level sub-address of the N-1th audio-video file, The next sub-address of the N-1th video file is the N-th video file address.
  • the first level audio and video file address corresponding to the video file key is stored in the server, and according to the crawler program, the server may obtain the second to the first level audio and video file address.
  • the Nth video file address is stored in the server, and according to the crawler program, the server may obtain the second to the first level audio and video file address.
  • Sub-step 9066 the server selects, from the Nth-level video file address, a video file address that satisfies the condition of the set direct play video file, as a link of the playable video file included in the webpage search result information corresponding webpage. address.
  • the condition for directly playing the video file includes the information of the plug-in that directly plays the video file.
  • the step 9066 may include the following sub-steps:
  • Sub-step 90662 the server traverses the file object model DOM tree node of the web page corresponding to the Nth-level video file address, and acquires node information of the DOM tree node.
  • Sub-step 90664 the server filters the node information of the information of the plug-in that satisfies the set direct play video file from the node information of the DOM tree node.
  • Sub-step 90666 the server determines the video file address corresponding to the filtered node information as the link address of the playable video file.
  • the traversal operation is performed by traversing a video element that can be directly played in a browser side QVOD plug-in, a Baidu audio and video plug-in, a Flash plug-in, and/or other playing plug-ins, and obtains corresponding audio-visual elements.
  • the file address, and the obtained video file address is the link address of the playable video file.
  • the node information that satisfies the information of the set plug-in that directly plays the video file may be an ⁇ object> element under the browser, or may be a ⁇ video> element used in chrome.
  • Step 908 The server returns the obtained webpage search result information corresponding to the video file keyword and the link address of the playable video file included in the webpage search result information corresponding webpage to the browser.
  • the method for obtaining the address of the video file can directly identify and obtain the video file that can be directly played in the background server.
  • the address reduces the user's manual search operation and saves time.
  • the search result satisfies the set condition of directly playing the video file, and the obtained search result has high accuracy.
  • FIG. 10 a block diagram of a device for loading video file information in a browser in a seventh embodiment of the present invention is shown.
  • the device for loading video file information in the browser may include:
  • the sending module 1002 is configured to send a search request to the background server, where the search request includes a video file key of the video file to be searched.
  • the first receiving module 1004 is configured to receive the video file search result returned by the background server, where the video file search result includes: webpage search result information corresponding to the video file keyword and the webpage search result information Corresponding to the link address of the playable video file included in the web page.
  • the first loading display module 1006 is configured to load and display webpage search result information corresponding to the video file keyword on the browser side.
  • the webpage search result information may include: a first level to an N-1th video file address, N is a positive integer greater than or equal to 3, and the first level to the N-1th The video file address is the parent address of the link address of the playable video file.
  • the first loading display module 1006 may include:
  • the webpage loading module 10062 is configured to load and display a webpage corresponding to the first-level video file address on the browser side according to the first-level video file address.
  • the video file address selection module 10064 is configured to select any one or more video file addresses corresponding to the first level video file address from the second level to the N-1th video file address.
  • the link loading module 10066 is configured to generate, in the search result page, a link corresponding to the selected one or more video file addresses.
  • a second loading display module 1008 configured to load and display the webpage on a browser side
  • the search result information corresponds to the link address of the playable video file included in the webpage.
  • the second loading display module 108 may include:
  • the video play option generating module 10082 is configured to load the video play option corresponding to the video file information according to the video file information indicated by the link play address of the playable video file.
  • the video file information includes: episode information of the audio and video file, definition information of the audio and video file, format information of the audio and video file, integrity information of the audio and video file, version information of the audio and video file, and plug-in information required for playing the audio and video file. At least one of the information;
  • the video play option display module 10084 is configured to display the video play option in the webpage search result information corresponding webpage.
  • the device for loading the video file information in the browser may further include:
  • the video playback module 1010 is configured to: when the link address of the playable video file loaded and displayed on the browser side is triggered, load a built-in webpage, enter a video mode of the browser, and play the video and audio matching the search request. file.
  • the video playback module 1010. Can include:
  • the core URL generating module 10102 is configured to generate a core web address according to the link address of the playable video file.
  • the core web address may include: a video mode startup address, a link address of the playable video file, and a virtual address. And playing the plugin information of the video file.
  • the video mode startup module 10104 is configured to load a built-in webpage and enter an address into the browser's audio and video mode according to the audio and video mode.
  • the direct play module 10106 is configured to directly play the video file matching the search request in the video mode according to the link address of the playable video file.
  • the address display module 10108 is configured to display the virtual address in the address bar of the browser after the video mode startup module carries a built-in webpage and enters the video mode of the browser according to the video mode activation address.
  • the plug-in calling module 101010 is configured to: after the direct play module directly plays the video file matched with the search request in the video mode according to the link address of the playable video file, play the video and audio according to the play The plug-in information of the file, the play plug-in that plays the video file is called.
  • the plugin launch module 101012 is configured to use the invoked play plugin to play the video file that matches the search request directly in the video mode.
  • At least one of a send to option, a scan QR code option, a view original web page option, a search option, a cloud cache option, and a download option may be loaded in the browser webpage in the audio and video mode.
  • a send to option a scan QR code option
  • a view original web page option a search option
  • a cloud cache option a download option
  • the device for loading the video file information in the browser may further include:
  • Sending to the module 1012 configured to send the link address of the playable video file to the mobile terminal when the sending to option is triggered;
  • the two-dimensional code generating module 1014 is configured to generate a two-dimensional code according to the link address of the playable video file when the scanning two-dimensional code option is triggered;
  • the parent address display module 1016 is configured to load and display a parent address of the link address of the playable video file on the browser side when the view original web page option is triggered;
  • the background search module 1018 is configured to send a search request to the background server in the video mode when the search option is triggered.
  • the cloud cache module 1020 is configured to download the video file offline cache that matches the search request to the cloud disk when the cloud cache option is triggered.
  • the downloading module 1022 is configured to: when the download option is triggered, download the video file that matches the search request; and load a download built-in page, and display the downloading and downloading in the download built-in page And searching for the video file that matches the search request; and/or displaying the downloaded video file that matches the search request in the download built-in page.
  • the browser webpage in the audio and video mode may also be loaded with a playlist, a hotcast recommendation, and a play recording option.
  • the device for loading video file information in the browser may further include:
  • the playlist module 1024 is configured to load a link address of the playable video file in the playlist, and display a video file corresponding to the link address of the playable video file.
  • the hotspot recommendation module 1026 is configured to load a link address of the video file of the network hot broadcast in the hot broadcast recommendation, and display a video file corresponding to the link address of the video file that is broadcasted by the network.
  • the play record saving module 1028 is configured to save the match with the search request after the video play module plays the video file matched with the search request. Playback record of audio and video files.
  • the play record display module 1030 is configured to load a play record built-in page when the play record option is triggered, and display the play record in the play record built-in page.
  • the apparatus for loading video file information in the browser of the embodiment of the present invention directly loads and displays the webpage search result information corresponding to the video file keyword and the webpage search result in association with the browser side.
  • the information corresponds to the link address of the playable video file included in the webpage, and the search time is short.
  • the user can directly play the audio and video file by clicking the link address of the playable audio and video file, and the search result has high accuracy and the display form is intuitive.
  • FIG. 11 a block diagram of a device for acquiring a video file address in the eighth embodiment of the present invention is shown.
  • the device for obtaining an address of a video file includes:
  • the second receiving module 1102 is configured to receive a search request, where the search request includes: a video file key of the video file to be searched and a set condition for directly playing the video file.
  • the first obtaining module 1104 is configured to acquire webpage search result information corresponding to the video file keyword.
  • the second obtaining module 1106 is configured to acquire a video file address corresponding to the video file indicated by the video file keyword that satisfies the condition of the set direct play video file.
  • the address of the video file includes: a link address of the playable video file included in the webpage corresponding to the webpage search result information.
  • the video file address may further include: a first level to an N-1th video file address, and N is a positive integer greater than or equal to 3.
  • the second obtaining module 1106 may include: a third obtaining module 11062, configured to acquire a level 1 video file address that matches the video file indicated by the video file keyword.
  • the fourth obtaining module 11064 is configured to acquire the second to N-1th video and audio file addresses corresponding to the first-level audio and video file addresses, and acquire the next-level sub-address of the N-1th audio-video file.
  • the next-level sub-address of the N-1th video file is an N-th video file address.
  • the link address selection module 11066 is configured to select, from the Nth-level video file address, a video file address that satisfies the condition of the set direct play video file.
  • the webpage search result information corresponds to a link address of a playable video file included in the webpage.
  • the condition for directly playing the video file includes the information of the plug-in that directly plays the video file.
  • FIG. 12 it is a structural block diagram of a link address selection in the embodiment shown in FIG.
  • the link address selection module 11066 may include: a node information obtaining module 1202 configured to traverse a file object model DOM tree node of a webpage corresponding to the Nth-level video file address, and acquire a node of the DOM tree node.
  • the information filtering module 1204 is configured to filter, from the node information of the DOM tree node, node information that is information of the plug-in that satisfies the set direct play video file; the link address determining module 1206 is configured to: The video file address corresponding to the filtered node information is determined as the link address of the playable video file.
  • the result returning module 1108 is configured to return the obtained webpage search result information corresponding to the video file keyword and the link address of the playable video file included in the webpage search result information corresponding webpage to the browser.
  • the device for obtaining the address of the video file stores the address of the video file obtained according to the crawler program in the background server, and can directly obtain the address of the video file according to the search request.
  • the address of the video file that can be played directly.
  • Obtaining audio and video file addresses is fast and efficient, and it also ensures the accuracy of the search results obtained.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the components of a device for loading video file information in a browser in accordance with an embodiment of the present invention.
  • DSP digital signal processor
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • FIG. 13 illustrates an electronic device, such as an application client, that can implement a video file information loading scheme in a browser in accordance with the present invention.
  • the application client traditionally includes a processor 1310 and a computer program product or computer readable medium in the form of a memory 1320.
  • the memory 1320 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 1320 has a storage space 1330 for program code 1331 for performing any of the method steps described above.
  • the storage space 1330 for program code may include respective program codes 1331 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 1320 in the application client of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 1331', code that can be read by, for example, a processor such as 1310, which when executed by the server causes the server to perform various steps in the methods described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computational Linguistics (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明公开了一种浏览器中加载影音文件信息的方法和装置,其中,所述方法包括:发送搜索请求至后台服务器,其中,所述搜索请求中包括待搜索的影音文件的影音文件关键字;接收由所述后台服务器返回的影音文件搜索结果,其中,所述影音文件搜索结果包括:所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址;在浏览器侧加载和显示所述影音文件关键字对应的网页搜索结果信息以及所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。通过本发明解决了搜索过程操作繁琐、复杂,耗时久;搜索结果不直观、准确度低的问题。

Description

浏览器中加载影音文件信息的方法和装置 技术领域
本发明涉及互联网技术领域,具体涉及一种浏览器中加载影音文件信息的方法和装置。
背景技术
随着互联网技术的发展,互联网上的资源也越来越多,越来越繁杂。以用户在网上搜索影音文件为例,用户可以通过百度、谷歌或其它搜索引擎进行影音文件的搜索,用户在搜索引擎中输入关键字,然后点击搜索选项进行影音文件的搜索,服务器会返回大量的搜索结果展现给用户。
然而,服务器返回的搜索结果一般都是一些影音网站的链接地址,用户点击影音网站的链接地址之后,进入的是影音网站的链接地址对应的影音网站。如果用户想要得到某一影音文件,则需要在影音网站提供的搜索界面中再次输入待查找的影音文件的关键字,以便能够从该影音网站中获取待查找的影音文件。这种方式可能存在如下问题:
首先,由于影音网站是根据搜索引擎搜索用户输入的关键字得到的,影音网站中虽然包含用户输入的关键字,然而,在该影音网站中包含用户输入的关键字的信息可能是一个影音文件,也可能是一个文本文件,因此,用户从该影音网站中可能不能得到待查找的影音文件。
其次,即使在影音网站中,存在待查找的影音文件,用户仍需要多次点击操作之后,才能得到待查找影音文件。
综上所述,针对影音文件的搜索,现有技术存在的问题有:搜索过程操作繁琐、复杂,耗时久;搜索结果不直观、准确度低。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种浏览器中加载影音文件信息的方法和相应的一种浏览器中加载影音文件信息的装置。
依据本发明的一个方面,提供了一种浏览器中加载影音文件信息 的方法,包括:发送搜索请求至后台服务器,其中,所述搜索请求中包括待搜索的影音文件的影音文件关键字;接收由所述后台服务器返回的影音文件搜索结果,其中,所述影音文件搜索结果包括:所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址;在浏览器侧加载和显示所述影音文件关键字对应的网页搜索结果信息以及所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
根据本发明的另一方面,提供了一种浏览器中加载影音文件信息的装置,包括:发送模块,配置为发送搜索请求至后台服务器,其中,所述搜索请求中包括待搜索的影音文件的影音文件关键字;第一接收模块,配置为接收由所述后台服务器返回的影音文件搜索结果,其中,所述影音文件搜索结果包括:所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址;第一加载显示模块,配置为在浏览器侧加载和显示所述影音文件关键字对应的网页搜索结果信息;第二加载显示模块,配置为在浏览器侧加载和显示所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
根据本发明的又一个方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在电子设备上运行时,导致所述电子设备执行根据上述浏览器中加载影音文件信息的方法。
根据本发明的再一个方面,提供了一种计算机可读介质,其中存储了上述的计算机程序。
本发明的有益效果为:
根据本发明的一种浏览器中加载影音文件信息的方案,在浏览器侧加载和显示影音文件关键字对应的网页搜索结果信息以及网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。用户输入一次关键字之后,就可以查找得到可播放影音文件的链接地址,用户对该链接地址对应的选项进行操作如点击时,即可直接观看该影音文件,操作简单、从发出搜索请求到得到搜索结果耗时短。搜索可播放影音文件的链接地址直接在浏览器侧显示,表现直观,可播放影音文件的链接地址即对应为用户所查找的影音文件,得到的搜索结果准确度高。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1是本发明第一实施例中一种浏览器中加载影音文件信息的方法的流程图;
图2是本发明第二实施例中一种浏览器中加载影音文件信息的方法的流程图;
图3是图2所示实施例中一种在浏览器侧加载并显示搜索结果的示意图;
图4是图2所示实施例中又一种在浏览器侧加载并显示搜索结果的示意图;
图5本发明第三实施例中一种浏览器中加载影音文件信息的方法的流程图;
图6是图5所示实施例中播放影音文件的流程图;
图7是本发明第四实施例一种浏览器中加载影音文件信息的方法的流程图;
图8是本发明第五实施例中一种获取影音文件地址的方法的流程图;
图9是本发明第六实施例中一种获取影音文件地址的方法的流程图;
图10是本发明第七实施例中一种浏览器中加载影音文件信息的装置的结构框图;
图11是本发明第八实施例中一种获取影音文件地址的装置的结构框图;
图12是图11所示实施例中一种链接地址选取的结构框图;
图13示意性地示出了用于执行根据本发明的方法的电子设备的框图;以及
图14示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。
具体实施例
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
参照图1,示出了本发明第一实施例中一种浏览器中加载影音文件信息的方法的流程图。在本发明实施例中,所述一种浏览器中加载影音文件信息的方法,包括:
步骤102,发送搜索请求至后台服务器,其中,所述搜索请求中包括待搜索的影音文件的影音文件关键字。
步骤104,接收由所述后台服务器返回的影音文件搜索结果。
在本发明实施例中,所述影音文件搜索结果可以包括:所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。其中,所述可播放影音文件的链接地址为可以直接播放影音文件的地址。
步骤106,在浏览器侧加载和显示所述影音文件关键字对应的网页搜索结果信息以及所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
在本发明实施例中,可以在浏览器侧加载一个搜索结果页面,在所述搜索结果页面上加载并显示所述影音文件关键字对应的网页搜索结果信息及所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
综上所述,本发明实施例的上述浏览器中加载影音文件信息的方法,根据后台服务器返回的结果,直接在浏览器侧相关联地加载和显示所述影音文件关键字对应的网页搜索结果信息以及所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址,表现直观。 而且在浏览器侧直接显示的是可播放影音文件的链接地址,对应的不是影音文件的其它链接地址是不显示给用户的,因此得到的搜索结果准确度高。同时,用户输入一次关键字之后,就可以查找得到可播放影音文件的链接地址,操作简单、从发出搜索请求到得到搜索结果耗时短。
参照图2,示出了本发明第二实施例中一种浏览器中加载影音文件信息的方法的流程图。本发明实施例中,所述一种浏览器中加载影音文件信息的方法包括:
步骤202,浏览器发送搜索请求至后台服务器,其中,所述搜索请求中包括待搜索的影音文件的影音文件关键字。
步骤204,浏览器接收由所述后台服务器返回的影音文件搜索结果。
其中,所述影音文件搜索结果包括:所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
步骤206,在浏览器侧加载和显示所述影音文件关键字对应的网页搜索结果信息。
本发明实施例中,所述网页搜索结果信息中可以包括:第1级至第N-1级影音文件地址,N为大于或等于3的正整数,所述第1级至第N-1级影音文件地址为所述可播放影音文件的链接地址的父级地址。
所述步骤206可以包括以下子步骤:
子步骤2062,浏览器根据第1级影音文件地址,在浏览器侧加载并显示所述第1级影音文件地址对应的网页。
子步骤2064,浏览器从第2级至第N-1级影音文件地址中选取任意一个或多个与所述第1级影音文件地址具有对应关系的影音文件地址。
子步骤2066,浏览器在所述第1级影音文件地址对应的网页中,生成所述选取得到的任意一个或多个影音文件地址对应的链接。
步骤208,在浏览器侧加载和显示所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
在本发明实施例中,所述步骤208可以包括以下子步骤:
子步骤2082,浏览器根据所述可播放影音文件的链接放地址所指示的影音文件信息,加载与所述影音文件信息对应的影音播放选项。
其中,所述影音文件信息可以包括:影音文件的剧集信息、影音文件的清晰度信息、影音文件的格式信息、影音文件的完整度信息、影音文件的版本信息和播放影音文件所需的插件信息中的至少一种信息。根据上述影音文件信息,可以在所述第1级影音文件地址对应的网页加载与所述影音文件信息对应的影音播放选项,所述影音播放选项可以包括:剧集选项、清晰度选项、完整度选项和播放格式选项中的至少一种选项。
子步骤2084,浏览器在所述网页搜索结果信息对应网页中,显示所述影音播放选项。
在本发明实施例中,参照图3,是图2所示实施例中一种在浏览器侧加载并显示搜索结果的示意图。下面结合图3,详细说明所述步骤206和所述步骤208的实现流程。
浏览器接收由后台服务器根据关键字“疯狂原始人”返回的搜索结果,根据所述第1级影音文件地址,加载并生成了如图3所示的搜索结果页面。在所述搜索结果页面上以链接形式展现所述第2级至第N-1级影音文件地址中的任意一个或多个影音文件地址,如图中的链接地址1、链接地址2、链接地址3、链接地址4和链接地址5等等。同时在所述链接地址1、所述链接地址2、所述链接地址3、所述链接地址4和所述链接地址5下相对应的显示影音播放选项。在本发明实施例中,所述链接地址1下有播放选项1、播放选项2和播放选项3;所述链接地址2下有播放选项4、播放选项5和播放选项6和播放选项7。当用户点击播放选项时,可以直接播放影音文件;当用户点击链接地址时,则可以打开所述链接地址对应的网页,查看影音文件的详细信息,例如对所述影音文件的演员信息介绍、影评信息或影音文件内容简介。。
在本发明实施例中,所述链接地址和所述播放选项可以通过标题形式在所述搜索结果页面上显示,所述标题内容可以包括影音文件信息或影音文件的其它属性信息。参照图4,是图2所示实施例中又一种在浏览器侧加载并显示搜索结果的示意图。搜索结果页面是根据后台服务器返回的上述第1级影音文件地址加载得到的。以标题形式显示 链接地址,以BD全集、QMV、抢先版、完整版、DVD、高清HD、DVDSCR、TS版或蓝光等选项显示影音播放选项。
综上所述,本发明实施例所述的一种浏览器中加载影音文件信息的方法,用户点击影音播放选项之后就可以直接播放影音文件,减少了查找搜索和点击操作;同时,浏览器自动筛选得到可以直接播放的影音文件并显示给用户,避免了人工筛选操作,提高了搜索结果的准确性,节约了时间。进一步地,本发明实施例所述的浏览器中加载影音文件信息的方法,提供了多种类型的影音播放选项供用户选择,搜索结果丰富、多样化。用户可以很直观的根据所述影音播放选项显示的信息,选择符合需求的影音文件进行播放。
参照图5,示出了本发明第三实施例中一种浏览器中加载影音文件信息的方法的流程图。在本发明实施例中,所述浏览器中加载影音文件信息的方法可以包括:
步骤502,发送搜索请求至后台服务器,其中,所述搜索请求中包括待搜索的影音文件的影音文件关键字。
步骤504,接收由所述后台服务器返回的影音文件搜索结果。
其中,所述影音文件搜索结果包括:所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
步骤506,在浏览器侧加载和显示所述影音文件关键字对应的网页搜索结果信息以及所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
步骤508,当所述浏览器侧加载和显示的可播放影音文件的链接地址被触发时,加载一个内置网页,进入浏览器的影音模式,播放与所述搜索请求相匹配的影音文件。
在本发明实施例中,所述步骤508可以包括以下子步骤:
子步骤5082,根据所述可播放影音文件的链接地址,生成核心网址。其中,所述核心网址中包括:影音模式启动地址和所述可播放影音文件的链接地址和虚拟地址。
子步骤5084,加载一个内置网页,并根据所述影音模式启动地址进入浏览器的影音模式。
子步骤5086,在所述浏览器的地址栏中显示所述虚拟地址。
子步骤5088,根据所述可播放影音文件的链接地址在所述影音模式中直接播放与所述搜索请求相匹配的影音文件。
在本发明实施例中,所述核心网址还可以包括:播放所述影音文件的插件信息。
参照图6,是图5所示实施例中播放影音文件的流程图,所述子步骤5088可以包括:
子步骤602,根据所述播放所述影音文件的插件信息,调用播放所述影音文件的播放插件。
子步骤604,使用调用的播放插件,在所述影音模式中直接播放与所述搜索请求相匹配的影音文件。
在本发明实施例中,所述核心网址的具体内容可以是:chrome://seappmgr/ExtVideoAssis/HTMLS/VIDEOMODE.HTML?gqv=q vod%3A%2F%2F7817481%7C84F9F2CBEEECB3259D96143FF2BA779C09E2FD05%7C%E5%85%A8%E6%B0%91%E7%9B%AE%E5%87%B B%2B%E9%A2%84%E5%91%8A%E7%89%87.mp4%7C&fakeurl=http%3A%2F%2Fwww.mei11.com%2Fvod%2F46904.html。其中,可以根据地址“chrome://seappmgr/ExtVideoAssis/HTMLS/VIDEOMODE.HTML”进入浏览器的影音模式;在浏览器的地址栏可以显示虚拟地址“http%3A%2F%2F www.mei11.com%2Fvod%2F46904.html;可以根据地址:
“gqv=qvod%3A%2F%2F7817481%7C84F9F2CBEEECB3259D96143FF2BA779C09E2FD05%7C%E5%85%A8%E6%B0%91%E7%9B%AE%E5%87%BB%2B%E9%A2%84%E5%91%8A%E7%89%87.mp4%7C&f akeurl”,调用qvod播放插件直接播放影音文件。
综上所述,本发明实施例所述浏览器中加载影音文件信息的方法,提供影音模式用来播放搜索得到的影音文件,在所述影音模式下可以调用满足播放所述影音文件的播放插件,播放所述影音文件,避免了在网页模式下播放所述影音文件时,网页中的播放插件不支持播放所述影音文件的问题。
参照图7,示出了本发明第四实施例一种浏览器中加载影音文件信 息的方法的流程图。本发明实施例中,所述浏览器中加载影音文件信息的方法可以包括:
步骤702,发送搜索请求至后台服务器,其中,所述搜索请求中包括待搜索的影音文件的影音文件关键字。
步骤704,接收由所述后台服务器返回的影音文件搜索结果。其中,所述影音文件搜索结果包括:所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
步骤706,在浏览器侧加载和显示所述影音文件关键字对应的网页搜索结果信息以及所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
步骤708,当所述浏览器侧加载和显示的可播放影音文件的链接地址被触发时,加载一个内置网页,进入浏览器的影音模式,播放与所述搜索请求相匹配的影音文件。
本发明实施例中,在所述影音模式下的浏览器网页中可以加载有如下选项中的至少一种选项:发送到选项、扫描二维码选项、查看原网页选项、搜索选项、云缓存选项和下载选项。
当所述发送到选项被触发时,执行步骤710,将所述可播放影音文件的链接地址发送至移动终端。
当所述扫描二维码选项被触发时,执行步骤712,根据所述可播放影音文件的链接地址生成二维码。
当所述查看原网页选项被触发时,执行步骤714,在浏览器侧加载并显示所述可播放影音文件的链接地址的父级地址。
当所述搜索选项被触发时,执行步骤716,在所述影音模式下,发送搜索请求至后台服务器。例如,用户可以直接在影音模式下的浏览器网页中输入关键字,然后触发搜索选项,浏览器直接在所述影音模式下将用户输入的关键字发送至后台服务器,进行影音文件的搜索。
当所述云缓存选项被触发时,执行步骤718,将与所述搜索请求相匹配的影音文件离线缓存下载至云盘中。
当所述下载选项被触发时,执行步骤720,下载所述与所述搜索请求相匹配的影音文件;并,加载一个下载内置页面,在所述下载内置页面中显示正在下载的与所述搜索请求相匹配的影音文件;和/或,在 所述下载内置页面中显示已下载完成的与所述搜索请求相匹配的影音文件。例如,下载内置页面中可以包括:全部任务、正在下载任务和下载完成任务三个区域。可以在正在下载任务区域中显示正在下载的与所述搜索请求相匹配的影音文件,可以在下载完成任务区域中显示已下载完成的与所述搜索请求相匹配的影音文件,可以在全部任务区域中显示正在下载的与所述搜索请求相匹配的影音文件、已下载完成的与所述搜索请求相匹配的影音文件、和待下载的与所述搜索请求相匹配的影音文件。
本发明实施例中,所述影音模式下的浏览器网页中还可以加载有播放列表、热播推荐和播放记录选项。在所述步骤708之后,所述浏览器中加载影音文件信息的方法还可以包括以下步骤:
步骤722,在所述播放列表中加载所述可播放影音文件的链接地址,并显示所述可播放影音文件的链接地址对应的影音文件。
步骤724,在所述热播推荐中加载网络热播的影音文件的链接地址,并显示所述网络热播的影音文件的链接地址对应的影音文件。
步骤726,保存所述与所述搜索请求相匹配的影音文件的播放记录。
当所述播放记录选项被触发时,执行步骤728,加载一个播放记录内置页面,并将所述播放记录在所述播放记录内置页面中显示。
需要说明的是,本实际应用中,上述播放列表、热播推荐和播放记录选项可选择其中至少一项加载使用。相应地,也仅执行与所述加载项相对应的上述步骤722、步骤724、步骤726。此外,上述步骤722、步骤724、步骤726的顺序仅为示例性说明,在实际使用中,上述步骤722、步骤724、步骤726可以以任意顺序执行,或者并行执行。
综上所述,本发明实施例所述浏览器中加载影音文件信息的方法,在浏览器中实现了多种播放插件支持的视频资源的提供,而且是直接可以进行播放的影音文件的地址链接,直接可以切换到影院模式下进行播放,节约了搜索时间,提高了搜索结果的准确性。同时,在所述影音模式下的浏览器网页中加载有多个选项供用户选择,提高了用户交互性。
参照图8,示出了本发明第五实施例中一种获取影音文件地址的方 法的流程图。本发明实施例中,所述获取影音文件地址的方法可以包括:
步骤802,接收搜索请求。其中,所述搜索请求中包括:待搜索的影音文件的影音文件关键字和设定的直接播放影音文件的条件。
步骤804,获取所述影音文件关键字对应的网页搜索结果信息。
步骤806,获取满足所述设定的直接播放影音文件的条件的、所述影音文件关键字所指示的影音文件对应的影音文件地址。
在本发明实施例中,所述影音文件地址可以包括:所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。在服务器中存储的有符合所述关键字的影音文件地址。
步骤808,将获取的所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址返回至浏览器。
综上所述,本发明实施例所述的获取影音文件地址的方法,直接在后台服务器中获得最终可以直接进行影音文件播放的所述可播放影音文件的链接地址,搜索效率高、耗时短,搜索结果准确度高。
参照图9,示出了本发明第六实施例中一种获取影音文件地址的方法的流程图。本发明实施例中,所述获取影音文件地址的方法可以包括:
步骤902,服务器接收搜索请求。其中,所述搜索请求中包括:待搜索的影音文件的影音文件关键字和设定的直接播放影音文件的条件。
步骤904,服务器获取所述影音文件关键字对应的网页搜索结果信息。
步骤906,服务器获取满足所述设定的直接播放影音文件的条件的、所述影音文件关键字所指示的影音文件对应的影音文件地址。其中,所述影音文件地址可以包括:所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
在本发明实施例中,所述影音文件地址,还可以包括:第1级至第N-1级影音文件地址,N为大于或等于3的正整数。所述步骤906可以包括以下子步骤:
子步骤9062,服务器获取与所述影音文件关键字所指示的影音文件相匹配的第1级影音文件地址。
子步骤9064,服务器获取所述第1级影音文件地址具有对应关系的第2至第N-1级影音文件地址;并获取所述第N-1级影音文件的下一级子地址,所述第N-1级影音文件的下一级子地址为第N级影音文件地址。
在本发明实施例中,服务器中存储的有所述影音文件关键字对应的所述第1级影音文件地址,根据爬虫程序,服务器可以获取得到所述第1级影音文件地址对应的第2至第N级影音文件地址。
子步骤9066,服务器从第N级影音文件地址中选取满足所述设定的直接播放影音文件的条件的影音文件地址,作为所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。其中,所述设定的直接播放影音文件的条件包括直接播放所述影音文件的插件的信息。
在本发明实施例中,所述步骤9066可以包括以下子步骤:
子步骤90662,服务器遍历所述第N级影音文件地址对应的网页的文件对象模型DOM树节点,获取所述DOM树节点的节点信息。
子步骤90664,服务器从所述DOM树节点的节点信息中,筛选得到满足所述设定的直接播放影音文件的插件的信息的节点信息。
子步骤90666,服务器将所述筛选得到的节点信息对应的影音文件地址确定为所述可播放影音文件的链接地址。
在本发明实施例中,上述的遍历操作是以遍历到了可以在浏览器侧QVOD插件、百度影音插件、Flash插件、和/或其它播放插件中进行直接播放的视频元素,并获取其对应的影音文件地址,获取的影音文件地址为所述可播放影音文件的链接地址。例如,所述满足所述设定的直接播放影音文件的插件的信息的节点信息可以是浏览器下的<object>元素,也可以是chrome中使用的<video>元素。
步骤908,服务器将获取的所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址返回至浏览器。
综上所述,本发明实施例所述的获取影音文件地址的方法,可以在后台服务器中,直接识别获取得到可以直接进行播放的影音文件地 址,减少了用户的人工搜索操作过程,节约了时间。搜索结果满足设定的直接播放影音文件的条件,得到的搜索结果准确度高。
需要说明的是,对于前述的方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明所必需的。
基于与上述浏览器中加载影音文件信息的方法同一发明构思,参照图10,示出了本发明第七实施例中一种浏览器中加载影音文件信息的装置的结构框图。所述浏览器中加载影音文件信息的装置可以包括:
发送模块1002,配置为发送搜索请求至后台服务器,其中,所述搜索请求中包括待搜索的影音文件的影音文件关键字。
第一接收模块1004,配置为接收由所述后台服务器返回的影音文件搜索结果;其中,所述影音文件搜索结果包括:所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
第一加载显示模块1006,配置为在浏览器侧加载和显示所述影音文件关键字对应的网页搜索结果信息。
在本发明实施例中,所述网页搜索结果信息中可以包括:第1级至第N-1级影音文件地址,N为大于或等于3的正整数,所述第1级至第N-1级影音文件地址为所述可播放影音文件的链接地址的父级地址。可选地,所述第一加载显示模块1006,可以包括:
网页加载模块10062,配置为根据第1级影音文件地址,在浏览器侧加载并显示所述第1级影音文件地址对应的网页。
影音文件地址选取模块10064,配置为从第2级至第N-1级影音文件地址中选取任意一个或多个与所述第1级影音文件地址具有对应关系的影音文件地址。
链接加载模块10066,配置为在所述搜索结果页面中,生成所述选取得到的任意一个或多个影音文件地址对应的链接。
第二加载显示模块1008,配置为在浏览器侧加载和显示所述网页 搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
在本发明实施例中,可选地,所述第二加载显示模块108可以包括:
影音播放选项生成模块10082,配置为根据所述可播放影音文件的链接放地址所指示的影音文件信息,加载与所述影音文件信息对应的影音播放选项。其中,所述影音文件信息包括:影音文件的剧集信息、影音文件的清晰度信息、影音文件的格式信息、影音文件的完整度信息、影音文件的版本信息和播放影音文件所需的插件信息中的至少一种信息;
影音播放选项显示模块10084,配置为在所述网页搜索结果信息对应网页中,显示所述影音播放选项。
在本发明实施例中,可选地,所述浏览器中加载影音文件信息的装置还可以包括:
影音播放模块1010,配置为在所述浏览器侧加载和显示的可播放影音文件的链接地址被触发时,加载一个内置网页,进入浏览器的影音模式,播放与所述搜索请求相匹配的影音文件。
可选地,所述影音播放模块1010。可以包括:
核心网址生成模块10102,配置为根据所述可播放影音文件的链接地址,生成核心网址;其中,所述核心网址中可以包括:影音模式启动地址、所述可播放影音文件的链接地址、虚拟地址和播放所述影音文件的插件信息。
影音模式启动模块10104,配置为加载一个内置网页,并根据所述影音模式启动地址进入浏览器的影音模式。
直接播放模块10106,配置为根据所述可播放影音文件的链接地址在所述影音模式中直接播放与所述搜索请求相匹配的影音文件。
地址显示模块10108,配置为在所述影音模式启动模块载一个内置网页,并根据所述影音模式启动地址进入浏览器的影音模式之后,在所述浏览器的地址栏中显示所述虚拟地址。
插件调用模块101010,配置为在所述直接播放模块根据所述可播放影音文件的链接地址在所述影音模式中直接播放与所述搜索请求相匹配的影音文件之后,根据所述播放所述影音文件的插件信息,调用播放所述影音文件的播放插件。
插件启动模块101012,配置为使用调用的播放插件,在所述影音模式中直接播放与所述搜索请求相匹配的影音文件。
在本发明实施例中,在所述影音模式下的浏览器网页中可以加载有:发送到选项、扫描二维码选项、查看原网页选项、搜索选项、云缓存选项和下载选项中的至少一种选项。所述浏览器中加载影音文件信息的装置还可以包括:
发送到模块1012,配置为在所述发送到选项被触发时,将所述可播放影音文件的链接地址发送至移动终端;
二维码生成模块1014,配置为在所述扫描二维码选项被触发时,根据所述可播放影音文件的链接地址生成二维码;
父级地址显示模块1016,配置为在所述查看原网页选项被触发时,在浏览器侧加载并显示所述可播放影音文件的链接地址的父级地址;
后台搜索模块1018,配置为在所述搜索选项被触发时,在所述影音模式下,发送搜索请求至后台服务器。
云缓存模块1020,配置为在所述云缓存选项被触发时,将与所述搜索请求相匹配的影音文件离线缓存下载至云盘中。
下载模块1022,配置为在所述下载选项被触发时,下载所述与所述搜索请求相匹配的影音文件;并,加载一个下载内置页面,在所述下载内置页面中显示正在下载的与所述搜索请求相匹配的影音文件;和/或,在所述下载内置页面中显示已下载完成的与所述搜索请求相匹配的影音文件。
本发明实施例中,所述影音模式下的浏览器网页中还可以加载有播放列表、热播推荐和播放记录选项。可选地,所述浏览器中加载影音文件信息的装置还可以包括:
播放列表模块1024,配置为在所述播放列表中加载所述可播放影音文件的链接地址,并显示所述可播放影音文件的链接地址对应的影音文件。
热播推荐模块1026,配置为在所述热播推荐中加载网络热播的影音文件的链接地址,并显示所述网络热播的影音文件的链接地址对应的影音文件。
播放记录保存模块1028,配置为在所述影音播放模块播放与所述搜索请求相匹配的影音文件之后,保存所述与所述搜索请求相匹配的 影音文件的播放记录。
播放记录显示模块1030,配置为在所述播放记录选项被触发时,加载一个播放记录内置页面,并将所述播放记录在所述播放记录内置页面中显示。
综上所述,本发明实施例所述浏览器中加载影音文件信息的装置,直接在浏览器侧相关联地加载和显示所述影音文件关键字对应的网页搜索结果信息以及所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址,搜索用时短。并且,用户点击所述可播放影音文件的链接地址,可以直接播放影音文件,搜索结果准确度高,展现形式直观。
基于与上述获取影音文件地址的方法同一发明构思,参照图11,示出了本发明第八实施例中一种获取影音文件地址的装置的结构框图。所述获取影音文件地址的装置包括:
第二接收模块1102,配置为接收搜索请求,其中,所述搜索请求中包括:待搜索的影音文件的影音文件关键字和设定的直接播放影音文件的条件。
第一获取模块1104,配置为获取所述影音文件关键字对应的网页搜索结果信息。
第二获取模块1106,配置为获取满足所述设定的直接播放影音文件的条件的、所述影音文件关键字所指示的影音文件对应的影音文件地址。其中,所述影音文件地址包括:所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
在本发明实施例中,所述影音文件地址还可以包括:第1级至第N-1级影音文件地址,N为大于或等于3的正整数。可选地,所述第二获取模块1106可以包括:第三获取模块11062,配置为获取与所述影音文件关键字所指示的影音文件相匹配的第1级影音文件地址。第四获取模块11064,配置为获取所述第1级影音文件地址具有对应关系的第2至第N-1级影音文件地址;并获取所述第N-1级影音文件的下一级子地址,所述第N-1级影音文件的下一级子地址为第N级影音文件地址。链接地址选取模块11066,配置为从第N级影音文件地址中选取满足所述设定的直接播放影音文件的条件的影音文件地址,作为所 述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。其中,所述设定的直接播放影音文件的条件包括直接播放所述影音文件的插件的信息。参照图12,是图11所示实施例中一种链接地址选取的结构框图。可选地,所述链接地址选取模块11066可以包括:节点信息获取模块1202,配置为遍历所述第N级影音文件地址对应的网页的文件对象模型DOM树节点,获取所述DOM树节点的节点信息;筛选模块1204,配置为从所述DOM树节点的节点信息中,筛选得到满足所述设定的直接播放影音文件的插件的信息的节点信息;链接地址确定模块1206,配置为将所述筛选得到的节点信息对应的影音文件地址确定为所述可播放影音文件的链接地址。
结果返回模块1108,配置为将获取的所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址返回至浏览器。
综上所述,本发明实施例所述的获取影音文件地址的装置,在后台服务器中存储的有根据爬虫程序得到的影音文件地址,并且可以根据搜索请求直接从存储的影音文件地址中获取得到可以直接进行播放的影音文件地址。获取影音文件地址的速度快、效率高,同时也保证了获取的搜索结果的准确性。
对于上述装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的 各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的一种浏览器中加载影音文件信息的设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图13示出了可以实现根据本发明的浏览器中加载影音文件信息方案的电子设备,例如应用客户端。该应用客户端传统上包括处理器1310和以存储器1320形式的计算机程序产品或者计算机可读介质。存储器1320可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1320具有用于执行上述方法中的任何方法步骤的程序代码1331的存储空间1330。例如,用于程序代码的存储空间1330可以包括分别用于实现上面的方法中的各种步骤的各个程序代码1331。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图14所述的便携式或者固定存储单元。该存储单元可以具有与图13的应用客户端中的存储器1320类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码1331’,即可以由例如诸如1310之类的处理器读取的代码,这些代码当由服务器运行时,导致该服务器执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件 以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (28)

  1. 一种浏览器中加载影音文件信息的方法,包括:
    发送搜索请求至后台服务器,其中,所述搜索请求中包括待搜索的影音文件的影音文件关键字;
    接收由所述后台服务器返回的影音文件搜索结果,其中,所述影音文件搜索结果包括:所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址;
    在浏览器侧加载和显示所述影音文件关键字对应的网页搜索结果信息以及所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
  2. 根据权利要求1所述的方法,其中,所述网页搜索结果信息中包括:第1级至第N-1级影音文件地址,N为大于或等于3的正整数,所述第1级至第N-1级影音文件地址为所述可播放影音文件的链接地址的父级地址;
    所述在浏览器侧加载和显示所述影音文件关键字对应的网页搜索结果信息的步骤包括:
    根据第1级影音文件地址,在浏览器侧加载并显示所述第1级影音文件地址对应的网页;
    从第2级至第N-1级影音文件地址中选取任意一个或多个与所述第1级影音文件地址具有对应关系的影音文件地址;
    在所述第1级影音文件地址对应的网页中,生成所述选取得到的任意一个或多个影音文件地址对应的链接。
  3. 根据权利要求1所述的方法,其中,所述在浏览器侧加载和显示所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址的步骤包括:
    根据所述可播放影音文件的链接放地址所指示的影音文件信息,加载与所述影音文件信息对应的影音播放选项;其中,所述影音文件信息包括:影音文件的剧集信息、影音文件的清晰度信息、影音文件的格式信息、影音文件的完整度信息、影音文件的版本信息和播放影音文件所需的插件信息中的至少一种信息;
    在所述网页搜索结果信息对应网页中,显示所述影音播放选项。
  4. 根据权利要求1所述的方法,其中,所述方法还包括:
    当所述浏览器侧加载和显示的可播放影音文件的链接地址被触发时,加载一个内置网页,进入浏览器的影音模式,播放与所述搜索请求相匹配的影音文件。
  5. 根据权利要求4所述的方法,其中,所述加载一个内置网页,进入浏览器的影音模式,播放与所述搜索请求相匹配的影音文件的步骤包括:
    根据所述可播放影音文件的链接地址,生成核心网址;其中,所述核心网址中包括:影音模式启动地址和所述可播放影音文件的链接地址;
    加载一个内置网页,并根据所述影音模式启动地址进入浏览器的影音模式;
    根据所述可播放影音文件的链接地址在所述影音模式中直接播放与所述搜索请求相匹配的影音文件。
  6. 根据权利要求5所述的方法,其中,所述核心网址还包括:虚拟地址;
    在所述加载一个内置网页,并根据所述影音模式启动地址进入浏览器的影音模式的步骤之后,所述方法还包括:
    在所述浏览器的地址栏中显示所述虚拟地址。
  7. 根据权利要求5所述的方法,其中,所述核心网址还包括:播放所述影音文件的插件信息;
    所述根据所述可播放影音文件的链接地址在所述影音模式中直接播放与所述搜索请求相匹配的影音文件的步骤包括:
    根据所述播放所述影音文件的插件信息,调用播放所述影音文件的播放插件;
    使用调用的播放插件,在所述影音模式中直接播放与所述搜索请求相匹配的影音文件。
  8. 根据权利要求4所述的方法,其中,所述影音模式下的浏览器网页中加载有:发送到选项、扫描二维码选项、查看原网页选项和搜索选项中的至少一种选项;
    所述方法还包括:
    当所述发送到选项被触发时,将所述可播放影音文件的链接地址发送至移动终端;
    当所述扫描二维码选项被触发时,根据所述可播放影音文件的链接地址生成二维码;
    当所述查看原网页选项被触发时,在浏览器侧加载并显示所述可播放影音文件的链接地址的父级地址;
    当所述搜索选项被触发时,在所述影音模式下,发送搜索请求至后台服务器。
  9. 根据权利要求4所述的方法,其中,所述影音模式下的浏览器网页中加载有:播放列表和热播推荐;
    所述方法还包括:
    在所述播放列表中加载所述可播放影音文件的链接地址,并显示所述可播放影音文件的链接地址对应的影音文件;
    在所述热播推荐中加载网络热播的影音文件的链接地址,并显示所述网络热播的影音文件的链接地址对应的影音文件。
  10. 根据权利要求4所述的方法,其中,所述影音模式下的浏览器网页中加载有云缓存选项;
    所述方法还包括:
    当所述云缓存选项被触发时,将与所述搜索请求相匹配的影音文件离线缓存下载至云盘中。
  11. 根据权利要求4所述的方法,其中,所述影音模式下的浏览器网页中加载有下载选项;
    所述方法还包括:
    当所述下载选项被触发时,下载所述与所述搜索请求相匹配的影音文件;并,
    加载一个下载内置页面,在所述下载内置页面中显示正在下载的与所述搜索请求相匹配的影音文件;和/或,在所述下载内置页面中显示已下载完成的与所述搜索请求相匹配的影音文件。
  12. 根据权利要求4所述的方法,其中,所述影音模式下的浏览器网页中加载有播放记录选项;
    在所述播放与所述搜索请求相匹配的影音文件的步骤之后,所述方法还包括:
    保存所述与所述搜索请求相匹配的影音文件的播放记录;
    当所述播放记录选项被触发时,加载一个播放记录内置页面,并将所述播放记录在所述播放记录内置页面中显示。
  13. 根据权利要求1所述的方法,其中,所述搜索请求中还包括:设定的直接播放影音文件的条件;
    所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址的步骤包括:
    所述网页搜索结果信息对应网页中所包含的、满足所述设定的直接播放影音文件的条件的影音文件地址。
  14. 一种浏览器中加载影音文件信息的装置,包括:
    发送模块,配置为发送搜索请求至后台服务器,其中,所述搜索请求中包括待搜索的影音文件的影音文件关键字;
    第一接收模块,配置为接收由所述后台服务器返回的影音文件搜索结果;其中,所述影音文件搜索结果包括:所述影音文件关键字对应的网页搜索结果信息和所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址;
    第一加载显示模块,配置为在浏览器侧加载和显示所述影音文件关键字对应的网页搜索结果信息;
    第二加载显示模块,配置为在浏览器侧加载和显示所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址。
  15. 根据权利要求14所述的装置,其中,所述网页搜索结果信息中包括:第1级至第N-1级影音文件地址,N为大于或等于3的正整数,所述第1级至第N-1级影音文件地址为所述可播放影音文件的链接地址的父级地址;
    所述第一加载显示模块包括:
    网页加载模块,配置为根据第1级影音文件地址,在浏览器侧加载并显示所述第1级影音文件地址对应的网页;
    影音文件地址选取模块,配置为从第2级至第N-1级影音文件地址中选取任意一个或多个与所述第1级影音文件地址具有对应关系的影音文件地址;
    链接加载模块,配置为在所述搜索结果页面中,生成所述选取得到的任意一个或多个影音文件地址对应的链接。
  16. 根据权利要求14所述的装置,其中,所述第二加载显示模块包括:
    影音播放选项生成模块,配置为根据所述可播放影音文件的链接放地址所指示的影音文件信息,加载与所述影音文件信息对应的影音播放选项;其中,所述影音文件信息包括:影音文件的剧集信息、影音文件的清晰度信息、影音文件的格式信息、影音文件的完整度信息、影音文件的版本信息和播放影音文件所需的插件信息中的至少一种信息;
    影音播放选项显示模块,配置为在所述网页搜索结果信息对应网页中,显示所述影音播放选项。
  17. 根据权利要求14所述的装置,其中,所述装置还包括:
    影音播放模块,配置为在所述浏览器侧加载和显示的可播放影音文件的链接地址被触发时,加载一个内置网页,进入浏览器的影音模式,播放与所述搜索请求相匹配的影音文件。
  18. 根据权利要求17所述的装置,其中,所述影音播放模块包括:
    核心网址生成模块,配置为根据所述可播放影音文件的链接地址,生成核心网址,其中,所述核心网址中包括:影音模式启动地址和所述可播放影音文件的链接地址;
    影音模式启动模块,配置为加载一个内置网页,并根据所述影音模式启动地址进入浏览器的影音模式;
    直接播放模块,配置为根据所述可播放影音文件的链接地址在所述影音模式中直接播放与所述搜索请求相匹配的影音文件。
  19. 根据权利要求18所述的装置,其中,所述核心网址还包括:虚拟地址;
    所述装置还包括:
    地址显示模块,配置为在所述影音模式启动模块载一个内置网页,并根据所述影音模式启动地址进入浏览器的影音模式之后,在所述浏览器的地址栏中显示所述虚拟地址。
  20. 根据权利要求18所述的装置,其中,所述核心网址还包括:播放所述影音文件的插件信息;
    所述装置还包括:
    插件调用模块,配置为在所述直接播放模块根据所述可播放影音 文件的链接地址在所述影音模式中直接播放与所述搜索请求相匹配的影音文件之后,根据所述播放所述影音文件的插件信息,调用播放所述影音文件的播放插件;
    插件启动模块,配置为使用调用的播放插件,在所述影音模式中直接播放与所述搜索请求相匹配的影音文件。
  21. 根据权利要求17所述的装置,其中,所述影音模式下的浏览器网页中加载有:发送到选项、扫描二维码选项、查看原网页选项和搜索选项中的至少一种选项;
    所述装置还包括:
    发送到模块,配置为在所述发送到选项被触发时,将所述可播放影音文件的链接地址发送至移动终端;
    二维码生成模块,配置为在所述扫描二维码选项被触发时,根据所述可播放影音文件的链接地址生成二维码;
    父级地址显示模块,配置为在所述查看原网页选项被触发时,在浏览器侧加载并显示所述可播放影音文件的链接地址的父级地址;
    后台搜索模块,配置为在所述搜索选项被触发时,在所述影音模式下,发送搜索请求至后台服务器。
  22. 根据权利要求17所述的装置,其中,所述影音模式下的浏览器网页中加载有:播放列表和热播推荐;
    所述装置还包括:
    播放列表模块,配置为在所述播放列表中加载所述可播放影音文件的链接地址,并显示所述可播放影音文件的链接地址对应的影音文件;
    热播推荐模块,配置为在所述热播推荐中加载网络热播的影音文件的链接地址,并显示所述网络热播的影音文件的链接地址对应的影音文件。
  23. 根据权利要求17所述的装置,其中,所述影音模式下的浏览器网页中加载有云缓存选项;
    所述装置还包括:
    云缓存模块,配置为在所述云缓存选项被触发时,将与所述搜索请求相匹配的影音文件离线缓存下载至云盘中。
  24. 根据权利要求17所述的装置,其中,所述影音模式下的浏览 器网页中加载有下载选项;
    所述装置还包括:
    下载模块,配置为在所述下载选项被触发时,下载所述与所述搜索请求相匹配的影音文件;并,加载一个下载内置页面,在所述下载内置页面中显示正在下载的与所述搜索请求相匹配的影音文件;和/或,在所述下载内置页面中显示已下载完成的与所述搜索请求相匹配的影音文件。
  25. 根据权利要求17所述的装置,其中,所述影音模式下的浏览器网页中加载有播放记录选项;
    所述装置还包括:
    播放记录保存模块,配置为在所述影音播放模块播放与所述搜索请求相匹配的影音文件之后,保存所述与所述搜索请求相匹配的影音文件的播放记录;
    播放记录显示模块,配置为在所述播放记录选项被触发时,加载一个播放记录内置页面,并将所述播放记录在所述播放记录内置页面中显示。
  26. 根据权利要求14所述的装置,其中,所述搜索请求中还包括:设定的直接播放影音文件的条件;
    所述网页搜索结果信息对应网页中所包含的可播放影音文件的链接地址,包括:所述网页搜索结果信息对应网页中所包含的、满足所述设定的直接播放影音文件的条件的影音文件地址。
  27. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子设备上运行时,导致所述电子设备执行根据权利要求1-13中的任一个所述的浏览器中加载影音文件信息的方法方法。
  28. 一种计算机可读介质,其中存储了如权利要求27所述的计算机程序。
PCT/CN2014/087657 2013-11-04 2014-09-28 浏览器中加载影音文件信息的方法和装置 WO2015062385A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310538290.0A CN103593423A (zh) 2013-11-04 2013-11-04 一种浏览器中加载影音文件信息的方法和装置
CN201310538290.0 2013-11-04

Publications (1)

Publication Number Publication Date
WO2015062385A1 true WO2015062385A1 (zh) 2015-05-07

Family

ID=50083564

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087657 WO2015062385A1 (zh) 2013-11-04 2014-09-28 浏览器中加载影音文件信息的方法和装置

Country Status (2)

Country Link
CN (1) CN103593423A (zh)
WO (1) WO2015062385A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015062539A1 (zh) * 2013-11-01 2015-05-07 北京奇虎科技有限公司 获取及加载影音文件信息的方法和装置
CN103593423A (zh) * 2013-11-04 2014-02-19 北京奇虎科技有限公司 一种浏览器中加载影音文件信息的方法和装置
CN104268206B (zh) * 2014-09-23 2018-03-30 可牛网络技术(北京)有限公司 页面资源操作界面的展示方法、装置和移动终端
CN110309324B (zh) * 2018-03-09 2024-03-22 北京搜狗科技发展有限公司 一种搜索方法及相关装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033923A (zh) * 2010-12-14 2011-04-27 百度时代网络技术(北京)有限公司 在线视频的搜索与展现方法及装置
US8484192B1 (en) * 2007-04-30 2013-07-09 Google Inc. Media search broadening
CN103268360A (zh) * 2013-06-06 2013-08-28 百度在线网络技术(北京)有限公司 搜索引擎及通过其进行影视类视频推荐的方法和系统
CN103593423A (zh) * 2013-11-04 2014-02-19 北京奇虎科技有限公司 一种浏览器中加载影音文件信息的方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033929A (zh) * 2010-12-15 2011-04-27 百度在线网络技术(北京)有限公司 热点视频集的展现方法及装置
CN102955798B (zh) * 2011-08-25 2018-04-17 深圳市世纪光速信息技术有限公司 一种基于搜索引擎的搜索方法及搜索服务器
CN103024535A (zh) * 2012-12-25 2013-04-03 北京奇虎科技有限公司 一种视频的播放方法、服务器及视频的播放系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8484192B1 (en) * 2007-04-30 2013-07-09 Google Inc. Media search broadening
CN102033923A (zh) * 2010-12-14 2011-04-27 百度时代网络技术(北京)有限公司 在线视频的搜索与展现方法及装置
CN103268360A (zh) * 2013-06-06 2013-08-28 百度在线网络技术(北京)有限公司 搜索引擎及通过其进行影视类视频推荐的方法和系统
CN103593423A (zh) * 2013-11-04 2014-02-19 北京奇虎科技有限公司 一种浏览器中加载影音文件信息的方法和装置

Also Published As

Publication number Publication date
CN103593423A (zh) 2014-02-19

Similar Documents

Publication Publication Date Title
US11748408B2 (en) Analyzing user searches of verbal media content
TWI492616B (zh) 手持式電子裝置及其多媒體片段記錄方法
JP5586647B2 (ja) ポッドキャスティングの取得、管理及び同期化
CN102708135B (zh) 自动配置专辑并管理专辑的封面图像的设备和方法
JP5313931B2 (ja) ローカルネットワーク上のコンテンツと外部ネットワーク上の情報を相関させるためのフレームワーク
WO2015070673A1 (zh) 浏览器侧进行网络搜索的方法与浏览器
US20100017366A1 (en) System and Method for Performing Contextual Searches Across Content Sources
WO2015062380A1 (zh) 一种对网页视频进行播放的方法和装置
CN110913241B (zh) 一种视频检索方法、装置、电子设备及存储介质
US20100318939A1 (en) Method for providing list of contents and multimedia apparatus applying the same
US10372769B2 (en) Displaying results, in an analytics visualization dashboard, of federated searches across repositories using as inputs attributes of the analytics visualization dashboard
CN103605696B (zh) 一种获取影音文件地址的方法和装置
JP2008546057A (ja) ポッドキャスティングをサポートする技術及びシステム
WO2015062385A1 (zh) 浏览器中加载影音文件信息的方法和装置
US20150081690A1 (en) Network sourced enrichment and categorization of media content
US11776575B2 (en) Playlist programming
WO2014108038A1 (zh) 一种生成常用网址的客户端、服务器、系统和方法
US20150106717A1 (en) Presenting content related to current media consumption
WO2017113857A1 (zh) 视频关联音乐短片的处理方法以及视频播放装置
US11443770B2 (en) Playlist programming
CN115022720B (zh) 一种视频处理方法、装置、设备及存储介质
WO2017016285A1 (zh) 一种实现多媒体文件下载的方法及装置
WO2015062539A1 (zh) 获取及加载影音文件信息的方法和装置
WO2017107887A1 (zh) 在移动终端上切换组图的方法及装置
US20140108615A1 (en) Method and apparatus for managing a catalog of media content

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: 14859184

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14859184

Country of ref document: EP

Kind code of ref document: A1