CN103826137A - Video access method and system, and video agent of CDN server - Google Patents
Video access method and system, and video agent of CDN server Download PDFInfo
- Publication number
- CN103826137A CN103826137A CN201210467061.XA CN201210467061A CN103826137A CN 103826137 A CN103826137 A CN 103826137A CN 201210467061 A CN201210467061 A CN 201210467061A CN 103826137 A CN103826137 A CN 103826137A
- Authority
- CN
- China
- Prior art keywords
- video
- cdn server
- source address
- cdn
- browser
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention discloses a video access method and system, and a video agent of a CDN server and relates to the field of mobile internet. The method includes: the video agent of the CDN server receives a video access request which is sent by a user through a browser, wherein the video access request carries a video label which includes a CDN attribute which indicates the address of the CDN server and a source-address SRC attribute which indicates a video source address and then the video access request addresses to the CDN server according to the CDN server address indicated by the CDN attribute; and the video agent judges whether a video corresponding to the video source address is stored in the CDN server; if the video corresponding to the video source address is stored in the CDN server, the video agent distributes the video, which is corresponding to the video source address and stored in the CDN server, to the browser. The video access method and system, and the video agent of the CDN server enable users to obtain the content of a corresponding video without using a core exchange network every time so that nearest distribution of the content of the video is realized and video traffic pressure of the core exchange network is relieved.
Description
Technical field
The present invention relates to mobile Internet field, particularly the video agency of a kind of video access method and system, content distributing network (Content Delivery Network is called for short CDN) server.
Background technology
Along with the fast development of mobile Internet application and the extensive use of Video service, there is a large amount of Video Applications site for services, the multitude of video that these websites provide transmits in network, and core switching network is caused to very large flow pressure.
Most users carries out video access by browser at present, but the HTML version 5(Hypertext Markup Language of browser, be called for short HTML5) video tab (, VIDEO label) mainly support 3 kinds of conventional video formats, the first, with the Ogg file of Theora Video coding and Vorbis audio coding; The second,
With H.264 Video coding and the Advanced Audio Coding MPEG4 file of (being called for short AAC); The third, with the WebM file of VP8 Video coding and Vorbis audio coding.HTML5 still can not support the video of more code/decode format at present.
The VIDEO label of HTML5 is due to its characteristic limitations at present, and the coding and decoding video form that can support is limited, and user, when by browser access video, cannot use the open function of ability of CDN, causes core switching network video flow pressure large.
Summary of the invention
An embodiment of the present invention technical problem to be solved is: the video agency of a kind of video access method and system, CDN server is provided, causes core switching network video flow pressure large when solving current user by browser access video.
A kind of video access method providing according to the embodiment of the present invention aspect, comprising:
The video agency of content distributing network CDN server receives the video access request that user sends by browser, video tab is carried in described video access request, described video tab comprises the CDN attribute of indication CDN server address and the source address SRC attribute of instruction video source address, and described video access request is addressed to described CDN server according to the CDN server address of CDN attribute indication; Described video agency judges whether described CDN server stores the corresponding video in described video source address; If described CDN server stores has the corresponding video in described video source address, the corresponding video distribution in described video source address of described CDN server stores is given described browser by described video agency.
The method also comprises: if described CDN server is not stored the corresponding video in described video source address, described video agency obtains video according to described video source address to corresponding video server, gives described browser by the corresponding video distribution in described video source address of obtaining from video server.
Before being given described browser by described video agency, video distribution also comprises: the coded format of video is converted to the coded format that described video tab is supported by described video agency.
Described video agency gives described browser by video delivery network by video distribution, and described video delivery network comprises following at least one network: global system for mobile communications GSM, code division multiple access CDMA, third generation mobile network, WLAN (wireless local area network) WLAN, next generation network, the Internet.
Described video tab can be the video tab of HTML version 5.
The video agency of a kind of CDN server providing according to the embodiment of the present invention aspect, comprising:
Receiving element, for receiving the video access request that user sends by browser, video tab is carried in described video access request, described video tab comprises the CDN attribute of indication CDN server address and the source address SRC attribute of instruction video source address, and described video access request is addressed to described CDN server according to the CDN server address of CDN attribute indication; Judging unit, for judging whether described CDN server stores the corresponding video in described video source address; And Dispatching Unit, if having the corresponding video in described video source address for described CDN server stores, give described browser by the corresponding video distribution in described video source address of described CDN server stores.
Described Dispatching Unit, if also do not store the corresponding video in described video source address for described CDN server, obtain video according to described video source address to corresponding video server, give described browser by the corresponding video distribution in described video source address of obtaining from video server.
Video agency also comprise: transcoder unit, before giving described browser by video distribution, is converted to by the coded format of video the coded format that described video tab is supported.
Described Dispatching Unit, specifically for giving described browser by video delivery network by video distribution, described video delivery network comprises following at least one network: global system for mobile communications GSM, code division multiple access CDMA, third generation mobile network, WLAN (wireless local area network) WLAN, next generation network, the Internet.
A kind of video access system providing according to the embodiment of the present invention aspect, comprises that the video of above-mentioned CDN server is acted on behalf of and browser, and described browser is for sending video access request to described video agency.
Video access scheme provided by the invention, newly increase video agency at CDN server, serve as the generic service end processing net element of browser client video access, and newly increase CDN attribute at video tab, indication CDN server address, act on behalf of by video the video access request that user sends by browser that receives, video tab is carried in this video access request, video tab comprises newly-increased CDN attribute and the SRC attribute of instruction video source address, video access request can be addressed to CDN server according to the CDN server address of CDN attribute indication, video agency judges whether CDN server stores the corresponding video in video source address of SRC attribute indication, if CDN server stores has the corresponding video in video source address, video is acted on behalf of the corresponding video distribution in video source address of CDN server stores to browser, make browser client all to remove to obtain corresponding video content by core switching network at every turn, realize the distribution nearby of video content, alleviate the video flow pressure of core switching network.
By the detailed description to exemplary embodiment of the present invention referring to accompanying drawing, it is clear that further feature of the present invention and advantage thereof will become.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 illustrates the structural representation of an embodiment of video access system of the present invention.
Fig. 2 illustrates the schematic flow sheet of an embodiment of video access method of the present invention.
Fig. 3 illustrates the schematic flow sheet of another embodiment of video access method of the present invention.
Fig. 4 illustrates the structural representation of the video agency's of a CDN server of the present invention embodiment.
Fig. 5 illustrates the structural representation of another embodiment of the video agency of CDN server of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Illustrative to the description only actually of at least one exemplary embodiment below, never as any restriction to the present invention and application or use.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Unless illustrate in addition, otherwise the parts of setting forth in these embodiments and positioned opposite, numeral expression formula and the numerical value of step not limited the scope of the invention.
, it should be understood that for convenience of description, the size of the various piece shown in accompanying drawing is not to draw according to actual proportionate relationship meanwhile.
May not discuss in detail for the known technology of person of ordinary skill in the relevant, method and apparatus, but in suitable situation, described technology, method and apparatus should be regarded as authorizing a part for specification.
In all examples with discussing shown here, it is exemplary that any occurrence should be construed as merely, rather than as restriction.Therefore, other example of exemplary embodiment can have different values.
It should be noted that: in similar label and letter accompanying drawing below, represent similar terms, therefore, once be defined in an a certain Xiang Yi accompanying drawing, in accompanying drawing subsequently, do not need it to be further discussed.
Fig. 1 illustrates the structural representation of an embodiment of video access system of the present invention.As shown in Figure 1, this video access system comprises: the video agency 102 of browser 101 and CDN server, can further include the video server 103 that each enterprise of video is provided for user.Browser 101 is supported in the CDN attribute that video tab newly increases, and is used to refer to CDN server address, and user is (as user 1, user 2 ... user N etc.) can carry out video access by browser 101.Video agency 102 is the generic service end processing net element of serving as browser client video access that newly increase on CDN server.Video server 103 can provide for user the web portal pages of video tour, the web portal pages that user can browsing video server 103 provides on browser 101.
The video agency 102 of CDN server can receive the video access request that user sends by browser, and this video access request is addressed to CDN server according to the CDN server address of CDN attribute indication; Then video agency 102 judges whether CDN server stores the corresponding video in video source address of SRC attribute indication; If CDN server stores has the corresponding video in video source address, by the corresponding video distribution in video source address of CDN server stores to browser 101.If CDN server does not have the corresponding video of store video source address, video agency 102 obtains video according to video source address to corresponding video server 103, by the corresponding video distribution in video source address of obtaining from video server 103 to browser 101.
Above-mentioned video access system, newly increase video agency at CDN server, serve as the generic service end processing net element of browser client video access, and newly increase CDN attribute at video tab, indication CDN server address, act on behalf of by video the video access request that user sends by browser that receives, video tab is carried in this video access request, video tab comprises newly-increased CDN attribute and the SRC attribute of instruction video source address, video access request can be addressed to CDN server according to the CDN server address of CDN attribute indication, video agency judges whether CDN server stores the corresponding video in video source address of SRC attribute indication, if CDN server stores has the corresponding video in video source address, video is acted on behalf of the corresponding video distribution in video source address of CDN server stores to browser, make browser client all to remove to obtain corresponding video content by core switching network at every turn, realize the distribution nearby of video content, alleviate the video flow pressure of core switching network.
Fig. 2 illustrates the schematic flow sheet of an embodiment of video access method of the present invention.As shown in Figure 2, this video access method comprises the following steps:
S201, the video agency of CDN server receives the video access request that user sends by browser, video tab is carried in video access request, video tab comprises the CDN attribute of indication CDN server address and the source address SRC attribute of instruction video source address, and video access request is addressed to CDN server according to the CDN server address of CDN attribute indication.
Video server can provide for user the web portal pages of video tour, the web portal pages that user can browsing video server provides on browser, and then select the video of wish access.
S202, video agency judges whether CDN server stores the corresponding video in video source address.
S203, if CDN server stores has the corresponding video in video source address, video is acted on behalf of the corresponding video distribution in video source address of CDN server stores to browser.
Video agency by video distribution to browser before, video agency can also be converted to the coded format of video the coded format that video tab is supported.
Video agency can be by video delivery network by video distribution to browser, video delivery network comprises following at least one network: global system for mobile communications, code division multiple access, third generation mobile network, WLAN (wireless local area network), next generation network, the Internet etc., but be not limited to this.
Above-mentioned video access method, newly increase video agency at CDN server, serve as the generic service end processing net element of browser client video access, and newly increase CDN attribute at video tab, indication CDN server address, act on behalf of by video the video access request that user sends by browser that receives, video tab is carried in this video access request, video tab comprises newly-increased CDN attribute and the SRC attribute of instruction video source address, video access request can be addressed to CDN server according to the CDN server address of CDN attribute indication, video agency judges whether CDN server stores the corresponding video in video source address of SRC attribute indication, if CDN server stores has the corresponding video in video source address, video is acted on behalf of the corresponding video distribution in video source address of CDN server stores to browser, make browser client all to remove to obtain corresponding video content by core switching network at every turn, realize the distribution nearby of video content, alleviate the video flow pressure of core switching network.
Fig. 3 illustrates the schematic flow sheet of another embodiment of video access method of the present invention.As shown in Figure 3, after step S202, this video access method is further comprising the steps of:
S304, if CDN server does not have the corresponding video of store video source address, video agency obtains video according to video source address to corresponding video server, and by the corresponding video distribution in video source address of obtaining from video server to browser.
It should be noted that, step S203 and step S304 be order in no particular order.
Video agency can be by the video storage of obtaining from video server at CDN server, there is this corresponding video in video source address of other user's request access if follow-up, can be by the corresponding video distribution in video source address of CDN server stores to browser, need not remove to obtain corresponding video content by core switching network again, alleviate the video flow pressure of core switching network.
Fig. 4 illustrates the structural representation of the video agency's of a CDN server of the present invention embodiment.As shown in Figure 4, this video agency comprises:
Receiving element 401, for receiving the video access request that user sends by browser, video tab is carried in video access request, video tab comprises the CDN attribute of indication CDN server address and source address (SRC) attribute of instruction video source address, and video access request is addressed to CDN server according to the CDN server address of CDN attribute indication;
Judging unit 402, for judging whether CDN server stores the corresponding video in video source address; And
Dispatching Unit 403, solves according to different judgement, if can have the corresponding video in video source address for CDN server stores on the one hand, by the corresponding video distribution in video source address of CDN server stores to browser.
On the other hand, Dispatching Unit 403, there is no the corresponding video of store video source address if can also be used for CDN server, obtain video according to video source address to corresponding video server, by the corresponding video distribution in video source address of obtaining from video server to browser.
Dispatching Unit 403 can be by the video storage of obtaining from video server at CDN server, there is this corresponding video in video source address of other user's request access if follow-up, can be by the corresponding video distribution in video source address of CDN server stores to browser, need not remove to obtain corresponding video content by core switching network again, alleviate the video flow pressure of core switching network.
Dispatching Unit 403 is in the time of distribution of video, specifically for by video delivery network by video distribution to browser, video delivery network comprises following at least one network: global system for mobile communications, code division multiple access, third generation mobile network, WLAN (wireless local area network), next generation network, the Internet etc., but be not limited to this.
Fig. 5 illustrates the structural representation of another embodiment of the video agency of CDN server of the present invention.As shown in Figure 5, this video agency also comprise: transcoder unit 504, for by video distribution to before browser, the coded format of video is converted to the coded format that video tab is supported.
Above-mentioned video agency, it is the generic service end processing net element of serving as browser client video access that CDN server newly increases, the video access request sending by browser by receiving user, video tab is carried in this video access request, video tab comprises newly-increased CDN attribute and the SRC attribute of instruction video source address, video access request can be addressed to CDN server according to the CDN server address of CDN attribute indication, video agency judges whether CDN server stores the corresponding video in video source address of SRC attribute indication, if CDN server stores has the corresponding video in video source address, video is acted on behalf of the corresponding video distribution in video source address of CDN server stores to browser, make browser client all to remove to obtain corresponding video content by core switching network at every turn, realize the distribution nearby of video content, alleviate the video flow pressure of core switching network.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (10)
1. a video access method, comprising:
The video agency of content distributing network CDN server receives the video access request that user sends by browser, video tab is carried in described video access request, described video tab comprises the CDN attribute of indication CDN server address and the source address SRC attribute of instruction video source address, and described video access request is addressed to described CDN server according to the CDN server address of CDN attribute indication;
Described video agency judges whether described CDN server stores the corresponding video in described video source address;
If described CDN server stores has the corresponding video in described video source address, the corresponding video distribution in described video source address of described CDN server stores is given described browser by described video agency.
2. method according to claim 1, is characterized in that, also comprises:
If described CDN server is not stored the corresponding video in described video source address, described video agency obtains video according to described video source address to corresponding video server, gives described browser by the corresponding video distribution in described video source address of obtaining from video server.
3. method according to claim 1 and 2, is characterized in that, before video distribution is given described browser by described video agency, also comprises:
The coded format of video is converted to the coded format that described video tab is supported by described video agency.
4. method according to claim 1 and 2, it is characterized in that, described video agency gives described browser by video delivery network by video distribution, and described video delivery network comprises following at least one network: global system for mobile communications GSM, code division multiple access CDMA, third generation mobile network, WLAN (wireless local area network) WLAN, next generation network, the Internet.
5. method according to claim 1 and 2, is characterized in that, described video tab is the video tab of HTML version 5.
6. the video of content distributing network CDN server agency, comprising:
Receiving element, for receiving the video access request that user sends by browser, video tab is carried in described video access request, described video tab comprises the CDN attribute of indication CDN server address and the source address SRC attribute of instruction video source address, and described video access request is addressed to described CDN server according to the CDN server address of CDN attribute indication;
Judging unit, for judging whether described CDN server stores the corresponding video in described video source address; And
Dispatching Unit, if having the corresponding video in described video source address for described CDN server stores, gives described browser by the corresponding video distribution in described video source address of described CDN server stores.
7. video agency according to claim 6, it is characterized in that, described Dispatching Unit, if also do not store the corresponding video in described video source address for described CDN server, obtain video according to described video source address to corresponding video server, give described browser by the corresponding video distribution in described video source address of obtaining from video server.
8. according to the video agency described in claim 6 or 7, it is characterized in that, also comprise:
Transcoder unit, before giving described browser by video distribution, is converted to by the coded format of video the coded format that described video tab is supported.
9. according to the video agency described in claim 6 or 7, it is characterized in that, described Dispatching Unit, specifically for giving described browser by video delivery network by video distribution, described video delivery network comprises following at least one network: global system for mobile communications GSM, code division multiple access CDMA, third generation mobile network, WLAN (wireless local area network) WLAN, next generation network, the Internet.
10. a video access system, comprises that the video of the content distributing network CDN server as described in claim 6-9 is acted on behalf of and browser, and described browser is for sending video access request to described video agency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210467061.XA CN103826137B (en) | 2012-11-19 | 2012-11-19 | Video access methods and system, the video proxy of CDN server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210467061.XA CN103826137B (en) | 2012-11-19 | 2012-11-19 | Video access methods and system, the video proxy of CDN server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103826137A true CN103826137A (en) | 2014-05-28 |
CN103826137B CN103826137B (en) | 2018-02-16 |
Family
ID=50760929
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210467061.XA Active CN103826137B (en) | 2012-11-19 | 2012-11-19 | Video access methods and system, the video proxy of CDN server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103826137B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106230979A (en) * | 2016-08-31 | 2016-12-14 | 北京奇艺世纪科技有限公司 | Method of video distribution, system and video dispatching equipment |
CN109639635A (en) * | 2018-11-05 | 2019-04-16 | 北京达佳互联信息技术有限公司 | CDN agency draws stream method, server, CDN and client |
CN111787340A (en) * | 2020-05-25 | 2020-10-16 | 天津车之家数据信息技术有限公司 | Network live broadcast system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030018966A1 (en) * | 2000-10-19 | 2003-01-23 | Cook David H. | System and method for selective insertion of content into streaming media |
CN102098310A (en) * | 2011-02-22 | 2011-06-15 | 中国联合网络通信集团有限公司 | Streaming media content service method and system |
CN102282825A (en) * | 2010-12-14 | 2011-12-14 | 华为技术有限公司 | Method and device for streaming media to request address mapping and cache nodes in content delivery network |
CN102404378A (en) * | 2010-09-07 | 2012-04-04 | 成都索贝数码科技股份有限公司 | Streaming media distribution and transmission network system |
-
2012
- 2012-11-19 CN CN201210467061.XA patent/CN103826137B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030018966A1 (en) * | 2000-10-19 | 2003-01-23 | Cook David H. | System and method for selective insertion of content into streaming media |
CN102404378A (en) * | 2010-09-07 | 2012-04-04 | 成都索贝数码科技股份有限公司 | Streaming media distribution and transmission network system |
CN102282825A (en) * | 2010-12-14 | 2011-12-14 | 华为技术有限公司 | Method and device for streaming media to request address mapping and cache nodes in content delivery network |
CN102098310A (en) * | 2011-02-22 | 2011-06-15 | 中国联合网络通信集团有限公司 | Streaming media content service method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106230979A (en) * | 2016-08-31 | 2016-12-14 | 北京奇艺世纪科技有限公司 | Method of video distribution, system and video dispatching equipment |
CN109639635A (en) * | 2018-11-05 | 2019-04-16 | 北京达佳互联信息技术有限公司 | CDN agency draws stream method, server, CDN and client |
CN111787340A (en) * | 2020-05-25 | 2020-10-16 | 天津车之家数据信息技术有限公司 | Network live broadcast system and method |
Also Published As
Publication number | Publication date |
---|---|
CN103826137B (en) | 2018-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103942225B (en) | A kind of resource transfer method, client and the system of mixed type applications client | |
CN102693242B (en) | Network comment information sharing method and system | |
US11842150B2 (en) | Delivering auto-play media content element from cross origin resources | |
CN102948125A (en) | System and method for delivery of content objects | |
CN106331149A (en) | Webpage code adapting method applicable to client environment | |
CN105959821A (en) | Video play method and device | |
CN102780711A (en) | Method, device and system for accessing application data of SNS (Social Network Site) | |
CN104349177A (en) | Method for turning to play multimedia file under desktop cloud, virtual machine and system | |
CN104113567A (en) | Content distribution network data processing method, device and system | |
CN103826137A (en) | Video access method and system, and video agent of CDN server | |
CN106557584A (en) | A kind of web site collection method and device | |
CN103207877A (en) | Decoding method and device | |
CN104267921A (en) | Page display control method and server | |
US10581783B2 (en) | Method and system for creating dynamic email signatures | |
CN101883354A (en) | Self-service site establishing method based on 3G (The 3rd Generation Telecommunication) mobile network | |
CN102984179A (en) | Cloud-computing operating system oriented method for cross-domain access to Web services | |
KR20120137629A (en) | System for providing shorten url browsing with branding , method thereof, and web client thereof | |
US8503980B2 (en) | Providing location-based services in an ad hoc environment | |
CN106790176B (en) | Method and system for accessing network | |
Bae et al. | Adaptive transformation for a scalable user interface framework supporting multi-screen services | |
CN106487861B (en) | Network data providing method and device | |
CN102164178B (en) | Content acquiring method and client | |
WO2021027474A1 (en) | Positioning assistance information broadcasting method, positioning server and ran node | |
EP2113116A2 (en) | Apparatus, method, and computer program product providing enhanced document management | |
KR20150011087A (en) | Distributed caching management method for contents delivery network service and apparatus therefor |
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 |