[go: up one dir, main page]

CN101848156A - Method of FLV (Flash Video) flow localization - Google Patents

Method of FLV (Flash Video) flow localization Download PDF

Info

Publication number
CN101848156A
CN101848156A CN201010175852A CN201010175852A CN101848156A CN 101848156 A CN101848156 A CN 101848156A CN 201010175852 A CN201010175852 A CN 201010175852A CN 201010175852 A CN201010175852 A CN 201010175852A CN 101848156 A CN101848156 A CN 101848156A
Authority
CN
China
Prior art keywords
flv
stream file
video stream
video
intranet user
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.)
Pending
Application number
CN201010175852A
Other languages
Chinese (zh)
Inventor
张元生
胡斌
蒋广弼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SUZHOU MAX NETWORK SECURITY TECHNOLOGY Co Ltd
Original Assignee
SUZHOU MAX NETWORK SECURITY TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUZHOU MAX NETWORK SECURITY TECHNOLOGY Co Ltd filed Critical SUZHOU MAX NETWORK SECURITY TECHNOLOGY Co Ltd
Priority to CN201010175852A priority Critical patent/CN101848156A/en
Publication of CN101848156A publication Critical patent/CN101848156A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method of FLV (Flash Video) flow localization, comprising the following steps that firstly, an FLV video request message based on an HTTP (Hyper Text Transport Protocol) through a DFA (Data Flow Analysis) deep packet detection engine in a mode of a label is identified to judge whether an Intranet user requests an FLV video stream file or not; secondly, a management server allows that the Intranet user is directly and externally connected with the Internet to obtain a first requested FLV video request stream file, caches a mirror image of the first requested FLV video request stream file onto a CACHE server and simultaneously files data of the video stream file; and thirdly, the management server redirects that the requested FLV video stream file with cache data on the CACHE server is connected with the CACHE server based on the HTTP, and the FLV video stream file is supplied to the Intranet user from the CACHE server. The invention localizes an FLV flow, reduces the consumption of the FLV video stream to outlet bandwidth and enhances the online video experience of the Intranet user.

Description

The method that FLV is flow localized
Technical field
The present invention relates to the flow localized method of a kind of FLV, relate in particular to a kind of flow localized method of FLV of video stream file of Intranet user request.
Background technology
High speed development along with the Internet, IP network data carried by data flow is increasing, need the overall performance and the traffic conditions of control IP network to adapt to professional development, after simultaneously obtaining shutoff or control such as the application software of P2P class, also becoming based on the FLV video stream application of HTTP standard agreement carrying becomes more and more popular.
FLV is the abbreviation of FLASH VIDEO, the FLV stream media format is a kind of new video format, full name is Flash Video, the FLV stream media format is to develop along with the release of Flash MX and next a kind of emerging video format, FLV file volume is small and exquisite, and a film was about 100MB about 1MB in 1 minute for the FLV video clearly, be 1/3 of ordinary video file volume, add characteristics such as the CPU occupation rate is low, video quality is good and make it in vogue on network.
This video format is all adopted in each Online Video website at present; As excellent cruel, potato, cruel 6, youtube etc., without exception, the video content that this class website provides is each has something to recommend him, but they without exception all used Flash as the video playback carrier, the technical foundation that supports these video website is exactly---and Flash video (FLV), FLV have become the main flow form of current video file; FLV is exactly the video format that comes along with the release of Flash MX development, is adopted by numerous video sharing websites of new generation at present, is to increase the fastest, video transmission form the most widely at present; It has utilized widely used Flash Player platform on the webpage, and video is incorporated in the Flash animation.That is to say, as long as the visitor of website can see the Flash animation, also can see the FLV format video naturally, and need not additionally to install again other video plug-in unit that the use of FLV video has brought very big facility to video transmission.
Just because of the FLV video file is small and exquisite capable and vigorous, current each big portal website, video website provides the current events focus with it as main video carrier, relevent informations such as hot topic is audio-visual, we can say that current internet uses except P2P, be exactly that the FLV application can become and becomes more and more popular, simultaneously also can be more and more higher to the requirement of outlet bandwidth, after current especially P2P uses and obtains shutoff or control, the bandwidth ratio that the FLV video flowing takies is also in rising trend, because the topicality of general FLV video flowing, real-time is more intense, often also can cause the outlet bandwidth bottleneck of short time at short notice, particularly visit some at Intranet user and directly do not pass through IP addressing system accessing video website by the video website or the Intranet user of CDN network acceleration, this phenomenon is especially serious.
Summary of the invention
The purpose of this invention is to provide the flow localized method of a kind of FLV, it can optimize conventional network resources, improves user experience.
Purpose of the present invention is achieved through the following technical solutions:
The method that a kind of FLV is flow localized may further comprise the steps:
DFA deep layer bag detection engine by AOS equipment is discerned the FLV video request message based on http protocol by the mode of label, whether to judge Intranet user in request FLV video stream file;
Management server allows directly outer the successivelyying win of Intranet user to get the FLV video stream file of request first, and the FLV video stream file mirror image portion that this is asked first is cached on the CACHE server, and management server is with this video stream file data filing simultaneously;
On the CACHE server, there is a data cached FLV video stream file for the Intranet user request, management server with its based on request message of http protocol be redirected for the CACHE server between be connected, provide this FLV video stream file to Intranet user from the CACHE server.
Further, this method also comprises the steps: to write down the F.F. label constantly in the request message of Intranet user, coordinates the FLV video stream file transfer of data of Intranet user and CATHE server for management server.
Further, the rate of discharge switch of Intranet user is provided with the Port Mirroring function, and described DPI engine detects seven layer network messages of all flows of Intranet user.
Further, in the described request video stream file message based on the HTTP standard agreement, URI includes title, the ID of current video stream file, or the current time of spreading and putting.
Further, described video stream file data comprise file name, byte number.
Further, this method also comprises the steps: by obtain video website, the FLV filename of Intranet user request, byte number based on the video file stream request message of HTTP mode.
Further, this method also comprises the steps: to obtain current Intranet user under the situation of dilatory F.F. video flowing, the treating method between Intranet user and the CACHE server by the video file stream request message based on the HTTP mode.
Further, the critical field that relates to has Content-Length, Content-Type and the explanation of FLV file structure.
The present invention carries out localization with the current FLV video flow that becomes more and more popular, reduce of the consumption of FLV video flowing greatly to the outlet bandwidth of local operator, enterprise and colleges and universities, alleviate the bandwidth pressure of backbone network even, improve the Online Video Experience Degree of Intranet user especially greatly.
Description of drawings
The invention will be further described below in conjunction with accompanying drawing:
Fig. 1 uses form the outlet bandwidth day of domestic certain colleges and universities.
Fig. 2 is the FLV video stream file request message topology example figure based on http protocol of the Intranet user of the specific embodiment of the present invention.
Fig. 3 is the concrete FLV video stream file information exemplary plot of returning from the video website server of the specific embodiment of the present invention.
Fig. 4 is to the F.F. exemplary plot of the record of label constantly in the request message of Intranet user of the specific embodiment of the present invention.
Embodiment
Following with reference to description of drawings the specific embodiment of the present invention.
A kind ofly provide FLV flow localized method, its detailed process comprises: 1) at first the FLV video request message based on http protocol is discerned by the mode of label by the DFA deep layer bag detection engine of AOS equipment, whether to judge Intranet user at request FLV video flowing; 2) the FLV video stream file of asking first for Intranet user, management server can allow its directly outer successivelyying win to get stream file, and management server is cached to the video stream file mirror image portion that Intranet user gets access on the CACHE server simultaneously; 3) the FLV video stream file for the Intranet user request has had data cached situation on the CACHE server, management server with Intranet user based on the request message of http protocol be redirected for and the CACHE server between connection procedure; 4) according to the explanation of http protocol standard and FLV document structure definition, management server with relevant video stream file data as file name, byte number or the like filing; In the video file stream request message based on the HTTP mode, Intranet user is at which main flow video website, FLV filename as can be known, byte number, simultaneously current as can be known Intranet user under the situation of dilatory F.F. video flowing, the treating method between Intranet user and the CACHE server.
RFC 2616 documents and FLV file structure standard with reference to IETF (The Internet Engineering Task Force, the Internet engineering duty group) combine analysis with each field in the HTTP standard application agreement and FLV file structure standard:
Illustrated domestic certain colleges and universities' outlet bandwidth day to use form as Fig. 1, the flow-rate ratio heavy phase of FLV illustrates that when big FLV has become the most popular at present stream media format, is not sneezed in flow control, network optimization process.
Illustrated the FLV video stream file request message structure of Intranet user as Fig. 2, therefrom can intercept and capture FLV video stream file title, come from which main flow video website server or the like relevant information based on http protocol.
Illustrated that as Fig. 3 after the FLV video stream file request of Intranet user based on http protocol, the concrete FLV video stream file information from the video website server returns comprises information such as byte number, FLV file structure.
Illustrated Intranet user in watching video, may draw the fast-forward play device as Fig. 4, so often in the request message of Intranet user to F.F. also record to some extent of label constantly, as " start=355 " in the diagrammatic sketch, the new moment after the expression F.F.: 355s.
At some main flow FLV video website,, obtain to draw a conclusion through test of many times analysis, contrast:
After on the rate of discharge switch of Intranet user the Port Mirroring function being set, detect seven layer network messages of all flows of Intranet user by the DPI engine, after the video stream file of determining the Intranet user request is a certain specific website, to data statistic analysis such as the video stream file title of its request, URI (because the URI coded system of each video website is not quite similar, so the specific embodiment of the present invention is only at a certain specific main flow video website, such as Yoqoo); Intranet user is allowed to pass on the external video Website server by management server to the request meeting first time of a certain particular video frequency stream file of a certain website and obtains stream file, the stream file data that this moment, the external video Website server returned can be by management server buffer memory portion to the CACHE server, simultaneously with this stream file information back-up; In most cases, the video stream file request meeting of Intranet user is redirected direct interconnection with the CACHE server by management server, usually the CACHE server can be transferred to Intranet user with the whole video stream file, sometimes Intranet user may be drawn the fast-forward play device in watching video, so often in the request message of Intranet user F.F. moment label is also had record, management server can be coordinated the video stream file data transmission problems of Intranet user and CACHE server according to this when handling the F.F. problem; Thereby reach the target of FLV video flow localization.
The present invention will be under certain network environment, FLV video flowing resource shares in the guiding net, particularly improve the user experience of current popular FLV video flowing resource, reduce resource occupying, improve the utilance of Intranet resource, the FLV video flow is controlled at this locality, particularly alleviates the backbone network load consumption of local operator, enterprise, colleges and universities.
What need understand is: above-mentioned explanation is not to be limitation of the present invention, and in the present invention conceived scope, the interpolation of being carried out, conversion, replacement etc. also should belong to protection scope of the present invention.

Claims (6)

1. the method that FLV is flow localized is characterized in that, may further comprise the steps:
DFA deep layer bag detection engine by AOS equipment is discerned the FLV video request message based on http protocol by the mode of label, whether to judge Intranet user in request FLV video stream file;
Management server allows directly outer the successivelyying win of Intranet user to get the FLV video stream file of request first, and the FLV video stream file mirror image portion that this is asked first is cached on the CACHE server, and management server is with this video stream file data filing simultaneously;
On the CACHE server, there is a data cached FLV video stream file for the Intranet user request, management server with its based on request message of http protocol be redirected for the CACHE server between be connected, provide this FLV video stream file to Intranet user from the CACHE server.
2. the flow localized method of a kind of FLV according to claim 1, it is characterized in that, also comprise the steps: to write down the F.F. label constantly in the request message of Intranet user, coordinate the FLV video stream file transfer of data of Intranet user and CATHE server for management server.
3. the flow localized method of a kind of FLV according to claim 1 is characterized in that: the rate of discharge switch of Intranet user is provided with the Port Mirroring function, and described DPI engine detects seven layer network messages of all flows of Intranet user.
4. the flow localized method of a kind of FLV according to claim 1, it is characterized in that, this method also comprises the steps: by obtain video website, the FLV filename of Intranet user request, byte number based on the video file stream request message of HTTP mode.
5. the flow localized method of a kind of FLV according to claim 1 is characterized in that: in the described request video stream file message based on the HTTP standard agreement, URI includes title, the ID of current video stream file, or the current time of spreading and putting.
6. the flow localized method of a kind of FLV according to claim 1 is characterized in that described video stream file data comprise file name, byte number.
CN201010175852A 2010-05-19 2010-05-19 Method of FLV (Flash Video) flow localization Pending CN101848156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010175852A CN101848156A (en) 2010-05-19 2010-05-19 Method of FLV (Flash Video) flow localization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010175852A CN101848156A (en) 2010-05-19 2010-05-19 Method of FLV (Flash Video) flow localization

Publications (1)

Publication Number Publication Date
CN101848156A true CN101848156A (en) 2010-09-29

Family

ID=42772620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010175852A Pending CN101848156A (en) 2010-05-19 2010-05-19 Method of FLV (Flash Video) flow localization

Country Status (1)

Country Link
CN (1) CN101848156A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118428A (en) * 2010-12-29 2011-07-06 天脉聚源(北京)传媒科技有限公司 Method and system for playing streaming media
CN102355504A (en) * 2011-10-17 2012-02-15 苏州迈科网络安全技术股份有限公司 Online flash video (FLV) cache method and device
CN102891807A (en) * 2012-07-16 2013-01-23 北京东方网信科技股份有限公司 Network flow cache method and system based on active guidance
CN105450767A (en) * 2015-12-04 2016-03-30 珠海迈科智能科技股份有限公司 Network connection method and apparatus for intelligent device and intelligent device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610403A (en) * 2004-11-16 2005-04-27 南京大学 Method of Realizing Video on Demand System Based on Collaborative Caching
CN101534320A (en) * 2008-12-04 2009-09-16 苏州迈科网络安全技术有限公司 Method for controlling and managing file downloading flow of fast thunder client based on HTTP mode
CN101562583A (en) * 2008-04-18 2009-10-21 华为技术有限公司 Method, system and device for obtaining buffer memory data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610403A (en) * 2004-11-16 2005-04-27 南京大学 Method of Realizing Video on Demand System Based on Collaborative Caching
CN101562583A (en) * 2008-04-18 2009-10-21 华为技术有限公司 Method, system and device for obtaining buffer memory data
CN101534320A (en) * 2008-12-04 2009-09-16 苏州迈科网络安全技术有限公司 Method for controlling and managing file downloading flow of fast thunder client based on HTTP mode

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118428A (en) * 2010-12-29 2011-07-06 天脉聚源(北京)传媒科技有限公司 Method and system for playing streaming media
CN102118428B (en) * 2010-12-29 2012-12-26 天脉聚源(北京)传媒科技有限公司 Method and system for playing streaming media
CN102355504A (en) * 2011-10-17 2012-02-15 苏州迈科网络安全技术股份有限公司 Online flash video (FLV) cache method and device
CN102891807A (en) * 2012-07-16 2013-01-23 北京东方网信科技股份有限公司 Network flow cache method and system based on active guidance
CN102891807B (en) * 2012-07-16 2015-10-28 北京东方网信科技股份有限公司 A kind of network traffic cache method and system based on positive guide
CN105450767A (en) * 2015-12-04 2016-03-30 珠海迈科智能科技股份有限公司 Network connection method and apparatus for intelligent device and intelligent device

Similar Documents

Publication Publication Date Title
JP4975831B2 (en) Remote data access technology for portable devices
CN1897588B (en) A mixed-mode network file transfer method and system
US7921221B2 (en) Method and apparatus for obtaining digital objects in a communication network
KR101330052B1 (en) Method for providing content caching service in adapted content streaming and local caching device thereof
US12034794B2 (en) Network address resolution
US10880357B2 (en) Reducing requests for media segments in streaming of multimedia content
WO2017096830A1 (en) Content delivery method and scheduling proxy server for cdn platform
CN103648019A (en) Video downloading method and device based on HLS protocol
CN102111685A (en) Acceleration method, equipment and system for network video loading
WO2009045942A2 (en) Server-controlled distribution of media content
CN103001964B (en) Buffer memory accelerated method under a kind of LAN environment
US20120102221A1 (en) System and method for redirecting a request for a non-canonical web page
WO2015176470A1 (en) Updating method and device for cache state based on http, and processor therefor
JP2008301442A (en) Video sharing system, user terminal device, and program
CN107920042A (en) A kind of optimized transmission method and server of the direct broadcasting room page
CN101848156A (en) Method of FLV (Flash Video) flow localization
CN103825916A (en) Resource downloading method and resource downloading system
US9705836B2 (en) Method, server and SNS system for message interaction
Chen et al. SProxy: A caching infrastructure to support internet streaming
KR20150011087A (en) Distributed caching management method for contents delivery network service and apparatus therefor
CN107851072B (en) Receiving apparatus, transmitting apparatus, and data processing method
EP2031522B1 (en) Media service supply allowing interrupted sessions to be resumed
CN106612311A (en) Data push method and device
JP5802288B2 (en) Video distribution system and video distribution method
KR20130134911A (en) Method for providing content caching service in adapted streaming service and local caching device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100929