CN108881939A - A kind of video CD N processing method and system - Google Patents

A kind of video CD N processing method and system Download PDF

Info

Publication number
CN108881939A
CN108881939A CN201810730426.0A CN201810730426A CN108881939A CN 108881939 A CN108881939 A CN 108881939A CN 201810730426 A CN201810730426 A CN 201810730426A CN 108881939 A CN108881939 A CN 108881939A
Authority
CN
China
Prior art keywords
user
scheduler
list
video server
data
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
Application number
CN201810730426.0A
Other languages
Chinese (zh)
Other versions
CN108881939B (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 CN201810730426.0A priority Critical patent/CN108881939B/en
Publication of CN108881939A publication Critical patent/CN108881939A/en
Application granted granted Critical
Publication of CN108881939B publication Critical patent/CN108881939B/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/222Secondary servers, e.g. proxy server, cable television Head-end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/64322IP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

The invention discloses a kind of video CD N processing methods, applied to including domain name system DNS, the video CD N processing system of video server and scheduler, video server obtains user information when user's access, and carry user information access domain name system, obtain the scheduler list that domain name system DNS returns, the scheduler IP that user accesses the last time is compared with the scheduler IP in scheduler list again, if there are the scheduler IP that user's last time accesses in scheduler list, then all scheduler dispatches User IPs of the video server into scheduler list, user identifier ID and data speed of download, it can make video server quickly and easily to scheduler feedback information by above-mentioned processing method, it allows users to obtain better user experience when watching Online Video.

Description

A kind of video CD N processing method and system
Technical field
The present invention relates to network technique field, specially a kind of CDN (Content Delivery Network, content point Hairnet network) processing method and system.
Background technique
Video CD N is to refer to provide the network system for realizing real-time download function for Online Video business.It can use up The bottleneck and link that may avoid being possible to influencing data transmission bauds and stability on internet, make content transmission faster, It is more stable.Scheduler and video server are two important components in video CD N.In the application process of video CD N, use Family is every time before removing video server to download video files fragment, and to scheduler dispatches request of data, scheduler is according to strategy The various information such as configuration, User IP distribute a video server for user, and user is downloaded by the video server of the distribution Video file fragment.
In currently used video CDN system, if under the video server A of user's X access scheduling device distribution It is slower to carry speed, then this information should be notified scheduler in real time by video server A, so that scheduler is when being scheduled, Reduce the dispatching priority that video server A is user X service.As shown in Figure 1, under existing framework, due to video server A It is not aware which scheduler user X can access next time, therefore video server A reduces video clothes to transmit to scheduler Business device A is the information of the dispatching priority of user X service, it is necessary to the information is sent to scheduling control server first, it The information is handed down to all schedulers by scheduling control server afterwards, so which scheduling no matter user X access next time Device can realize the function of reducing the dispatching priority that video server A is user X service.This flowchart process is complicated, time-consuming Redundancy mostly and to too many unrelated scheduler is issued, operability is poor, prevent video server is from rapid and convenient To scheduler feedback information.
Summary of the invention
The present invention provides a kind of video CD N processing method and systems, are able to solve Video service in existing network system Device cannot quickly and easily to scheduler feedback information the problem of, allow users to preferably be used when watching Online Video Family experience.
In order to achieve the above objectives, the present invention provides following technical solutions:
A kind of video CD N processing method is applied to video CD N processing system, and the video CD N processing system includes domain name System DNS and video server group include at least a video server, the video server in the video server group At least communicated with one or more schedulers in a scheduler group, the method includes:
The video server obtains user information when user's access, and the user information includes to access user's last time Scheduler IP, User IP and user identifier ID;
The video server carries the user information and accesses domain name system DNS, and obtains domain name system The scheduler list that DNS is returned;
The scheduling in scheduler IP and the scheduler list that the video server accesses user's last time Device IP is compared;
If there are the scheduler IP that user's last time accesses in the scheduler list, the video server to User IP described in all scheduler dispatches in the scheduler list, the user identifier ID and data speed of download.
Preferably, if there is no the scheduler IP that user's last time accesses, the methods in the scheduler list Further include:
The video server passes through the internal queries interface of domain name system DNS, is visited according to user's last time The scheduler IP access domain name system DNS asked, obtaining in the scheduler list includes what user's last time accessed All including scheduler IP can provide the scheduler IP of service for the user;
User IP described in all scheduler dispatches of the video server into the scheduler list, user mark Know ID and the data speed of download.
Preferably, the video CD N processing method further includes:
The scheduler is real-time according to the User IP, the user identifier ID and the data speed of download received Update data information list;
Wherein, the data information in the data information list includes the user information that the scheduler receives Time, the User IP, the user identifier ID, network data center IDC information and the data speed of download;
Data information life span in the data information list is N seconds, and N takes the positive number greater than 0.
Preferably, the video CD N processing method further includes:
When the scheduler is scheduled for user access request, if comprising multiple available in the data information list IDC selects the corresponding IDC of the highest scheduler of data speed of download in the data information list to distribute to the user.
Preferably, it after the video server obtains user information when user accesses, carries the user information and visits Before asking domain name system DNS, further include:
The request of data when video server is accessed according to the user sends data to the user, and in user At the end of access, data speed of download is calculated;
The data speed of download is compared with preset threshold value;
If the data speed of download is lower than the threshold value, the video server is according to User IP access Domain name system DNS obtains the scheduler list that domain name system DNS is returned.
A kind of video CD N processing system, including:Domain name system DNS, the Video service being connected with domain name system DNS Device group, includes at least a video server in the video server group, the video server at least with a scheduler One or more schedulers in group are connected;
The video server for obtaining user information when user's access, and carries user information access institute Domain name system DNS is stated, the scheduler list that domain name system DNS is returned, the scheduling that user's last time is accessed are obtained Device IP is compared with the scheduler IP in the scheduler list, last if there are the users in the scheduler list The scheduler IP of access, then User IP described in all scheduler dispatches of the video server into the scheduler list, The user identifier ID and data speed of download;The user information includes scheduler IP, the User IP accessed user's last time And user identifier ID.
Preferably, if there is no the scheduler IP that user's last time accesses, the videos in the scheduler list Server is also used to the internal queries interface by domain name system DNS, the scheduler accessed according to user's last time IP accesses domain name system DNS, obtain including the scheduler IP accessed comprising user's last time it is all can be institute State the scheduler IP of user service;And it is stored in the scheduler list, all scheduling into the scheduler IP list Device sends the User IP, the user identifier ID and the data speed of download.
Preferably, the scheduler is also used to according to the User IP, the user identifier ID and the number received According to speed of download real-time update data information list;Data information in the data information list is received comprising the scheduler The time of the user information arrived, the User IP, the user identifier ID, the mark of network data center IDC and described Data speed of download;Data information life span in the data information list is N seconds, and N takes the positive number greater than 0.
Preferably, the scheduler, is also used to, when being scheduled for user access request, if the data information arranges Include multiple available IDC in table, selects the highest scheduler of data speed of download in the data information list IDC points corresponding User described in dispensing.
Preferably, the video server carries the user after being also used to obtain user information when user accesses Before message reference domain name system DNS, request of data when being accessed according to the user sends data to the user, At the end of user accesses, data speed of download is calculated, and the data speed of download is compared with preset threshold value, if institute Data speed of download is stated lower than the threshold value, then the video server accesses domain name system DNS according to the User IP, Obtain the scheduler list that domain name system DNS is returned.
As can be seen from the above technical solutions, being applied at video CD N the invention discloses a kind of video CD N processing method Reason system, the video CD N processing system include domain name system DNS and video server group, in the video server group extremely It less include a video server, the video server is at least carried out with one or more schedulers in a scheduler group Communication, the video server obtain user information when user's access, and the user information includes what user's last time accessed Scheduler IP, User IP and user identifier ID;The video server carries the user information and accesses domain name system DNS, and obtain the scheduler list of domain name system DNS return;The video server accesses user's last time Scheduler IP be compared with the scheduler IP in the scheduler list;If in the scheduler list, there are the users The scheduler IP of last time access, then use described in all scheduler dispatches of the video server into the scheduler list Family IP, the user identifier ID and data speed of download.The present invention can make video server quick by above-mentioned processing method Easily to scheduler feedback information, allow users to obtain better user experience when watching Online Video.
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 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 the network architecture schematic diagram of video CDN system in the prior art;
Fig. 2 is a kind of flow chart of video CD N processing method disclosed by the embodiments of the present invention;
Fig. 3 is the flow chart of another video CD N processing method disclosed by the embodiments of the present invention;
Fig. 4 is the flow chart of another video CD N processing method disclosed by the embodiments of the present invention;
Fig. 5 is the flow chart of another video CD N processing method disclosed by the embodiments of the present invention;
Fig. 6 is a kind of network architecture schematic diagram of video CD N processing system disclosed by the embodiments of the present invention.
Specific embodiment
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.
The present invention provides a kind of video CD N processing method and systems, are able to solve Video service in existing network system Device cannot quickly and easily to scheduler feedback information the problem of, allow users to preferably be used when watching Online Video Family experience.
The embodiment of the invention discloses a kind of video CD N processing methods, are applied to video CD N processing system as shown in FIG. 6 System, the video CD N processing system includes domain name system (Domain Name System, DNS) 10 and video server group, institute It states and includes at least a video server 20 in video server group, the video server 20 is at least and in a scheduler group One or more schedulers 30 communicated.
Wherein, domain name system provides query function for the video server, leads to the video server User information, such as User IP are crossed, scheduler IP associated with the user information is inquired, in addition, domain name system Also there is internal queries interface, the video server is able to use the internal queries interface, obtains according to a certain scheduler IP Can be comprising all including the scheduler IP user service scheduler IP.
As shown in Fig. 2, for the embodiment of the invention discloses a kind of flow chart of video CD N processing method, this method includes Following steps:
Step S110:The video server obtains user information when user's access.
The user information includes scheduler IP, User IP and the user identifier accessed user's last time in step s 110 ID。
Step S120:The video server carries the user information and accesses domain name system DNS, and described in acquisition The scheduler list that domain name system DNS returns.
The scheduler list is taken when accessing domain name system DNS according to the video server in the step s 120 What the user information of band obtained.
Optionally, ECS (Edns-Client-Subnet, EDNS client child network) can be used in the video server The mode of Extended Protocol obtains the scheduler list, for example, the User IP is 202.108.14.240, the affiliated domain of scheduler Entitled data.video.qiyi.com, then the video server is inquired using to issue orders:dig Data.video.qiyi.com+subnet=202.108.14.240@ns1.qiyi.com.
Step S130:The scheduler IP and the scheduler list that the video server accesses user's last time In scheduler IP be compared.
Step S140:If there are the scheduler IP that user's last time accesses, the views in the scheduler list User IP described in all scheduler dispatches of the frequency server into the scheduler list, the user identifier ID and data downloading Speed.
The data speed of download described in step S140 is the video server at the end of user accesses, and passes through calculating The obtained video server sends the data speed of download of data to the user.
Specifically, at the end of user's access, total word of requested data when the video server statistic of user accessing Joint number and user download the total time of the data, pass through formula:Data speed of download=total bytes/total time calculates Obtain the data speed of download.
In the concrete realization, when the scheduler is scheduled for user access request, if the data information list In include multiple available IDC, select in the data information list the corresponding IDC distribution of the highest scheduler of data speed of download To the user.
Optionally, User IP, institute described in all scheduler dispatches of the video server into the scheduler list Stating user identifier ID and data speed of download can be realized by way of application layer, for example, HTTP (Hyper Text Transfer Protocol, hypertext transfer protocol).
The embodiment of the invention discloses a kind of video CD N processing methods, are applied to video CD N processing system, the video CDN processing system includes domain name system DNS and video server group, and a video clothes are included at least in the video server group Business device, the video server are at least communicated with one or more schedulers in a scheduler group, the video clothes Business device obtains user information when user's access;The video server carries the user information and accesses domain name system DNS, and obtain the scheduler list of domain name system DNS return;The video server accesses user's last time Scheduler IP be compared with the scheduler IP in the scheduler list;If in the scheduler list, there are the users The scheduler IP of last time access, then use described in all scheduler dispatches of the video server into the scheduler list Family IP, the user identifier ID and data speed of download.It can make video server quickly and easily by above-mentioned processing method To scheduler feedback information, allow users to obtain better user experience when watching Online Video.
Based on video CD N processing method disclosed in above-mentioned Fig. 2, the embodiment of the invention also discloses at another video CD N Reason method, as shown in figure 3, video CD N processing method includes the following steps:
Step S210:The video server obtains user information when user's access.
Step S220:The video server carries the user information and accesses domain name system DNS, and described in acquisition The scheduler list that domain name system DNS returns.
Step S230:The scheduler IP and the scheduler list that the video server accesses user's last time In scheduler IP be compared.
Step S210 to S230 is identical as the implementation procedure of step S110 to S130 shown in Figure 2 and principle herein, Which is not described herein again.
Step S240:If there is no the scheduler IP that user's last time accesses, the views in the scheduler list Frequency server passes through the internal queries interface of domain name system DNS, is visited according to the scheduler IP that user's last time accesses Domain name system DNS is asked, including obtaining the scheduler IP accessed in the scheduler list comprising user's last time It is all that the scheduler IP of service can be provided for the user.
Step S250:User IP described in all scheduler dispatches of the video server into the scheduler list, The user identifier ID and the data speed of download.
It should be noted that the region scheduler IP that user is able to access that may be with IP address affiliated area Different, do not included the user once when the video server accesses in the scheduler list that domain name system DNS is obtained Scheduler IP address through accessing then needs the mode of S240 through the above steps, and acquisition one is larger range of to be The scheduler list of the user service, since a scheduler IP can be configured in the region of multiple DNS, the tune obtained at this time The quantity for spending scheduler IP included in device list, will be wrapped in the scheduler list obtained in above-mentioned steps S120 3-4 times of the quantity of the scheduler IP contained.
The embodiment of the invention discloses a kind of video CD N processing method, the video server is obtained when user accesses User information;The video server carries the user information and accesses domain name system DNS, and obtains domain name system The scheduler list that DNS is returned;The scheduler IP and the scheduler that the video server accesses user's last time Scheduler IP in list is compared;If there is no the schedulers that user's last time accesses in the scheduler list IP, the video server pass through the internal queries interface of domain name system DNS, the tune accessed according to user's last time It spends device IP and accesses domain name system DNS, obtain the scheduler accessed in the scheduler list comprising user's last time All including IP can provide the scheduler IP of service for the user, and the video server is into the scheduler list All scheduler dispatches described in User IP, the user identifier ID and data speed of download;It, can by above-mentioned processing method At the region scheduler IP and IP address affiliated area difference that user is able to access that, obtain being the user The scheduler IP of service is provided, video server quickly and easily to scheduler feedback information, is allowed users to Better user experience is obtained when watching Online Video.
Based on video CD N processing method disclosed in above-mentioned Fig. 2, the embodiment of the invention also discloses at another video CD N Reason method, as shown in figure 4, video CD N processing method includes the following steps:
Step S310:The video server obtains user information when user's access.
Step S320:The video server carries the user information in access domain name system DNS, and obtains institute State the scheduler list of domain name system DNS return.
Step S330:The scheduler IP and the scheduler list that the video server accesses user's last time In scheduler IP be compared.
Step S340:If there are the scheduler IP that user's last time accesses, the views in the scheduler list User IP described in all scheduler dispatches of the frequency server into the scheduler list, the user identifier ID and data downloading Speed.
Step S310 to S340 is identical as the implementation procedure of step S110 to S140 shown in Figure 2 and principle herein, Which is not described herein again.
Step S350:The scheduler is according under the User IP, the user identifier ID and the data received Carry the data information list of speed real-time update.
Data information in the data information list described in step S350 includes the use that the scheduler receives The time of family information, the User IP, the user identifier ID, the mark of network data center IDC and data downloading speed Degree;The information of the network data center (Internet Data Center, IDC) parses the video by the scheduler and takes What the IP address of business device obtained;Data information life span in the data information list is N seconds, and N takes the positive number greater than 0.
Wherein, the data information life span in the data information list is the N seconds numbers referred in the data list It is believed that breath is deleted after N second from its creation time, the life span can sets itself according to demand, it is fast with data downloading For degree, it is assumed that the life span is set as 600 seconds, certain data speed of download, which is updated at the morning 9 to data information, to be arranged Table is lighted after 600 seconds from the morning 9, which deletes from the data information list.
Optionally, when the scheduler is scheduled for user access request, if including in the data information list Multiple available IDC select in the data information list the corresponding IDC of the highest scheduler of data speed of download to distribute to described User.
The embodiment of the invention discloses a kind of video CD N processing method, the video server is obtained when user accesses User information;The video server carries the user information and accesses domain name system DNS, and obtains domain name system The scheduler list that DNS is returned;The scheduler IP and the scheduler that the video server accesses user's last time Scheduler IP in list is compared;If there are the scheduler IP that user's last time accesses in the scheduler list, Then User IP, the user identifier ID described in all scheduler dispatches of the video server into the scheduler list and Data speed of download;The scheduler downloads speed according to the User IP, the user identifier ID and the data received Spend the list of real-time update data information.By above-mentioned processing method, data information list is established, can intuitively see that video takes Be engaged in device be user service the case where, convenient for scheduler it is subsequent be scheduled work when, for user distribution be more suitable for video clothes Business device, allows users to obtain better user experience when watching Online Video.
Based on video CD N processing method disclosed in above-mentioned Fig. 2, the embodiment of the invention also discloses at another video CD N Reason method, as shown in figure 5, video CD N processing method includes the following steps:
Step S410:The video server obtains user information when user's access.
Step S420:The request of data when video server is accessed according to the user sends number to the user According to, and at the end of user's access, calculate data speed of download.
Step S430:The data speed of download is compared with preset threshold value.
Step S440:If the data speed of download is lower than the threshold value, the video server carries the user Message reference domain name system DNS, and obtain the scheduler list of domain name system DNS return.
Step S450:The scheduler IP and the scheduler list that the video server accesses user's last time In scheduler IP be compared.
Step S460:If there are the scheduler IP that user's last time accesses, the views in the scheduler list User IP described in all scheduler dispatches of the frequency server into the scheduler list, the user identifier ID and data downloading Speed.
Herein the implementation procedure of step S410, S440, S450 and S460 and step S110 to S140 shown in Figure 2 and Principle is identical, and which is not described herein again.
It should be noted that in the case that the addition of the threshold value is so that only data speed of download is lower than threshold value, it is described Video server is just to User IP described in the scheduler dispatches, the user identifier ID and the data speed of download, scheduling Data transmission bauds of the device known to after receiving above- mentioned information between certain video server and its user is slower, then the scheduling When device is that the user distributes video server again, will using above- mentioned information as referring to, do not reallocate the video server to The user.
Optionally, the threshold value can according to need sets itself, for example, being set as 100KB/S.
The embodiment of the invention discloses a kind of video CD N processing method, the video server is obtained when user accesses User information;The request of data when video server is accessed according to the user sends data to the user, and with At the end of family accesses, data speed of download is calculated;The data speed of download is compared with preset threshold value;If the number Being lower than the threshold value according to speed of download, then the video server carries the user information and accesses domain name system DNS, and Obtain the scheduler list that domain name system DNS is returned;The scheduling that the video server accesses user's last time Device IP is compared with the scheduler IP in the scheduler list;If it is last that there are the users in the scheduler list The scheduler IP of access, then User IP described in all scheduler dispatches of the video server into the scheduler list, The user identifier ID and data speed of download increase the threshold value of data speed of download, by right in above-mentioned processing method Data downloading data than will be less than threshold value is sent to scheduler, makes scheduler when being scheduled work, more for user's distribution Suitable video server allows users to obtain better user experience when watching Online Video.
It should be noted that in video CD N processing method disclosed in above-mentioned Fig. 3, in the scheduler that user is able to access that When the region IP and IP address affiliated area difference, obtain being the side of the scheduler IP list of the user service Formula in video CD N processing method disclosed in above-mentioned Fig. 4, is established in the mode and above-mentioned Fig. 5 of data information list and is disclosed Video CD N processing method in, for data downloading data preset a threshold value mode, can be with any combination.
After the above-mentioned multiple embodiments of the present invention carry out free combination, corresponding effect can be obtained, video server can be made It quickly and easily to scheduler feedback information, can also allow scheduler when being scheduled work, be more suitable for for user's distribution Video server allows users to obtain better user experience when watching Online Video.
Based on video CD N processing method disclosed in the embodiments of the present invention, Fig. 6 is specifically disclosed using video CD N The video CD N processing system of processing method.
As shown in fig. 6, mainly including the embodiment of the invention provides a kind of structural schematic diagram of video CD N processing system: Domain name system 10, the video server group being connected with domain name system 10 include at least one in the video server group Video server 20, the video server 20 are at least connected with one or more schedulers 30 in a scheduler group.
The video server 20 for obtaining user information when user's access, and carries the user information access Domain name system 10 obtains the scheduler list that domain name system 10 returns, the scheduling that user's last time is accessed Device IP is compared with the scheduler IP in the scheduler list, last if there are the users in the scheduler list The scheduler IP of access, then all schedulers 30 of the video server 20 into the scheduler list send the user IP, the user identifier ID and data speed of download;The user information includes scheduler IP, the user accessed user's last time IP and user identifier ID.
It should be noted that the data speed of download is the video server 20 at the end of user accesses, pass through The video server 20 being calculated sends the data speed of download of data to the user;The scheduler list is root What the user information carried when accessing domain name system DNS according to the video server obtained.
Optionally, if there is no the scheduler IP that user's last time accesses, the videos in the scheduler list Server 20 is also used to the internal queries interface by domain name system 10, the scheduling accessed according to user's last time Device IP accesses domain name system 10, obtain including the scheduler IP accessed comprising user's last time it is all can be institute The scheduler IP of user service is stated, and is stored in the scheduler list, all scheduling into the scheduler IP list Device 30 sends the User IP, the user identifier ID and the data speed of download.
Optionally, the scheduler 30 is also used to according to the User IP, the user identifier ID and described received Data speed of download real-time update data information list;Data information in the data information list includes the scheduler 30 The time of the user information received, the User IP, the user identifier ID, network data center IDC mark and The data speed of download;Data information life span in the data information list is N seconds, and N takes the positive number greater than 0.
It should be noted that the mark of the network data center IDC parses the Video service by the scheduler 30 What the IP address of device 20 obtained.
Optionally, the scheduler 30, is also used to, when being scheduled for user access request, if the data information Include multiple available IDC in list, selects the corresponding IDC of the highest scheduler of data speed of download in the data information list Distribute to the user.
Optionally, the video server 20 carries the use after being also used to obtain user information when user accesses Before family message reference domain name system DNS, request of data when being accessed according to the user sends data to the user, At the end of user's access, data speed of download is calculated, and the data speed of download is compared with preset threshold value, if The data speed of download is lower than the threshold value, then the video server 20 carries user when accessing domain name system 10 Information obtains the scheduler list that domain name system 10 returns.
Domain name system 10 in a kind of video CD N processing system disclosed by the embodiments of the present invention, video server 20 above It can be found in the processing side video CD N disclosed in the above embodiment of the present invention with the specific implementation procedure and implementation principle of scheduler 30 The part that domain name system 10 described in method, the video server 20 and the scheduler 30 are related to, is not discussed here.
In conclusion the invention discloses a kind of video CD N processing system, including domain name system 10, with domain name system The connected video server groups of system 10 include at least a video server 20, the video clothes in the video server group Business device 20 is at least connected with one or more schedulers 30 in a scheduler group, and the video server 20 obtains user and visits User information when asking, the user information include scheduler IP, User IP and the user identifier ID accessed user's last time;Institute It states video server 20 and carries the user information access domain name system 10, obtain the scheduling that domain name system 10 returns Device list;The scheduler list is the user carried when accessing domain name system DNS according to the video server What information obtained;In the scheduler IP and the scheduler list that the video server 20 accesses user's last time Scheduler IP is compared;If there are the scheduler IP that user's last time accesses, the views in the scheduler list Under User IP described in all scheduler dispatches of the frequency server 20 into the scheduler list, the user identifier ID and data Carry speed;The data speed of download is the video server 20 at the end of user accesses, obtained by calculation described Video server 20 sends the data speed of download of data to the user.It can make video server by above-mentioned processing method 20 quickly and easily to 30 feedback information of scheduler, allows users to obtain better user experience when watching Online Video.
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.
The above is only the specific embodiment of the application, it is noted that for the ordinary skill people of the art For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered It is considered as the protection scope of the application.

Claims (10)

1. a kind of video CD N processing method, which is characterized in that be applied to video CD N processing system, the video CD N processing system System includes domain name system DNS and video server group, and a video server is included at least in the video server group, described Video server is at least communicated with one or more schedulers in a scheduler group, the method includes:
The video server obtains user information when user's access, and the user information includes the tune accessed user's last time Spend device IP, User IP and user identifier ID;
The video server carries the user information and accesses domain name system DNS, and obtains domain name system DNS and return The scheduler list returned;
The scheduler IP in scheduler IP and the scheduler list that the video server accesses user's last time It is compared;
If there are the scheduler IP that user's last time accesses in the scheduler list, the video server is to described User IP described in all scheduler dispatches in scheduler list, the user identifier ID and data speed of download.
2. processing method according to claim 1, which is characterized in that if the user is not present in the scheduler list The scheduler IP of last time access, the method also includes:
The video server passes through the internal queries interface of domain name system DNS, is accessed according to user's last time Scheduler IP accesses domain name system DNS, obtains the scheduling accessed in the scheduler list comprising user's last time All including device IP can provide the scheduler IP of service for the user;
User IP described in all scheduler dispatches of the video server into the scheduler list, the user identifier ID And the data speed of download.
3. processing method according to claim 1, which is characterized in that further include:
The scheduler is according to the User IP, the user identifier ID and the data speed of download real-time update received Data information list;
Wherein, the data information in the data information list include the user information that receives of the scheduler when Between, the mark and the data speed of download of the User IP, the user identifier ID, network data center IDC;
Data information life span in the data information list is N seconds, and N takes the positive number greater than 0.
4. processing method according to claim 3, which is characterized in that further include:
When the scheduler is scheduled for user access request, if in the data information list including multiple available IDC, The corresponding IDC of the highest scheduler of data speed of download in the data information list is selected to distribute to the user.
5. processing method according to claim 1, which is characterized in that the video server obtains use when user's access After the information of family, before carrying the user information access domain name system DNS, further include:
The request of data when video server is accessed according to the user sends data to the user, and accesses in user At the end of, calculate data speed of download;
The data speed of download is compared with preset threshold value;
If the data speed of download is lower than the threshold value, the video server accesses domain name according to the User IP System DNS obtains the scheduler list that domain name system DNS is returned.
6. a kind of video CD N processing system, which is characterized in that including:Domain name system DNS is connected with domain name system DNS Video server group, includes at least a video server in the video server group, and the video server is at least with one One or more schedulers in a scheduler group are connected;
The video server for obtaining user information when user's access, and carries the user information and accesses the domain Name system DNS obtains the scheduler list that domain name system DNS is returned, the scheduler IP that user's last time is accessed It is compared with the scheduler IP in the scheduler list, to be accessed if there are user's last times in the scheduler list Scheduler IP, then User IP described in all scheduler dispatches of the video server into the scheduler list, described User identifier ID and data speed of download;The user information includes scheduler IP, User IP and the use accessed user's last time Family identifies ID.
7. processing system according to claim 6, which is characterized in that if the user is not present in the scheduler list The scheduler IP of last time access, the video server are also used to the internal queries interface by domain name system DNS, Domain name system DNS is accessed according to the scheduler IP that user's last time accesses, obtains and is visited comprising user's last time All including the scheduler IP asked can be the scheduler IP of the user service, and be stored in the scheduler list, User IP described in all scheduler dispatches into the scheduler IP list, the user identifier ID and data downloading speed Degree.
8. processing system according to claim 6, which is characterized in that the scheduler is also used to according to the institute received State User IP, the user identifier ID and the data speed of download real-time update data information list;The data information column Data information in table includes the time for the user information that the scheduler receives, the User IP, user mark Know the mark and the data speed of download of ID, network data center IDC;Data information existence in the data information list Time is N seconds, and N takes the positive number greater than 0.
9. processing system according to claim 8, which is characterized in that the scheduler is also used to, and is asked when for user's access It asks when being scheduled, if including multiple available IDC in the data information list, selects in the data information list under data It carries the corresponding IDC of the highest scheduler of speed and distributes to the user.
10. processing system according to claim 6, which is characterized in that the video server is also used to obtain user's visit After user information when asking, before carrying the user information access domain name system DNS, when being accessed according to the user Request of data send data to the user, at the end of user's access, calculate data speed of download, and will be under the data It carries speed to compare with preset threshold value, if the data speed of download is lower than the threshold value, the video server root Domain name system DNS is accessed according to the User IP, obtains the scheduler list that domain name system DNS is returned.
CN201810730426.0A 2018-07-05 2018-07-05 Video CDN processing method and system Active CN108881939B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810730426.0A CN108881939B (en) 2018-07-05 2018-07-05 Video CDN processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810730426.0A CN108881939B (en) 2018-07-05 2018-07-05 Video CDN processing method and system

Publications (2)

Publication Number Publication Date
CN108881939A true CN108881939A (en) 2018-11-23
CN108881939B CN108881939B (en) 2020-09-15

Family

ID=64299124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810730426.0A Active CN108881939B (en) 2018-07-05 2018-07-05 Video CDN processing method and system

Country Status (1)

Country Link
CN (1) CN108881939B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021120969A1 (en) * 2020-02-21 2021-06-24 聚好看科技股份有限公司 Domain name resolution method, domain name resolution server, and terminal device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
US20130254815A1 (en) * 2012-03-23 2013-09-26 Howard Pfeffer Apparatus and methods for managing delivery of content in a network with limited bandwidth using pre-caching
WO2014123527A1 (en) * 2013-02-07 2014-08-14 Nokia Siemens Networks Oy Local media loading adaptation
CN104427005A (en) * 2013-08-20 2015-03-18 阿里巴巴集团控股有限公司 Method and system for realizing accurate request scheduling on content delivery network
US20150172339A1 (en) * 2010-03-12 2015-06-18 Netflix, Inc. Parallel streaming
CN104954401A (en) * 2014-03-27 2015-09-30 阿里巴巴集团控股有限公司 Flow scheduling method and apparatus
CN106790530A (en) * 2016-12-21 2017-05-31 北京云端智度科技有限公司 The tracking of domain name service and polymerization

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
US20150172339A1 (en) * 2010-03-12 2015-06-18 Netflix, Inc. Parallel streaming
US20130254815A1 (en) * 2012-03-23 2013-09-26 Howard Pfeffer Apparatus and methods for managing delivery of content in a network with limited bandwidth using pre-caching
WO2014123527A1 (en) * 2013-02-07 2014-08-14 Nokia Siemens Networks Oy Local media loading adaptation
CN104427005A (en) * 2013-08-20 2015-03-18 阿里巴巴集团控股有限公司 Method and system for realizing accurate request scheduling on content delivery network
CN104954401A (en) * 2014-03-27 2015-09-30 阿里巴巴集团控股有限公司 Flow scheduling method and apparatus
CN106790530A (en) * 2016-12-21 2017-05-31 北京云端智度科技有限公司 The tracking of domain name service and polymerization

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021120969A1 (en) * 2020-02-21 2021-06-24 聚好看科技股份有限公司 Domain name resolution method, domain name resolution server, and terminal device

Also Published As

Publication number Publication date
CN108881939B (en) 2020-09-15

Similar Documents

Publication Publication Date Title
CN102077189B (en) Request routing using network computing components
JP5755813B2 (en) Network resource download information sharing control system and method
CN106330997B (en) A kind of method and system of the content distribution for mobile terminal application
CN100505696C (en) System, method and user terminal for realizing video live broadcast in media distributing network
CN110830564B (en) CDN scheduling method, device, system and computer readable storage medium
CN107483614A (en) Content scheduling method and communication network based on CDN Yu P2P networks
CN108737515A (en) Route Selection is asked in networked environment
JP4463999B2 (en) Method and apparatus in a communication network
CN101160884A (en) Inquiry proxy, communication system and method of inquiring information in communication system
WO2007039576A1 (en) A content distribution system and a user request redirection method thereof
CN109756757A (en) Live data processing method and processing device, live broadcasting method and device and direct broadcast server
JP2001502830A (en) System and method for optimized data storage and retrieval over a distributed computer network
US8751661B1 (en) Sticky routing
WO2006085843A1 (en) System architecture and method for scheduled downloading services
KR20150010977A (en) Method and system for communications and computer storage medium
CN108881516A (en) A kind of method and apparatus for dispatching more CDN service systems
JP2018506772A (en) Network address resolution
CN101883079A (en) Method and device used for accelerating to request multimedia contents in internet
US10705978B2 (en) Asynchronous tracking for high-frequency and high-volume storage
CN108881939A (en) A kind of video CD N processing method and system
CN103179191B (en) P2P network control device and P2P network managing and control system
EP3940557B1 (en) Method of distributing files through a content delivery network based also on artificial intelligence algorithms, telematic system and servers that allow to implement it
JP2001357069A (en) Server type bookmark managing device and managing method therefor
WO2010022619A1 (en) A method and system for user selection
CN108076350A (en) A kind of video service system and method based on router collaboration caching

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