CN108282668A - A kind of acquisition methods and system of video - Google Patents
A kind of acquisition methods and system of video Download PDFInfo
- Publication number
- CN108282668A CN108282668A CN201810076685.6A CN201810076685A CN108282668A CN 108282668 A CN108282668 A CN 108282668A CN 201810076685 A CN201810076685 A CN 201810076685A CN 108282668 A CN108282668 A CN 108282668A
- Authority
- CN
- China
- Prior art keywords
- video
- tab
- stored
- target
- label
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
Abstract
The present invention provides a kind of acquisition methods of video and systems, it will be in the corresponding video storage to multiple and different Internet data center IDC to be stored of different types of video tab and video tab in the present invention, each IDC stores at least one video tab and the corresponding multiple videos to be stored of video tab, i.e., the content of different IDC storages is different.Each IDC stores the mode of identical video in compared with the prior art, when storing the video of identical quantity compared with technology, memory space can be saved, and the video of each IDC storages is different, and then greater number of different video can be stored compared with the prior art, it disclosure satisfy that user watches the requirement of more short-sighted frequency, and then Hui Yuanliang can be reduced.
Description
Technical field
The present invention relates to video storage and dispatching technique fields, more specifically, be related to a kind of video acquisition methods and
System.
Background technology
Video content distribution network CDN is a set of system for being capable of providing video streaming services, generally comprise storage, synchronization,
The systems such as Hui Yuan and scheduling.Wherein, storage includes global storage and fringe node storage, wherein fringe node is interconnection netting index
According to center IDC, and the video content of each fringe node storage is identical.
Fringe node storage refers to fringe node when being stored, and only stores the video file of hot spot.For long video, heat
The long video of point is less, and distribution is relatively concentrated, and when user watches video, what user mainly accessed is the long video of hot spot, therefore, edge section
The long video of hot spot of point storage disclosure satisfy that the most demand of user.
But for short-sighted frequency, the short-sighted frequency of hot spot is more, is distributed and relatively disperses, the short-sighted frequency of hot spot that user accesses also relatively divides
It dissipates.If the short-sighted frequency of fringe node storage section hot spot, when user asks the short-sighted frequency of hot spot that other do not store, Hui Yuanliang
It is larger, the burden of server can be aggravated.If increasing memory space, the short-sighted frequency of more hot spot is stored, Hui Yuanliang can be reduced, still
Since the visit capacity of the short-sighted frequency of each hot spot is not high, and the waste of resource can be caused.
Invention content
In view of this, the present invention provides a kind of acquisition methods and system of video, to solve fringe node storage section
The short-sighted frequency of hot spot, when user asks the short-sighted frequency of hot spot that other do not store, it is larger to return source amount, can aggravate the burden of server.
If increasing memory space, the short-sighted frequency of more hot spot is stored, Hui Yuanliang can be reduced, but due to the access of the short-sighted frequency of each hot spot
Amount is not high, and the problem of can cause the waste of resource.
In order to solve the above technical problems, present invention employs following technical solutions:
A kind of acquisition methods of video, including:
Video memory stores the corresponding video to be stored of different types of video tab and video tab to more
In a different Internet data center IDC, and the position data of generation is sent to scheduler;Wherein, each IDC is deposited
Store up at least one video tab and the corresponding multiple videos to be stored of video tab;The plurality of different IDC belongs to same
One dispatcher-controlled territory;The position data is used to characterize each video tab and each video tab is corresponding multiple to be stored
Video storage location information;
The video acquisition request that the scheduler receives the position data and mobile terminal is sent, and according to the video
It obtains request and the position data determines and stores the Target id C that the video acquisition asks corresponding target video label;
Video acquisition described in the scheduler dispatches is asked to the corresponding video servers of the Target id C;
The video server handles the video acquisition request.
Preferably, described to store the corresponding video to be stored of different types of video tab and video tab to more
In a different Internet data center IDC, including:
Obtain the flow shares ratio and each video each between the video tab of video to be stored, different IDC
User's flowing of access of the corresponding video of label;
According to user's flowing of access of the corresponding video of each video tab, the flow-rate ratio between various video label is determined
Example;
According to the flow shares ratio between preset video storage rule, different IDC, each video to be stored
Flow proportional between video tab and various video label is waited for different types of video tab and video tab are corresponding
The video of storage is stored to the plurality of different IDC;
Wherein, the video storage rule includes:Flow shares ratio between any two IDC is deposited with corresponding IDC
The difference of flow proportional between the corresponding video of at least one video tab of storage is in default value.
Preferably, video tab parameter is carried in the video acquisition request;
The scheduler is asked according to the video acquisition and the position data determines that storing the video acquisition asks
The Target id C of corresponding target video label is sought, including:
The video tab parameter during the scheduler is asked according to the video acquisition determines target video label;
The scheduler determines the Target id C for storing the target video label according to the position data.
Preferably, the video server handles the video acquisition request, including:
It is asked according to the video acquisition, judges that the video acquisition asks whether corresponding target video label is stored in
In the video server;
When judging that the video acquisition asks corresponding target video label to be stored in the video server, judge
The video acquisition whether is preserved in the video server asks corresponding target video;
When judging to preserve the target video in the video server, the target video is sent to the shifting
Dynamic terminal.
Preferably, after the video server is judged not preserve the target video in the video server,
Further include:
The video server is from including to obtain the target video in the server of the target video;
The video server preserves the target video;
The target video is sent to the mobile terminal by the video server.
Preferably, video memory deposits the corresponding video to be stored of different types of video tab and video tab
Before storing up in multiple and different Internet data center IDC, further include:
The video memory obtains the label of each video to be stored and each video to be stored;
The video memory randomly selects a label conduct from the label of each video to be stored and waits for accordingly
The video tab of the video of storage.
A kind of acquisition system of video, including video memory, scheduler and video server;
The video memory is used for the corresponding video to be stored of different types of video tab and video tab
It stores in multiple and different Internet data center IDC, and the position data of generation is sent to scheduler;Wherein, each
The IDC stores at least one video tab and the corresponding multiple videos to be stored of video tab;It is the plurality of different
IDC belongs to the same dispatcher-controlled territory;The position data is used to characterize each video tab and each video tab is corresponding
The storage location information of multiple videos to be stored;
The scheduler, the video acquisition request for receiving the position data and mobile terminal transmission, and according to institute
It states video acquisition request and the position data determines and stores the mesh that the video acquisition asks corresponding target video label
IDC is marked, sends the video acquisition request to the corresponding video servers of the Target id C;
The video server, for handling the video acquisition request.
Preferably, the video memory is used for different types of video tab and video tab is corresponding to be stored
Video storage in multiple and different Internet data center IDC when, be specifically used for:
Obtain the flow shares ratio and each video each between the video tab of video to be stored, different IDC
User's flowing of access of the corresponding video of label;
According to user's flowing of access of the corresponding video of each video tab, the flow-rate ratio between various video label is determined
Example;
According to the flow shares ratio between preset video storage rule, different IDC, each video to be stored
Flow proportional between video tab and various video label is waited for different types of video tab and video tab are corresponding
The video of storage is stored to the plurality of different IDC;
Wherein, the video storage rule includes:Flow shares ratio between any two IDC is deposited with corresponding IDC
The difference of flow proportional between the corresponding video of at least one video tab of storage is in default value.
Preferably, video tab parameter is carried in the video acquisition request;
Correspondingly, the scheduler is used to be determined described in storage according to video acquisition request and the position data
When video acquisition asks the Target id C of corresponding target video label, it is specifically used for:
The video tab parameter in being asked according to the video acquisition determines target video label;
According to the position data, the Target id C for storing the target video label is determined.
Preferably, when the video server is for handling the video acquisition request, it is specifically used for:
It is asked according to the video acquisition, judges that the video acquisition asks whether corresponding target video label is stored in
In the video server;
When judging that the video acquisition asks corresponding target video label to be stored in the video server, judge
The video acquisition whether is preserved in the video server asks corresponding target video;
When judging to preserve the target video in the video server, the target video is sent to the shifting
Dynamic terminal.
Preferably, after the video server is judged not preserve the target video in the video server,
It is additionally operable to:
From including to obtain the target video in the server of the target video;
Preserve the target video;
The target video is sent to the mobile terminal.
Preferably, video memory is used to regard different types of video tab and video tab are corresponding to be stored
Before in frequency storage to multiple and different Internet data center IDC, it is additionally operable to:
Obtain the label of each video to be stored and each video to be stored;
A label regarding as corresponding video to be stored is randomly selected from the label of each video to be stored
Frequency marking label.
Compared to the prior art, the invention has the advantages that:
The present invention provides a kind of acquisition methods of video and system, in the present invention by different types of video tab and
In the corresponding video storage to multiple and different Internet data center IDC to be stored of video tab, each IDC storages
The content of at least one video tab and the corresponding multiple videos to be stored of video tab, i.e., different IDC storages is different.
Each IDC stores the mode of identical video in compared with the prior art, when storing the video of identical quantity compared with technology,
Memory space can be saved, and the video of each IDC storages is different, and then a greater number can be stored compared with the prior art
Different videos, disclosure satisfy that user watches the requirement of more short-sighted frequency, and then Hui Yuanliang can be reduced.
Description of the drawings
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 technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of method flow diagram of the acquisition methods of video provided by the invention;
Fig. 2 is the method flow diagram of the acquisition methods of another video provided by the invention;
Fig. 3 is a kind of structural schematic diagram of the acquisition system of video provided by the invention.
Specific implementation mode
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 describes, 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.
An embodiment of the present invention provides a kind of acquisition methods of video, the acquisition methods of video provided by the invention can fit
For any video, it is preferable that being primarily adapted for use in short-sighted frequency.
Wherein, short-sighted frequency, that is, short-movie video is a kind of internet content circulation way, usually on internet new media
Video transmission content of the duration of propagation within 5 minutes.
Referring to Fig.1, the acquisition methods of video may include:
S11, video memory store the corresponding video to be stored of different types of video tab and video tab
It is sent to scheduler into multiple and different Internet data center IDC, and by the position data of generation;
Wherein, each IDC stores at least one video tab and video tab is corresponding multiple to be stored regards
Frequently;The plurality of different IDC belongs to the same dispatcher-controlled territory.Video memory can be content distribution network CDN service device.
The position data is used to characterize each video tab and the corresponding video to be stored of each video tab
Storage location information.
Video tab can be the labels such as game, animation, film, TV play, military affairs, life, sport and science and technology.
Optionally, on the basis of the present embodiment, before step S11, further include:
1) video memory obtains the label of each video to be stored and each video to be stored;
2) video memory randomly selects a label as corresponding from the label of each video to be stored
The video tab of video to be stored.
Specifically, each video to be stored might have at least one label, when video to be stored has multiple labels
When, a video tab as the video can be selected from multiple labels of the video, wherein when choosing, Ke Yiyi
According to certain selection rule, such as can all different types of labels be done with a sequence, selected from multiple labels of the video
One sequence number minimum of taking-up or a maximum label, can also be random from multiple labels of the video as video tab
A label is selected as video tab.
It should be noted that only there are one video tabs for each video to be stored.
In addition, determine each video to be stored label can there are many modes, such as according to the division of teaching contents of video, root
Divided according to the feature of the uploader of video etc..
In the present embodiment, the video tab of video can be determined, and then can be according to video before carrying out video storage
Label stores video.
The video acquisition request that S12, the scheduler receive the position data and mobile terminal is sent, and according to described
Video acquisition is asked and the position data determines and stores the target that the video acquisition asks corresponding target video label
IDC;
Wherein, video acquisition request is for asking a video content.Mobile terminal is the electronic equipment of user, mobile
Terminal can be the equipment such as mobile phone, tablet or notebook.
Optionally, on the basis of the present embodiment, video tab parameter is carried in video acquisition request.Video tab is joined
Number is the data for the video type for characterizing video to be obtained.For example, if using http request, video tab can be carried
The modes such as parameter core_tag=films film.I.e. in this example, request is a movie contents.
Correspondingly, the scheduler is asked according to the video acquisition and the position data determines and stores the video
The Target id C for asking corresponding target video label is obtained, including:
The video tab parameter during the scheduler is asked according to the video acquisition determines target video label,
The scheduler determines the Target id C for storing the target video label according to the position data.
Specifically, video tab parameter can embody the video type of video, and then can be determined according to video type
Target video label, wherein target video label is one in video tab.
After determining target video label, due to being stored with each video tab and each video tab in position data
The storage location information of corresponding video to be stored, and then can be searched from position data and obtain the target video label
Storage location.
In the present embodiment, the process that a kind of scheduler determines Target id C is given, and then can be according in the present embodiment
Method determines which video server is user service.
Video acquisition described in S13, the scheduler dispatches is asked to the corresponding video servers of the Target id C;
Specifically, described in scheduler dispatches video acquisition request to the corresponding video servers of the Target id C, be in order to
User's request is redirected to the video server for being stored with target video.
S14, the video server processing video acquisition request.
Optionally, on the basis of the present embodiment, step S14 may include:
1) it is asked according to the video acquisition, judges that the video acquisition asks whether corresponding target video label stores
In the video server;
Specifically, each IDC is corresponding there are one video server, the video tab of distribution is preserved in video server
And the corresponding video to be stored of the video tab.
After video server receives video acquisition request, it also can obtain target according to the video acquisition requirement analysis and regard
Frequency marking label, wherein the process that video server analyzes to obtain target video label is analyzed to obtain the mistake of video tab with scheduler
Journey is similar.
2) when judging that the video acquisition asks corresponding target video label to be stored in the video server, sentence
The video acquisition, which whether is preserved, in the disconnected video server asks corresponding target video;
3) when judging to preserve the target video in the video server, the video acquisition request is handled, i.e.,
The target video is sent to the mobile terminal.
When judging to be stored with the target video label in local memory, then illustrate this target video label be corresponding to regard
Frequency is stored in the video server, further determines whether to be stored with the target video at this time, when judging video clothes
The target video is preserved in business device, which is sent to mobile terminal.Wherein, mesh
Mark the video that video is user's request.
It should be noted that when not being stored with the target video label in video server, then illustrate movement end
The user at end is disabled user, then refusal this time services.
Further, after the video server is judged not preserve the target video in the video server,
Further include:
A) video server is from including to obtain the target video in the server of the target video;
B) video server preserves the target video;
C) video server handles the video acquisition request, i.e., is sent to the target video described mobile whole
End.
Specifically, when video server is judged not preserve the target video, source operation is carried out back at this time, i.e., from packet
It includes and downloads the target video in the server of the target video to local, target video is then sent to mobile terminal.I.e.
When can preserve the target video in video server, service is directly provided to the user, when not preserved in video server
When having the target video, service is provided to the user after carrying out back source operation.
In the present embodiment, the corresponding video to be stored of different types of video tab and video tab is stored to more
In a different Internet data center IDC, each IDC storages at least one video tab and video tab are corresponding
The content of multiple videos to be stored, i.e., different IDC storages is different.Each IDC storages are identical in compared with the prior art
The mode of video can save memory space, and each IDC storages when storing the video of identical quantity compared with technology
Video it is different, and then greater number of different video can be stored compared with the prior art, disclosure satisfy that user's viewing compared with
The requirement of more short-sighted frequencies, and then Hui Yuanliang can be reduced.
In addition, the acquisition methods of the video in through this embodiment, additionally it is possible to the read-write number of fringe node disk is reduced,
Improve the service life of storage disk.
Optionally, described by inhomogeneity with reference to Fig. 2 on the basis of the embodiment of the acquisition methods of any of the above-described video
The corresponding video to be stored of video tab and video tab of type is stored to multiple and different Internet data center IDC
In, including:
S21, each flow shares ratio between the video tab of video to be stored, different IDC and each are obtained
User's flowing of access of the corresponding video of video tab;
Specifically, the video tab of each video to be stored is illustrated in the above-described embodiments, herein not
It repeats again.
Flow shares between each IDC are proportional limitations, for example, some dispatcher-controlled territory is respectively there are two IDC
The flow shares upper limit for U and V, U is 100G, and the flow shares upper limit of V is 60G, then the flow shares ratio of U and V is 100:
60, i.e., 10:6.
Wherein, it is that the flow that each IDC is distributed is pre-set, only needs the flow part for obtaining each IDC here
Then volume calculates the flow shares ratio between each IDC.
By servers off-line data, such as daily record data, it can check that the user of the corresponding video of each video tab visits
Ask flow.It such as checks that video tab is user's flowing of access of the video of film, is such as 25G.
S22, according to user's flowing of access of the corresponding video of each video tab, determine the stream between various video label
Amount ratio;
Specifically, acquiring user's flowing of access of the corresponding video of different types of video tab, it will be able to calculate
Obtain the flow proportional between various video label.
Such as, user's flowing of access of film class is 25G, and user's flowing of access of variety class is 10G, and the user of game class visits
Ask that flow is 20G, user's flowing of access of animation class is 25G, then film:Variety:Game:User's flowing of access ratio of animation
It is 2.5:1:2:2.5.
S23, according between preset video storage rule, different IDC flow shares ratio, each to be stored regard
Flow proportional between the video tab and various video label of frequency corresponds to different types of video tab and video tab
Video storage to be stored to the plurality of different IDC;
Wherein, the video storage rule includes:Flow shares ratio between any two IDC is deposited with corresponding IDC
The difference of flow proportional between the corresponding video of at least one video tab of storage is in default value.
Specifically, being determined in which video storage to which IDC according to the flow proportional between various video label.It deposits
The standard of storage is just to try at least one video for storing the flow shares ratio between any two IDC with corresponding IDC
The error of flow proportional between the corresponding video of label is smaller.
In the above example, if the flow shares ratio of U and V is 100:60, film:Variety:Game:The user of animation visits
Ask that flow proportional is 2.5:1:2:2.5, then the video of film and animation class is stored in U, by the video of variety and game class
It is stored in V.Then the flow proportional of U and V is 5:3, the flow shares ratio 10 with U, V:6 is error free.
It should be noted that since the video tab of short-sighted frequency is numerous, and IDC is generally less, therefore one can be found
The kind method of salary distribution so that flow shares ratio of the user's ratio of the short-sighted frequency of IDC storages close to IDC.If any two
When user's ratio of the short-sighted frequency of IDC storages and the larger flow shares ratio difference of IDC, it can redefine at this time to be stored
Video video tab, to redefine the storage location of each video to be stored.
After the storage location of each video to be stored is determined, corresponding video is issued to accordingly by overall situation storage
IDC.
In the present embodiment, by the video tab of flow shares ratio between IDC and each video to be stored and
The data such as the flow proportional between various video label determine the storage location of each video to be stored, and then can ensure
The flowing of access of the video of each IDC storages meets the flow shares of the IDC.
Optionally, on the basis of the embodiment of the acquisition methods of above-mentioned video, another embodiment of the present invention provides
A kind of acquisition system of video, with reference to Fig. 3, including video memory 101, scheduler 102 and video server 103;
The video memory 101, for different types of video tab and video tab is corresponding to be stored
In video storage to multiple and different Internet data center IDC, and the position data of generation is sent to scheduler;Wherein,
Each IDC stores at least one video tab and the corresponding multiple videos to be stored of video tab;It is the multiple not
Same IDC belongs to the same dispatcher-controlled territory and the content of different IDC storages is different;The position data is for characterizing each
The storage location information of video tab and the corresponding multiple videos to be stored of each video tab;
The scheduler 102, the video acquisition request for receiving the position data and mobile terminal transmission, and according to
The video acquisition request and the position data determine that storing the video acquisition asks corresponding target video label
Target id C sends the video acquisition request to the corresponding video servers of the Target id C;
The video server 103, for handling the video acquisition request.
Further, video tab parameter is carried in the video acquisition request;
Correspondingly, the scheduler is used to be determined described in storage according to video acquisition request and the position data
When video acquisition asks the Target id C of corresponding target video label, it is specifically used for:
The video tab parameter in being asked according to the video acquisition determines target video label;
According to the position data, the Target id C for storing the target video label is determined.
In this example, the process that a kind of scheduler determines Target id C is given, and then can be according to the side in the present embodiment
Method determines which video server is user service.
Further, video memory is used to regard different types of video tab and video tab are corresponding to be stored
Before in frequency storage to multiple and different Internet data center IDC, it is additionally operable to:
Obtain the label of each video to be stored and each video to be stored;
A label regarding as corresponding video to be stored is randomly selected from the label of each video to be stored
Frequency marking label.
In the present embodiment, the video tab of video can be determined, and then can be according to video before carrying out video storage
Label stores video.
Further, when the video server is for handling the video acquisition request, it is specifically used for:
It is asked according to the video acquisition, judges that the video acquisition asks whether corresponding target video label is stored in
In the video server;
When judging that the video acquisition asks corresponding target video label to be stored in the video server, judge
The video acquisition whether is preserved in the video server asks corresponding target video;
When judging to preserve the target video in the video server, the target video is sent to the shifting
Dynamic terminal.
After the video server is judged not preserve the target video in the video server, it is additionally operable to:
From including to obtain the target video in the server of the target video;
Preserve the target video;The target video is sent to the mobile terminal.
In this example, when can preserve the target video in video server, directly provide service to the user, when regarding
When not preserving the target video in frequency server, service is provided to the user after carrying out back source operation.
In the present embodiment, the corresponding video to be stored of different types of video tab and video tab is stored to more
In a different Internet data center IDC, each IDC storages at least one video tab and video tab are corresponding
The content of multiple videos to be stored, i.e., different IDC storages is different.Each IDC storages are identical in compared with the prior art
The mode of video can save memory space, and each IDC storages when storing the video of identical quantity compared with technology
Video it is different, and then greater number of different video can be stored compared with the prior art, disclosure satisfy that user's viewing compared with
The requirement of more short-sighted frequencies, and then Hui Yuanliang can be reduced.
In addition, the acquisition methods of the video in through this embodiment, additionally it is possible to the read-write number of fringe node disk is reduced,
Improve the service life of storage disk.
It should be noted that the course of work of each device in the present embodiment, please refers to corresponding in above-described embodiment
Illustrate, details are not described herein.
Optionally, on the basis of the embodiment of the acquisition system of above-mentioned video, the video memory is used for will be different
The corresponding video to be stored of video tab and video tab of type is stored to multiple and different Internet data center IDC
When middle, it is specifically used for:
Obtain the flow shares ratio and each video each between the video tab of video to be stored, different IDC
User's flowing of access of the corresponding video of label;
According to user's flowing of access of the corresponding video of each video tab, the flow-rate ratio between various video label is determined
Example;
According to the flow shares ratio between preset video storage rule, different IDC, each video to be stored
Flow proportional between video tab and various video label is waited for different types of video tab and video tab are corresponding
The video of storage is stored to the plurality of different IDC;
Wherein, the video storage rule includes:Flow shares ratio between any two IDC is deposited with corresponding IDC
The difference of flow proportional between the corresponding video of at least one video tab of storage is in default value.
In the present embodiment, pass through the video of flow shares ratio and each video to be stored between different IDC
The data such as the flow proportional between label and various video label determine the storage location of each video to be stored, Jin Erneng
Enough ensure that the flowing of access of the video of each IDC storages meets the flow shares of the IDC.
It should be noted that the course of work of each device in the present embodiment, please refers to corresponding in above-described embodiment
Illustrate, details are not described herein.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest range caused.
Claims (12)
1. a kind of acquisition methods of video, which is characterized in that including:
Video memory by the corresponding video storage to be stored of different types of video tab and video tab to it is multiple not
In same Internet data center IDC, and the position data of generation is sent to scheduler;Wherein, each IDC store to
A kind of few video tab and the corresponding multiple videos to be stored of video tab;The plurality of different IDC belongs to same
Dispatcher-controlled territory;The position data is for characterizing each video tab and each video tab is corresponding multiple to be stored regards
The storage location information of frequency;
The video acquisition request that the scheduler receives the position data and mobile terminal is sent, and according to the video acquisition
Request and the position data, which determine, stores the Target id C that the video acquisition asks corresponding target video label;
Video acquisition described in the scheduler dispatches is asked to the corresponding video servers of the Target id C;
The video server handles the video acquisition request.
2. acquisition methods according to claim 1, which is characterized in that described by different types of video tab and video
In the corresponding video storage to multiple and different Internet data center IDC to be stored of label, including:
Obtain the flow shares ratio and each video tab each between the video tab of video to be stored, different IDC
User's flowing of access of corresponding video;
According to user's flowing of access of the corresponding video of each video tab, the flow proportional between various video label is determined;
According to the video of flow shares ratio, each video to be stored between preset video storage rule, different IDC
Flow proportional between label and various video label, different types of video tab and video tab is corresponding to be stored
Video storage to the plurality of different IDC;
Wherein, the video storage rule includes:What the flow shares ratio between any two IDC was stored with corresponding IDC
The difference of flow proportional between the corresponding video of at least one video tab is in default value.
3. acquisition methods according to claim 1, which is characterized in that carry video tab in the video acquisition request
Parameter;
The scheduler is asked according to the video acquisition and the position data determines and stores the video acquisition request pair
The Target id C for the target video label answered, including:
The video tab parameter during the scheduler is asked according to the video acquisition determines target video label;
The scheduler determines the Target id C for storing the target video label according to the position data.
4. acquisition methods according to claim 1, which is characterized in that the video server handles the video acquisition and asks
It asks, including:
It is asked according to the video acquisition, it is described to judge that the video acquisition asks corresponding target video label whether to be stored in
In video server;
When judging that the video acquisition asks corresponding target video label to be stored in the video server, described in judgement
The video acquisition whether is preserved in video server asks corresponding target video;
When judging to preserve the target video in the video server, the target video is sent to described mobile whole
End.
5. acquisition methods according to claim 4, which is characterized in that when the video server judges the video clothes
After not preserving the target video in business device, further include:
The video server is from including to obtain the target video in the server of the target video;
The video server preserves the target video;
The target video is sent to the mobile terminal by the video server.
6. acquisition methods according to claim 1, which is characterized in that video memory by different types of video tab with
And before the corresponding video to be stored of video tab is stored into multiple and different Internet data center IDC, further include:
The video memory obtains the label of each video to be stored and each video to be stored;
The video memory randomly selects a label as corresponding to be stored from the label of each video to be stored
Video video tab.
7. a kind of acquisition system of video, which is characterized in that including video memory, scheduler and video server;
The video memory, for storing the corresponding video to be stored of different types of video tab and video tab
It is sent to scheduler into multiple and different Internet data center IDC, and by the position data of generation;Wherein, each described
IDC stores at least one video tab and the corresponding multiple videos to be stored of video tab;The plurality of different IDC belongs to
In the same dispatcher-controlled territory;The position data is for characterizing each video tab and each video tab is corresponding multiple waits for
The storage location information of the video of storage;
The scheduler, the video acquisition request for receiving the position data and mobile terminal transmission, and regarded according to described
Frequency obtains request and the position data determines and stores the target that the video acquisition asks corresponding target video label
IDC sends the video acquisition request to the corresponding video servers of the Target id C;
The video server, for handling the video acquisition request.
8. acquisition system according to claim 7, which is characterized in that the video memory by different types of for regarding
When in frequency marking label and the corresponding video storage to multiple and different Internet data center IDC to be stored of video tab, tool
Body is used for:
Obtain the flow shares ratio and each video tab each between the video tab of video to be stored, different IDC
User's flowing of access of corresponding video;
According to user's flowing of access of the corresponding video of each video tab, the flow proportional between various video label is determined;
According to the video of flow shares ratio, each video to be stored between preset video storage rule, different IDC
Flow proportional between label and various video label, different types of video tab and video tab is corresponding to be stored
Video storage to the plurality of different IDC;
Wherein, the video storage rule includes:What the flow shares ratio between any two IDC was stored with corresponding IDC
The difference of flow proportional between the corresponding video of at least one video tab is in default value.
9. acquisition system according to claim 7, which is characterized in that carry video tab in the video acquisition request
Parameter;
Correspondingly, the scheduler, which is used to be determined according to video acquisition request and the position data, stores the video
When obtaining the Target id C for asking corresponding target video label, it is specifically used for:
The video tab parameter in being asked according to the video acquisition determines target video label;
According to the position data, the Target id C for storing the target video label is determined.
10. acquisition system according to claim 7, which is characterized in that the video server is for handling the video
When obtaining request, it is specifically used for:
It is asked according to the video acquisition, it is described to judge that the video acquisition asks corresponding target video label whether to be stored in
In video server;
When judging that the video acquisition asks corresponding target video label to be stored in the video server, described in judgement
The video acquisition whether is preserved in video server asks corresponding target video;
When judging to preserve the target video in the video server, the target video is sent to described mobile whole
End.
11. acquisition system according to claim 10, which is characterized in that when the video server judges the video
After not preserving the target video in server, it is additionally operable to:
From including to obtain the target video in the server of the target video;
Preserve the target video;
The target video is sent to the mobile terminal.
12. acquisition system according to claim 7, which is characterized in that video memory is used for different types of video
Before in label and the corresponding video storage to multiple and different Internet data center IDC to be stored of video tab, also
For:
Obtain the label of each video to be stored and each video to be stored;
Video mark of the label as corresponding video to be stored is randomly selected from the label of each video to be stored
Label.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810076685.6A CN108282668B (en) | 2018-01-26 | 2018-01-26 | Video acquisition method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810076685.6A CN108282668B (en) | 2018-01-26 | 2018-01-26 | Video acquisition method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108282668A true CN108282668A (en) | 2018-07-13 |
CN108282668B CN108282668B (en) | 2020-11-24 |
Family
ID=62805363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810076685.6A Active CN108282668B (en) | 2018-01-26 | 2018-01-26 | Video acquisition method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108282668B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109525499A (en) * | 2018-12-06 | 2019-03-26 | 深圳市子瑜杰恩科技有限公司 | The flow managing method and Related product of short Video Applications |
CN109982158A (en) * | 2019-03-25 | 2019-07-05 | 北京奇艺世纪科技有限公司 | A kind of distribution method, device and the server of UGC video |
CN110392283A (en) * | 2019-07-05 | 2019-10-29 | 深圳市九洲电器有限公司 | A kind of program distribution method, apparatus, server and storage medium |
CN110535853A (en) * | 2019-08-28 | 2019-12-03 | 北京奇艺世纪科技有限公司 | A kind of video request dispatching method, device, server and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090198835A1 (en) * | 2008-01-31 | 2009-08-06 | Microsoft Corporation | Coexistence tools for synchronizing properties between on-premises customer locations and remote hosting services |
CN103281383A (en) * | 2013-05-31 | 2013-09-04 | 重庆大学 | Timing sequence recording method for distributed-type data source |
CN106603703A (en) * | 2016-12-29 | 2017-04-26 | 北京奇艺世纪科技有限公司 | Back-to-source node determination method and apparatus |
-
2018
- 2018-01-26 CN CN201810076685.6A patent/CN108282668B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090198835A1 (en) * | 2008-01-31 | 2009-08-06 | Microsoft Corporation | Coexistence tools for synchronizing properties between on-premises customer locations and remote hosting services |
CN103281383A (en) * | 2013-05-31 | 2013-09-04 | 重庆大学 | Timing sequence recording method for distributed-type data source |
CN106603703A (en) * | 2016-12-29 | 2017-04-26 | 北京奇艺世纪科技有限公司 | Back-to-source node determination method and apparatus |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109525499A (en) * | 2018-12-06 | 2019-03-26 | 深圳市子瑜杰恩科技有限公司 | The flow managing method and Related product of short Video Applications |
CN109982158A (en) * | 2019-03-25 | 2019-07-05 | 北京奇艺世纪科技有限公司 | A kind of distribution method, device and the server of UGC video |
CN109982158B (en) * | 2019-03-25 | 2022-04-22 | 北京奇艺世纪科技有限公司 | UGC video distribution method and device and server |
CN110392283A (en) * | 2019-07-05 | 2019-10-29 | 深圳市九洲电器有限公司 | A kind of program distribution method, apparatus, server and storage medium |
CN110535853A (en) * | 2019-08-28 | 2019-12-03 | 北京奇艺世纪科技有限公司 | A kind of video request dispatching method, device, server and storage medium |
CN110535853B (en) * | 2019-08-28 | 2021-06-22 | 北京奇艺世纪科技有限公司 | Video request scheduling method, device, server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108282668B (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108282668A (en) | A kind of acquisition methods and system of video | |
CN107092437B (en) | Data write-in, read method and device, cloud storage system | |
CN106899680B (en) | The fragment treating method and apparatus of multi-tiling chain | |
CN107801086B (en) | The dispatching method and system of more cache servers | |
CN106487850B (en) | The methods, devices and systems of mirror image are obtained under a kind of cloud environment | |
CN103716251B (en) | For the load-balancing method and equipment of content distributing network | |
CN103607424B (en) | Server connection method and server system | |
US8271987B1 (en) | Providing access to tasks that are available to be performed | |
CN108009028A (en) | Message treatment method, device, equipment and computer-readable recording medium | |
CN109582471A (en) | Information processing method, device and system | |
CN109379448A (en) | A kind of file distribution dispositions method, device, electronic equipment and storage medium | |
CN107026876B (en) | A kind of file data access system and method | |
CN108322502A (en) | Method, gateway system and storage medium for equalization server load | |
CN104166628B (en) | The methods, devices and systems of managing internal memory | |
CN109976771A (en) | A kind of dispositions method and device of application | |
CN107888666A (en) | A kind of cross-region data-storage system and method for data synchronization and device | |
US20140051464A1 (en) | Service prequalification | |
CN109376172A (en) | Data capture method and system based on block chain | |
CN110198530A (en) | Exempt from scheduling processing method, device, equipment and the storage medium of traffic service | |
CN110399231A (en) | Based on cross-platform data processing method, device and computer equipment | |
CN109982152A (en) | P2P CDN method for processing business, intelligent gateway and CDN platform | |
US20090222890A1 (en) | Method and apparatus for providing streaming service based on p2p and streaming service system using the same | |
CN110460879A (en) | A kind of video request dispatching method, device, server and storage medium | |
CN107567071A (en) | A kind of method and apparatus for being used to inquire about hotspot | |
CN110035128A (en) | A kind of live streaming dispatching method, device, live broadcast system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |