CN104079990A - Video playing method, browser and downloading tool - Google Patents

Video playing method, browser and downloading tool Download PDF

Info

Publication number
CN104079990A
CN104079990A CN201410302676.6A CN201410302676A CN104079990A CN 104079990 A CN104079990 A CN 104079990A CN 201410302676 A CN201410302676 A CN 201410302676A CN 104079990 A CN104079990 A CN 104079990A
Authority
CN
China
Prior art keywords
browser
downloaded
video file
download tool
information
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.)
Granted
Application number
CN201410302676.6A
Other languages
Chinese (zh)
Other versions
CN104079990B (en
Inventor
熊鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hongxiang Technical Service Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410302676.6A priority Critical patent/CN104079990B/en
Publication of CN104079990A publication Critical patent/CN104079990A/en
Application granted granted Critical
Publication of CN104079990B publication Critical patent/CN104079990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a video playing method, a browser and a downloading tool. The video playing method comprises the steps of determining that files to be downloaded are video files of set format when instructions for playing the video files to be downloaded in an online mode are received, sending browser information to the downloading tool used for downloading the video files to be downloaded to enable the downloading tool to distributed identifications for the browser according to information of the browser, carrying out legality judgment on the bound relationship between the browser and the downloading tool according to the identifications, receiving URL corresponding to the video files to be downloaded when the judgment result of the legality judgment is legal, and playing the video files in the browser according to the URL. According to the video playing method, the browser and the downloading tool, the browser can play videos smoothly. Due to the fact that the video files to be downloaded are downloaded by the downloading tool, the work load of the browser is further reduced, and acquiring channels for video files to be played are increased.

Description

Video broadcasting method, browser and download tool
Technical field
The application relates to networking technology area, particularly relates to a kind of video broadcasting method, browser and download tool.
Background technology
At present, browser, when carrying out video playback, downloads to the required data of video file to be played in browser rs cache, obtains the broadcasting that data are carried out video from browser rs cache.But because the download capabilities of browser is limited, speed of download is slow, often there is being downloaded to the demand that data in buffer memory cannot meet continuous displaying video.
In addition, the existing this method by playing after browser downloads video, when the URL mistake corresponding with video file to be played that get when browser or downloaded resources itself go wrong, browser all can not carry out effective video broadcasting.
Visible, existing video broadcasting method, on the one hand, because browser downloads speed cannot provide smooth video playback for user slowly, and is prone to video download fault; On the other hand, browser should be born the download of video file to be played, bear again the broadcasting of video to be played, live load weight.
Summary of the invention
In view of existing browser downloads speed cannot provide smooth video playback for user slowly in above-mentioned existing video broadcasting method, be prone to video and download fault, and the problem that browser live load is heavy, has proposed the present invention to a kind of overcome the problems referred to above or the video broadcasting method addressing the above problem at least in part, browser and download tool are provided.
According to one aspect of the present invention, a kind of method of carrying out video playback in browser is provided, comprising: when receiving when video file to be downloaded is carried out to online instruction of playing, determine that file to be downloaded is the video file of setting form; Browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser information, and according to described sign, the binding relationship between described browser and described download tool is carried out to validity judgement; When judgment result is that of described validity judgement is legal, receives the URL corresponding with described video file to be downloaded, and according to described URL, in described browser, play described video file.
Alternatively, described in, receiving the instruction that video file to be downloaded is carried out playing online comprises: in the downloading process of described video file to be downloaded, receive video file to be downloaded is carried out to online instruction of playing; Or, when described video file to be downloaded does not start to download, receive video file to be downloaded carried out to online instruction of playing; Or, when receiving the download instruction of described video file to be downloaded, receive video file to be downloaded carried out to online instruction of playing; Wherein, the instruction of described online broadcasting is carried in described download instruction.
Alternatively, in described browser information, comprise browser domain-name information; Described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is that described browser assignment identification of steps comprises according to described browser information: described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser domain-name information; And/or described browser information comprises the identify label ID of browser; Described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is that described browser assignment identification of steps comprises according to described browser information: described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser ID.
Alternatively, described browser information is sent to for downloading the download tool step of described video file to be downloaded and is comprised: when calling download tool, described browser information is carried in call instruction and is sent to for downloading the download tool of described video file to be downloaded; Or, receive that the described download tool that started sends obtain browser information request message time, described in described browser information is carried at, obtain in the response message of browser information request, be sent to for downloading the download tool of described video file to be downloaded.
Alternatively, the binding relationship between described browser and described download tool carries out validity judgement by the download tool server at described download tool place according to the described browser assignment sign of described download tool transmission; Or the binding relationship between described browser and described download tool carries out validity judgement by described download tool according to described browser assignment sign.
Alternatively, it is described when judgment result is that of described validity judgement is legal, receiving the URL step corresponding with described video file to be downloaded comprises: when judgment result is that of described validity judgement is legal, receive the URL corresponding with described video file to be downloaded that described download tool server sends; Wherein, described URL is described download tool server after judging that binding relationship between described browser and described download tool is legal, the URL definite according to the information of described video file to be downloaded; Or, when judgment result is that of described validity judgement is legal, receive the URL corresponding with described video file to be downloaded that described download tool sends; Wherein, described URL is described download tool after judging that binding relationship between described browser and described download tool is legal, the URL definite according to the information of described video file to be downloaded.
Alternatively, described method also comprises: if determine, file to be downloaded is not for setting the video file of form, display reminding information in browser.
Alternatively, the video file of described setting form comprises: the video file of expansion .rmvb .rm by name .wmv .mp4 .avi .mkv .ts .asf .mpg .mov .3gp .mpeg .m4v .vob .flv .xv .f4v form.
According to a further aspect in the invention, the present invention also provides a kind of video broadcasting method, comprising: receive the browser information that described browser sends, and be described browser assignment sign according to described browser information; According to described sign, the binding relationship between described download tool and described browser is carried out to validity judgement; When judgment result is that of described validity judgement is legal, the corresponding URL of described video file to be downloaded that described browser is sent is sent to browser, so that described browser is play described video file in described browser according to described URL.
Alternatively, in described browser information, comprise browser domain-name information; Receive the browser information that described browser sends, and be that described browser assignment identification of steps comprises according to described browser information: receiving the browser information that described browser sends, is described browser assignment sign according to the described browser domain-name information comprising in described browser information; And/or described browser information comprises the identify label ID of browser; The browser information that the described browser of described reception sends, and be that described browser assignment identification of steps comprises according to described browser information: receiving the browser information that described browser sends, is described browser assignment sign according to the described browser ID comprising in described browser information.
Alternatively, the binding relationship between described download tool and described browser is carried out validity judgement in this locality by described download tool; Or described download tool identifies described browser assignment the download tool server being sent to described download tool place, by described download tool server, according to described lower browser assignment sign, carry out validity judgement.
Alternatively, the described corresponding URL of described video file to be downloaded sending to browser searches acquisition by described download tool in this locality; Or the described corresponding URL of described video file to be downloaded sending to browser is sent to the URL of download tool after described download tool whois lookup.
Alternatively, described browser information is carried in the call instruction of described browser transmission, the browser information step that the described browser of described reception sends comprises: receive the call instruction that described browser sends, obtain described browser information from described call instruction; Or, described browser information is carried in the response message that obtains browser information request of described browser transmission, the browser information step that the described browser of described reception sends comprises: send and obtain browser information request message to described browser, receive the response message that obtains browser information request that described browser returns, from described response message, obtain described browser information.
In accordance with a further aspect of the present invention, provide a kind of browser, having comprised: command reception module, for receiving, video file to be downloaded is carried out to online instruction of playing; Determination module, while video file to be downloaded being carried out to online instruction of playing for receiving when described receiver module, determines that file to be downloaded is the video file of setting form; Sending module, for browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser information, and according to described sign, the binding relationship between described browser and described download tool is carried out to validity judgement; URL receiver module, for when judgment result is that of described validity judgement is legal, receives the URL corresponding with described video file to be downloaded, and according to described URL, in described browser, plays described video file.
Alternatively, described command reception module, for the downloading process at described video file to be downloaded, receives video file to be downloaded is carried out to online instruction of playing; Or, for when described video file to be downloaded does not start to download, receive video file to be downloaded carried out to online instruction of playing; Or, for when receiving the download instruction of described video file to be downloaded, receive video file to be downloaded carried out to online instruction of playing; Wherein, the instruction of described online broadcasting is carried in described download instruction.
Alternatively, while comprising browser domain-name information in described browser information, described sending module is for described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser domain-name information; And/or, when described browser information comprises the identify label ID of browser, described sending module is for described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser ID.
Alternatively, described sending module comprises: the first sending module, for when calling download tool, is carried at described browser information in call instruction and is sent to for downloading the download tool of described video file to be downloaded; The second sending module, for receive that the described download tool that started sends obtain browser information request message time, described in described browser information is carried at, obtain in the response message of browser information request, be sent to for downloading the download tool of described video file to be downloaded.
Alternatively, the binding relationship between described browser and described download tool carries out validity judgement by the download tool server at described download tool place according to the described browser assignment sign of described download tool transmission; Or the binding relationship between described browser and described download tool carries out validity judgement by described download tool according to described browser assignment sign.
Alternatively, described URL receiver module, for when judgment result is that of described validity judgement is legal, receives the URL corresponding with described video file to be downloaded that described download tool server sends; Wherein, described URL is described download tool server after judging that binding relationship between described browser and described download tool is legal, the URL definite according to the information of described video file to be downloaded; Or, for when judgment result is that of described validity judgement is legal, receive the URL corresponding with described video file to be downloaded that described download tool sends; Wherein, described URL is described download tool after judging that binding relationship between described browser and described download tool is legal, the URL definite according to the information of described video file to be downloaded.
Alternatively, described browser also comprises: information display module, if for determining that file to be downloaded is not for setting the video file of form, display reminding information in browser.
Alternatively, the video file of described setting form comprises: the video file of expansion .rmvb .rm by name .wmv .mp4 .avi .mkv .ts .asf .mpg .mov .3gp .mpeg .m4v .vob .flv .xv .f4v form.
According to another aspect of the invention, also provide a kind of download tool, having comprised: sign distribution module, the browser information sending for receiving described browser, and be described browser assignment sign according to described browser information; Judge module, for carrying out validity judgement according to described sign to the binding relationship between described download tool and described browser; URL sending module, for when judgment result is that of described validity judgement is legal, the corresponding URL of described video file to be downloaded that described browser is sent is sent to browser, so that described browser is play described video file in described browser according to described URL.
Alternatively, while comprising browser domain-name information in described browser information, described sign distribution module, the browser information sending for receiving described browser, is described browser assignment sign according to the described browser domain-name information comprising in described browser information; And/or, when described browser information comprises the identify label ID of browser; Described sign distribution module, the browser information sending for receiving described browser, is described browser assignment sign according to the described browser ID comprising in described browser information.
Alternatively, the binding relationship between described download tool and described browser is carried out validity judgement in this locality by described download tool; Or described download tool identifies described browser assignment the download tool server being sent to described download tool place, by described download tool server, according to described lower browser assignment sign, carry out validity judgement.
Alternatively, the described corresponding URL of described video file to be downloaded sending to browser searches acquisition by described download tool in this locality; Or the described corresponding URL of described video file to be downloaded sending to browser is sent to the URL of download tool after described download tool whois lookup.
Alternatively, when described browser information is carried in the call instruction that described browser sends, described sign distribution module, the call instruction sending for receiving described browser, from described call instruction, obtain described browser information, and be described browser assignment sign according to described browser information; Or, when described browser information is carried in the response message that obtains browser information request that described browser sends, described sign distribution module is obtained browser information request message to described browser for sending, receive the response message that obtains browser information request that described browser returns, from described response message, obtain described browser information, and be described browser assignment sign according to described browser information.
In existing video playback scheme, need to rely on browser to complete download and the broadcasting of video file completely, the work load weight of browser, and, because the speed of download of browser is slow and be prone to video, download fault, therefore cannot provide smooth video playback for user.And according to video playback scheme of the present invention, browser is receiving the online instruction of playing of video file and is determining that file to be downloaded is for setting after the video file of form, only browser information need to be sent to after download tool identifies distribution and carry out again further legitimate verification, after success to be verified, can receive URL (the Uniform Resource Locator of the video file to be downloaded of download tool transmission, URL(uniform resource locator)), according to URL playing video file in browser, this video file of playing is to be downloaded by download tool.Visible, by video playback scheme provided by the invention, by download tool, carried out the download of video file to be played, because download tool has stronger download capabilities, and downloaded resources is horn of plenty more, therefore, browser can therefrom obtain more sufficient video file data, and download tool can not cause because of the problem of certain downloaded resources video file to be downloaded to download, thereby make browser can carry out smooth video playback, solve existing video playback scheme and cannot provide smooth video playback for user, be prone to video and download the problem of fault.And, video playback scheme provided by the invention, owing to carrying out the download of video file to be played by download tool, provides URL corresponding to video file to be downloaded, the live load that therefore, can either reduce browser can increase again the channel that obtains of video file resource to be played.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 is a kind of flow chart of steps of carrying out the method for video playback in browser according to the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of steps of carrying out the method for video playback in browser according to the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of steps of carrying out the method for video playback in browser according to the embodiment of the present invention three;
Fig. 4 is according to the flow chart of steps of a kind of video broadcasting method of the embodiment of the present invention four;
Fig. 5 is according to the flow chart of steps of a kind of video broadcasting method of the embodiment of the present invention five;
Fig. 6 is according to the structured flowchart of a kind of browser of the embodiment of the present invention six;
Fig. 7 is according to the structured flowchart of a kind of browser of the embodiment of the present invention seven;
Fig. 8 is according to the structured flowchart of a kind of download tool of the embodiment of the present invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
Embodiment mono-
With reference to Fig. 1, show a kind of flow chart of steps of carrying out the method for video playback in browser of the embodiment of the present invention one.
In the present embodiment, from browser side, video broadcasting method of the present invention is described, the method for carrying out video playback in the present embodiment in browser comprises the following steps:
Step S102: browser, when receiving when video file to be downloaded is carried out to online instruction of playing, determines that file to be downloaded is the video file of setting form.
In this step, user has selected after the video file that needs to download in browser, shows the cue button that is directed to this video file in the page of browser.
When user clicks online broadcast button, to browser, sent online play instruction, browser carries out the judgement of form to file to be downloaded, carries out follow-up step when judgement file to be downloaded is the video file of setting form.
It should be noted that, when actual realization, those skilled in the art can set the setting form of video file according to demand, and a kind of preferred setting means is: by setting format setting, be the form that browser video playback plug-in unit is supported.
Step S104: browser is sent to browser information for downloading the download tool of video file to be downloaded, so that download tool is browser assignment sign according to browser information, and according to sign, the binding relationship between browser and download tool is carried out to validity judgement.
When download tool is browser assignment sign, can set according to the actual requirements distribution principle by those skilled in the art, for example can be set as: the domain-name information by the browser in browser information is its allocation identification, suppose, browser domain name is www.360.com, and download tool is designated www.360.com or is 360 etc. for this browser assignment.Certainly can also distribute according to other distribution principle and sign setting principle, the application does not do concrete restriction to this.
In the download tool server at download tool and/or download tool place, store the sign with download tool with the browser of legal binding relationship.When actual realization, can according to sign, to the legitimacy of download tool and browser, be judged by download tool and/or download tool server.For example: download tool, after identifying for browser assignment, searches whether there is this sign at download tool local side, if exist, can judge that the binding relationship between browser and download tool is legal.
Step S106: when judgment result is that of validity judgement is legal, browser receives the URL corresponding with video file to be downloaded, and according to URL playing video file in browser.
When judgment result is that of validity judgement is legal, between browser and download tool or download tool server, can carry out information interaction, for example: download tool can provide URL corresponding to video to be downloaded for browser.It should be noted that the browser reception URL corresponding with video file to be downloaded can be sent also and can be sent by download tool server by download tool.
Meanwhile, download tool carries out the download of video to be downloaded, and according to the demand of browser or instruction, the data of having downloaded is sent to browser, so that browser can successfully carry out video playback.
What by the present embodiment, provide carries out the method for video playback in browser, browser determines that file to be downloaded is to set after the video file of form receiving the online instruction of playing to video file, only browser information need to be sent to after download tool identifies distribution and carry out again further legitimate verification, after success to be verified, can receive the URL of the video file to be downloaded of download tool transmission, according to URL playing video file in browser, this video file of playing is to be downloaded by download tool.Visible, what by the present embodiment, provide carries out the method for video playback in browser, by download tool, carried out the download of video file to be played, because download tool has stronger download capabilities, and downloaded resources is horn of plenty more, therefore, browser can therefrom obtain comparatively sufficient video file data, and download tool can not cause because of the problem of certain downloaded resources video file to be downloaded to download, thereby make browser can carry out smooth video playback, solve existing video broadcasting method and cannot provide smooth video playback for user, be prone to video and download the problem of fault.And, the present embodiment provides carries out the method for video playback in browser, owing to carrying out the download of video file to be played by download tool, URL corresponding to video file to be downloaded is provided, and the live load that therefore can either reduce browser can increase again the channel that obtains of video file resource to be played.
Embodiment bis-
With reference to Fig. 2, show a kind of flow chart of steps of carrying out the method for video playback in browser of the embodiment of the present invention two.
In the present embodiment, still from browser side, video broadcasting method of the present invention is described, the method for carrying out video playback in the present embodiment in browser specifically comprises the following steps:
Step S202: browser, when video file to be downloaded does not start to download, receives video file to be downloaded is carried out to online instruction of playing.
In the present embodiment, in the page of browser, show the cue button that is directed to this video file and comprise: download button, online broadcast button, and be used to indicate the quick botton that download limit, limit is watched.The button that user by selecting is different sends the download instruction of corresponding function to browser.Wherein, user can indicate browser only to treat downloading video files by download button to download; User can indicate only online playing video file of browser by online broadcast button, and video file is not entered to download; And user can indicate browser also video file to be play online by quick botton, by a quick botton, realize the download of video file and the transmission of online play instruction in downloading video files.In the present embodiment, user directly clicks online broadcast button indication browser video file is play online.
It should be noted that, browser can also receive video file to be downloaded is carried out to online instruction of playing under following arbitrary opportunity:
Browser, in the downloading process of video file to be downloaded, receives video file to be downloaded is carried out to online instruction of playing.That is to say, user has first clicked download button indication browser video file has been downloaded, and in the process of downloading at video file, user clicks the online displaying video of online broadcast button indication browser again.
Or,
Browser, when receiving the download instruction of video file to be downloaded, receives video file to be downloaded is carried out to online instruction of playing; Wherein, online instruction of playing is carried in download instruction.That is to say, user has directly clicked and has been used to indicate the quick botton indication browser of watching on download limit, limit and video file is carried out to download limit, limit plays.
Step S204: browser judges that whether file to be downloaded is the video file of setting form, if so, performs step S206; If not, perform step S210.
The video file of the setting form in the present embodiment comprises:
The video file of expansion .rmvb .rm by name .wmv .mp4 .avi .mkv .ts .asf .mpg .mov .3gp .mpeg .m4v .vob .flv .xv .f4v form.Browser, when judgement file format to be downloaded meets any form of above-mentioned setting, judges that file to be downloaded is as the video file of setting form.
It should be noted that, the setting of form is not limited to above-mentioned cited these several forms, and those skilled in the art can set setting form according to demand in actual mechanical process.
Step S206: when determining the video file that file to be downloaded is setting form, browser is when calling download tool, browser information is carried in call instruction and is sent to for downloading the download tool of video file to be downloaded, so that download tool is browser assignment sign according to browser information, and according to sign, the binding relationship between browser and download tool is carried out to validity judgement.
Browser is receiving the instruction of video file to be downloaded being carried out to online broadcasting, determine that file to be downloaded is to set after the video file of form, to browser, send call instruction, browser information is carried at simultaneously and in call instruction, is sent in the lump download tool.Wherein, the identify label that comprises browser domain-name information and/or browser in browser information is ID.
Download tool is browser assignment sign according to browser domain-name information and/or browser ID.
Except being carried at, browser information in call instruction, is sent to for downloading the mode of download tool of video file to be downloaded, browser can also receive that the download tool that started sends obtain browser information request message time, browser information is carried in the response message that obtains browser information request, is sent to for downloading the download tool of video file to be downloaded.
But be not limited to this, in actual applications, other appropriate ways is applicable too, as, browser uses independent message or instruction, and browser information is sent to for downloading the download tool of video file to be downloaded.
In the present embodiment, the browser assignment sign that the binding relationship between browser and download tool is sent according to download tool by download tool server is carried out validity judgement; Or the binding relationship between browser and download tool carries out validity judgement by download tool according to browser assignment sign, concrete judgment mode is as follows:
In download tool, store the sign that download tool has the browser of legal binding relationship, when carrying out validity judgement, whether download tool exists and the sign matching for the sign of browser assignment in the browser sign of storage is searched in this locality, if exist, illustrating that download tool and this browser exist legal binding relationship, is also that the binding relationship between browser and download tool is legal.
In download tool server, also store the sign that download tool has the browser of cooperative relationship, when carrying out validity judgement, to download tool, the legitimacy of the binding relationship between browser and download tool is judged to flow process is similar, do not repeat them here.
Step S208: when judgment result is that of validity judgement is legal, browser receives the corresponding URL of the video file with to be downloaded that download tool sends.
Wherein, URL is download tool after judging that binding relationship between browser and download tool is legal, the URL definite according to the information of video file to be downloaded.
In this step, except sending by download tool this mode of URL that video file to be downloaded is corresponding, can also receive the corresponding URL of the video file with to be downloaded that download tool server sends.
Wherein, the URL that download tool server sends is download tool server after judging that binding relationship between browser and download tool is legal, the URL definite according to the information of video file to be downloaded.
It should be noted that, download tool is except the browser sign of distribution is sent to download tool server, can also directly the binding relationship validity judgement result of browser and download tool be sent to download tool server, and without download tool server, the binding relationship of browser and download tool is carried out to validity decision, download tool server, when receiving legitimacy instruction, provides URL corresponding to video file to be downloaded to browser.In like manner, download tool also can receive browser that download tool server sends and the binding relationship validity judgement result of download tool, judgment result is that when legal, obtains the URL that file to be downloaded is corresponding be sent to browser from this locality.
In addition, download tool server can be when the binding relationship of judging browser and download tool be legal, the URL that file to be downloaded is corresponding is directly sent to download tool, and without download tool, carry out the judgement of binding relationship legitimacy and the obtaining of URL of browser and download tool, and download tool is directly sent to browser by the URL receiving from download tool server.In like manner, too, without the judgement of the binding relationship legitimacy to browser and download tool, directly from download tool, receive the URL that file to be downloaded is corresponding is sent to browser to download tool server.
Step S210: file to be downloaded is not that while setting the video file of form, browser is display reminding information in browser if determine.
Wherein, shown information can be format error information, can be also the plugin information that prompting downloads and installs the player plug-in that the form with video file matches, and for user, selects corresponding plug-in unit to download and install.
When actual realization, information can be set as the information of the player plug-in of downloading, installing for user, and these player plug-in are to have the player plug-in that the download tool of binding relationship can provide, the user's download of being more convenient for browser.
What by the present embodiment, provide carries out the method for video playback in browser, browser determines that file to be downloaded is to set after the video file of form receiving the online instruction of playing to video file, only browser information need to be sent to after download tool identifies distribution and carry out again further legitimate verification, after success to be verified, can receive the URL of the video file to be downloaded of download tool transmission, according to URL playing video file in browser, this video file of playing is to be downloaded by download tool.Visible, what by the present embodiment, provide carries out the method for video playback in browser, by download tool, carried out the download of video file to be played, because download tool has stronger download capabilities, and downloaded resources is horn of plenty more, therefore, browser can therefrom obtain more sufficient video file data, and download tool can not cause because of the problem of certain downloaded resources downloading video files to download, thereby make browser can carry out smooth video playback, solve existing video broadcasting method and cannot provide smooth video playback for user, be prone to video and download the problem of fault.And, the present embodiment provides carries out the method for video playback in browser, owing to carrying out the download of video file to be played by download tool, URL corresponding to video file to be downloaded is provided, and the live load that therefore can either reduce browser can increase again the channel that obtains of video file resource to be played.In addition, what in the present embodiment, provide carries out the method for video playback in browser, and when file to be downloaded is when setting the video file of form, browser also provides the corresponding player plug-in information of user to download for user, the user's playing video file of being more convenient for.
Embodiment tri-
With reference to Fig. 3, show a kind of flow chart of steps of carrying out the method for video playback in browser of the embodiment of the present invention three.
In the present embodiment, take a sudden peal of thunder and 360 browsers as example, still video broadcasting method of the present invention is described from browser side, and the method for the video playback in the present embodiment specifically comprises the following steps:
Step S302:360 browser receives the instruction of the download file of user's selection.
In the present embodiment, between 360 browsers and a sudden peal of thunder, there is legal binding relationship, that is to say, a sudden peal of thunder is watched interface online for 360 browsers provide video, a sudden peal of thunder provides URL corresponding to video file to be downloaded for 360 browsers, for 360 browsers, play online, the concrete form of interface is as follows:
http://vod.xunlei.com/share.html?from=id&url=download_url&filename=%s
Wherein, from=id, id is that ID is that a sudden peal of thunder is the sign of 360 browser assignment, can be also character string for numeral, can also be the combination of numeral and character string; Url=download_url is URL corresponding to video file to be downloaded; Filename=%s is the name of video file to be downloaded.
Step S304:360 browser judges that whether file to be downloaded is the video file format that 360 browsers are supported, if so, performs step S306.
Wherein, the video file format that 360 browsers are supported as:
The video file of expansion .rmvb .rm by name .wmv .mp4 .avi .mkv .ts .asf .mpg .mov .3gp .mpeg .m4v .vob .flv .xv .f4v form.
Step S306:360 browser, when judgement file to be downloaded is the video file format of 360 browsers supports, is opened online URL corresponding to video file playing of confession 360 browsers that a sudden peal of thunder sends.
360 browsers judge file to be downloaded be 360 browsers support video file format time, the information of 360 browser informations and video file to be downloaded is sent to a sudden peal of thunder; A sudden peal of thunder is judging the ID of 360 browsers, and judge its legal after, the information of the video file to be downloaded that a sudden peal of thunder sends according to 360 browsers is searched corresponding URL from this locality, URL corresponding to video file to be downloaded finding is sent to 360 browsers; 360 browsers receive after the URL of download tool transmission, open URL corresponding to video file watching online and carry out video playback by video playback plug-in unit.
What by the present embodiment, provide carries out the method for video playback in browser, 360 browsers are receiving when video file to be downloaded is carried out to online instruction of playing, owing to having legal binding relationship between sudden peal of thunder download tool and 360 browsers, 360 browsers can directly obtain from a sudden peal of thunder URL that file to be downloaded is corresponding, according to the URL playing video file in 360 browsers getting.The video broadcasting method providing by the present embodiment, browser can be directly for user carries out video playback, and user can directly complete at browser the experience of watching online, without downloading video files.Visible, the video broadcasting method providing by the present embodiment, by download tool, carried out the download of video file to be played, because download tool has stronger download capabilities, and downloaded resources is horn of plenty more, therefore, browser can therefrom obtain more sufficient video file data, and download tool can not cause because of the problem of certain downloaded resources video file to be downloaded to download, thereby make browser can carry out smooth video playback, solve existing video broadcasting method and cannot provide smooth video playback for user, be prone to video and download the problem of fault.And, video broadcasting method provided by the invention, owing to carrying out the download of video file to be played by download tool, provides URL corresponding to video file to be downloaded, the live load that therefore, can either reduce browser can increase again the channel that obtains of video file resource to be played.
Embodiment tetra-
With reference to Fig. 4, show the flow chart of steps of method of a kind of video playback of the embodiment of the present invention four.
In the present embodiment, from download tool side, video broadcasting method of the present invention is described, the video broadcasting method in the present embodiment comprises the following steps:
Step S402: download tool receives the browser information that browser sends, and be browser assignment sign according to browser information.
When download tool is browser assignment sign, can set according to the actual requirements distribution principle by those skilled in the art, for example can be set as: the domain-name information by the browser in browser information is its allocation identification, suppose, browser domain name is www.360.com, and what download tool was this browser assignment is designated www.360.com or is 360.Certainly can also distribute according to other distribution principle and sign setting principle, for example: by the browser ID in browser information, be that browser assignment identifies, the application does not do concrete restriction to this.
Step S404: download tool carries out validity judgement according to sign to the binding relationship between download tool and browser.
In download tool, store the sign with download tool with all browsers of binding relationship, after download tool is the complete sign of browser assignment according to browser information, at download tool local side, search in the sign of having stored, whether there is this sign, if exist, can judge that the binding relationship between browser and download tool is that the two exists legal binding relationship in legal also just meaning.
It should be noted that, when actual realization, can also to the binding relationship between download tool and browser, carry out validity judgement by download tool server.
Step S406: when judgment result is that of validity judgement is legal, the corresponding URL of video file to be downloaded that download tool sends browser is sent to browser, so that browser is according to URL playing video file in browser.
It should be noted that, the URL that download tool sends can be that download tool is when the binding relationship of judging browser and download tool is legal, by download tool, from this locality, obtained, also can be by download tool server after the binding relationship of determining browser and download tool is legal, obtain and send to download tool.
The video broadcasting method providing by this enforcement, download tool is after receiving the browser information of browser transmission, only browser information need to be sent to after download tool identifies distribution and carry out again further legitimate verification, after success to be verified, the URL of video file to be downloaded is sent to browser, so that browser is according to URL playing video file in browser.Because the video broadcasting method that the present embodiment provides can be downloaded video file to be downloaded by download tool, in browser, carry out again video playback, therefore the work load of browser can be reduced, the channel that obtains of video file resource to be played can also be increased.In addition, the video broadcasting method that the present embodiment provides, because download tool has stronger download capabilities, and downloaded resources is horn of plenty more, therefore, browser can therefrom obtain more sufficient video file data, and download tool can not cause because of the problem of certain downloaded resources video file to be downloaded to download, thereby make browser can carry out smooth video playback, solve existing video broadcasting method and cannot provide smooth video playback for user, be prone to the problem that video is downloaded fault.
Embodiment five
With reference to Fig. 5, show the flow chart of steps of method of a kind of video playback of the embodiment of the present invention five.
In the present embodiment, still from download tool side, video broadcasting method of the present invention is described, the video broadcasting method in the present embodiment specifically comprises the following steps:
Step S502: download tool sends and obtains browser information request message to browser.
Download tool, after receiving the call instruction of browser transmission, sends and obtains browser information request message to browser.
Step S504: download tool receives the response message that obtains browser information request that browser returns, and obtains browser information from response message.
Wherein, the identify label that comprises browser domain-name information and/or browser in browser information is ID.
Obtaining except being sent to download tool by step S502 and step S504 of browser information, those skilled in the art are when setting call instruction, browser information can also be carried in the call instruction of browser transmission, the call instruction that download tool sends by receiving browser directly obtains browser information from call instruction.
Step S506: download tool is browser assignment sign according to the browser domain-name information comprising in browser information and/or is browser assignment sign according to the browser ID comprising in browser information.
In actual implementation procedure, while only comprising browser domain-name information or browser ID in browser information, download tool is browser assignment sign according to browser domain-name information or browser ID, while comprising browser domain-name information and browser ID in browser information simultaneously, download tool can be browser assignment sign according to arbitrary information, also can take browser domain-name information and browser ID is foundation simultaneously, is browser assignment sign, and the application does not do concrete restriction to this.
Step S506: download tool carries out validity judgement according to sign to the binding relationship between download tool and browser.
Binding relationship in this step between download tool and browser is carried out validity judgement in this locality by download tool.In addition, binding relationship between download tool and browser can also be judged by download tool server, detailed process is: download tool is sent to download tool server by browser assignment sign, by download tool server, according to lower browser assignment sign, carries out validity judgement.
Step S508: when judgment result is that of validity judgement is legal, the corresponding URL of video file to be downloaded that download tool sends browser is sent to browser, so that browser is according to URL playing video file in browser.
Wherein, the URL that download tool sends to browser searches acquisition by download tool in this locality, or by being sent to download tool after download tool whois lookup.
It should be noted that, the corresponding URL of video file to be downloaded is only not limited to and is sent to browser by download tool, can also be sent to browser by download tool server.A kind of feasible mode is: download tool will be sent to download tool server for the sign of browser assignment, only by download tool server, the binding relationship between download tool and browser is carried out to validity judgement, when judgment result is that when legal, obtain the URL corresponding with video file to be downloaded, by download tool server, be directly sent to browser.Another kind of feasible mode is: download tool is directly sent to download tool server by the validity decision result of binding relationship between download tool and browser, download tool server direct basis result of determination, in result, while being legal, obtaining the URL corresponding with video file to be downloaded and be sent to browser.Also have a kind of feasible mode to be: download tool is directly sent to download tool server by URL corresponding to video file to be downloaded, by download tool server, is sent to browser.
The video broadcasting method providing by the present embodiment, download tool is after receiving the browser information of browser transmission, only browser information need to be sent to after download tool identifies distribution and carry out again further legitimate verification, after success to be verified, the URL of video file to be downloaded is sent to browser, so that browser is according to URL playing video file in browser.Because the video broadcasting method that the present embodiment provides can be downloaded video file to be downloaded by download tool, in browser, carry out again video playback, therefore the work load of browser can be reduced, the channel that obtains of video file resource to be played can also be increased.In addition, the video broadcasting method that the present embodiment provides, because download tool has stronger download capabilities, while downloaded resources horn of plenty more, therefore, browser can therefrom obtain more sufficient video file data, and download tool can not cause because of the problem of certain downloaded resources video file to be downloaded to download, thereby make browser can carry out smooth video playback, solve existing video broadcasting method and cannot provide smooth video playback for user, be prone to the problem that video is downloaded fault.
Embodiment six
With reference to Fig. 6, show the structured flowchart of a kind of browser of the embodiment of the present invention six.
The browser of the present embodiment comprises: command reception module 602, for receiving, video file to be downloaded is carried out to online instruction of playing; Determination module 604, while video file to be downloaded being carried out to online instruction of playing for receiving when receiver module, determines that file to be downloaded is the video file of setting form; Sending module 606, for browser information is sent to for downloading the download tool of video file to be downloaded, so that download tool is browser assignment sign according to browser information, and according to sign, the binding relationship between browser and download tool is carried out to validity judgement; URL receiver module 608, for when judgment result is that of validity judgement is legal, receives the URL corresponding with video file to be downloaded, and according to URL playing video file in browser.
The browser providing by the present embodiment, browser determines that file to be downloaded is to set after the video file of form receiving the online instruction of playing to video file, only browser information need to be sent to after download tool identifies distribution and carry out again further legitimate verification, after success to be verified, can receive the URL of the video file to be downloaded of download tool transmission, according to URL playing video file in browser, this video file of playing is to be downloaded by download tool.Visible, the browser providing by the present embodiment, by download tool, carried out the download of video file to be played, because download tool has stronger download capabilities, and downloaded resources is horn of plenty more, therefore, browser can therefrom obtain comparatively sufficient video file data, and download tool can not cause because of the problem of certain downloaded resources video file to be downloaded to download, thereby make browser can carry out smooth video playback, solve existing video broadcasting method and cannot provide smooth video playback for user, be prone to video and download the problem of fault.And, the present embodiment provide at browser, owing to carrying out the download of video file to be played by download tool, URL corresponding to video file to be downloaded is provided, the live load that therefore can either reduce browser can increase again the channel that obtains of video file resource to be played.
Embodiment seven
With reference to Fig. 7, show the structured flowchart of a kind of browser of the embodiment of the present invention seven.
The present embodiment has carried out further optimization to the browser in embodiment six, and the browser after optimization comprises: command reception module 702, for receiving, video file to be downloaded is carried out to online instruction of playing; Determination module 704, while video file to be downloaded being carried out to online instruction of playing for receiving when receiver module, determines that file to be downloaded is the video file of setting form; Sending module 706, for browser information is sent to for downloading the download tool of video file to be downloaded, so that download tool is browser assignment sign according to browser information, and according to sign, the binding relationship between browser and download tool is carried out to validity judgement; URL receiver module 708, for when judgment result is that of validity judgement is legal, receives the URL corresponding with video file to be downloaded, and according to URL playing video file in browser.
Preferably, command reception module 702, for the downloading process of the video file to be downloaded, receives video file to be downloaded is carried out to online instruction of playing; Or, while not starting to download for the video file to be downloaded, receive video file to be downloaded carried out to online instruction of playing; Or, for when receiving the download instruction of video file to be downloaded, receive video file to be downloaded carried out to online instruction of playing; Wherein, online instruction of playing is carried in download instruction.
Preferably, while comprising browser domain-name information in browser information, sending module 706 is for browser information being sent to for downloading the download tool of video file to be downloaded, so that download tool is browser assignment sign according to browser domain-name information; And/or when browser information comprises the identify label ID of browser, sending module 706 is for browser information being sent to for downloading the download tool of video file to be downloaded, so that download tool is browser assignment sign according to browser ID.
Preferably, sending module comprises: the first sending module 7062, for when calling download tool, is carried at browser information in call instruction and is sent to for downloading the download tool of video file to be downloaded; The second sending module 7064, for receive that the download tool that started sends obtain browser information request message time, browser information is carried in the response message that obtains browser information request, is sent to for downloading the download tool of video file to be downloaded.
Preferably, the binding relationship between browser and download tool carries out validity judgement by the download tool server at download tool place according to the browser assignment sign of download tool transmission; Or the binding relationship between browser and download tool carries out validity judgement by download tool according to browser assignment sign.
Preferably, URL receiver module 708, for when judgment result is that of validity judgement is legal, receives the corresponding URL of the video file with to be downloaded that download tool server sends; Wherein, URL is download tool server after judging that binding relationship between browser and download tool is legal, the URL definite according to the information of video file to be downloaded; Or, for when judgment result is that of validity judgement is legal, receive the corresponding URL of the video file with to be downloaded that download tool sends; Wherein, URL is download tool after judging that binding relationship between browser and download tool is legal, the URL definite according to the information of video file to be downloaded.
Preferably, the browser in the present embodiment also comprises: information display module 710, if for determining that file to be downloaded is not for setting the video file of form, display reminding information in browser.
Preferably, the video file of setting form comprises: the video file of expansion .rmvb .rm by name .wmv .mp4 .avi .mkv .ts .asf .mpg .mov .3gp .mpeg .m4v .vob .flv .xv .f4v form.
The browser of the present embodiment is used for realizing the method that previous embodiment one, embodiment bis-and embodiment tri-download accordingly in browser, and has the beneficial effect of corresponding embodiment of the method, does not repeat them here.
Embodiment eight
With reference to Fig. 8, show the structured flowchart of a kind of download tool of the embodiment of the present invention eight.
Download tool in the present embodiment comprises: sign distribution module 802, and the browser information sending for receiving browser, and be browser assignment sign according to browser information; Judge module 804, for carrying out validity judgement according to sign to the binding relationship between download tool and browser; URL sending module 806, for when judgment result is that of validity judgement is legal, the corresponding URL of video file to be downloaded that browser is sent is sent to browser, so that browser is according to URL playing video file in browser.
The download tool providing by the present embodiment, download tool is after receiving the browser information of browser transmission, only browser information need to be sent to after download tool identifies distribution and carry out again further legitimate verification, after success to be verified, the URL of video file to be downloaded is sent to browser, so that browser is according to URL playing video file in browser.Because the download tool that the present embodiment provides can directly be downloaded video file to be downloaded, then carry out video playback in browser, therefore, can reduce the work load of browser, can also increase the channel that obtains of video file resource to be played.In addition, the download tool that the present embodiment provides has stronger download capabilities, while downloaded resources horn of plenty more, therefore, browser can therefrom obtain more sufficient video file data, and download tool can not cause because of the problem of certain downloaded resources video file to be downloaded to download, thereby makes browser can carry out smooth video playback, solve existing video playback scheme and cannot provide smooth video playback for user, be prone to the problem that video is downloaded fault.
Embodiment nine
Referring again to Fig. 8, the present embodiment has carried out further optimization to the download tool in embodiment illustrated in fig. 8.Download tool after optimization still comprises: sign distribution module 802, and the browser information sending for receiving browser, and be browser assignment sign according to browser information; Judge module 804, for carrying out validity judgement according to sign to the binding relationship between download tool and browser; URL sending module 806, for when judgment result is that of validity judgement is legal, the corresponding URL of video file to be downloaded that browser is sent is sent to browser, so that browser is according to URL playing video file in browser.
From embodiment illustrated in fig. 8 different, the present embodiment has carried out following optimization to the download tool in Fig. 8, comprising:
Preferably, while comprising browser domain-name information in browser information, sign distribution module 802, the browser information sending for receiving browser, is browser assignment sign according to the browser domain-name information comprising in browser information; And/or, when browser information comprises the identify label ID of browser; Sign distribution module, the browser information sending for receiving browser, is browser assignment sign according to the browser ID comprising in browser information.
Preferably, the binding relationship between download tool and browser is carried out validity judgement in this locality by download tool; Or download tool identifies browser assignment the download tool server being sent to download tool place, by download tool server, according to lower browser assignment sign, carry out validity judgement.
Preferably, the corresponding URL of video file to be downloaded sending to browser searches acquisition by download tool in this locality; Or the corresponding 5URL of video file to be downloaded sending to browser is sent to the URL of download tool after download tool whois lookup.
Preferably, when browser information is carried in the call instruction that browser sends, sign distribution module 802, the call instruction sending for receiving browser obtains browser information from call instruction, and is browser assignment sign according to browser information; Or, when browser information is carried in the response message that obtains browser information request that browser sends, sign distribution module 802 is obtained browser information request message to browser for sending, receive the response message that obtains browser information request that browser returns, from response message, obtain browser information, and be browser assignment sign according to browser information.
The download tool of the present embodiment is used for realizing previous embodiment four, the corresponding method for down loading of embodiment five, and has the beneficial effect of corresponding embodiment of the method, does not repeat them here.
For above-mentioned download apparatus embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of corresponding embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.
The video playback scheme providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment.Various general-purpose systems also can with based on using together with this teaching.According to description above, the desired structure of system that structure has the present invention program is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the specification that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this specification (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of the some or all parts in the video playback scheme of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The embodiment of the invention discloses A1, a kind of method of carrying out video playback in browser, comprising: when receiving when video file to be downloaded is carried out to online instruction of playing, determine that file to be downloaded is the video file of setting form; Browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser information, and according to described sign, the binding relationship between described browser and described download tool is carried out to validity judgement; When judgment result is that of described validity judgement is legal, receives the URL corresponding with described video file to be downloaded, and according to described URL, in described browser, play described video file.
A2, according to the method described in A1, wherein, described in receive and video file to be downloaded is carried out to online instruction of playing comprise: in the downloading process of described video file to be downloaded, receive video file to be downloaded carried out to online instruction of playing; Or, when described video file to be downloaded does not start to download, receive video file to be downloaded carried out to online instruction of playing; Or, when receiving the download instruction of described video file to be downloaded, receive video file to be downloaded carried out to online instruction of playing; Wherein, the instruction of described online broadcasting is carried in described download instruction.
A3, according to the method described in A1 or A2, wherein, in described browser information, comprise browser domain-name information; Described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is that described browser assignment identification of steps comprises according to described browser information: described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser domain-name information; And/or described browser information comprises the identify label ID of browser; Described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is that described browser assignment identification of steps comprises according to described browser information: described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser ID.
A4, according to the method described in A3, wherein, described browser information is sent to for downloading the download tool step of described video file to be downloaded and is comprised: when calling download tool, described browser information is carried in call instruction and is sent to for downloading the download tool of described video file to be downloaded; Or, receive that the described download tool that started sends obtain browser information request message time, described in described browser information is carried at, obtain in the response message of browser information request, be sent to for downloading the download tool of described video file to be downloaded.
A5, according to the method described in A1, wherein, the described browser assignment sign that the binding relationship between described browser and described download tool is sent according to described download tool by the download tool server at described download tool place is carried out validity judgement; Or the binding relationship between described browser and described download tool carries out validity judgement by described download tool according to described browser assignment sign.
A6, according to the method described in A5, wherein, it is described when judgment result is that of described validity judgement is legal, receiving the URL step corresponding with described video file to be downloaded comprises: when judgment result is that of described validity judgement is legal, receive the URL corresponding with described video file to be downloaded that described download tool server sends; Wherein, described URL is described download tool server after judging that binding relationship between described browser and described download tool is legal, the URL definite according to the information of described video file to be downloaded; Or, when judgment result is that of described validity judgement is legal, receive the URL corresponding with described video file to be downloaded that described download tool sends; Wherein, described URL is described download tool after judging that binding relationship between described browser and described download tool is legal, the URL definite according to the information of described video file to be downloaded.
A7, according to the method described in A1, wherein, described method also comprises: if determine, file to be downloaded is for setting the video file of form, display reminding information in browser.
A8, according to the method described in A1, wherein, the video file of described setting form comprises: the video file of expansion .rmvb .rm by name .wmv .mp4 .avi .mkv .ts .asf .mpg .mov .3gp .mpeg .m4v .vob .flv .xv .f4v form.
The embodiment of the invention also discloses B9, a kind of video broadcasting method, comprising: receive the browser information that described browser sends, and be described browser assignment sign according to described browser information; According to described sign, the binding relationship between described download tool and described browser is carried out to validity judgement; When judgment result is that of described validity judgement is legal, the corresponding URL of described video file to be downloaded that described browser is sent is sent to browser, so that described browser is play described video file in described browser according to described URL.
B10, according to the method described in B9, wherein, in described browser information, comprise browser domain-name information; Receive the browser information that described browser sends, and be that described browser assignment identification of steps comprises according to described browser information: receiving the browser information that described browser sends, is described browser assignment sign according to the described browser domain-name information comprising in described browser information; And/or described browser information comprises the identify label ID of browser; The browser information that the described browser of described reception sends, and be that described browser assignment identification of steps comprises according to described browser information: receiving the browser information that described browser sends, is described browser assignment sign according to the described browser ID comprising in described browser information.
B11, according to the method described in B9 or B10, wherein, the binding relationship between described download tool and described browser is carried out validity judgement in this locality by described download tool; Or described download tool identifies described browser assignment the download tool server being sent to described download tool place, by described download tool server, according to described lower browser assignment sign, carry out validity judgement.
B12, according to the method described in B11, wherein, the described corresponding URL of described video file to be downloaded sending to browser searches acquisition by described download tool in this locality; Or the described corresponding URL of described video file to be downloaded sending to browser is sent to the URL of download tool after described download tool whois lookup.
B13, according to the method described in B2, wherein, described browser information is carried in the call instruction of described browser transmission, the browser information step that the described browser of described reception sends comprises: receive the call instruction that described browser sends, obtain described browser information from described call instruction; Or, described browser information is carried in the response message that obtains browser information request of described browser transmission, the browser information step that the described browser of described reception sends comprises: send and obtain browser information request message to described browser, receive the response message that obtains browser information request that described browser returns, from described response message, obtain described browser information.
The embodiment of the invention also discloses C14, a kind of browser, comprising: command reception module, for receiving, video file to be downloaded is carried out to online instruction of playing; Determination module, while video file to be downloaded being carried out to online instruction of playing for receiving when described receiver module, determines that file to be downloaded is the video file of setting form; Sending module, for browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser information, and according to described sign, the binding relationship between described browser and described download tool is carried out to validity judgement; URL receiver module, for when judgment result is that of described validity judgement is legal, receives the URL corresponding with described video file to be downloaded, and according to described URL, in described browser, plays described video file.
C15, according to the browser described in C14, wherein, described command reception module, for the downloading process at described video file to be downloaded, receives video file to be downloaded is carried out to online instruction of playing; Or, for when described video file to be downloaded does not start to download, receive video file to be downloaded carried out to online instruction of playing; Or, for when receiving the download instruction of described video file to be downloaded, receive video file to be downloaded carried out to online instruction of playing; Wherein, the instruction of described online broadcasting is carried in described download instruction.
C16, according to the browser described in C14 or C15, wherein, while comprising browser domain-name information in described browser information, described sending module is for described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser domain-name information; And/or, when described browser information comprises the identify label ID of browser, described sending module is for described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser ID.
C17, according to the browser described in C16, wherein, described sending module comprises: the first sending module, for when calling download tool, is carried at described browser information in call instruction and is sent to for downloading the download tool of described video file to be downloaded; The second sending module, for receive that the described download tool that started sends obtain browser information request message time, described in described browser information is carried at, obtain in the response message of browser information request, be sent to for downloading the download tool of described video file to be downloaded.
C18, according to the browser described in C14, wherein, the described browser assignment sign that the binding relationship between described browser and described download tool is sent according to described download tool by the download tool server at described download tool place is carried out validity judgement; Or the binding relationship between described browser and described download tool carries out validity judgement by described download tool according to described browser assignment sign.
C19, according to the browser described in C18, wherein, described URL receiver module, for when judgment result is that of described validity judgement is legal, receives the URL corresponding with described video file to be downloaded that described download tool server sends; Wherein, described URL is described download tool server after judging that binding relationship between described browser and described download tool is legal, the URL definite according to the information of described video file to be downloaded; Or, for when judgment result is that of described validity judgement is legal, receive the URL corresponding with described video file to be downloaded that described download tool sends; Wherein, described URL is described download tool after judging that binding relationship between described browser and described download tool is legal, the URL definite according to the information of described video file to be downloaded.
C20, according to the browser described in C14, wherein, described browser also comprises: information display module, if for determining that file to be downloaded is for setting the video file of form, display reminding information in browser.
C21, according to the browser described in C14, wherein, the video file of described setting form comprises: the video file of expansion .rmvb .rm by name .wmv .mp4 .avi .mkv .ts .asf .mpg .mov .3gp .mpeg .m4v .vob .flv .xv .f4v form.
The embodiment of the invention also discloses D22, a kind of download tool, comprising: sign distribution module, the browser information sending for receiving described browser, and be described browser assignment sign according to described browser information; Judge module, for carrying out validity judgement according to described sign to the binding relationship between described download tool and described browser; URL sending module, for when judgment result is that of described validity judgement is legal, the corresponding URL of described video file to be downloaded that described browser is sent is sent to browser, so that described browser is play described video file in described browser according to described URL.
D23, according to the download tool described in D22, wherein, while comprising browser domain-name information in described browser information, described sign distribution module, the browser information sending for receiving described browser is described browser assignment sign according to the described browser domain-name information comprising in described browser information; And/or, when described browser information comprises the identify label ID of browser; Described sign distribution module, the browser information sending for receiving described browser, is described browser assignment sign according to the described browser ID comprising in described browser information.
D24, according to the download tool described in D22 or D23, wherein, the binding relationship between described download tool and described browser is carried out validity judgement in this locality by described download tool; Or described download tool identifies described browser assignment the download tool server being sent to described download tool place, by described download tool server, according to described lower browser assignment sign, carry out validity judgement.
D25, according to the download tool described in D24, wherein, the described corresponding URL of described video file to be downloaded sending to browser searches acquisition by described download tool in this locality; Or the described corresponding URL of described video file to be downloaded sending to browser is sent to the URL of download tool after described download tool whois lookup.
D26, according to the download tool described in D22, wherein, when described browser information is carried in the call instruction that described browser sends, described sign distribution module, the call instruction sending for receiving described browser, from described call instruction, obtain described browser information, and be described browser assignment sign according to described browser information; Or, when described browser information is carried in the response message that obtains browser information request that described browser sends, described sign distribution module is obtained browser information request message to described browser for sending, receive the response message that obtains browser information request that described browser returns, from described response message, obtain described browser information, and be described browser assignment sign according to described browser information.

Claims (10)

1. in browser, carry out a method for video playback, it is characterized in that, comprising:
When receiving when video file to be downloaded is carried out to online instruction of playing, determine that file to be downloaded is the video file of setting form;
Browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser information, and according to described sign, the binding relationship between described browser and described download tool is carried out to validity judgement;
When judgment result is that of described validity judgement is legal, receives the URL corresponding with described video file to be downloaded, and according to described URL, in described browser, play described video file.
2. method according to claim 1, is characterized in that, described in receive and video file to be downloaded is carried out to online instruction of playing comprise:
In the downloading process of described video file to be downloaded, receive video file to be downloaded is carried out to online instruction of playing;
Or,
When described video file to be downloaded does not start to download, receive video file to be downloaded is carried out to online instruction of playing;
Or,
When receiving the download instruction of described video file to be downloaded, receive video file to be downloaded is carried out to online instruction of playing; Wherein, the instruction of described online broadcasting is carried in described download instruction.
3. method according to claim 1 and 2, is characterized in that,
In described browser information, comprise browser domain-name information; Described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is that described browser assignment identification of steps comprises according to described browser information:
Described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser domain-name information;
And/or,
Described browser information comprises the identify label ID of browser; Described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is that described browser assignment identification of steps comprises according to described browser information:
Described browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser ID.
4. method according to claim 1, is characterized in that,
Binding relationship between described browser and described download tool carries out validity judgement by the download tool server at described download tool place according to the described browser assignment sign of described download tool transmission;
Or,
Binding relationship between described browser and described download tool carries out validity judgement by described download tool according to described browser assignment sign.
5. method according to claim 4, is characterized in that, described when judgment result is that of described validity judgement is legal, receives the URL step corresponding with described video file to be downloaded and comprises:
When judgment result is that of described validity judgement is legal, receive the URL corresponding with described video file to be downloaded that described download tool server sends; Wherein, described URL is described download tool server after judging that binding relationship between described browser and described download tool is legal, the URL definite according to the information of described video file to be downloaded;
Or,
When judgment result is that of described validity judgement is legal, receive the URL corresponding with described video file to be downloaded that described download tool sends; Wherein, described URL is described download tool after judging that binding relationship between described browser and described download tool is legal, the URL definite according to the information of described video file to be downloaded.
6. a video broadcasting method, is characterized in that, comprising:
Receive the browser information that described browser sends, and be described browser assignment sign according to described browser information;
According to described sign, the binding relationship between described download tool and described browser is carried out to validity judgement;
When judgment result is that of described validity judgement is legal, the corresponding URL of described video file to be downloaded that described browser is sent is sent to browser, so that described browser is play described video file in described browser according to described URL.
7. method according to claim 6, is characterized in that,
In described browser information, comprise browser domain-name information; Receive the browser information that described browser sends, and be that described browser assignment identification of steps comprises according to described browser information:
Receiving the browser information that described browser sends, is described browser assignment sign according to the described browser domain-name information comprising in described browser information;
And/or,
Described browser information comprises the identify label ID of browser; The browser information that the described browser of described reception sends, and be that described browser assignment identification of steps comprises according to described browser information:
Receiving the browser information that described browser sends, is described browser assignment sign according to the described browser ID comprising in described browser information.
8. according to the method described in claim 6 or 7, it is characterized in that,
Binding relationship between described download tool and described browser is carried out validity judgement in this locality by described download tool;
Or,
Described download tool identifies described browser assignment the download tool server being sent to described download tool place, by described download tool server, according to described lower browser assignment sign, carries out validity judgement.
9. a browser, is characterized in that, comprising:
Command reception module, carries out online instruction of playing for receiving to video file to be downloaded;
Determination module, while video file to be downloaded being carried out to online instruction of playing for receiving when described receiver module, determines that file to be downloaded is the video file of setting form;
Sending module, for browser information is sent to for downloading the download tool of described video file to be downloaded, so that described download tool is described browser assignment sign according to described browser information, and according to described sign, the binding relationship between described browser and described download tool is carried out to validity judgement;
URL receiver module, for when judgment result is that of described validity judgement is legal, receives the URL corresponding with described video file to be downloaded, and according to described URL, in described browser, plays described video file.
10. a download tool, is characterized in that, comprising:
Sign distribution module, the browser information sending for receiving described browser, and be described browser assignment sign according to described browser information;
Judge module, for carrying out validity judgement according to described sign to the binding relationship between described download tool and described browser;
URL sending module, for when judgment result is that of described validity judgement is legal, the corresponding URL of described video file to be downloaded that described browser is sent is sent to browser, so that described browser is play described video file in described browser according to described URL.
CN201410302676.6A 2014-06-27 2014-06-27 Video broadcasting method, browser and download tool Active CN104079990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410302676.6A CN104079990B (en) 2014-06-27 2014-06-27 Video broadcasting method, browser and download tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410302676.6A CN104079990B (en) 2014-06-27 2014-06-27 Video broadcasting method, browser and download tool

Publications (2)

Publication Number Publication Date
CN104079990A true CN104079990A (en) 2014-10-01
CN104079990B CN104079990B (en) 2017-10-31

Family

ID=51600997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410302676.6A Active CN104079990B (en) 2014-06-27 2014-06-27 Video broadcasting method, browser and download tool

Country Status (1)

Country Link
CN (1) CN104079990B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110012344A (en) * 2019-02-25 2019-07-12 努比亚技术有限公司 A kind of method for downloading video, terminal and computer readable storage medium
WO2020151400A1 (en) * 2019-01-23 2020-07-30 上海哔哩哔哩科技有限公司 Video playback control method based on video source selection, device and storage medium
CN111917807A (en) * 2019-05-08 2020-11-10 深圳市云趣网络科技股份有限公司 Method and system for invoking download client by android system WAP webpage
CN111935510A (en) * 2020-08-18 2020-11-13 海信视像科技股份有限公司 Double-browser application loading method and display equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6173406B1 (en) * 1997-07-15 2001-01-09 Microsoft Corporation Authentication systems, methods, and computer program products
CN102098327A (en) * 2010-12-15 2011-06-15 百度在线网络技术(北京)有限公司 Method and device for downloading online video sniffer
CN102685303A (en) * 2011-03-09 2012-09-19 腾讯科技(深圳)有限公司 Communication method and device
CN103281457A (en) * 2013-06-03 2013-09-04 贝壳网际(北京)安全技术有限公司 Video playing method and device in mobile terminal browser and browser
CN103327411A (en) * 2013-06-03 2013-09-25 贝壳网际(北京)安全技术有限公司 Video playing method, device and system for mobile terminal browser
CN103414770A (en) * 2013-08-05 2013-11-27 贝壳网际(北京)安全技术有限公司 File downloading method and device and file downloading suggestion method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6173406B1 (en) * 1997-07-15 2001-01-09 Microsoft Corporation Authentication systems, methods, and computer program products
CN102098327A (en) * 2010-12-15 2011-06-15 百度在线网络技术(北京)有限公司 Method and device for downloading online video sniffer
CN102685303A (en) * 2011-03-09 2012-09-19 腾讯科技(深圳)有限公司 Communication method and device
CN103281457A (en) * 2013-06-03 2013-09-04 贝壳网际(北京)安全技术有限公司 Video playing method and device in mobile terminal browser and browser
CN103327411A (en) * 2013-06-03 2013-09-25 贝壳网际(北京)安全技术有限公司 Video playing method, device and system for mobile terminal browser
CN103414770A (en) * 2013-08-05 2013-11-27 贝壳网际(北京)安全技术有限公司 File downloading method and device and file downloading suggestion method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020151400A1 (en) * 2019-01-23 2020-07-30 上海哔哩哔哩科技有限公司 Video playback control method based on video source selection, device and storage medium
US11671666B2 (en) 2019-01-23 2023-06-06 Shanghai Bilibili Technology Co., Ltd. Video playing control method, device and storage medium based on a video source selection
CN110012344A (en) * 2019-02-25 2019-07-12 努比亚技术有限公司 A kind of method for downloading video, terminal and computer readable storage medium
CN111917807A (en) * 2019-05-08 2020-11-10 深圳市云趣网络科技股份有限公司 Method and system for invoking download client by android system WAP webpage
CN111917807B (en) * 2019-05-08 2023-04-18 深圳市云趣网络科技股份有限公司 Method and system for invoking download client by android system WAP webpage
CN111935510A (en) * 2020-08-18 2020-11-13 海信视像科技股份有限公司 Double-browser application loading method and display equipment

Also Published As

Publication number Publication date
CN104079990B (en) 2017-10-31

Similar Documents

Publication Publication Date Title
US9226029B2 (en) Method and apparatus for client capable of accessing broadcasting network and internet network to receive application
CA2824368C (en) Creation of video bookmarks via scripted interactivity in advanced digital television
US8448063B2 (en) Web media asset ID system and method
AU2012293084B2 (en) Broadcast signal receiver, method for providing broadcast signal relation information, and server
US8949424B2 (en) Content information providing and reproducing method and apparatus
KR102117118B1 (en) Bookmarking prospective media content on computer network
CN103561337A (en) Live web casting method and device based on intelligent television
KR20110101051A (en) Method and apparatus for generating bookmark information
CN105763960A (en) Method and apparatus for network video playing
CN103702171A (en) Method for downloading video stream and electronic equipment
CN104079990A (en) Video playing method, browser and downloading tool
CN104394476A (en) Time shifting playing method and media player
CN105898535A (en) Play start speed improving method, video player and electronic device
CN102594915A (en) Browser-based media play system and method
CN104135692A (en) Method and device of loading and displaying video information
CN103747345A (en) Method and equipment for video playing of intelligent televisions
CN104394475A (en) Streaming media file playing method and media player
CN104301778A (en) Data acquisition method, device and system
CN112584200A (en) Screen projection method and system, electronic equipment and storage medium
CN110708402A (en) Accessible resource display method and device and resource access system
CN105323654A (en) Method and device for displaying content data from network
CN103646054A (en) Method for playing multimedia data and browser device
CN104796785A (en) Video playing method and device in application program
US20220376804A1 (en) Reception device, transmission device, and data processing method
US20170134775A1 (en) Method for synchronizing data, and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220720

Address after: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee after: 3600 Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230713

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing Hongxiang Technical Service Co.,Ltd.

Address before: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee before: 3600 Technology Group Co.,Ltd.

TR01 Transfer of patent right