Specific embodiment
Embodiments of the invention are described below in detail, the example of described embodiment is shown in the drawings, wherein from start to finish
The element that same or similar label represents same or similar element or has same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, originally
Inventive embodiment includes falling into all changes in the range of the spirit of attached claims and intension, modification and equivalent
Thing.
In describing the invention it is to be understood that term " first ", " second " etc. are only used for describing purpose, and not
It is understood that as indicating or implying relative importance.In describing the invention, it should be noted that specifying unless otherwise clear and definite
And restriction, term " being connected ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected,
Or be integrally connected;Can be to be mechanically connected or electrically connect;Can be to be joined directly together it is also possible to pass through intermediary
It is indirectly connected to.For the ordinary skill in the art, above-mentioned term tool in the present invention can be understood with concrete condition
Body implication.Additionally, in describing the invention, unless otherwise stated, " multiple " are meant that two or more.
In flow chart or here any process described otherwise above or method description are construed as, represent and include
The module of the code of executable instruction of one or more steps for realizing specific logical function or process, fragment or portion
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by substantially simultaneously in the way of or in the opposite order, carry out perform function, this should be by the present invention
Embodiment person of ordinary skill in the field understood.
It should be noted that embodiments of the invention are preferably applied to mobile device, for example, (ios is ios operating system
The handheld equipment operating system developed by Apple), Android operation system (Android system be a kind of based on linux from
By and open source code operating system), windows phone operating system (windows phone be Microsoft issue
Mobile phone operating system) mobile device, be of course also apply to personal computer and other Intelligent mobile equipments, the present invention
This is not construed as limiting.
Below with reference to the accompanying drawings describe according to embodiments of the present invention for the video broadcasting method in browser of mobile terminal,
Device, system and mobile terminal.
Fig. 1 is the flow process for the video broadcasting method in browser of mobile terminal according to an embodiment of the invention
Figure.As shown in figure 1, this video broadcasting method comprises the following steps.
S101, browser obtains the video playback request instruction of user.
In one embodiment of the invention, browser may operate in mobile terminal, and wherein, mobile terminal can be intelligence
Energy mobile phone, panel computer, personal digital assistant etc. have the hardware device of video playback capability.Specifically, when user wishes to broadcast
When putting certain video, can be by clicking on video link in the webpage of browser display in the terminal, clicking on broadcasting button
Deng operation input video playing request instruction.
S102, the address of the page according to corresponding to video playback request instruction obtains video playback request instruction for the browser
Information.
In one embodiment of the invention, address information can be url(uniform resource locator, system
One URLs), domain name etc..Specifically, browser can obtain current page according to video playback request instruction and (play and ask
Seek the corresponding video page of instruction) url information.In other embodiments of the invention, browser also can enter to url information
Row analysis is to extract the domain name of current page, path, required parameter etc..
S103, browser adjusts the ua(user agent of browser, user agent according to address above mentioned information) parameter.
In one embodiment of the invention, when the current ua parameter of browser is mismatched with address above mentioned information, clear
Device of looking at can adjust the ua parameter of browser itself according to the address information of the page.For example, if the url letter of browser current web page
Cease for http://www.vv.tv/info, then the ua parameter adjustment of browser can be that http://www.vv.tv/info corresponds to
Ua parameter.In another embodiment of the present invention, url information http of current web page also can first be extracted: //
Domain name vv.tv in www.vv.tv/info, then by the ua parameter adjustment of browser be vv.tv corresponding ua parameter.
S104, browser by according to the video playback request message that video playback request instruction and ua parameter generate send to
Server, so that server returns the video being suitable to browser broadcasting according to ua parameter.
In one embodiment of the invention, the video being suitable to browser broadcasting may be based on the video of open source protocol, such as
By html(hypertext markup language, HTML) video<video>tag definition regards in 5
Frequency etc..Specifically, after server (server of such as video website) receives the video playback request message of browser transmission,
First obtain video playback request message in ua parameter, then according to get ua parameter select with this ua parameter be suitable for
Based on the video source of open source protocol, it is back to browser and plays out.In one embodiment of the invention, open source protocol is
Html5video tag etc., closed agreement is flashvideo etc..
According to embodiments of the present invention for the video broadcasting method in browser of mobile terminal, can according to the regarding of user
Frequency playing request instructs the ua parameter of the address information adjustment browser of the corresponding page, so that server can be according to tune
Ua parameter after whole returns the video being suitable to browser broadcasting, and then improves video response speed, improves Consumer's Experience.
Fig. 2 is the flow process for the video broadcasting method in browser of mobile terminal in accordance with another embodiment of the present invention
Figure.In this embodiment, browser can be advised in ua parameter according to the address information of the page corresponding to video playback request instruction
Then inquire about ua parameter corresponding with affiliated address information in storehouse, and then the ua parameter adjustment of browser is that address information is corresponding
Ua parameter.Specifically, as shown in Fig. 2 this video broadcasting method comprises the following steps.
S201, browser obtains the video playback request instruction of user.
S202, the address of the page according to corresponding to video playback request instruction obtains video playback request instruction for the browser
Information.
S203, browser is according to address information inquiry ua parameter rule storehouse to obtain address information corresponding ua parameter.
In one embodiment of the invention, ua parameter rule storehouse is storable in mobile terminal or stores taking beyond the clouds
In business device, after browser obtains the address information of the page corresponding to video playback request instruction, can be in mobile terminal or cloud
The inquiry ua parameter corresponding with the address information obtaining in ua parameter rule storehouse in the server of end.
In another embodiment of the present invention, if not finding in ua parameter rule storehouse in the terminal and obtaining
The corresponding ua parameter of the address information that takes, then can send address information to cloud server, and beyond the clouds in server
The ua parameter corresponding with this address information is inquired about, simultaneously by the address information inquiring and ua parameter in ua parameter rule storehouse
Corresponding relation synchronized update to mobile terminal ua parameter rule storehouse.
S204, the ua parameter adjustment of browser is address information corresponding ua parameter by browser.
Specifically, in one embodiment of the invention, if the address finding and obtaining in ua parameter rule storehouse
The corresponding ua parameter of information is the current ua parameter of browser, then keep the ua parameter constant of browser;If in ua ginseng
In number rule bases, to find the ua parameter corresponding with the address information obtaining be not the current ua parameter of browser, then can will be clear
Look at device ua parameter adjustment be address information corresponding ua parameter.
S205, browser will disappear according to the video playback request that the ua parameter after video playback request instruction and adjustment generates
Breath sends to server, so that server returns the video being suitable to browser broadcasting according to ua parameter.
According to embodiments of the present invention for the video broadcasting method in browser of mobile terminal, can be in ua parameter rule storehouse
Middle inquiry and the address information corresponding ua parameter obtaining, and the ua parameter adjustment of browser is the ua parameter inquiring, energy
Enough ua parameters more accurately updating browser, and then provide the user the video resource being more suitable for playing, improve further and use
Family is experienced.
Fig. 3 is the flow process according to another embodiment of the present invention for the video broadcasting method in browser of mobile terminal
Figure.In one embodiment of the invention, the video type that browser can return to server first judges, and is judging
When the video that server returns is the video based on closing agreement, browser can be according to the page of the webpage belonging to the video returning
Acquisition of information is corresponding to be suitable to the video of browser broadcasting and plays out, specifically, as shown in figure 3, this video broadcasting method
Comprise the following steps.
S301, browser obtains the video playback request instruction of user.
S302, the address of the page according to corresponding to video playback request instruction obtains video playback request instruction for the browser
Information.
S303, browser adjusts the ua parameter of browser according to address information.
S304, browser is according to address information inquiry ua parameter rule storehouse to obtain address information corresponding ua parameter.
S305, browser will disappear according to the video playback request that the ua parameter after video playback request instruction and adjustment generates
Breath sends to server, so that server returns the video being suitable to browser broadcasting according to ua parameter.
S306, the page that browser the reception server returns.
In one embodiment of the invention, the page that server returns includes content information, page info, attribute information
With address information etc., wherein, content information may include the type of video in the page and video, such as regarding based on open source protocol
Frequency and the video based on closing agreement etc..In one embodiment of the invention, open source protocol is html5video tag etc., envelope
Enclosed agreement is flashvideo etc..
S307, browser judges whether the video in the page is based on the video closing agreement.
In one embodiment of the invention, the video based on closing agreement is for needing flash plug-in unit or other plug-in units
The video that can play, such as contains the video of special characteristic flash video etc..
S308, if it is determined that video is the video based on closing agreement, then browser obtains according to the page info of the page
The corresponding video being suitable to browser broadcasting of video.
In one embodiment of the invention, if it is determined that the video in the page is the video based on closing agreement, then may be used
First corresponding analysis rule is selected according to page info, then obtain further according to analysis rule that video is corresponding is suitable to browser
The video play, wherein, analysis rule is storable in mobile terminal or cloud server.
Specifically, as shown in figure 4, in one embodiment of the invention, when page info comprises page feature code, point
Analysis rule mays include:
S401, extracts the corresponding content of page feature code.
For example, if exist in page info page feature code var video_data=[urldata1,
Urldata2 ... ...], then can extract page feature code var video_data at least one content urldata1 corresponding,
urldata2,…….
S402, according to the mark of page feature code corresponding content obtaining video.
In one embodiment of the invention, can at least one content corresponding to page feature code be analyzed, to obtain
Take the mark of video, for example, can urldata1 is analyzed to obtain video labeling video123.
S403, identifies corresponding video playback address according to mark inquiry.
In one embodiment of the invention, url address: http can be assembled according to the mark of this video: //
www.v1.com/getpath?Id=video123, and obtain regarding of video123 mark according to the url Address requests of this assembling
Server address and its storage location on the server that frequency is located, and then according to the server address getting and storage position
Put and generate the video playback address that be suitable to browser broadcasting corresponding with this video.
As shown in figure 5, in another embodiment of the invention, when comprising animation flash control in page info, analysis
Rule mays include:
S501, obtains the animation variable flashvars parameter of animation flash control in page info, and in flashvars
When comprising fisrt feature code in parameter, obtain second feature code and third feature code further.
In one embodiment of the invention, for example, can first determine whether whether comprise first in flashvars parameter
Condition code, such as tvmode=tvliving, if comprised, can obtain second feature code " vod.v2.cn " and the 3rd spy further
Levy code " video/1.flv ".
S502, the host address being located according to the video information that second feature code and third feature code obtain this video.
For example, in one embodiment of the invention, can be according to second feature code " vod.v2.cn " and third feature
Code " video/1.flv " assembling url address: http://vod.v2.cn/video/l.flv, and send out to the url address of this assembling
Send request.And then the host address being located according to the video information that the data that request returns extracts this video
vodcdn.v2.cn.
S503, the address of the main frame according to video, second feature code and third feature code obtain the corresponding video of video
Broadcast address.
For example, in one embodiment of the invention, can first third feature code " video/1.flv " be divided into
Video/1 and .flv two parts, are then encoded (as base64 coding), and are combined generation one with .flv to video/1
New value mlkzw8vmq==.flv, and then can be generated suitable according to second feature code " vod.v2.cn " and mlkzw8vmq==.flv
The video playback address play in browser: http://vod.v2.cn/vod_base/mlkzw8vmq==.flv/0.
As shown in fig. 6, in yet another embodiment of the present invention, when page info comprises ad hoc rule character string, point
Analysis rule may also include that
S601, extracts the ad hoc rule character string in page info (i.e. page address information), and by ad hoc rule character
String is as the unique mark of the video comprising in the page.
In one embodiment of the invention, address information can be url, specifically, can carry out path to url first and divide
Analysis, and path is divided into some sections of contents, if wherein one section content is ad hoc rule character string, such as continuation character string
V12345.html, then can be exchanged into the continuation character string 12345 of 0-9 from wherein extraction, and using character string 12345 as page
Unique mark videoid of the video comprising in face.
S602, generates address link according to unique mark, and receives and sends request to address chain.
Specifically, in one embodiment of the invention, if the length of unique mark videoid is more than 0, can basis
Unique mark videoid generates address link, for example, for unique mark videoid12345, can generate video playback address
Link http://pic.v3.cn/xml/video/12345.xml.
S603, obtains video corresponding video playback address according to the result that request returns.
For example, in one embodiment of the invention, when to http://pic.v3.cn/xml/video/
After 12345.xml sends request, the character string in the flv label under items label in this request returning result can be parsed
Http:// flv.v3.cn/20130313/303478.flv, this character string is the corresponding browser that is suitable to of video in the page and broadcasts
The video playback address put.
In an embodiment of the present invention, can be obtained by any one analysis rule in the analysis rule described in Fig. 4-6
Take the video playback address being suitable to browser broadcasting it will be appreciated that the analysis rule described in Fig. 4-6 is only the preferred reality of the present invention
Apply example, the analysis rule that other can obtain the video playback address being suitable to browser broadcasting according to page info is equally applicable
In the present invention.
S309, if it is determined that video is not the video based on closing agreement, then obtains the address of video, and according to video
Video is play in address.
According to embodiments of the present invention for the video broadcasting method in browser of mobile terminal, can interpolate that server returns
Video type in the page info returning, and when judging that video type is the video based on closing agreement, basis is returned further
The page info returning obtains the corresponding video being suitable to browser broadcasting and plays out, and then need not install plug-in unit just playable base
In the video of closing agreement, easy to operate, release the memory space of mobile terminal simultaneously, lift Consumer's Experience.
In order to realize above-described embodiment, the present invention also proposes a kind of video play device.
Fig. 7 is the structural representation of video play device according to an embodiment of the invention.As shown in fig. 7, this video
Playing device includes the first acquisition module 110, the second acquisition module 120, adjusting module 130 and sending module 140.In the present invention
An embodiment in, browser may operate in mobile terminal, wherein, mobile terminal can be smart mobile phone, panel computer,
Personal digital assistant etc. has the hardware device of video playback capability.
Specifically, the first acquisition module 110 is used for obtaining the video playback request instruction of user.Specifically, the first acquisition
Module 110 can be by clicking on video link, clicking on the operation such as broadcasting button in the webpage of browser display in the terminal
Obtain the video playback request instruction of user.
Second acquisition module 120 is used for the page according to corresponding to video playback request instruction obtains video playback request instruction
The address information in face.In one embodiment of the invention, address information can be url, domain name etc..Specifically, the second acquisition
Module 120 can obtain current page (i.e. video page corresponding to playing request instruction) according to video playback request instruction
Url information.In other embodiments of the invention, the second acquisition module 120 also can be analyzed to url information to extract currently
The domain name of the page, path, required parameter etc..
Adjusting module 130 is used for adjusting the ua parameter of browser according to address above mentioned information.An enforcement in the present invention
In example, when the current ua parameter of browser is mismatched with address above mentioned information, adjusting module 130 can be believed according to the address of the page
The ua parameter of breath adjustment browser.For example, if the url information of browser current web page is http://www.vv.tv/info,
Then the ua parameter adjustment of browser can be http://www.vv.tv/info corresponding ua parameter by adjusting module 130.At this
In another bright embodiment, also can first extract the domain name in the url information http://www.vv.tv/info of current web page
Vv.tv, then by the ua parameter adjustment of browser be vv.tv corresponding ua parameter.
Sending module 140 is used for be sent out according to the video playback request message that video playback request instruction and ua parameter generate
Deliver to server, so that server returns the video being suitable to browser broadcasting according to ua parameter.In one embodiment of the present of invention
In, the video being suitable to browser broadcasting may be based on the video of open source protocol, such as by html(hypertext markup
Language, HTML) video of video<video>tag definition etc. in 5.Specifically, server (such as video
The server of website) receive browser transmission video playback request message after, first obtain video playback request message in
Ua parameter, then according to get to obtain ua parameter select with this ua parameter be suitable for the video source based on open source protocol, return
Play out to browser.In one embodiment of the invention, open source protocol is html5videotag etc., closed agreement
For flashvideo etc..
Video play device according to embodiments of the present invention, can be by adjusting module according to the video playback request with user
The address information instructing the corresponding page adjusts the ua parameter of browser, so that server can be according to the ua ginseng after adjustment
Number returns the video being suitable to browser broadcasting, and then improves video response speed, improves Consumer's Experience.
Fig. 8 is the structural representation of video play device in accordance with another embodiment of the present invention.As shown in figure 8, this regards
Frequency playing device includes the first acquisition module 110, the second acquisition module 120, adjusting module 130, sending module 140, first obtains
Take submodule 131 and adjustment submodule 132, wherein, adjusting module 130 specifically includes acquisition submodule 131 and adjustment submodule
132.
Specifically, the first acquisition submodule 131 is used for according to address information inquiry ua parameter rule storehouse to obtain address letter
Cease corresponding ua parameter.In one embodiment of the invention, ua parameter rule storehouse is storable in mobile terminal or stores
Beyond the clouds in server, after the first acquisition module 110 obtains the address information of the page corresponding to video playback request instruction,
First acquisition submodule 131 can be inquired about and the address letter obtaining in the ua parameter rule storehouse in mobile terminal or cloud server
Manner of breathing corresponding ua parameter.
In another embodiment of the present invention, if not finding in ua parameter rule storehouse in the terminal and obtaining
The corresponding ua parameter of the address information that takes, then can send address information to cloud server, and beyond the clouds in server
The ua parameter corresponding with this address information is inquired about, simultaneously by the address information inquiring and ua parameter in ua parameter rule storehouse
Corresponding relation synchronized update to mobile terminal ua parameter rule storehouse.
It is address information corresponding ua parameter that adjustment submodule 132 is used for the ua parameter adjustment of browser.More specifically,
In one embodiment of the invention, if finding the ua ginseng corresponding with the address information obtaining in ua parameter rule storehouse
Number is the current ua parameter of browser, then adjustment submodule 132 keeps the ua parameter constant of browser;If on ua parameter rule
Then finding the ua parameter corresponding with the address information obtaining in storehouse is not the current ua parameter of browser, then adjust submodule
The ua parameter adjustment of browser can be address information corresponding ua parameter by 132.
Video play device according to embodiments of the present invention, adjusting module can be inquired about and acquisition in ua parameter rule storehouse
Address information corresponding ua parameter, and the ua parameter adjustment of browser is the ua parameter inquiring, can more accurately update
The ua parameter of browser, and then provide the user the video resource being more suitable for playing, improve Consumer's Experience further.
Fig. 9 is the structural representation of the video play device according to another embodiment of the present invention.As shown in figure 9, this regards
Frequency playing device includes the first acquisition module 110, the second acquisition module 120, adjusting module 130, sending module 140, receives mould
Block 150, judge module 160, the 3rd acquisition module 170, the first acquisition submodule 131, adjustment submodule 132, selection submodule
171 and second acquisition submodule 172, wherein, adjusting module 130 specifically includes the first acquisition submodule 131 and adjustment submodule
132, the 3rd acquisition module specifically includes selection submodule 171 and the second acquisition submodule 172.
Specifically, receiver module 150 is used for the page that the reception server returns.In one embodiment of the invention, take
The page that business device returns includes content information, page info, attribute information and address information etc., and wherein, content information may include
Video in the page and the type of video, the such as video based on open source protocol and the video based on closing agreement etc..At this
In a bright embodiment, open source protocol is html5video tag etc., and closed agreement is flashvideo etc..
Judge module 160 is used for judging whether the video in the page is based on the video closing agreement.In the present invention one
In individual embodiment, the video that flash plug-in unit or other plug-in units could be play is needed based on the video of closing agreement, such as flash
Video etc..
3rd acquisition module 170 is used for when judge module judges that video is the video based on closing agreement, according to the page
Page info obtain video corresponding be suitable to browser broadcasting video.More specifically, in one embodiment of the invention,
3rd acquisition module 170 includes:
Submodule 171 is selected to be used for selecting corresponding analysis rule according to page info.Wherein, analysis rule is storable in
Mobile terminal or cloud server.
Second acquisition submodule 172 is used for obtaining the corresponding video being suitable to browser broadcasting of video according to analysis rule.
In one embodiment of the invention, analysis rule can be in embodiment described in Fig. 4-6 in embodiment of the method
, it will be appreciated that the analysis rule described in Fig. 4-6 is only the preferred embodiments of the present invention, other can be according to the page for any one
The analysis rule that acquisition of information is suitable to the video playback address of browser broadcasting is applied equally to the present invention.
Clear video play device according to embodiments of the present invention, can judge, by judge module, the page that server returns
Video type in information, and when judging that video type is the video based on closing agreement, further according to the page returning
The corresponding video being suitable to browser broadcasting of acquisition of information plays out, and then just playable being based on closes association need not to install plug-in unit
The video of view, easy to operate, release the memory space of mobile terminal simultaneously, improve Consumer's Experience.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal.
In one embodiment of the invention, mobile terminal includes: shell, screen, processor and circuit board;Screen disposes
On shell, circuit board is placed in the interior volume that shell surrounds, and processor is arranged on circuit boards;Processor is used for processing number
According to, and specifically for triggering in user after the operation starting browser, obtain the video playback request instruction of user, and according to regarding
The instruction of frequency playing request obtains the address information of the page corresponding to video playback request instruction, and is adjusted according to address information
The ua parameter of browser, and will be sent to clothes according to the video playback request message that video playback request instruction and ua parameter generate
Business device, so that server returns the video being suitable to browser broadcasting according to ua parameter.
In one embodiment of the invention, mobile terminal can be smart mobile phone, panel computer, personal digital assistant etc.
Hardware device, address information can be url, domain name etc..Specifically, when user wishes to play certain video, can be by moving
Click on the operation input video playing request such as video link, click broadcasting button in the webpage of the browser display in dynamic terminal to refer to
Order, and then processor can obtain current page (the namely page of input playing request instruction) according to video playback request instruction
Url information.In other embodiments of the invention, processor also can be analyzed to url information to extract current page
Domain name, path, required parameter etc..
In one embodiment of the invention, when the current ua parameter of browser is mismatched with address above mentioned information, place
Reason device adjusts the ua parameter of browser itself according to the address information of the page, specifically, can be according to address information inquiry ua parameter
The ua parameter adjustment of browser, to obtain address information corresponding ua parameter, is then joined by rule base for the corresponding ua of address information
Number, wherein, ua parameter rule storehouse is storable in mobile terminal or is stored in cloud server, when browser obtains video
After the corresponding address information of the page of playing request instruction, can ua parameter rule storehouse in mobile terminal or cloud server
The middle inquiry ua parameter corresponding with the address information obtaining.For example, if the url information of browser current web page is
Http:// www.vv.tv/info, then the ua parameter adjustment of browser can be http://www.vv.tv/info pair by processor
The ua parameter answered.In another embodiment of the present invention, url information http of current web page also can first be extracted: //
Domain name vv.tv in www.vv.tv/info, then by the ua parameter adjustment of browser be vv.tv corresponding ua parameter.
In another embodiment of the present invention, if not finding in ua parameter rule storehouse in the terminal and obtaining
The corresponding ua parameter of the address information that takes, then can send address information to cloud server, and beyond the clouds in server
The ua parameter corresponding with this address information is inquired about, simultaneously by the address information inquiring and ua parameter in ua parameter rule storehouse
Corresponding relation synchronized update to mobile terminal ua parameter rule storehouse.If the ground finding and obtaining in ua parameter rule storehouse
Information corresponding ua parameter in location is the current ua parameter of browser, then keep the ua parameter constant of browser;If in ua
Finding the ua parameter corresponding with the address information obtaining in parameter rule storehouse is not the current ua parameter of browser, then can be by
The ua parameter adjustment of browser is address information corresponding ua parameter.
In one embodiment of the invention, the video being suitable to browser broadcasting may be based on the video of open source protocol, such as
By html(hypertext markup language, HTML) video<video>tag definition regards in 5
Frequency etc..Specifically, after server (server of such as video website) receives the video playback request message of browser transmission,
First obtain video playback request message in ua parameter, then according to get ua parameter select with this ua parameter be suitable for
Based on the video source of open source protocol, and then the address of video source can be obtained according to open source protocol, and be back to mobile terminal and carry out
Play.
In other embodiments of the invention, processor is additionally operable to the page of the reception server return, and judges in the page
Video be whether video based on closing agreement, and judge video be based on close agreement video when, according to the page
Page info obtain the corresponding video being suitable to browser broadcasting of video, and judging that video is not based on closing the regarding of agreement
During frequency, obtain the address of video, and video is play according to the address of video.Wherein, the page that server returns includes content letter
Breath, page info, attribute information and address information etc., wherein, content information may include the class of video in the page and video
Type, the such as video based on open source protocol and the video based on closing agreement etc..It is to need flash to insert based on the video of closing agreement
The video that part or other plug-in units could be play, such as flash video etc..
In one embodiment of the invention, if it is determined that video is the video based on closing agreement, then processor can be first
First corresponding analysis rule is selected according to page info, then obtain the corresponding browser that is suitable to of video further according to analysis rule and broadcast
The video put, wherein, analysis rule can be any one in embodiment described in Fig. 4-6 in embodiment of the method, and can store
In mobile terminal or cloud server, so processor can the analysis rule according to Fig. 4-6 to obtain video corresponding suitable
The video play in browser.It should be appreciated that the analysis rule described in Fig. 4-6 is only the preferred embodiments of the present invention, other energy
Enough analysis rules obtaining the video playback address being suitable to browser broadcasting according to page info are applied equally to the present invention.
Mobile terminal according to embodiments of the present invention, can according to the corresponding page of video playback request instruction of user
Address information adjusts the ua parameter of browser, so that server can return according to the ua parameter after adjustment is suitable to browser
The video play, therefore can avoid installing flash plug-in unit.Additionally, the mobile terminal of the embodiment of the present invention can also improve regarding
Frequency provides efficiency, and then improves video response speed, improves Consumer's Experience.
In order to realize above-described embodiment, the present invention also proposes a kind of audio/video player system.
Figure 10 is the structural representation of the audio/video player system according to one embodiment of the invention.As shown in Figure 10, video
Play System includes mobile terminal 1 00 server 200.
Specifically, the function of mobile terminal 1 00 is as described in the above embodiment the present invention.
Server 200 is used for receiving the video playback request message of mobile terminal 1 00 transmission, and is asked according to video playback
Ua parameter in message returns the video being suitable to browser broadcasting.
Audio/video player system according to embodiments of the present invention, can be referred to according to the video playback request with user by browser
Make the ua parameter of the address information adjustment browser of the corresponding page, so that server can be according to the ua parameter after adjustment
Return the video being suitable to browser broadcasting, therefore can avoid flash plug-in unit is installed in the terminal.Additionally, the present invention is real
Apply example and video offer efficiency can also be provided, and then improve video response speed, improve Consumer's Experience.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realizing.For example, if realized with hardware, and the same in another embodiment, can use well known in the art under
Any one of row technology or their combination are realizing: have the logic gates for data signal is realized with logic function
Discrete logic, there is the special IC of suitable combinational logic gate circuit, programmable gate array (pga), scene
Programmable gate array (fpga) etc..
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy describing with reference to this embodiment or example
Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any
One or more embodiments or example in combine in an appropriate manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not
Multiple changes, modification, replacement and modification can be carried out to these embodiments in the case of the principle of the disengaging present invention and objective, this
The scope of invention is limited by claim and its equivalent.