CN103024536B - Video broadcasting method and browser - Google Patents

Video broadcasting method and browser Download PDF

Info

Publication number
CN103024536B
CN103024536B CN201210573002.0A CN201210573002A CN103024536B CN 103024536 B CN103024536 B CN 103024536B CN 201210573002 A CN201210573002 A CN 201210573002A CN 103024536 B CN103024536 B CN 103024536B
Authority
CN
China
Prior art keywords
video
information
address
play
broadcast
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.)
Active
Application number
CN201210573002.0A
Other languages
Chinese (zh)
Other versions
CN103024536A (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 Qihoo Technology 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 CN201210573002.0A priority Critical patent/CN103024536B/en
Publication of CN103024536A publication Critical patent/CN103024536A/en
Application granted granted Critical
Publication of CN103024536B publication Critical patent/CN103024536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The present invention relates to network calculations, be specifically related to a kind of video broadcasting method and a kind of browser. Wherein, browser comprises: monitoring acquisition module, for monitor video playing process, in the time detecting that preset condition appears in the video of broadcasting, obtain the broadcast information of described video; Sending module, for sending to server by described broadcast information; Receive and playing module, for the address information of reception server feedback, for video corresponding to described address information play.

Description

Video broadcasting method and browser
Technical field
The present invention relates to network calculations, be specifically related to a kind of video broadcasting method and browser.
Background technology
Along with the development of network technology, network can provide resource miscellaneous to use to user. NetworkIn a very important class resource be exactly the multimedia resources, particularly video resource such as video, audio frequency, picture,User can find all kinds of video resources in network, as TV play, film, auto heterodyne play, micro-filmDeng.
User inquires about various videos by webpage in network, then clicks corresponding video, and then passes throughBrowser is directly play. But, in the time that video is play, due to the server of video being providedBandwidth own is smaller, or the mutual existing problems of video and the page, while usually there will be video playbackRelatively card, slow problem, a period of time of usually can pausing when video playback could be continued broadcasting, evenOccur that having play the video of a period of time cannot cushion, and can not continue the problem of playing. What is moreMay there is opening after webpage the problem that cannot play completely because video is invalid.
Summary of the invention
In view of the above problems, the present invention has been proposed to provide one to overcome the problems referred to above or at least part ofThe browser and the video broadcasting method that address the above problem.
According to one aspect of the present invention, a kind of video broadcasting method is provided, the processing of browser comprises:
Monitor video playing process, in the time detecting that preset condition appears in the video of broadcasting, looks described in obtainingBroadcast information frequently;
Described broadcast information is sent to server;
The address information of reception server feedback, for broadcasting video corresponding to described address informationPut.
In the embodiment of the present invention, the address information of described reception server feedback, for to described addressVideo corresponding to information play, and comprising: the address information of reception server feedback, shows described groundBroadcast address in the information of location; Receive play instruction, according to play instruction, corresponding video is play.
In the embodiment of the present invention, adopt independent process displaying video in browser, described monitor video is broadcastLet slip journey, comprising: the playing process of video in monitoring independent process.
In the embodiment of the present invention, described preset condition comprises following any one: obtain video data failure,Video stops reproduction time and exceedes the first Preset Time, and video actual play time is while deducting theoretical broadcastingBetween difference exceed the second Preset Time.
According to another aspect of the present invention, a kind of browser is provided, comprising:
Monitoring acquisition module, for monitor video playing process, pre-when detecting that the video of broadcasting occursWhen configuration state, obtain the broadcast information of described video;
Sending module, for sending to server by described broadcast information;
Receive and playing module, for the address information of reception server feedback, for to described addressVideo corresponding to information play.
In the embodiment of the present invention, described reception playing module, comprising: receive submodule, for receivingThe address information of server feedback, shows the broadcast address in described address information; Play submodule, useIn receiving play instruction, according to described play instruction, corresponding video is play.
In the embodiment of the present invention, in browser, adopt independent process displaying video; Described monitoring is also obtainedModule, specifically for the playing process of video in monitoring independent process.
In the embodiment of the present invention, described preset condition comprises following any one: obtain video data failure,Video stops reproduction time and exceedes the first Preset Time, and video actual play time is while deducting theoretical broadcastingBetween difference exceed the second Preset Time.
According to embodiments of the invention, can in the time that appearring in video playback, preset condition obtain corresponding broadcastingInformation, then the address information of definite video mating with described broadcast information, and feed back described address information.Thereby make browser can carry out according to described address information the broadcasting of video, make the user can be normalWatch video, avoid occurring card, slow and the problem such as cannot play as far as possible.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand skill of the present inventionArt means, and can being implemented according to the content of description, and for allow of the present invention above-mentioned and otherObject, feature and advantage can become apparent, below especially exemplified by the specific embodiment of the present invention.
Brief description of the drawings
By reading below detailed description of the preferred embodiment, various other advantage and benefit for thisIt is cheer and bright that field those of ordinary skill will become. Accompanying drawing is only for the object of preferred embodiment is shown,And do not think limitation of the present invention. And in whole accompanying drawing, represent by identical reference symbolIdentical parts. In the accompanying drawings:
Fig. 1 shows according to the flow chart of the video broadcasting method of the embodiment of the present invention one;
Fig. 2 shows the first video library pre-setting method flow chart according to the embodiment of the present invention one;
Fig. 3 shows the second video library pre-setting method flow chart according to the embodiment of the present invention one;
Fig. 4 shows the video broadcasting method flow chart according to the embodiment of the present invention two;
Fig. 5 shows the video broadcasting method schematic diagram according to the embodiment of the present invention three;
Fig. 6 shows the server architecture figure according to the embodiment of the present invention four;
Fig. 7 shows according to the browser structure figure of the embodiment of the present invention four;
Fig. 8 shows the Play System structure chart according to the video of the embodiment of the present invention five.
Detailed description of the invention
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail. Although show in accompanying drawingExemplary embodiment of the present disclosure, but should be appreciated that and can realize the disclosure and not with various formsThe embodiment that should be set forth here limits. On the contrary, providing these embodiment is for can be more thoroughlyUnderstand the disclosure, and can be by the those skilled in the art that conveys to complete the scope of the present disclosure.
User can inquire about various videos by webpage in network, then clicks corresponding video, and thenDirectly play by browser. But, in the time that video is play, due to the clothes of video being providedThe bandwidth of business device own is smaller, or the mutual existing problems of video and the page, usually there will be video to broadcastWhile putting, relatively block, slow problem, a period of time of usually can pausing when video playback could continue to play,Even occur that having play the video of a period of time cannot cushion, and can not continue the problem of playing. More haveVery opening after webpage may appear in person, the problem that cannot play completely because video is invalid.
The embodiment of the present invention has proposed a kind of video broadcasting method for the problems referred to above, can be in video playbackWhile there is preset condition, obtain corresponding broadcast information, more definite video mating with described broadcast informationAddress information, and feed back described address information. Thereby browser can be entered according to described address informationThe broadcasting of row video, thus video can be watched normally, avoid occurring card, slow and cannot play as far as possibleEtc. problem.
Embodiment mono-
The present embodiment is mainly discussed the processing of server in video broadcasting method, specifically comprises:
Fig. 1 shows according to the flow chart of the video broadcasting method of the embodiment of the present invention one.
Step 101, receives the broadcast information that browser obtains.
Wherein, described broadcast information is in the time playing, to occur obtaining in the video of preset condition.
Browser can constantly detect the broadcast state of video in the process of video playback, when detectingWhen stating video occur preset condition in broadcasting, can obtain the broadcast information of described video, for example, videoTitle, the total time of video playback etc. Then described broadcast information can be sent to server, therebyMake server can receive described broadcast information.
Step 102, determine the video that mates with described broadcast information, and obtain the video of described couplingAddress information.
Then server can detect, mate according to described broadcast information, thus determine with described in broadcastPut the video of information matches, and obtain the address information of the video of described coupling. Wherein, described address letterBreath can comprise the broadcast address of the video of described coupling.
For example, the title that described broadcast information comprises video and the broadcast address of video, server can be byMate according to title, thereby obtain and the video of described name-matches, and the broadcast address of each video,Described broadcast address is formed to address information. Further, can also be by the broadcast address of described each video,Compare with the broadcast address in described broadcast information, reject with described broadcast information in broadcast address phaseSame broadcast address, forms address information.
Step 103, feeds back to described browser by described address information.
Then described address information can be fed back to described browser, thereby make the browser can basisDescribed address information is carried out the broadcasting of video.
In sum, in the embodiment of the present invention, can in the time that appearring in video playback, preset condition obtain correspondenceBroadcast information, then determine the address information of the video that mates with described broadcast information, and feed back describedlyLocation information. Thereby make browser can carry out according to described address information the broadcasting of video, make the user canTo watch normally video, avoid occurring card, slow and the problem such as cannot play as far as possible.
In the embodiment of the present invention, also comprise:
Preset video library in server.
Can in network, collect in advance the information of various video resources, by the information structure video of collectingInformation, thus video library is set in server, described video library looking for storage networking videoFrequently information.
A kind of form of described video information is as shown in table 1:
Table 1
Described video information comprises video presentation information and broadcast address.
Wherein, described video presentation information can be the relevant information that video is described, comprise title,Brief introduction, reproduction time etc., thus can determine corresponding video by described video presentation information.
Because video is divided into different kinds, as TV play, film, variety show, certainly shoot the video etc.,Therefore in described video presentation information, also can comprise the kind of video. In addition, different types of video alsoComprise video presentation information separately, drill as the video presentation information of TV play or film can comprise mainlyMember, brief introduction, director, age, type and scoring etc., the video presentation information of variety show can compriseBroadcast time etc.
Described broadcast address is the memory address of video in network, as being URL(Uniform/UniversalResourceLocator, URL) address etc. Wherein, same video is retouchedThe represented video of the information of stating can have multiple broadcast address, as corresponds respectively to excellent cruel, potato, searchesThe chained address of fox, a sudden peal of thunder, the strange skill of love etc. each video website, can deposit described chained address respectivelyBe stored in table 1.
Certainly, in video information, can also comprise the data such as play parameter and rank, referring to hereinafter discussing.
Fig. 2 shows the first video library pre-setting method flow chart according to the embodiment of the present invention one.
In the embodiment of the present invention, described in server preset video library, comprising:
Step 201, the video in searched in advance network, and obtain the video information of described video.
Wherein, described video information comprises: video presentation information, broadcast address.
In network, search in advance all kinds of videos, obtain the resource of described each video, therefrom extract videoInformation, as video presentation information and broadcast address etc.
Step 202, arranges the video information of each video, determines consistent each of video presentation informationVideo.
Video information to video arranges, thereby the video that can get in partial video information is retouchedThe information of stating is consistent, and described unanimously can be understood as is the part or all of video presentation information phase of videoWith, as title is identical, and for example brief introduction is mutually equal.
In the embodiment of the present invention, when in the video presentation information of any two videos, identical information reachesWhen presetting range, just can think that the video presentation information of these two videos is consistent, as two videosVideo presentation information has 10 kinds, wherein 8 kinds identical, can think the video presentation of these two videosInformation is consistent.
Thereby can determine by said method each video that video presentation information is consistent.
Step 203, obtains the broadcast address of each video that described video presentation information is consistent, looks with describedFrequently descriptor association, builds video library.
Then by the broadcast address of each video consistent described video presentation information, with corresponding video presentationInformation association, builds video library. Be in video library, a video presentation information can corresponding multiple broadcastingsAddress, as shown in table 1.
Fig. 3 shows the second video library pre-setting method flow chart according to the embodiment of the present invention one.
In the embodiment of the present invention, on the basis of above-mentioned video library pre-setting method, described pre-in serverThe method of putting video library also comprises:
Step 301, timing is play test to the corresponding video of the each broadcast address in described video library,Obtain the play parameter of described each broadcast address.
In the embodiment of the present invention, can also timing play survey to the broadcast address of each video in video libraryExamination, wherein, timing refers to the set time, as every 24 hours, or 0 o'clock every day etc. Pass throughDescribed broadcast address is obtained corresponding video and is play, thereby tests out the average download of described videoSpeed, reproduction time etc., can also further test out in described video playback, whether there is card, slow etc. existingResemble, thereby form play parameter. Play parameter can comprise average speed of download, reproduction time, card,The phenomenon occurrence number such as slow etc.
Now can test out the broadcasting situation of each video, as the own bandwidth ratio of server that video is providedLittle, the average speed of download of this video may be just lower; And for example the mutual existence of video and the page is askedTopic, appearance card that this video may be many, the phenomenon such as slow. Thereby just can be true in test in advanceThe broadcasting situation of fixed each video.
Step 302, sorts to described play parameter, obtains the rank of each broadcast address.
Then can sort to described play parameter, for example, average speed of download be sorted,Or the occurrence number of card, the phenomenon such as slow is sorted etc., certainly can be in conjunction with the each number in play parameterAccording to, get the rank that each video is each broadcast address.
Wherein, described rank can be each broadcast address by play quality sequence from high to low, described in broadcastPut high can be understood as of quality and occur following at least one situation: average speed of download is higher, card, slow etc.The occurrence number of phenomenon is less, and following at least one shape appears in low can be understood as of described play qualityCondition: average speed of download is lower, the occurrence number of card, the phenomenon such as slow is more.
Step 303, described rank is associated with described broadcast address, and add in video library.
Then described rank and corresponding broadcast address can be carried out associated, thereby can be true by rankFixed corresponding broadcast address, adds described rank in described video library to, as shown in table 1.
Describedly determine the video that mates with described broadcast information, and the address that obtains the video of described coupling is believedBreath, comprising:
Described broadcast information is mated with the video presentation information in described video library, definite couplingVideo presentation information; Obtain and each broadcast address of the described video presentation information association mating, and by instituteState each broadcast address and form address information.
Described in the embodiment of the present invention, in broadcast information, can comprise the part such as title, brief introduction of described videoVideo presentation information, therefore can be by the video presentation information in described broadcast information and described video libraryMate, as by as described in title in broadcast information mate with the title in video presentation information,Thereby obtain the video presentation information of coupling.
Then obtain and each broadcast address of the described video presentation information association mating, and respectively broadcast describedPut address and form address information, now can obtain one of them broadcast address and form address information, also canForm address information to obtain multiple broadcast address, the embodiment of the present invention does not limit this.
Described obtaining and each broadcast address of the described video presentation information association mating, and respectively broadcast describedPut address and form address information, comprising:
Obtain and each broadcast address of the described video presentation information association mating, and obtain described each broadcastingThe rank of address association; From described rank, obtain the broadcast address that comes front predetermined figure, before describedThe broadcast address of predetermined figure forms described address information.
Obtain and each broadcast address of the described video presentation information association mating, then can obtain with respectivelyThe rank of broadcast address association. Then from described rank, obtain the broadcast address that comes front predetermined figure,Wherein, described front predetermined figure is predefined numerical value, as 5,10 etc., thereby by described front pre-Location number can be determined the quantity of the broadcast address of feedback.
Before determining, after the broadcast address of predetermined figure, the broadcast address of described front predetermined figure can be formedDescribed address information.
In the embodiment of the present invention, the described broadcast address by described front predetermined figure forms described address informationAfterwards, also comprise:
The rank of the broadcast address association of described front predetermined figure is added in described address information.
In the embodiment of the present invention, the rank of the broadcast address association of described front predetermined figure can also be addedIn described address information, thereby can determine the rank of each broadcast address by described address information, sideJust user selects.
In addition, described broadcast information also comprises the dwell time of video, and while sending broadcast information, video is broadcastThe time being put into, as the video of 90 minutes stops at 45 minutes. Thereby the address information of server feedbackIn also can comprise described dwell time, reselecting after broadcast address, can by play time pointBe configured to described dwell time, and then can start to play from described dwell time.
In sum, in the embodiment of the present invention can by obtain video in network video presentation information,Broadcast address etc. form video library, thereby can look in the time that preset situation appears in the video playback of browserFrequently in storehouse, match fast video, save time.
Secondly, can also timing play test to video corresponding to each broadcast address in video library, fromAnd can obtain the play parameter of described each broadcast address, and determine the rank of each broadcast address, add toIn video library, therefore can pre-determine the broadcasting situation of each broadcast address, play thereby feed back to userSituation is broadcast address preferably.
Embodiment bis-
The present embodiment is mainly discussed the processing of browser in video broadcasting method, specifically comprises:
Fig. 4 shows the video broadcasting method flow chart according to the embodiment of the present invention two.
The embodiment of the present invention also provides a kind of player method of video, comprising:
Step 401, monitor video playing process, in the time detecting that preset condition appears in the video of broadcasting,Obtain the broadcast information of described video.
In the embodiment of the present invention, browser is in the process of displaying video, the broadcasting of monitor video in real timeProcess, thereby when detecting that the video of broadcasting obtains the broadcast information of described video while there is preset condition.
Wherein, described preset condition comprises following any one: 1, obtain video data failure; 2, videoStop reproduction time and exceed the first Preset Time; 3, video actual play time deducts theoretical reproduction timeDifference exceed the second Preset Time.
Select displaying video in browser time, can from the server of described video, download described videoData are carried out the broadcasting of video, now, if cannot download the data of described video, just can thinkObtain video failure. Wherein, obtain video and unsuccessfully can before broadcasting, occur, now this video is completePlay completely without method, also can in broadcasting, occur, now this video cannot continue to play.
Described the first Preset Time is that video stops the maximum time of playing, as 1 minute, and 3 minutes etc.,Video stops reproduction time and exceedes the first Preset Time, and video stops reproduction time and exceeded when maximumBetween, just can think that preset situation has appearred in video playback, can play ground for this user recommends anotherLocation is watched this video again.
Described actual play time is from starting displaying video to the current time period, as 9:00 starts,Current is 9:40, and actual play time is 40 minutes. To be that video is current broadcast described theoretical reproduction timeTime corresponding to data putting, if video is 100M, total time is 100 minutes. The current 30M that play,Theoretical reproduction time is 30 minutes.
Described the second Preset Time is the time of weighing video playback progress, as video may be not long-timeOccur situation about stopping, but may stop, play, result of broadcast is very bad, and impact is usedFamily is watched, and therefore, can adopt the second Preset Time to weigh, when video actual play time subtractsGo the difference of theoretical reproduction time to exceed the second Preset Time, as video is played from start to current videoActual play time is 40 minutes, but the theoretical reproduction time of this section of video is 30 minutes, and second is pre-If the time is 5 minutes, 40-10=10 > 5, exceed the second Preset Time.
The embodiment of the present invention can adopt independent process displaying video, described monitor video in browserPlaying process, comprising:
The playing process of video in monitoring independent process.
In the embodiment of the present invention, independent process displaying video can also be adopted, thereby independent process can be monitoredThe playing process of middle video.
Wherein, briefly explaining calling of described independent process as an example of flash example can be as follows with communication process:
The in the situation that of having flash in webpage, creating ActiveX plug-in unit at browser (is flash in this examplePlug-in unit) time, can obtain by CLSIDFromProgID according to plug-in unit CLSID or ProgID(CLSID) inquiry registration table, whether the system of checking has installed corresponding plug-in unit, can continue to create if installProcess. Browser obtains the IUnknown pointer of corresponding plug-in unit by calling CoGetClassObject,Then carry out mutual operation by standard interface. CoGetClassObject implementation is, passes through CLSIDGo to registry query ActiveX path, obtain behind ActiveX path, call LoadLibrary and loadActiveX plug-in unit, calls its derivative function DllGetClassObject and obtains class factory pointer(IClassFactory) the CreateInstance method of, then calling IClassFactory obtains ActiveXThe IUnknown pointer that plug-in unit is corresponding.
Detailed process is as follows:
Load ActiveX plug-in unit in webpage time, HookCoGetClassObject, creates oneActiveX control object, this ActiveX control object comprises a series of interfaces, for example IUnknownA lot of standard interfaces that pointer will call, such as IOleObject, IViewObject etc. Then adjustingDuring with the CreateInstance of IClassFactory, created ActiveX control object is returned toThe IUnknown pointer of ActiveX plug-in unit.
In the time that the page activates this ActiveX control, extract the phases such as the attribute, URL, size of this controlPass information, then creates an independent process. Specifically, create a document, insert thereinEnter an object object, this independent process is called CoGetClassObject, and Hook shouldCoGetClassObject, then create another ActiveX control object, this ActiveX control object bagDraw together a series of interfaces, a lot of standard interfaces that for example IUnknown pointer will call, for exampleIOleObject, IViewObject etc. Then in the time calling the CreateInstance of IClassFactory,This created another ActiveX control object is returned to the ActiveX plug-in unit of independent processIUnknown pointer.
In two created ActiveX control objects, create respectively one associated with this control objectWindow communicates being used for. Specifically two control object can be for size, focus, refresh,Script and other information are carried out alternately.
, in the embodiment of the present invention, can tackle all requests in above two processes, by creating in advanceTwo ActiveX control objects building are realized the information interaction between these two processes. Flash thusDetailed process in independent process, carry out, thereby can not affect the process of former webpage.
By using independent process to play video, can control having better of video, therebyDetermine the broadcasting situation of video.
Step 402, sends to server by described broadcast information.
Described broadcast information can comprise title, reproduction time etc., then described broadcast information can be sent outGive described server, make server match corresponding video by described broadcast information.
Step 403, the address information of reception server feedback, for corresponding to described address informationVideo is play.
The address information of reception server feedback is chosen corresponding broadcast address from described address information,Thereby the video that described broadcast address is corresponding is play.
Specifically comprise:
The address information of reception server feedback, shows the broadcast address in described address information; Reception is broadcastPut instruction, according to play instruction, corresponding video is play.
The address information of reception server feedback, and show the broadcast address in described address information, userCan therefrom select a broadcast address, send play instruction, in wherein said play instruction, comprise choosingThe broadcast address of selecting, thus can play video corresponding to described broadcast address.
Wherein, adopt independent process to carry out after the broadcasting of video, can be to the control better that has of videoSystem, thereby the broadcasting situation of definite video.
In the present embodiment, can also record the dwell time of video while sending video information, then receiveDuring to play instruction displaying video, can also comprise using this dwell time as the time that starts to play, fromAnd the new video of playing can be started to play from the time stopping before, be convenient to user and watch.
Embodiment tri-
The above-mentioned processing to browser and server in video broadcasting method is discussed, below from entiretyAngle discuss this video broadcasting method, specifically comprise:
Fig. 5 shows the video broadcasting method schematic diagram according to the embodiment of the present invention three.
5.1 in server preset video library.
Specifically comprise the following steps:
Video in 5.11 searched in advance networks, and obtain the video information of described video, wherein, instituteStating video information comprises: video presentation information, broadcast address;
The video information of 5.12 pairs of each videos arranges, and determines consistent respectively the looking of video presentation informationFrequently;
5.13 obtain the broadcast address of each video that described video presentation information is consistent, retouch with described videoState information association, build video library.
Also comprise:
5.14 timings are play test to the corresponding video of the each broadcast address in described video library, obtainThe play parameter of described each broadcast address;
5.15 pairs of described play parameter sort, and obtain the rank of each broadcast address;
5.16 is associated with described broadcast address by described rank, and add in video library.
5.2 browser monitor video playing process, in the time detecting that preset condition appears in the video of broadcasting,Obtain the broadcast information of described video.
Wherein, described preset condition comprises following any one: obtain video data failure, video stops broadcastingThe time of putting exceedes the first Preset Time, and video actual play time to deduct the difference of theoretical reproduction time superCross the second Preset Time.
Optionally, in browser, adopt independent process displaying video, monitor video in independent processPlaying process
Described broadcast information is sent to server by 5.3 browsers.
5.4 servers determine the video that mates with described broadcast information, and obtain the video of described couplingAddress information.
Specifically comprise the following steps:
5.41 mate described broadcast information with the video presentation information in described video library, determineThe video presentation information of coupling.
5.42 obtain and each broadcast address of the described video presentation information association mating, and by described eachBroadcast address forms address information.
5.421 obtain and each broadcast address of the described video presentation information association mating, and obtainThe rank of described each broadcast address association.
5.422 obtain the broadcast address that comes front predetermined figure from described rank, by described front pre-The broadcast address of location number forms described address information.
5.423 add the rank of the broadcast address association of described front predetermined figure to described address letterIn breath.
Described address information is fed back to described browser by 5.5 servers;
The address information of 5.6 reception server feedbacks, for entering video corresponding to described address informationRow is play.
The address information of 5.61 reception server feedbacks, shows the broadcast address in described address information;
5.62 receive play instruction, according to play instruction, corresponding video are play.
In sum, in the embodiment of the present invention, can in the time that appearring in video playback, preset condition obtain correspondenceBroadcast information, then determine the address information of the video that mates with described broadcast information, and feed back describedlyLocation information. Thereby make browser can carry out according to described address information the broadcasting of video, thereby canWatch normally video, avoid occurring card, slow and the problem such as cannot play as far as possible.
Embodiment tetra-
Fig. 6 shows the server architecture figure according to the embodiment of the present invention four.
The embodiment of the present invention also provides a kind of server, comprising:
Receiver module 11, the broadcast information of obtaining for receiving browser, described broadcast information is to playIn the video of preset condition, obtaining appears in time;
Coupling acquisition module 12, for determining the video mating with described broadcast information, and described in obtainingThe address information of the video of coupling;
Feedback module 13, for feeding back to described browser by described address information.
In the embodiment of the present invention, described server also comprises:
Preset module 10, at the preset video library of server, described video library is for storage networkingThe video information of video.
In the embodiment of the present invention, described preset module 10, specifically for the video in searched in advance network,And obtain the video information of described video, wherein, described video information comprises: video presentation information, broadcastPut address; Video information to each video arranges, and determines each video that video presentation information is consistent;Obtain the broadcast address of each video that described video presentation information is consistent, close with described video presentation informationConnection, builds video library.
In the embodiment of the present invention, described preset module 10, also for timing respectively broadcasting described video libraryPut the corresponding video in address and play test, obtain the play parameter of described each broadcast address; Broadcast describedPut parameter and sort, obtain the rank of each broadcast address; Described rank is associated with described broadcast address,And add in video library.
In the embodiment of the present invention, described coupling acquisition module 12, comprising:
Matched sub-block 121, for by the video presentation information of described broadcast information and described video libraryMate, determine the video presentation information of coupling;
Obtain submodule 122, for obtaining and the each broadcasting ground of the described video presentation information association matingLocation, and described each broadcast address is formed to address information.
In the embodiment of the present invention, described in obtain submodule 122, specifically for obtaining and described looking of matingFrequently each broadcast address of descriptor association, and obtain the rank of described each broadcast address association; From describedIn rank, obtain the broadcast address that comes front predetermined figure, the broadcast address of described front predetermined figure is formedDescribed address information.
In the embodiment of the present invention, described in obtain submodule 122, specifically for by described front predetermined figureThe rank of broadcast address association is added in described address information.
In the embodiment of the present invention, described preset condition comprises following any one: obtain video data failure,Video stops reproduction time and exceedes the first Preset Time, and video actual play time is while deducting theoretical broadcastingBetween difference exceed the second Preset Time.
Fig. 7 shows according to the browser structure figure of the embodiment of the present invention four.
A kind of browser is also provided in the embodiment of the present invention, has comprised:
Monitoring acquisition module 21, for monitor video playing process, when the video that broadcasting detected occursWhen preset condition, obtain the broadcast information of described video;
Sending module 22, for sending to server by described broadcast information;
Receive and playing module 23, for the address information of reception server feedback, for to described groundVideo corresponding to location information play.
In the embodiment of the present invention, described reception playing module 23, comprising:
Receive submodule 231, for the address information of reception server feedback, show described address informationIn broadcast address;
Play submodule 232, for receiving play instruction, according to described play instruction to corresponding videoPlay.
In the embodiment of the present invention, in browser, adopt independent process displaying video;
Described monitoring acquisition module 231, specifically for the playing process of video in monitoring independent process.
In the embodiment of the present invention, described preset condition comprises following any one: obtain video data failure,Video stops reproduction time and exceedes the first Preset Time, and video actual play time is while deducting theoretical broadcastingBetween difference exceed the second Preset Time.
Embodiment five
Fig. 8 shows the Play System structure chart according to the video of the embodiment of the present invention five.
The embodiment of the present invention also provides a kind of Play System of video, comprising: server 3 and browser4。
Described server 3, comprising:
Receiver module 31, the broadcast information of obtaining for receiving browser, described broadcast information is to playIn the video of preset condition, obtaining appears in time;
Coupling acquisition module 32, for determining the video mating with described broadcast information, and described in obtainingThe address information of the video of coupling;
Feedback module 33, for feeding back to described browser by described address information.
In the embodiment of the present invention, described server also comprises:
Preset module 30, at the preset video library of server, described video library is for storage networkingThe video information of video.
In the embodiment of the present invention, described preset module 30, specifically for the video in searched in advance network,And obtain the video information of described video, wherein, described video information comprises: video presentation information, broadcastPut address; Video information to each video arranges, and determines each video that video presentation information is consistent;Obtain the broadcast address of each video that described video presentation information is consistent, close with described video presentation informationConnection, builds video library.
In the embodiment of the present invention, described preset module 30, also for timing respectively broadcasting described video libraryPut the corresponding video in address and play test, obtain the play parameter of described each broadcast address; Broadcast describedPut parameter and sort, obtain the rank of each broadcast address; Described rank is associated with described broadcast address,And add in video library.
In the embodiment of the present invention, described coupling acquisition module 32, comprising:
Matched sub-block, for carrying out the video presentation information of described broadcast information and described video libraryCoupling, determines the video presentation information of mating;
Obtain submodule, for obtaining and each broadcast address of the described video presentation information association mating,And described each broadcast address is formed to address information.
In the embodiment of the present invention, described in obtain submodule, retouch specifically for obtaining with the described video matingState each broadcast address of information association, and obtain the rank of described each broadcast address association; From described rankIn obtain the broadcast address that comes front predetermined figure, described in the broadcast address of described front predetermined figure is formedAddress information.
In the embodiment of the present invention, described in obtain submodule, specifically for by the broadcasting of described front predetermined figureThe rank of address association is added in described address information.
In the embodiment of the present invention, described preset condition comprises following any one: obtain video data failure,Video stops reproduction time and exceedes the first Preset Time, and video actual play time is while deducting theoretical broadcastingBetween difference exceed the second Preset Time.
Described browser 4, comprising:
Monitoring acquisition module 41, for monitor video playing process, when the video that broadcasting detected occursWhen preset condition, obtain the broadcast information of described video;
Sending module 42, for sending to server by described broadcast information;
Receive and playing module 43, for the address information of reception server feedback, for to described groundVideo corresponding to location information play.
In the embodiment of the present invention, described reception playing module 43, comprising:
Receive submodule, for the address information of reception server feedback, show in described address informationBroadcast address;
Play submodule, for receiving play instruction, according to described play instruction, corresponding video is carried outPlay.
In the embodiment of the present invention, in browser, adopt independent process displaying video;
Described monitoring acquisition module, specifically for the playing process of video in monitoring independent process.
In the embodiment of the present invention, described preset condition comprises following any one: obtain video data failure,Video stops reproduction time and exceedes the first Preset Time, and video actual play time is while deducting theoretical broadcastingBetween difference exceed the second Preset Time.
In sum, in the embodiment of the present invention, can in the time that appearring in video playback, preset condition obtain correspondenceBroadcast information, then determine the address information of the video that mates with described broadcast information, and feed back describedlyLocation information. Thereby make browser can carry out according to described address information the broadcasting of video, thereby canWatch normally video, avoid occurring card, slow and the problem such as cannot play as far as possible.
Can be by obtaining video presentation information, the broadcast address etc. of video in network in the embodiment of the present inventionForm video library, thus can be in video library fast in the time that preset situation appears in the video playback of browserMatch video, save time.
Secondly, can also timing play test to video corresponding to each broadcast address in video library, fromAnd can obtain the play parameter of described each broadcast address, and determine the rank of each broadcast address, add toIn video library, therefore can pre-determine the broadcasting situation of each broadcast address, play thereby feed back to userSituation is broadcast address preferably.
The algorithm providing at this and demonstration are solid with any certain computer, virtual system or miscellaneous equipmentHave relevant. Various general-purpose systems also can with based on using together with this teaching. According to description above,It is apparent constructing the desired structure of this type systematic. In addition, the present invention is not also for any specificProgramming 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 description that provided herein, a large amount of details are described. But, can understand, thisInventive embodiment can be put into practice in the situation that there is no these details. In some instances, notBe shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, should be appreciated that in order to simplify the disclosure and to help to understand in each inventive aspectOr multiple, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is sometimesBe grouped together into single embodiment, figure or in its description. But, should be by the disclosureMethod be construed to the following intention of reflection: the present invention for required protection requires than in each claimThe more feature of the middle feature of clearly recording. Or rather, as claims below reflectLike that, inventive aspect is to be less than all features of disclosed single embodiment above. Therefore, followClaims of detailed description of the invention are incorporated to this detailed description of the invention, wherein each right thus clearlyRequirement itself is all as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out certainly the module in the equipment in embodimentChange adaptively and they are arranged in one or more equipment different from this embodiment. CanModule in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition canTo put them into multiple submodules or subelement or sub-component. Except such feature and/or process orAt least some in unit are, outside mutually repelling, can adopt any combination (to comprise companion to this descriptionWith claim, summary and accompanying drawing) in disclosed all features and so disclosed any method orAll processes or the unit of person's equipment combine. Unless clearly statement in addition, this description (comprises companionWith claim, summary and accompanying drawing) in disclosed each feature can be by providing identical, being equal to or phaseAlternative features like object replaces.
In addition, although those skilled in the art will appreciate that embodiment more described herein comprise itIncluded some feature instead of further feature in its embodiment, but the group of the feature of different embodimentClose and mean within scope of the present invention and form different embodiment. For example, power belowIn profit claim, the one of any of embodiment required for protection can make with combination arbitrarilyWith.
All parts embodiment of the present invention can realize with hardware, or with in one or more processingThe software module of moving on device realizes, or realizes with their combination. Those skilled in the art shouldUnderstand, can use in practice microprocessor or digital signal processor (DSP) to realize basisThe some or all functions of the some or all parts in the browser of the embodiment of the present invention. The present inventionCan also be embodied as part or all equipment or the dress for carrying out method as described hereinPut program (for example, computer program and computer program). Like this realize program of the present inventionCan be stored on computer-readable medium, or can there is the form of one or more signal. ThisThe signal of sample can be downloaded and obtain from internet website, or provides on carrier signal, or to appointWhat his form provides.
It should be noted above-described embodiment the present invention will be described instead of limit the invention,And those skilled in the art can design replacement in the case of not departing from the scope of claimsEmbodiment. In the claims, any reference symbol between bracket should be configured to rightThe restriction requiring. Word " comprises " not to be got rid of existence and is not listed as element or step in the claims. PositionWord " one " before the element or " one " do not get rid of and have multiple such elements. The present invention canWith by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim of having enumerated some devices, several in these devices can be by sameIndividual hardware branch carrys out imbody. The use of word first, second and C grade does not represent any order.Can be title by these word explanations.

Claims (6)

1. a video broadcasting method, comprising:
Browser monitor video playing process, in the time detecting that preset condition appears in the video of broadcasting, obtainsThe broadcast information of described video, wherein, described preset condition comprises following any one: obtain video dataFailure, video stops reproduction time and exceedes the first Preset Time, and video actual play time deducts theoryThe difference of reproduction time exceedes the second Preset Time;
Described broadcast information is sent to server;
Reception server feedback, according to the address information of the definite video of described broadcast information, forThe video that described address information is corresponding is play.
2. the method for claim 1, the address information of described reception server feedback, to useIn video corresponding to described address information play, comprising:
The address information of reception server feedback, shows the broadcast address in described address information;
Receive play instruction, according to play instruction, corresponding video is play.
3. the method for claim 1 adopts independent process displaying video in browser, instituteState monitor video playing process, comprising:
The playing process of video in monitoring independent process.
4. a browser, comprising:
Monitoring acquisition module, for monitor video playing process, pre-when detecting that the video of broadcasting occursWhen configuration state, obtain the broadcast information of described video, wherein, described preset condition comprises following any one:Obtain video data failure, video stops reproduction time and exceedes the first Preset Time, and video actual playThe difference that time deducts theoretical reproduction time exceedes the second Preset Time;
Sending module, for sending to server by described broadcast information;
Receive and playing module, for reception server feedback, looking of determining according to described broadcast informationAddress information frequently, for playing video corresponding to described address information.
5. browser as claimed in claim 4, described reception playing module, comprising:
Receive submodule, for the address information of reception server feedback, show in described address informationBroadcast address;
Play submodule, for receiving play instruction, according to described play instruction, corresponding video is carried outPlay.
6. browser as claimed in claim 4 adopts independent process displaying video in browser;Described monitoring acquisition module, specifically for the playing process of video in monitoring independent process.
CN201210573002.0A 2012-12-25 2012-12-25 Video broadcasting method and browser Active CN103024536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210573002.0A CN103024536B (en) 2012-12-25 2012-12-25 Video broadcasting method and browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210573002.0A CN103024536B (en) 2012-12-25 2012-12-25 Video broadcasting method and browser

Publications (2)

Publication Number Publication Date
CN103024536A CN103024536A (en) 2013-04-03
CN103024536B true CN103024536B (en) 2016-05-04

Family

ID=47972588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210573002.0A Active CN103024536B (en) 2012-12-25 2012-12-25 Video broadcasting method and browser

Country Status (1)

Country Link
CN (1) CN103024536B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327410B (en) * 2013-06-03 2017-02-15 贝壳网际(北京)安全技术有限公司 Method and system for playing video in mobile terminal browser and mobile terminal
CN103945240B (en) * 2014-04-17 2017-07-25 海信集团有限公司 A kind of video broadcasting method and device based on video aggregation
CN104469495B (en) * 2014-12-04 2018-07-13 北京国双科技有限公司 Click behavior monitoring method and apparatus for video playing
CN105007526A (en) * 2015-06-11 2015-10-28 阔地教育科技有限公司 Network diagnosis method and device
CN106658182A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Method, device and system for synchronizing video playing progress

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143390A (en) * 2010-01-29 2011-08-03 康佳集团股份有限公司 System and method for playing video on line
CN102314510A (en) * 2011-09-15 2012-01-11 奇智软件(北京)有限公司 Method and system for executing browser control
CN102695081A (en) * 2012-06-13 2012-09-26 百视通网络电视技术发展有限责任公司 Video resource scheduling method based on Internet television and television terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7962621B2 (en) * 2009-01-13 2011-06-14 Microsoft Corporation—One Microsoft Way Policy service system architecture for sessions created using STUN

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143390A (en) * 2010-01-29 2011-08-03 康佳集团股份有限公司 System and method for playing video on line
CN102314510A (en) * 2011-09-15 2012-01-11 奇智软件(北京)有限公司 Method and system for executing browser control
CN102695081A (en) * 2012-06-13 2012-09-26 百视通网络电视技术发展有限责任公司 Video resource scheduling method based on Internet television and television terminal

Also Published As

Publication number Publication date
CN103024536A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103024535A (en) Video playing method, server and video playing system
CN103024536B (en) Video broadcasting method and browser
US11232142B2 (en) Flexible real estate search
US20200201490A1 (en) Providing content via multiple display devices
CN104813357B (en) For the matched system and method for live media content
CN104902333B (en) Video comments processing method and video comments processing means
US20210248198A1 (en) Content Recommendation Method and Apparatus, Mobile Terminal, and Server
US11070886B2 (en) Method and apparatus for looping a video file
CN104504059A (en) Multimedia resource recommending method
CN110913135A (en) Video shooting method and device, electronic equipment and storage medium
CN105338419A (en) Subtitle collection generating method and apparatus
CN104735158A (en) Sorted storage method and device for user behavior data
CN104239089A (en) Game speed change implementing method and game speed change implementing device
CN103019831A (en) Client, system and method for replacing desktop background by turns
CN104469467A (en) Video playing method, device and system in browser client
CN103514282A (en) Method and device for displaying search results of videos
CN107729578A (en) A kind of music recommends method and device
CN106921870A (en) A kind of video broadcasting method and device
CN101540767A (en) Server, digital television receiving terminal and program information display system and method
CN105404669A (en) Method, apparatus, terminal and server for displaying webpage comment
CN104270647B (en) A kind of media content recommendations method and apparatus
CN108271064A (en) A kind of main broadcaster's lookup method, device, electronic equipment and medium
CN103686308A (en) Method and system for setting video shuffle playing
CN103646054A (en) Method for playing multimedia data and browser device
CN105100833A (en) Subtitle loading method and device for online playing

Legal Events

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

Effective date of registration: 20220714

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY 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