CN105792022B - A kind of adaptive video playback method, device and audio/video player system - Google Patents
A kind of adaptive video playback method, device and audio/video player system Download PDFInfo
- Publication number
- CN105792022B CN105792022B CN201610146692.XA CN201610146692A CN105792022B CN 105792022 B CN105792022 B CN 105792022B CN 201610146692 A CN201610146692 A CN 201610146692A CN 105792022 B CN105792022 B CN 105792022B
- Authority
- CN
- China
- Prior art keywords
- video
- server
- player
- computing device
- code
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000003044 adaptive effect Effects 0.000 title claims description 25
- 230000004044 response Effects 0.000 claims abstract description 25
- 230000005540 biological transmission Effects 0.000 claims abstract description 18
- 238000012545 processing Methods 0.000 claims description 15
- 238000009877 rendering Methods 0.000 claims description 5
- 230000004083 survival effect Effects 0.000 claims 1
- 238000004891 communication Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
Abstract
The invention discloses a kind of video broadcasting methods, are executed in computing device, and this method includes:Video access request is sent to web server;The video player initial code that web server is returned in response to video access request is received, video player initial code includes being directed toward the URL and video identifier of video server;The video player initial code is executed, is asked to the video playing that video server transmission includes video identifier according to URL;Receive and execute the video player source code that video server is returned in response to video playing request, video player source code can obtain computing device type when being executed, video player corresponding with computing device type is generated, and video playing information is obtained to video server;Video player carries out the broadcasting of video file according to the video playing information got.The invention also discloses the computing device of corresponding video play device including the video play device, video server and audio/video player systems.
Description
Technical field
The present invention relates to video technique fields, and in particular to a kind of adaptive video playback method, device and video playing
System.
Background technology
In number of site platform (such as family of automobile), web server provides a large amount of webpage and is accessed for user, different
Webpage belong to different business departments, and would generally include video link in web page contents.In general, different business department
Video file be all uniformly stored in video server, service part need in the webpage of oneself provide video broadcasting patrol
Volume and video identifier etc..After video link in user's webpage clicking, obtains the mark of video from web server and broadcasting is patrolled
Volume, then start player, obtaining corresponding video file from video server plays out.
But the terminal that user uses is varied, can be PC, smart mobile phone etc., smart mobile phone again there are many type,
Such as Android, iOS and Symbian etc..For the terminal type for being adapted to different, each business department can be according to access terminal
Type returns to the player code suitable for terminal.Such as the ends PC insertion Flash codes play out, operation Android,
IOS and the mobile terminal of Windows operating system are embedded in HTML5<video>Code plays out, in operation Symbian operations
The mobile terminal of system is embedded in HTML<a>Code plays out.
As it can be seen that the video playing code that business department safeguards is skimble-scamble, the code of each terminal of video is played by each
A business department oneself safeguards, the corresponding code for changing each business department is needed when video player coding change, is video
Platform upgrading brings larger difficulty, also increases the manpower and time cost of system upgrade.Meanwhile the disunity of code,
It is skimble-scamble to lead to playing flow, player open interface.
Invention content
For this purpose, the present invention provide a kind of new adaptive video playback method, device, computing device, video server and
Audio/video player system exists above to try hard to solve the problems, such as or at least alleviate.
According to an aspect of the present invention, a kind of adaptive video playback method is provided, is executed in computing device, the party
Method includes:Video access request is sent to web server;Receive web server in response to video access ask and return regard
Frequency player initial code, video player initial code include the video of the URL and asked video that are directed toward video server
Identifier;The video player initial code is executed, includes regarding for video identifier to be sent to video server according to URL
Frequency playing request;The video player source code that video server is returned in response to video playing request is received and executes, depending on
Frequency player source code can obtain computing device type when being executed, generate video player corresponding with computing device type,
And obtain video playing information to video server;Video player carries out video file according to the video playing information got
Broadcasting.
Optionally, in adaptive video playback method according to the present invention, video playing information includes video address, regards
Frequency marking is inscribed and video length.
Optionally, in adaptive video playback method according to the present invention, video player is according to the video got
Broadcast information carry out video file broadcasting the step of include:Video player according to video address in video playing information to regarding
Frequency server sends video file request, and receives the video file that video server is returned in response to video file request, into
Row video file plays.
Optionally, in adaptive video playback method according to the present invention, regard corresponding with computing device type is generated
The step of frequency player includes:For the ends PC, the video player based on FLASH code is generated;For operation Android operation system
The mobile terminal of system, IOS operating system and Windows operating system generates and is based on HTML<video>The video playing of code
Device;And the mobile terminal for running Symbian operating systems, it generates and is based on HTML<a>The video player of code.
According to an aspect of the present invention, a kind of adaptive video playing device is provided, is resided in computing device, the dress
Set including:Video access unit is suitable for sending video access request to web server;Initial code processing unit is suitable for receiving
Web server is asked in response to the video access that video access unit is sent and the video player initial code of return, video
Player initial code includes the video identifier of the URL and asked video that are directed toward video server, executes the video playing
Device initial code is asked according to URL to the video playing that video server transmission includes video identifier;Source code processing is single
Member, the video player source code returned in response to video playing request suitable for receiving and executing video server, video playing
Device source code can obtain computing device type when being executed, generate video player corresponding with computing device type, and to regarding
Frequency server obtains video playing information;Video playback unit is suitable for starting source code receiving unit and executes video player source
The video player generated when code carries out the broadcasting of video file according to the video playing information got.
Optionally, in adaptive video playing device according to the present invention, video playing information includes video address, regards
Frequency marking is inscribed and video length.
Optionally, in adaptive video playing device according to the present invention, video player carries out as follows
The broadcasting of video file:Video file request is sent to video server according to video address in video playing information, and is received
The video file that video server is returned in response to video file request, carries out video file broadcasting.
Optionally, in adaptive video playing device according to the present invention, source code processing unit is further adapted for:For PC
End generates the video player based on FLASH code;For operation Android operation system, IOS operating system and Windows behaviour
Make the mobile terminal of system, generates and be based on HTML<video>The video player of code;And for operation Symbian operations
The mobile terminal of system generates and is based on HTML<a>The video player of code.
According to an aspect of the present invention, a kind of computing device, including adaptive video playing device as above are provided.
According to an aspect of the present invention, a kind of video server is provided, which includes:Source code generation unit,
Suitable for receiving when computing device executes video player initial code according to the URL transmissions for being directed toward video server including video
The video playing of identifier is asked, and is asked in response to the video playing received, is generated video player source code and is sent to
Computing device, wherein computing device type can be obtained when video playing source code executes in computing device, generation is set with calculating
The standby corresponding video player of type, and video playing information is obtained to video server, video player initial code be by
Web server requests to generate in response to the video access of the computing device transmission received and is sent to computing device;Video
Information transmitting unit is asked suitable for receiving the acquisition video playing information that computing device is sent when executing video player source code
It asks, video playing information is sent to computing device in response to obtaining video playing information request;Video transmission unit is suitable for receiving
Video player is asked according to the video file that the video address in video playing information is sent in computing device, and in response to regarding
Frequency file request sends video file to computing device, so that the video player in computing device carries out broadcasting for video file
It puts.
According to an aspect of the present invention, a kind of adaptive video play system is provided, which includes calculating as above
Equipment, video server as above and web server, wherein web server is suitable for receiving the video that computing device is sent and visits
It asks request, video player initial code is requested to generate in response to video access and is sent to computing device, at the beginning of video player
Beginning code includes the video identifier of the URL and requested video that are directed toward video server.
According to the technique and scheme of the present invention, web server is supplied to the video playing of computing device direction video server
The Rendering logic of device initial code, all broadcasting logics and player is controlled by video server, and computing device is by holding
The row initial code asks corresponding video file to video server and plays logic.In this way, business end code can be protected permanently
It holds constant, had both reduced the exploitation of business department's client, also achieve the quick upgrading of video player code and to broadcasting
The control for releasing journey reduces the maintenance complexity of audio/video player system.Player can be used to carry for business department's client simultaneously
The standard interface and event of confession, control the whole process of video playing, and develop the required special work(of this business department
Energy.
Description of the drawings
To the accomplishment of the foregoing and related purposes, certain illustrative sides are described herein in conjunction with following description and drawings
Face, these aspects indicate the various modes that can put into practice principles disclosed herein, and all aspects and its equivalent aspect
It is intended to fall in the range of theme claimed.Read following detailed description in conjunction with the accompanying drawings, the disclosure it is above-mentioned
And other purposes, feature and advantage will be apparent.Throughout the disclosure, identical reference numeral generally refers to identical
Component or element.
Fig. 1 shows the schematic diagram of audio/video player system according to an embodiment of the invention;
Fig. 2 shows the signal flow graphs of adaptive video playback method according to an embodiment of the invention;
Fig. 3 shows the block diagram of the Example Computing Device of adaptive video playing device according to the present invention;
Fig. 4 shows the structure chart of adaptive video playing device 400 according to an embodiment of the invention;And
Fig. 5 shows the structure chart of video server 500 according to an embodiment of the invention.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Fig. 1 is the schematic diagram of audio/video player system according to an embodiment of the invention.
As shown in Figure 1, the audio/video player system includes computing device 100, video server 500 and web server 300.
Wherein, web server 300 provides a large amount of webpage and is accessed for user, and different webpages belongs to different business departments, at some
In the case of, each business department can dispose video link according to business needs in the webpage of oneself, and user clicks video link
Afterwards, the playing flow of video can be started.In general, the video file of different business department is all uniformly stored in video server
In 500.In embodiments of the present invention, computing device 100 first identifies and point to video clothes from the acquisition video of web server 300
Then the URL of business device 500 obtains video playing logic from video server 500 and corresponding video file plays out.Separately
Outside, for large-scale website, multiple web servers, such as web server 01, web server 02 and web services can generally be disposed
Device 03 etc..
In embodiments of the present invention, web server 300 is supplied to the video of the direction video server 500 of computing device 100
Player initial code, video player initial code include the URL for identifying and point to video server 500 of video, institute
Some plays logic and the Rendering logic of player is controlled by video server 500, and computing device 100 is initial by executing this
Code asks corresponding video file to video server 500 and plays logic.In this way, business end code can permanent retention not
Become, both reduced the exploitation of business department's client, also achieve the quick upgrading of video player code and is flowed to playing
The control of journey reduces the maintenance complexity of audio/video player system.Detailed process is described in detail below.
Fig. 2 shows the flow charts of adaptive video playback method according to an embodiment of the invention.
With reference to figure 1 or Fig. 2, video broadcasting method starts from step 210.In step 210, user needs to watch in webpage
When video, the video link in meeting webpage clicking, by computing device, to the request of web server transmission video access, (http is asked
It asks).
Then, in a step 220, after web server receives the video access request that computing device is sent, user is obtained
It is initial to be assembled into video player by the video identifier of asked video by the URL of video identifier and direction video server
Code is sent to computing device by http responses.Wherein, it can also be broadcast including some videos in video player initial code
The other parameters of device are put, such as play container (container) information.No matter the video player initial code is in which kind of type
Computing device in execute all can by URL access video server, to video server send video playing request.
Wherein, video player initial code can be built-in the label in webpage, such as:
<Script type=" text/javascript " src=" http://p.vp.autohome.com.cn/api/
playerVid=&container="></script>Tag identification code adds required parameter (video ID and placement player
Container ID), so that it may use player.And this script can permanently come into force, the modification of any player, be not required to change this generation
Code.
Then, in step 230, computing device receive web server http response after, therefrom parse video and broadcast
It puts device initial code and executes, when executing video player initial code, computing device can be according to direction video server
URL is asked to the video playing that video server transmission includes video identifier.
It then, can be according to the video mark received after video server receives above-mentioned video playing request in step 240
The video parameters dynamic creation video player source codes, i.e. JavaScript code such as symbol are known, by the video player source code
It is sent to computing device.
Then, in step 250, computing device receives and executes video player source code, is executing video player
When source code, computing device type is obtained, video player corresponding with computing device type is generated, for example, if it is calculating
Machine such as PC then generates the video player based on FLASH code;If it is operation Android operation system, IOS operating system or
The mobile terminal of Windows operating system then generates and is based on HTML<video>The video player of code;If it is operation
The mobile terminal of Symbian operating systems then generates and is based on HTML<a>The video player of code.
Meanwhile when executing video player source code, also video playing information request can be sent to video server.Its
In, the parameters such as video identifier and computing device type are carried in video playing information request.
It then in step 260, can be according to being carried in request after video server receives video playing information request
Parameter returns to video playing information to computing device.When video playing information generally comprises video address, video title and video
It is long etc..
In step 270, video player asks to take to video according to video address transmission video file in computing device
Business device.
In step 280, video server is asked according to the video file received, is sent video file and is set to calculating
It is standby, so that the video player in computing device carries out video playing.
Fig. 3 is arranged as realizing the block diagram of the Example Computing Device of video play device according to the present invention.
In basic configuration 102, computing device 100 typically comprise system storage 106 and one or more at
Manage device 104.Memory bus 108 can be used for the communication between processor 104 and system storage 106.
Depending on desired configuration, processor 104 can be any kind of processing, including but not limited to:Microprocessor
((μ P), microcontroller (μ C), digital information processor (DSP) or any combination of them.Processor 104 may include all
Cache, processor core such as one or more rank of on-chip cache 110 and second level cache 112 etc
114 and register 116.Exemplary processor core 114 may include arithmetic and logical unit (ALU), floating-point unit (FPU),
Digital signal processing core (DSP core) or any combination of them.Exemplary Memory Controller 118 can be with processor
104 are used together, or in some implementations, and Memory Controller 118 can be an interior section of processor 104.
Depending on desired configuration, system storage 106 can be any type of memory, including but not limited to:Easily
The property lost memory (RAM), nonvolatile memory (ROM, flash memory etc.) or any combination of them.System stores
Device 106 may include operating system 120, one or more apply 122 and program data 124.In some embodiments,
It may be arranged to be operated using program data 124 on an operating system using 122.One such application is according to this hair
The adaptive video playing device 400 of bright embodiment.
Computing device 100 can also include contributing to from various interface equipments (for example, output equipment 142, Peripheral Interface
144 and communication equipment 146) to basic configuration 102 via the communication of bus/interface controller 130 interface bus 140.Example
Output equipment 142 include graphics processing unit 148 and audio treatment unit 150.They can be configured as contribute to via
One or more port A/V 152 is communicated with the various external equipments of such as display or loud speaker etc.Outside example
If interface 144 may include serial interface controller 154 and parallel interface controller 156, they, which can be configured as, contributes to
Via one or more port I/O 158 and such as input equipment (for example, keyboard, mouse, pen, voice-input device, touch
Input equipment) or the external equipment of other peripheral hardwares (such as printer, scanner etc.) etc communicated.Exemplary communication is set
Standby 146 may include network controller 160, can be arranged to convenient for via one or more communication port 164 and one
The communication that other a or multiple computing devices 162 pass through network communication link.
Network communication link can be an example of communication media.Communication media can be usually presented as in such as carrier wave
Or the computer-readable instruction in the modulated data signal of other transmission mechanisms etc, data structure, program module, and can
To include any information delivery media." modulated data signal " can such signal, one in its data set or more
It is a or it change can the mode of coding information in the signal carry out.As unrestricted example, communication media can be with
Include the wire medium of such as cable network or private line network etc, and such as sound, radio frequency (RF), microwave, infrared
(IR) the various wireless mediums or including other wireless mediums.Term computer-readable medium used herein may include depositing
Both storage media and communication media.
Computing device 100 can be implemented as a part for portable (or mobile) electronic equipment of small size, these electronics are set
Standby with personal media player device, wireless network browsing apparatus, application specific equipment or can may include any of the above work(
The mixing apparatus of energy.
Fig. 4 shows the structure chart of adaptive video playing device 400 according to an embodiment of the invention.
As shown in figure 4, the adaptive video playing device 400 includes video access unit 410, initial code processing unit
420, source code processing unit 430 and video playback unit 440.
Video access unit 410 is used to send video access request to web server 300, and web server 300 is according to connecing
The request that receives sends video player initial code to initial code processing unit 420, is wrapped in video player initial code
Include the URL and video identifier for being directed toward video server.
Initial code processing unit 420 execute the video player initial code, according to be directed toward video server URL to
The transmission of video server 500 includes the video playing request of video identifier.Video server 500 is given birth to according to above-mentioned request dynamic
It is sent to computing device 100 at video player source code, and by above-mentioned source code.
Computing device 100 can obtain computing device type, generation and computing device when executing video player source code
The corresponding video player of type, detailed example reference video playback method flow do not do excessive explanation herein.
Source code processing unit 430 can also send video playing when executing video player source code to video server
Information request.Video server 500 returns to corresponding video playing information according to above-mentioned request.Video playing information includes video
Address, video title and video length etc..
Video playback unit 440 is when executing video player code according to video address in video playing information to video
Server 500 sends video file request.Video server 500 returns to corresponding video file according to request, so that video is broadcast
Device is put to play out.
Fig. 5 shows the structure chart of video server 500 according to an embodiment of the invention.
As shown in figure 5, video server 500 includes source code generation unit 510, video information transmission unit 520 and regards
Frequency transmission unit 530.
Source code receiving unit 510 is used to receive the video playing request of the transmission of computing device 100, dynamic according to above-mentioned request
State generates video player source code.And the source code of generation is sent to computing device 100.Video player source code is being counted
The implementation procedure calculated in equipment has been described in detail above, no longer describes herein.
Video information transmission unit 520 is for receiving what computing device 100 was sent when executing video player source code
Video playing information request is obtained, and video playing information is sent to computing device according to above-mentioned request.
Video transmission unit 530 is for receiving in computing device 100 video player according to regarding in video playing information
The video file request that frequency address is sent, and ask to send video file to computing device, for meter according to above-mentioned video file
Calculate the broadcasting that the video player in equipment carries out video file.
According to the technique and scheme of the present invention, web server is supplied to the video playing of computing device direction video server
The Rendering logic of device initial code, all broadcasting logics and player is controlled by video server, and computing device is by holding
The row initial code asks corresponding video file to video server and plays logic.In this way, business end code can be protected permanently
It holds constant, had both reduced the exploitation of business department's client, also achieve the quick upgrading of video player code and to broadcasting
The control for releasing journey reduces the maintenance complexity of audio/video player system.Player can be used to carry for business department's client simultaneously
The standard interface and event of confession, control the whole process of video playing, and develop the required special work(of this business department
Energy.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, knot is not been shown in detail
Structure and technology, so as not to obscure the understanding of this description.
A8:Device as described in any one of A5-A7, wherein the source code processing unit is further adapted for:It is raw for the ends PC
At the video player based on FLASH code;For operation Android operation system, IOS operating system and Windows operating system
Mobile terminal, generate be based on HTML<video>The video player of code;And for operation Symbian operating systems
Mobile terminal generates and is based on HTML<a>The video player of code.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect
Shield the present invention claims the feature more features than being expressly recited in each claim.More precisely, as following
As claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, it abides by
Thus the claims for following specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself
As a separate embodiment of the present invention.
Those skilled in the art should understand that the module of the equipment in example disclosed herein or unit or groups
Part can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in the example
In different one or more equipment.Module in aforementioned exemplary can be combined into a module or be segmented into addition multiple
Submodule.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
In addition, be described as herein can be by the processor of computer system or by executing for some in the embodiment
The combination of method or method element that other devices of the function are implemented.Therefore, have for implementing the method or method
The processor of the necessary instruction of element forms the device for implementing this method or method element.In addition, device embodiment
Element described in this is the example of following device:The device is used to implement performed by the element by the purpose in order to implement the invention
Function.
As used in this, unless specifically stated, come using ordinal number " first ", " second ", " third " etc.
Description plain objects are merely representative of the different instances for being related to similar object, and are not intended to imply that the object being described in this way must
Must have the time it is upper, spatially, in terms of sequence or given sequence in any other manner.
Although the embodiment according to limited quantity describes the present invention, above description, the art are benefited from
It is interior it is clear for the skilled person that in the scope of the present invention thus described, it can be envisaged that other embodiments.Additionally, it should be noted that
The language that is used in this specification primarily to readable and introduction purpose and select, rather than in order to explain or limit
Determine subject of the present invention and selects.Therefore, without departing from the scope and spirit of the appended claims, for this
Many modifications and changes will be apparent from for the those of ordinary skill of technical field.For the scope of the present invention, to this
The done disclosure of invention is illustrative and not restrictive, and it is intended that the scope of the present invention be defined by the claims appended hereto.
Claims (11)
1. a kind of adaptive video playback method, executes in computing device, the computing device respectively with web server and regard
Frequency server connects, and the video file of web server is stored in video server, and the video server controls all broadcast
The Rendering logic of logic and player is put, this method includes:
Video access request is sent to web server;
Web server is received to ask in response to the video access and the video player initial code that returns, the video are broadcast
Put the video identifier that device initial code includes the URL and asked video that are directed toward video server;
The video player initial code is executed, includes video identifier to be sent to video server according to the URL
Video playing is asked;
The video player source code that video server is returned in response to video playing request is received and executes, the video is broadcast
Device source code is put by video playing server according to video parameter dynamic creation, and the video player source code is when being executed
Computing device type can be obtained, generates video player corresponding with computing device type, and video is obtained to video server
Broadcast information;
The video player carries out the broadcasting of video file according to the video playing information got.
2. the method as described in claim 1, wherein when the video playing information includes video address, video title and video
It is long.
3. the method as described in claim 1, wherein the video player is regarded according to the video playing information got
The step of broadcasting of frequency file includes:
Video player sends video file request according to video address in video playing information to video server, and receives and regard
The video file that frequency server is returned in response to video file request, carries out video file broadcasting.
4. the method as described in claim 1, wherein the step of generation video player corresponding with computing device type
Including:
For the ends PC, the video player based on FLASH code is generated;
For the mobile terminal of operation Android operation system, IOS operating system and Windows operating system, generates and be based on HTML<
video>The video player of code;And
For running the mobile terminal of Symbian operating systems, generates and be based on HTML<a>The video player of code.
5. a kind of adaptive video playing device, resides in computing device, the computing device respectively with web server and regard
Frequency server connects, and the video file of web server is stored in video server, and the video server controls all broadcast
The Rendering logic of logic and player is put, which includes:
Video access unit is suitable for sending video access request to web server;
Initial code processing unit, be suitable for receiving the video access that web server is sent in response to video access unit ask and
The video player initial code of return, the video player initial code include being directed toward the URL of video server and being asked
The video identifier for seeking video executes the video player initial code, and it includes regarding to be sent to video server according to the URL
The video playing of frequency identifier is asked;
Source code processing unit is broadcast suitable for receiving and executing the video that video server is returned in response to video playing request
Put device source code, the video player source code according to video parameter dynamic creation, and described is regarded by video playing server
Frequency player source code can obtain computing device type when being executed, generate video player corresponding with computing device type,
And obtain video playing information to video server;
Video playback unit is broadcast suitable for starting the video generated when source code receiving unit executes the video player source code
Device is put, the broadcasting of video file is carried out according to the video playing information got.
6. device as claimed in claim 5, wherein when the video playing information includes video address, video title and video
It is long.
7. device as claimed in claim 5, wherein the video player carries out the broadcasting of video file as follows:
Video file request is sent to video server according to video address in video playing information, and receives video server sound
The video file that video file request returns described in Ying Yu, carries out video file broadcasting.
8. device as claimed in claim 5, wherein the source code processing unit is further adapted for:
For the ends PC, the video player based on FLASH code is generated;
For the mobile terminal of operation Android operation system, IOS operating system and Windows operating system, generates and be based on HTML<
video>The video player of code;And
For running the mobile terminal of Symbian operating systems, generates and be based on HTML<a>The video player of code.
9. a kind of computing device includes the adaptive video playing device as described in any one of claim 5-8.
10. a kind of video server, the server include:
Source code generation unit is suitable for receiving when computing device executes video player initial code according to direction video server
The video playing requests including video identifier that send of URL, in response to the video playing request received, generation regards
Frequency player source code is simultaneously sent to computing device, wherein the video playing source code can obtain when being executed in computing device
Computing device type is taken, generates video player corresponding with computing device type, and video playing is obtained to video server
Information, the video player initial code are the video access in response to the computing device transmission received by web server
It requests to generate and is sent to computing device;
Video information transmission unit is broadcast suitable for receiving the acquisition video that computing device is sent when executing video player source code
Information request is put, video playing information is sent to computing device in response to the acquisition video playing information request;
Video transmission unit is suitable for receiving video player in computing device and is sent according to the video address in video playing information
Video file request, and in response to the video file ask send video file to computing device, in computing device
Video player carry out video file broadcasting.
11. a kind of adaptive video play system, the system comprises computing devices as claimed in claim 9, such as right to want
Seek the video server and web server described in 10, wherein
The web server is suitable for receiving the video access request that computing device is sent, please seek survival in response to the video access
At video player initial code and it is sent to computing device, the video player initial code includes being directed toward video server
URL and requested video video identifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610146692.XA CN105792022B (en) | 2016-03-15 | 2016-03-15 | A kind of adaptive video playback method, device and audio/video player system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610146692.XA CN105792022B (en) | 2016-03-15 | 2016-03-15 | A kind of adaptive video playback method, device and audio/video player system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105792022A CN105792022A (en) | 2016-07-20 |
CN105792022B true CN105792022B (en) | 2018-09-14 |
Family
ID=56392663
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610146692.XA Active CN105792022B (en) | 2016-03-15 | 2016-03-15 | A kind of adaptive video playback method, device and audio/video player system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105792022B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106210826A (en) * | 2016-08-11 | 2016-12-07 | 成都索贝数码科技股份有限公司 | The media releasing player that melts supporting multiple terminals generates system |
CN106210825A (en) * | 2016-08-11 | 2016-12-07 | 成都索贝数码科技股份有限公司 | The media releasing player that melts supporting multiple terminals generates system and method |
CN106385632B (en) * | 2016-09-21 | 2019-10-22 | 微鲸科技有限公司 | Video broadcasting method and video play device |
CN108234402B (en) * | 2016-12-15 | 2020-12-08 | 北京小度互娱科技有限公司 | Method and device for acquiring video stream at mobile client and method and device for providing executable code to mobile client |
CN112714365B (en) * | 2019-10-25 | 2024-02-09 | 上海哔哩哔哩科技有限公司 | Video playing method and system |
CN112887760A (en) * | 2019-11-29 | 2021-06-01 | 北京车和家信息技术有限公司 | Video processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103777938A (en) * | 2012-10-25 | 2014-05-07 | 百度在线网络技术(北京)有限公司 | Playing method and device supporting multiple browsers |
CN104105007A (en) * | 2013-04-09 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Video loading method of mobile terminal, devices and system |
CN104954867A (en) * | 2015-06-26 | 2015-09-30 | 努比亚技术有限公司 | Media playing method and device |
CN104967909A (en) * | 2014-09-19 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Page video play method and page video play apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090077565A1 (en) * | 2007-08-17 | 2009-03-19 | Joseph Frazier | System and method for enhancing interactive web-browsing experience |
-
2016
- 2016-03-15 CN CN201610146692.XA patent/CN105792022B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103777938A (en) * | 2012-10-25 | 2014-05-07 | 百度在线网络技术(北京)有限公司 | Playing method and device supporting multiple browsers |
CN104105007A (en) * | 2013-04-09 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Video loading method of mobile terminal, devices and system |
CN104967909A (en) * | 2014-09-19 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Page video play method and page video play apparatus |
CN104954867A (en) * | 2015-06-26 | 2015-09-30 | 努比亚技术有限公司 | Media playing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105792022A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105792022B (en) | A kind of adaptive video playback method, device and audio/video player system | |
US9544357B2 (en) | Cloud-storage-based file processing method and system | |
CN103942225B (en) | A kind of resource transfer method, client and the system of mixed type applications client | |
CN104504133B (en) | The recommendation method and device of application program | |
CN104794396B (en) | Across standing posture script loophole detection method and device | |
CN104954428B (en) | A kind of information issuing method calculates equipment and system | |
CN103944944B (en) | Method, electronic equipment and the system of sharing web page link | |
CN104331306B (en) | Content updating method, equipment and system | |
US20160050128A1 (en) | System and Method for Facilitating Communication with Network-Enabled Devices | |
CN104798094B (en) | Determine the configuration of content item display environment | |
CN103152392B (en) | Installation kit supplying method, acquisition methods, equipment and system | |
CN104395882A (en) | Creation and context-aware presentation of customized emoticon item sets | |
CN104731869B (en) | The page shows method and device | |
CN105786207B (en) | Data inputting method and device | |
CN103955495B (en) | The method for down loading and device of page child resource | |
CN103631587A (en) | Software installation package customization method and server | |
CN103885775A (en) | Method and device for obtaining driver file | |
CN105550101A (en) | Test method for application program, electronic device and system | |
CN102664874A (en) | Method and system for secure logging in | |
CN103530338A (en) | Frame for carrying out page rendering on calculation equipment and page generation method | |
CN104965690A (en) | Method and apparatus for processing data | |
CN103631619A (en) | Software mounting method and terminal | |
CN103064888B (en) | A kind of information issuing method and device | |
CN108880923A (en) | The method and apparatus that policer operation applied to application server is requested | |
CN106791947A (en) | Method and device for transmitting network video and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |