CN104811740B - A kind of distribution method of video file, system and device - Google Patents

A kind of distribution method of video file, system and device Download PDF

Info

Publication number
CN104811740B
CN104811740B CN201510213790.6A CN201510213790A CN104811740B CN 104811740 B CN104811740 B CN 104811740B CN 201510213790 A CN201510213790 A CN 201510213790A CN 104811740 B CN104811740 B CN 104811740B
Authority
CN
China
Prior art keywords
video file
server
video
domain name
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510213790.6A
Other languages
Chinese (zh)
Other versions
CN104811740A (en
Inventor
冯盼盼
卢明樊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201510213790.6A priority Critical patent/CN104811740B/en
Publication of CN104811740A publication Critical patent/CN104811740A/en
Application granted granted Critical
Publication of CN104811740B publication Critical patent/CN104811740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/226Characteristics of the server or Internal components of the server
    • H04N21/2265Server identification by a unique number or address, e.g. serial number

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of distribution method of video file, system and devices, this method comprises: the video file request that routing device reception content the distribution server is sent, according to the identification information of the video file carried in video file request and the routing table of preservation, it determines the distributed memory of video file storage and accesses the domain name of the video stream server of the distributed memory, the video stream server of the domain name is made to distribute the video file to content distributing server.Due in the video file distribution procedure of the embodiment of the present invention, video file request is uniformly received by routing device, avoid the maloperation that different video streaming server domain name is configured in content distributing server, routing device is according to the domain name of the routing table lookup video stream server, distribute video file from corresponding video stream server to content distributing server, the pressure for disposing a video stream server distribution video file is reduced, the distribution efficiency of video file is improved.

Description

A kind of distribution method of video file, system and device
Technical field
The present invention relates to data communication technology field, in particular to a kind of distribution method of video file, system and device.
Background technique
In order to meet the viewing demand of user, video file is needed to carry out a series of processing to it by after buying back, Will the video file compiled, the processing such as transcoding and merging, generating user can be with video format (such as 720P high of direct viewing Clear format etc.), the video file is synchronized to content distributing server from the storage unit of distributed storage device later, by interior Hold the distribution server to provide for user.Each video file is stored in corresponding storage unit, and content distributing server passes through Video stream server accesses the storage unit in distributed storage device.
The synchronizing process of video file is also known as video distribution.Since video stream server is in different areas at this stage There is a deployment in different operation commercial cities, the accessible storage unit for storing video file accordingly of every video stream server, Storage unit is located in distributed storage device, and a distributed storage device may include a storage unit, also can wrap Include multiple, the set of distributed storage device of video file storage is also known as storage pool, which can be One, it is also possible to more, more can be located at different positions, can also dispose more distributed storages in same position and set It is standby.
In order in the distribution procedure of video file, guarantee that content distributing server is able to access that each distributed storage The storage unit of equipment, to obtain corresponding video file, mode common in the art includes:
It is directed to different operators in different areas, video stream server is respectively set, for every video flowing of setting Server distributes domain name, and the domain name of every video stream server is configured in content distributing server.It is literary when carrying out video When part is distributed, the storage unit that content distributing server is stored according to video file is determined to access the view of the storage unit The domain name of frequency streaming server, to obtain corresponding video file.The distribution that video file is carried out using which, is needed in content The domain name that each video stream server is configured in the distribution server, when the domain name change of a certain video stream server or the view Frequency streaming server is offline, if do not changed in content distributing server in time, or by a certain video stream server Domain name configuration error when, can all cause video file distribution failure.
Alternatively, a video stream server can also be configured only, which is able to access that all storage units, The domain name that the video stream server need to be only configured in content distributing server only needs to visit when carrying out video file distribution Ask the video stream server.But due to there was only a video stream server, the distribution of all video files will be by this Video stream server is realized, it will very big pressure is brought to the video stream server, to influence the distribution of video file Efficiency.
Summary of the invention
The embodiment of the invention discloses a kind of distribution method of video file, system and devices, to improve video file Distribution efficiency, and improve video file distribution accuracy and success rate.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of dissemination system of video file, the system comprises: Content distributing server, routing device, more video stream servers and distributed storage device;
Content distributing server, for sending video file request to routing device, wherein in video file request Carry the identification information of video file;
Routing device, for receiving the request, according to the identification information of the video file and the routing table of preservation, really The distributed storage device of the fixed video file storage, searches the video stream server for accessing the distributed storage device and institute The domain name of video stream server is stated, wherein the letter for the distributed storage device that record has video file to store in the routing table Breath, and preserve the information of the video stream server of every distributed storage device of access and the domain name of the video stream server;
The video stream server of domain name, for distributing the video file to the content distributing server.
Further, the routing device, when being specifically used for determining that video file request is video file downloading request, According to the domain name of lookup, the corresponding video stream server of the domain name is sent by video file downloading request;
The video stream server, the video file downloading request sent for receiving the routing device, according to described Downloading request, access store the distributed storage device of the video file, distribute the video to the content distributing server File.
Further, the routing device, when being specifically used for determining that video file request is video file inquiry request, The domain name of lookup is supplied to the content distributing server;
The content distributing server is also used to receive the domain name that the routing device provides, to the video of domain name Streaming server sends video file downloading request, wherein carrying the identification information of the video file in the downloading request;
The video stream server is requested according to the downloading, and access stores the distributed storage device of the video file, Distribute the video file to the content distributing server.
Further, the routing device is also used to receive the video file request that the content distributing server is sent, Wherein verifying identity information is carried in the video file request;According to the verification information and the authentication table of preservation, to described Content distributing server is authenticated, and when the authentication is passed, searches the video stream server for accessing the distributed storage device Domain name.
Further, the system also includes:
Storage configuration platform updates routing table for sending to the routing device;
The routing device is also used to receive the update routing table that the storage configuration platform is sent, using the update Routing table is updated the routing table locally saved.
Further, the routing device is also used at set time intervals, by what is stored in relevant database Routing table and authentication table are updated into cache database.
The embodiment of the invention provides a kind of video file distribution methods, which comprises
The video file request that reception content the distribution server is sent, wherein carrying video text in video file request The identification information of part;
According to the identification information of the video file and the routing table of preservation, the distribution of the video file storage is determined Equipment is stored, the domain name of the video stream server and the video stream server for accessing the distributed storage device is searched, makes The video stream server of domain name distributes the video file to the content distributing server, wherein remembering in the routing table The information for the distributed storage device that record has video file to store, and preserve the video flowing of every distributed storage device of access The information of the domain name of server and the video stream server.
Further, when video file request is video file downloading request, the video streaming services of domain name Device distributes the video file to the content distributing server
According to the domain name found, the corresponding video streaming services of the domain name are sent by video file request Device makes the video stream server access store the distributed storage device of the video file, to the content distributing server Distribute the video file.
Further, when video file request is video file inquiry request, the video streaming services of domain name Device distributes the video file to the content distributing server
The domain name of lookup is supplied to the content distributing server, as the content distributing server according to Domain name sends video file downloading request to the video stream server of the domain name, obtains the video file.
Further, verification information, the domain name for searching the video stream server are carried in the video file request Before, the method also includes:
According to the verification information and the authentication table of preservation, the content distributing server is authenticated, when authentication is logical It is out-of-date, carry out subsequent step.
Further, the method also includes:
The update routing table that storage configuration platform is sent is received, using the update routing table to the routing table locally saved It is updated.
Further, the method also includes:
At set time intervals, the routing table stored in relevant database and authentication table are updated to data cached In library.
The embodiment of the invention provides a kind of video file diostribution device, described device includes:
Receiving module, for the video file request that reception content the distribution server is sent, wherein the video file is asked Seek the middle identification information for carrying video file;
Searching module, for determining the video text according to the identification information of the video file and the routing table of preservation The distributed storage device of part storage, searches the video stream server and the video streaming services for accessing the distributed storage device The domain name of device makes the video stream server of domain name distribute the video file to the content distributing server.
Further, the receiving module is asked specifically for the video file inquiry that reception content the distribution server is sent It asks;
Described device further include:
Sending module, for the domain name of lookup to be supplied to the content distributing server.
Further, the receiving module is asked specifically for the video file downloading that reception content the distribution server is sent It asks;
Described device further include:
Sending module sends the corresponding video of the domain name for video file downloading request according to the domain name of lookup Streaming server.
Further, the receiving module is also used to receive the update routing table of storage configuration platform transmission;
Described device further include:
Update module, for being updated using the update routing table to the routing table locally saved.
Further, the update module is also used at set time intervals, by what is stored in relevant database Routing table and authentication table are updated into cache database.
The embodiment of the invention provides a kind of distribution method of video file, system and devices, this method comprises: routing is set The video file request that standby reception content the distribution server is sent, according to the mark of the video file carried in video file request Know information, determine the distributed memory of video file storage and accesses the domain of the video stream server of the distributed memory Name, makes the video stream server of the domain name distribute the video file to content distributing server.Due to the view of the embodiment of the present invention In frequency file distribution procedure, video file request is uniformly received by routing device, avoids and configures in content distributing server The drawbacks of maloperation of different video streaming server domain name and domain name are updated not in time preserves routing table, root in routing device According to the domain name of the routing table lookup video stream server, distribute video from corresponding video stream server to content distributing server File reduces its pressure for distributing video file, and effectively raise view to avoid only disposing a video stream server The distribution efficiency of frequency file.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of the dissemination system of video file provided in an embodiment of the present invention;
Fig. 2 is a kind of distribution procedure for video file that the embodiment of the present invention one provides;
Fig. 3 is a kind of distribution procedure of video file provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of distribution procedure for video file that the embodiment of the present invention three provides;
Fig. 5 is a kind of dissemination system structural schematic diagram of video file provided in an embodiment of the present invention;
Fig. 6 is a kind of video file diostribution device structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to effectively improve the offer efficiency of video file, the accuracy and successfully of video file distribution procedure is improved Rate, the embodiment of the invention provides a kind of distribution method of video file, system and devices.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is a kind of structural schematic diagram of the dissemination system of video file provided in an embodiment of the present invention, is wrapped in this system Include content distributing server, routing device, more video stream servers and distributed storage device.
Each video file is stored in corresponding distributed storage device, specifically be can store and is set in distributed storage In standby each storage unit, which can be one, be also possible to more, more can be located at it is different Position can also dispose more distributed storage devices in same position.Routing table is preserved in routing device, the routing table The information for the distributed storage device that middle record has video file to store, and preserve the view of every distributed storage device of access The information of the domain name of frequency streaming server and the video stream server.
When the video file that presence is issued, or when needing to inquire the storage information of video file, content distribution Server sends video file request to routing device, wherein carrying the mark letter of video file in video file request Breath, the identification information of the video file can be the unique identifications video such as the title of video file or the number of video file The information of file.Video file request includes: video file downloading request and video file inquiry request.
After routing device receives video file request, according to the identification information of the video file and the routing of preservation Table determines the distributed storage device of the video file storage;According to the routing table of preservation, searches and access the distributed storage The domain name of the video stream server of equipment and the video stream server makes the video stream server of domain name to the content The distribution server distributes the video file.Routing device extends middleware Technology reality by web server and web server It is existing, such as can be realized by nginx+lua extension, middleware Technology is extended by web server, a road may be implemented By module, so that web server has routing capabilities.
The embodiment of the present invention introduces routing device on the upper layer of video stream server, and maintenance has routing in routing device Table, the information of the distributed storage device of each video file storage is had recorded in routing table, and accesses the distributed storage The video stream server of equipment and its information of domain name.When receiving video file request, according in video file request The information of the video file of carrying, parsing obtain the distributed storage device of video file storage, are determined and are visited according to routing table Ask the video stream server of the distributed storage device, and according to the video stream server of preservation and its corresponding relationship of domain name, The domain name of the video stream server is determined, so as to which video file request to be redirected to the video stream server of the domain name.
In the video file distribution procedure of the embodiment of the present invention, video file request is uniformly received by routing device, is avoided The drawbacks of maloperation and domain name that different video streaming server domain name is configured in content distributing server are updated not in time, Routing table is preserved in routing device, according to the domain name of the routing table lookup video stream server, by corresponding video streaming services Device distributes video file to content distributing server, to avoid only disposing a video stream server, reduces it and distributes video The pressure of file, and effectively raise the distribution efficiency of video file.
Video file request includes: video file inquiry request and video file downloading request, video file request It is sent in a manner of http.
It is below video file downloading request with video file request, the embodiment of the present invention is described in detail.Fig. 2 For a kind of distribution procedure for video file that the embodiment of the present invention one provides, the process the following steps are included:
S201: the video file that reception content the distribution server is sent downloads request, wherein video file downloading is asked Seek the middle identification information for carrying video file.
S202: according to the identification information and the routing table of preservation, determining the distributed storage device of video file storage, Search the domain name of the video stream server and the video stream server that access the distributed storage device.
S203: according to the domain name of lookup, the corresponding video flowing of the domain name is sent by video file downloading request and is taken Business device.Distribute the video file from the video stream server of the domain name to content distributing server.
The information for the distributed storage device that wherein record has video file to store in the routing table, and preserve access The information of the domain name of the video stream server and video stream server of every distributed storage device.
Routing device is redirected to this according to the domain name of the video stream server so as to which video file is downloaded request The video stream server of domain name.After the video stream server of the domain name receives video file downloading request, according to video text Part downloading request belongs to the prior art to the process of content distributing server distribution corresponding video file, in embodiments of the present invention To the process without repeating.
There is the interface for carrying out routing table update in routing device, updating is mainly to be realized by storage configuration platform. Record has the corresponding relationship of the distributed storage device of each video file and its storage in storage configuration platform, and preserves visit Ask the information of the video stream server of every distributed storage device and the corresponding relationship of video stream server and its domain name. When there is the video file or video stream server that newly increase, storage configuration platform according to the storage location of video file, or The domain name of video stream server, is updated routing table.Storage configuration platform triggers routing table update operation, routes updating Table is sent to routing device, and routing device receives the update routing table that storage configuration platform is sent, using the update routing table pair The routing table locally saved is updated.
In order to improve the safety of video file distribution, video stream server is prevented by irrelevant personnel malicious access or is attacked It hits, there is the authentication table for being authenticated in routing device in embodiments of the present invention, recording in the authentication table has in every Hold legal verifying (token) information of the distribution server.In addition, content distributing server is somebody's turn to do when sending video file request The verification information of content distributing server can also be carried in video file request, routing device is according to the authentication table and to request The verification information of middle carrying is verified, so that it is determined that whether the request is malicious access or attack.
Fig. 3 be a kind of distribution procedure of video file provided by Embodiment 2 of the present invention, the process the following steps are included:
S301: the video file inquiry request that reception content the distribution server is sent, wherein video file inquiry is asked Seek middle carrying verification information.
The request is also possible to video file downloading request.
S302: according to the verification information and the authentication table of preservation, the content distributing server is authenticated, mirror is worked as When power passes through, S303 is carried out, otherwise, carries out S305.
S303: according to the identification information of the video file carried in video file inquiry request and the routing table of preservation, really The distributed storage device of fixed video file storage, searches the video stream server and the view for accessing the distributed storage device The domain name of frequency streaming server.
S304: according to the domain name of lookup, which is supplied to content distributing server.
Content distributing server receives the domain name that routing device provides, and sends video text to the video stream server of the domain name Part downloading request, wherein carrying the identification information of the video file in downloading request.Video stream server is asked according to the downloading It asks, access stores the distributed storage device of the video file, distributes the video file to content distributing server.
S305: the response message of failed authentication is returned to content distributing server.
In order to further increase the safety of video file distribution, having for token can be set in embodiments of the present invention Imitate the time.The verification information and authentication table carried in being requested according to video file, when being authenticated to content distributing server, If the authentication is passed, it is also necessary to judge whether the legal verification information recorded in the authentication table is expired, be recorded when in the authentication table Legal verification information it is expired when, routing device notifies the content distributing server to apply for new verification information again and is saved in It authenticates in table.Alternatively, routing device is actively applied to content distributing server transmission again when the legal verification information is expired New verification information notice.
Routing device storage routing table and authentication table mode may include it is a variety of, NoSQL or broader can be used Database store, and consider for performance, can be using supporting the cache database of key/value type to provide timeliness Access furthermore in order to guarantee the disaster tolerance and consistency of data relevant database can be used, persistent storage is provided.Cause This, in embodiments of the present invention, routing device is also used at set time intervals, the road that will be stored in relevant database It is updated by table and authentication table into cache database.
Fig. 4 is the distribution procedure of a kind of video file that the embodiment of the present invention three provides, the process the following steps are included:
S401: the video file request that reception content the distribution server is sent, wherein being carried in video file request Verification information.
S402: according to the verification information and the authentication table of preservation, the content distributing server is authenticated, mirror is worked as When power passes through, S403 is carried out, otherwise, carries out S407.
S403: judging the type of video file request, when video file request is video file inquiry request, into Row S404 carries out S405 when video file request is video file downloading request.
S404: according to the identification information of the video file carried in video file inquiry request and the routing table of preservation, really The distributed storage device of the fixed video file storage, searches the video stream server for accessing the distributed storage device and is somebody's turn to do The domain name of video stream server.
According to the domain name of lookup, which is supplied to content distributing server.
Specifically, routing device returns to available http downloading ground according to the domain name found, to content distributing server Location.
Content distributing server receives the domain name that routing device provides, and sends video text to the video stream server of the domain name Part downloading request, wherein carrying the identification information of the video file in downloading request.Video stream server is asked according to the downloading It asks, access stores the distributed storage device of the video file, distributes the video file to content distributing server.
S405: according to the identification information of the video file carried in video file inquiry request and the routing table of preservation, really The distributed storage device of the fixed video file storage, searches the video stream server for accessing the distributed storage device and is somebody's turn to do The domain name of video stream server.
S406: according to the domain name of lookup, the corresponding video flowing of the domain name is sent by video file downloading request and is taken Business device.Corresponding distributed storage device is accessed by the video stream server of the domain name, distributes the view to content distributing server Frequency file.
S407: the response message of failed authentication is returned to content distributing server.
Specifically, authentication does not pass through, routing device can return to HTTP 403 to content distributing server.
When the identification information of the video file carried in video file request is incorrect, will be unable to search according to routing table To the domain name of corresponding video stream server, will be unable to distribute video for the content distributing server at this time, at this time routing device HTTP 404 can be returned to content distributing server.
Since the routing device in the embodiment of the present invention is provided by the routing function of video file to video stream server, The case where video distribution caused by domain name mistake fails can be configured in the distribution server to avoid holding inside, greatly improve view The success rate of frequency division hair.
Video stream server it is online, offline there are also and update, can by by storage configuration platform trigger routing note The more new task of table is recorded, to update routing table, so that record has newest routing table in routing device.Such as work as video streaming services It, can be by changing routing table when device A breaks down, the distributed storage device of video stream server A access is routed to video Routing table can be changed by streaming server B again after the completion of video stream server A O&M, and whole process is to content point It is transparent to send out server realization, greatly strengthens the O&M of video streaming services in this way, and can reduce because of server failure The probability of caused video distribution failure.
Due to the routing table safeguarded unity in routing device, content distributing server no longer needs to safeguard each video streaming services The domain name of device, it is only necessary to the domain name of routing device is configured, so that the maintenance pressure of content distributing server is reduced, so that The service relative content the distribution server is more friendly.
Fig. 5 is a kind of dissemination system structural schematic diagram of video file provided in an embodiment of the present invention, which includes: interior Hold the distribution server 51, routing device 52, more video stream servers 53 and distributed storage device 54;
Content distributing server 51, for sending video file request to routing device, wherein the video file is requested The middle identification information for carrying video file;
Routing device 52, for receiving the request, according to the identification information of the video file and the routing table of preservation, The distributed storage device 54 for determining the video file storage, searches the video stream server for accessing the distributed storage device 53 and the video stream server 53 domain name, wherein in the routing table record have video file store distributed storage The information of equipment, and preserve the video stream server of every distributed storage device of access and the domain name of the video stream server Information;
The video stream server 53 of domain name, for distributing the video file to the content distributing server.
The routing device 52, when being specifically used for determining that video file request is video file downloading request, according to looking into Video file downloading request is sent the corresponding video stream server 53 of the domain name by the domain name looked for;
The video stream server 53, the video file downloading request sent for receiving the routing device, according to institute Downloading request is stated, access stores the distributed storage device 54 of the video file, to described in content distributing server distribution Video file.
The routing device 52 will be searched when being specifically used for determining that video file request is video file inquiry request Domain name be supplied to the content distributing server 51;
The content distributing server 51 is also used to receive the domain name that the routing device provides, to the view of domain name Frequency streaming server 53 sends video file downloading request, wherein carrying the mark letter of the video file in the downloading request Breath;
The video stream server 53 is requested according to the downloading, and the distributed storage that access stores the video file is set It is standby, distribute the video file to the content distributing server.
The routing device 52 is also used to receive the video file request that the content distributing server is sent, wherein institute It states and carries verifying identity information in video file request;According to the verification information and the authentication table of preservation, to the content point Hair server is authenticated, and when the authentication is passed, searches the domain for accessing the video stream server 53 of the distributed storage device 54 Name.
The system also includes:
Storage configuration platform 55 updates routing table for sending to the routing device;
The routing device 52 is also used to receive the update routing table that the storage configuration platform is sent, using it is described more New routing table is updated the routing table locally saved.
The routing device 52 is also used at set time intervals, the routing table that will be stored in relevant database And authentication table is updated into cache database.
Fig. 6 is a kind of video file diostribution device structural schematic diagram provided in an embodiment of the present invention, and described device includes:
Receiving module 61, for the video file request that reception content the distribution server is sent, wherein the video file The identification information of video file is carried in request;
Searching module 62, for determining the video according to the identification information of the video file and the routing table of preservation The distributed storage device of file storage searches the video stream server for accessing the distributed storage device and video flowing clothes The domain name of business device, makes the video stream server of domain name distribute the video file to the content distributing server.
The receiving module 61, the video file inquiry request sent specifically for reception content the distribution server;
Described device further include:
Sending module 63, for the domain name of lookup to be supplied to the content distributing server.
The receiving module 61 downloads request specifically for the video file that reception content the distribution server is sent;
Described device further include:
Sending module 63 sends the corresponding view of the domain name for video file downloading request according to the domain name of lookup Frequency streaming server.
The receiving module 61 is also used to receive the update routing table of storage configuration platform transmission;
Described device further include:
Update module 64, for being updated using the update routing table to the routing table locally saved.
The update module 64 is also used at set time intervals, the routing table that will be stored in relevant database And authentication table is updated into cache database.
The embodiment of the invention provides a kind of distribution method of video file, system and devices, this method comprises: routing is set The video file request that standby reception content the distribution server is sent, according to the mark of the video file carried in video file request Know information, determine the distributed memory of video file storage and accesses the domain of the video stream server of the distributed memory Name, makes the video stream server of the domain name distribute the video file to content distributing server.Due to the view of the embodiment of the present invention In frequency file distribution procedure, video file request is uniformly received by routing device, avoids and configures in content distributing server The drawbacks of maloperation of different video streaming server domain name and domain name are updated not in time preserves routing table, root in routing device According to the domain name of the routing table lookup video stream server, distribute video from corresponding video stream server to content distributing server File reduces its pressure for distributing video file, and effectively raise view to avoid only disposing a video stream server The distribution efficiency of frequency file.
For systems/devices embodiment, since it is substantially similar to the method embodiment, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Those of ordinary skill in the art will appreciate that all or part of the steps in realization above method embodiment is can It is completed with instructing relevant hardware by program, the program can store in computer-readable storage medium, The storage medium designated herein obtained, such as: ROM/RAM, magnetic disk, CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (17)

1. a kind of dissemination system of video file, which is characterized in that the system comprises: content distributing server, routing device, More video stream servers and distributed storage device;
Content distributing server, for sending video file request to routing device, wherein being carried in video file request The identification information of video file;
Routing device, according to the identification information of the video file and the routing table of preservation, determines institute for receiving the request The distributed storage device of video file storage is stated, the video stream server for accessing the distributed storage device and the view are searched The domain name of frequency streaming server, and video file request is redirected to the video stream server of domain name, wherein described The information for the distributed storage device that record has video file to store in routing table, and preserve every distributed storage of access and set The information of the domain name of standby video stream server and the video stream server;
The video stream server of domain name, for distributing the video file to the content distributing server.
2. the system as claimed in claim 1, which is characterized in that the routing device, specifically for determining that the video file is asked It asks and is downloaded for video file when requesting, according to the domain name of lookup, it is corresponding to send the domain name for video file downloading request Video stream server;
The video stream server, the video file downloading request sent for receiving the routing device, according to the downloading Request, access store the distributed storage device of the video file, distribute the video file to the content distributing server.
3. the system as claimed in claim 1, which is characterized in that the routing device, specifically for determining that the video file is asked When asking as video file inquiry request, the domain name of lookup is supplied to the content distributing server;
The content distributing server is also used to receive the domain name that the routing device provides, takes to the video flowing of domain name Device of being engaged in sends video file downloading request, wherein carrying the identification information of the video file in the downloading request;
The video stream server is requested according to the downloading, and access stores the distributed storage device of the video file, to institute It states content distributing server and distributes the video file.
4. system as claimed in any one of claims 1 to 3, which is characterized in that the routing device is also used to receive in described Hold the video file request that the distribution server is sent, wherein carrying verification information in video file request;It is tested according to described The authentication table for demonstrate,proving information and preservation, authenticates the content distributing server, when the authentication is passed, searches and accesses the distribution Formula stores the domain name of the video stream server of equipment.
5. system as claimed in claim 4, which is characterized in that the system also includes:
Storage configuration platform updates routing table for sending to the routing device;
The routing device is also used to receive the update routing table that the storage configuration platform is sent, is routed using the update Table is updated the routing table locally saved.
6. system as claimed in claim 5, which is characterized in that the routing device is also used at set time intervals, The routing table stored in relevant database and authentication table are updated into cache database.
7. a kind of video file distribution method, which is characterized in that the described method includes:
The video file request that reception content the distribution server is sent, wherein carrying video file in video file request Identification information;
According to the identification information of the video file and the routing table of preservation, the distributed storage of the video file storage is determined Equipment searches the domain name of the video stream server and the video stream server that access the distributed storage device, and will be described Video file requests the video stream server for being redirected to domain name, makes the video stream server of domain name to the content The distribution server distributes the video file, wherein the distributed storage device that record has video file to store in the routing table Information, and preserve the letter of the video stream server of every distributed storage device of access and the domain name of the video stream server Breath.
8. the method for claim 7, which is characterized in that when video file request is video file downloading request When, the video stream server of domain name distributes the video file to the content distributing server and includes:
According to the domain name found, the corresponding video stream server of the domain name is sent by video file request, is made The video stream server access stores the distributed storage device of the video file, distributes institute to the content distributing server State video file.
9. the method for claim 7, which is characterized in that when video file request is video file inquiry request When, the video stream server of domain name distributes the video file to the content distributing server and includes:
The domain name of lookup is supplied to the content distributing server, by the content distributing server according to domain name Video file downloading request is sent to the video stream server of the domain name, obtains the video file.
10. such as the described in any item methods of claim 7~9, which is characterized in that carry verifying letter in the video file request It ceases, before the domain name for searching the video stream server, the method also includes:
According to the verification information and the authentication table of preservation, the content distributing server is authenticated, when the authentication is passed, Carry out subsequent step.
11. method as claimed in claim 10, which is characterized in that the method also includes:
The update routing table that storage configuration platform is sent is received, the routing table locally saved is carried out using the update routing table It updates.
12. method as claimed in claim 10, which is characterized in that the method also includes:
At set time intervals, the routing table stored in relevant database and authentication table are updated to cache database In.
13. a kind of video file diostribution device, which is characterized in that described device includes:
Receiving module, for the video file request that reception content the distribution server is sent, wherein in video file request Carry the identification information of video file;
Searching module, for determining that the video file is deposited according to the identification information of the video file and the routing table of preservation The distributed storage device of storage searches the video stream server and the video stream server for accessing the distributed storage device Domain name, and video file request is redirected to the video stream server of domain name, take the video flowing of domain name Device be engaged in the content distributing server distribution video file, wherein record has video file to store in the routing table The information of distributed storage device, and preserve the video stream server and video flowing clothes of every distributed storage device of access The information of the domain name of business device.
14. device as claimed in claim 13, which is characterized in that the receiving module is specifically used for reception content distribution clothes The video file inquiry request that business device is sent;
Described device further include:
Sending module, for the domain name of lookup to be supplied to the content distributing server.
15. device as claimed in claim 13, which is characterized in that the receiving module is specifically used for reception content distribution clothes The video file that business device is sent downloads request;
Described device further include:
Sending module sends the corresponding video flowing of the domain name for video file downloading request and takes according to the domain name of lookup Business device.
16. such as the described in any item devices of claim 13~15, which is characterized in that the receiving module is also used to receive and deposit Store up the update routing table that configuration platform is sent;
Described device further include:
Update module, for being updated using the update routing table to the routing table locally saved.
17. device as claimed in claim 16, which is characterized in that the update module was also used between the time according to setting Every by the routing table stored in relevant database and the update of authentication table into cache database.
CN201510213790.6A 2015-04-29 2015-04-29 A kind of distribution method of video file, system and device Active CN104811740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510213790.6A CN104811740B (en) 2015-04-29 2015-04-29 A kind of distribution method of video file, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510213790.6A CN104811740B (en) 2015-04-29 2015-04-29 A kind of distribution method of video file, system and device

Publications (2)

Publication Number Publication Date
CN104811740A CN104811740A (en) 2015-07-29
CN104811740B true CN104811740B (en) 2019-01-08

Family

ID=53696160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510213790.6A Active CN104811740B (en) 2015-04-29 2015-04-29 A kind of distribution method of video file, system and device

Country Status (1)

Country Link
CN (1) CN104811740B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021248A (en) * 2015-09-16 2016-10-12 展视网(北京)科技有限公司 System and method for downloading video file related to meta-search engine
CN106815276B (en) 2015-11-27 2020-06-16 阿里巴巴集团控股有限公司 Page skipping method and device
CN105872577A (en) * 2015-12-01 2016-08-17 乐视云计算有限公司 Method, device and system for obtaining video data
CN105635175B (en) * 2016-02-04 2018-11-06 北京奇艺世纪科技有限公司 A kind of load-balancing method and system of RTMP streaming servers
CN105827717A (en) * 2016-04-18 2016-08-03 乐视控股(北京)有限公司 File download repair method and device
CN110049348B (en) * 2019-04-03 2022-04-05 网宿科技股份有限公司 Video analysis method and system and video analysis server
CN110177310A (en) * 2019-06-28 2019-08-27 三星电子(中国)研发中心 A kind of content distribution system and method
CN111352984B (en) * 2020-02-19 2023-04-18 中国联合网络通信集团有限公司 Data distribution method, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852431A (en) * 2005-12-23 2006-10-25 华为技术有限公司 System and method for realizing video frequency information sharing
CN101931798A (en) * 2009-06-23 2010-12-29 金三立视频科技(深圳)有限公司 Multi-network environment video monitoring streaming media delivery route positioning method
CN102111685A (en) * 2011-02-24 2011-06-29 深信服网络科技(深圳)有限公司 Acceleration method, equipment and system for network video loading
CN102256164A (en) * 2011-07-12 2011-11-23 广州纳斯威尔信息技术有限公司 Video transmission system based on IP (Internet Protocol) network
CN103747273A (en) * 2013-12-23 2014-04-23 乐视网信息技术(北京)股份有限公司 Video requesting method, device and system
CN104394182A (en) * 2014-03-21 2015-03-04 贵阳朗玛信息技术股份有限公司 Method for realizing content delivery network acceleration and source server

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4035806B2 (en) * 2000-01-31 2008-01-23 株式会社日立製作所 Video distribution system
AU2003256463A1 (en) * 2002-07-08 2004-01-23 Precache, Inc. Packet routing via payload inspection for alert services, for digital content delivery and for quality of service management and caching with selective multicasting in a publish-subscribe network
CN103973693A (en) * 2014-05-14 2014-08-06 小米科技有限责任公司 Router accessing method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852431A (en) * 2005-12-23 2006-10-25 华为技术有限公司 System and method for realizing video frequency information sharing
CN101931798A (en) * 2009-06-23 2010-12-29 金三立视频科技(深圳)有限公司 Multi-network environment video monitoring streaming media delivery route positioning method
CN102111685A (en) * 2011-02-24 2011-06-29 深信服网络科技(深圳)有限公司 Acceleration method, equipment and system for network video loading
CN102256164A (en) * 2011-07-12 2011-11-23 广州纳斯威尔信息技术有限公司 Video transmission system based on IP (Internet Protocol) network
CN103747273A (en) * 2013-12-23 2014-04-23 乐视网信息技术(北京)股份有限公司 Video requesting method, device and system
CN104394182A (en) * 2014-03-21 2015-03-04 贵阳朗玛信息技术股份有限公司 Method for realizing content delivery network acceleration and source server

Also Published As

Publication number Publication date
CN104811740A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN104811740B (en) A kind of distribution method of video file, system and device
CN107092437B (en) Data write-in, read method and device, cloud storage system
CN107196951B (en) A kind of implementation method and firewall system of HDFS system firewall
CN104283933B (en) Method, client and the system of downloading data
CN102307210B (en) Data downloading system and data management and downloading method thereof
CN109587133A (en) A kind of single-node login system and method
CN110910138A (en) Block chain data supervision method and device
US20090125522A1 (en) File sharing system and file sharing method
CN102045400B (en) Method and system for synchronizing file content
CN103685590B (en) Obtain the method and system of IP address
CN112261172B (en) Service addressing access method, device, system, equipment and medium
CN106856434A (en) The method and apparatus of access request conversion
CN105095313B (en) A kind of data access method and equipment
CN107079011A (en) Long-tail content in process content transmission network
CN103067463A (en) Centralized management system and centralized management method for user root permission
CN101557427A (en) Method for providing diffluent information and realizing the diffluence of clients, system and server thereof
CN104104582B (en) A kind of data storage path management method, client and server
CN109040337A (en) A kind of information query method, Edge Server and information query system
CN103036969A (en) Management device and method for providing file download addresses
CN106685949A (en) Container access method, container access device and container access system
KR20130012929A (en) Method and system for efficient download of data package
CN107888666A (en) A kind of cross-region data-storage system and method for data synchronization and device
CN108710681A (en) File acquisition method, device, equipment and storage medium
CN102035815A (en) Data acquisition method, access node and data acquisition system
CN106844489A (en) A kind of file operation method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant