CN108337537A - A kind of method of cloud platform video playing scheduling - Google Patents

A kind of method of cloud platform video playing scheduling Download PDF

Info

Publication number
CN108337537A
CN108337537A CN201710045766.5A CN201710045766A CN108337537A CN 108337537 A CN108337537 A CN 108337537A CN 201710045766 A CN201710045766 A CN 201710045766A CN 108337537 A CN108337537 A CN 108337537A
Authority
CN
China
Prior art keywords
video
broadcast nodes
user
special
broadcast
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
CN201710045766.5A
Other languages
Chinese (zh)
Other versions
CN108337537B (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.)
Johnsen Shilian Digital Technology (beijing) Co Ltd
Chuangsheng Shilian Digital Technology Beijing Co Ltd
Original Assignee
Johnsen Shilian Digital Technology (beijing) 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 Johnsen Shilian Digital Technology (beijing) Co Ltd filed Critical Johnsen Shilian Digital Technology (beijing) Co Ltd
Priority to CN201710045766.5A priority Critical patent/CN108337537B/en
Publication of CN108337537A publication Critical patent/CN108337537A/en
Application granted granted Critical
Publication of CN108337537B publication Critical patent/CN108337537B/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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • 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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2405Monitoring of the internal components or processes of the server, e.g. server load
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints

Landscapes

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

Abstract

The invention discloses a kind of methods of cloud platform video playing scheduling, the present invention can play the customization of user, independent video playing supports close friend, it is higher self-built cost to be solved again, remote districts are supported with situation not in place, moreover it is possible to which some user or some video are accurately dispatched to specific broadcast nodes according to business demand;It can carry flexibly in user, video, it is flexibly dispatched between CDN various dimensions, and it carries out accurate scheduling according to different priority and weight to play, it can also be according to business demand, seek an equalization point between self-built VDN and CDN service quotient, to carry out shunting broadcasting when burst plays peak.

Description

A kind of method of cloud platform video playing scheduling
Technical field
The present invention relates to cloud platform field of video broadcasting technology, specially a kind of method of cloud platform video playing scheduling.
Background technology
The playout schedule of existing video cloud platform generally has following methods:1, CDN service on the market is directly docked Quotient;2, self-built computer room is dispatched to corresponding computer room according to the IP address of user;In existing solution, the first is for visitor Family specifies broadcast nodes, the support of independent video bad, is in addition easy to be limited by stability and the safety of CDN platforms;Second The cost is relatively high for kind, not friendly enough for the support of some remote sites, and in addition the user of some interim big flows is needed Ask support bad.
Invention content
The purpose of the present invention is to provide a kind of methods of cloud platform video playing scheduling, to solve in above-mentioned background technology The problem of proposition.
To achieve the above object, the present invention provides the following technical solutions:A kind of method of cloud platform video playing scheduling, packet Include following steps:
A, user id, video id, ISP information, terminal type, HLS are obtained and plays flag bit parameter;
B, clarity set is obtained:The set of different clarity is obtained according to type of user terminal;If user terminal For PC, then obtaining corresponding clarity collection is combined into clear, high definition, super clear;If user terminal is mobile terminal, phase is obtained The clarity collection answered is combined into mobile phone and PAD;
C, all usable broadcast nodes of platform selecting are pressed;
D, clarity point and operator's grouping are pressed;
E, ISP information is determined;
F, special strategy, isp are obtained;
G, the selection of special user's strategy is carried out;
H, priority and weight sequencing algorithm.
Preferably, platform selecting method includes the following steps in the step C:
A, the metadata information of the video is obtained;
B, the memory node corresponding to the video and clarity is obtained;Obtain broadcast nodes all under the memory node Play domain name;Suitable url is sequentially generated, if it is true that HLS, which plays flag bit, returns to the url of m3u8 types;If It is no that HLS, which plays flag bit, then returning to MP4 file types.
Preferably, special strategy, isp acquisition methods include the following steps in the step F:
A, obtain feature broadcast nodes information, special video and IP broadcast nodes set, special video broadcast nodes set, Special user and IP broadcast nodes set, special user's broadcast nodes set;
B, all broadcast nodes are summarized, and removes the node of repetition;
C, the selection of feature node is carried out respectively to each clarity of video successively;According to video and ip, video, use The sequence that family and ip, user play feature carries out successively.
Preferably, the selection method of special user's strategy is in the step G:All broadcast nodes are divided into 3 first Class:Telecommunications broadcast nodes, unicom broadcast nodes, the multi-thread broadcast nodes of CDN;Then judge that user belongs to that broadcast strategy.
Compared with prior art, the beneficial effects of the invention are as follows:The present invention can play the customization of user, independent video is broadcast It is friendly to put support, and can solve that self-built cost is higher, the situation not in place to support from far-off regions, moreover it is possible to some user or Some video is accurately dispatched to specific broadcast nodes according to business demand;It can carry flexibly in user, video, CDN is more It is flexibly dispatched between dimension, and carries out accurate scheduling according to different priority and weight and play, it can be with root According to business demand, seek an equalization point between self-built VDN and CDN service quotient, to be divided when burst plays peak Stream broadcasting.
Specific implementation mode
The following is a clear and complete description of the technical scheme in the embodiments of the invention, it is clear that described embodiment Only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, the common skill in this field The every other embodiment that art personnel are obtained without making creative work belongs to the model that the present invention protects It encloses.
The present invention provides the following technical solutions:A kind of method of cloud platform video playing scheduling, includes the following steps:
A, user id, video id, ISP information, terminal type, HLS are obtained and plays flag bit parameter;
B, clarity set is obtained:The set of different clarity is obtained according to type of user terminal;If user terminal For PC, then obtaining corresponding clarity collection is combined into clear, high definition, super clear;If user terminal is mobile terminal, phase is obtained The clarity collection answered is combined into mobile phone and PAD;
C, all usable broadcast nodes of platform selecting are pressed;
D, clarity point and operator's grouping are pressed;
E, ISP information is determined;
F, special strategy, isp are obtained;
G, the selection of special user's strategy is carried out;
H, priority and weight sequencing algorithm;Broadcast nodes have respectively contained 2 attributes:Priority and weight, priority High preferential broadcasting, the identical broadcast nodes of priority provide clooating sequence according to weight height.Such as A broadcast nodes priority It is respectively 5 and 1 with weight, B broadcast nodes priority and weight are 4 and 1, then in sequence because the priority of A is higher than B is played then A will be better than B, if the priority and weight of B are 5 and 99, in totally playing statistics, is played in B Number on node is that the number played on 99%, A is 1%.
In the present embodiment, platform selecting method includes the following steps in step C:
A, the metadata information of the video is obtained;
B, the memory node corresponding to the video and clarity is obtained;Obtain broadcast nodes all under the memory node Play domain name;Suitable url is sequentially generated, if it is true that HLS, which plays flag bit, returns to the url of m3u8 types;If It is no that HLS, which plays flag bit, then returning to MP4 file types.
In the present embodiment, special strategy, isp acquisition methods include the following steps in step F:
A, obtain feature broadcast nodes information, special video and IP broadcast nodes set, special video broadcast nodes set, Special user and IP broadcast nodes set, special user's broadcast nodes set;
B, all broadcast nodes are summarized, and removes the node of repetition;
C, the selection of feature node is carried out respectively to each clarity of video successively;According to video and ip, video, use The sequence that family and ip, user play feature carries out successively.
In the present embodiment, the selection method of special user's strategy is in step G:All broadcast nodes are divided into 3 first Class:Telecommunications broadcast nodes, unicom broadcast nodes, the multi-thread broadcast nodes of CDN;Then judge that user belongs to that broadcast strategy.
Preferential CDN strategies:Queue is preferentially added in the multi-thread broadcast nodes of CDN;If ISP is telecommunications, telecommunications is played first Node is according to addition queue after priority and weight sequencing and then after unicom broadcast nodes according to priority and weight sequencing Queue is added;If ISP is unicom, first unicom broadcast nodes according to queue, then is added after priority and weight sequencing Queue is added after telecommunications broadcast nodes according to priority and weight sequencing;If ISP is small operator, telecommunications and After unicom node merges into an entirety, according to queue is added after priority and weight sequencing.
The preferential VDN of telecommunications unicom:If ISP is telecommunications, first telecommunications broadcast nodes according to priority and weight sequencing Queue is added afterwards and then the multi-thread broadcast nodes of CDN according to queue is added after priority and weight sequencing, finally unicom is played Node after priority and weight sequencing according to being added queue;If ISP is unicom, first unicom broadcast nodes according to priority With addition queue after weight sequencing and then the multi-thread broadcast nodes of CDN according to queue is added after priority and weight sequencing, finally Telecommunications broadcast nodes according to priority and weight sequencing;If neither telecommunications is nor unicom, first the multi-thread broadcastings of CDN Node merges later as a whole according to addition queue after priority and weight sequencing and then telecommunications and unicom node, Queue is added after the global precedence effect grade and weight sequencing.
All preferential VDN:If ISP is telecommunications, telecommunications broadcast nodes are added according to after priority and weight sequencing first Enqueue then the multi-thread broadcast nodes of CDN according to queue is added after priority and weight sequencing, finally unicom broadcast nodes According to queue is added after priority and weight sequencing;If ISP is unicom, first unicom broadcast nodes according to priority and power Queue is added after reordering and then the multi-thread broadcast nodes of CDN according to queue is added after priority and weight sequencing, finally electricity Letter broadcast nodes after priority and weight sequencing according to being added queue;If neither telecommunications is nor unicom, first telecommunications After merging with unicom node as a whole, then that CDN is more queue is added after the global precedence effect grade and weight sequencing Line broadcast nodes after priority and weight sequencing according to being added queue.
Preferential specific CDN:Specific CDN broadcast nodes set is returned to team according to addition after priority and weight sequencing first Row;If ISP be telecommunications, first telecommunications broadcast nodes according to after priority and weight sequencing be added queue then CDN it is more Line broadcast nodes finally arrange unicom broadcast nodes according to priority and weight according to queue is added after priority and weight sequencing Queue is added after sequence;If ISP be unicom, first unicom broadcast nodes according to after priority and weight sequencing be added queue, Then the multi-thread broadcast nodes of CDN according to queue is added after priority and weight sequencing, finally telecommunications broadcast nodes according to excellent Queue is added after first grade and weight sequencing;If neither telecommunications is nor unicom, first the multi-thread broadcast nodes of CDN according to excellent After queue is added after first grade and weight sequencing and then telecommunications and unicom node are merged as a whole, this is whole excellent Queue is added after first grade and weight sequencing;If it is small operator, first the multi-thread broadcast nodes of CDN according to priority and weight It is added after sequence and returns to queue, telecommunications and unicom set are then merged into an entirety, then to the entirety according to priority Queue is returned with being added after weight sequencing
If not above 5 kinds of strategies:If ISP is telecommunications, telecommunications broadcast nodes and the multi-thread nodes of CDN are merged first For an entirety, it is added according to priority and weight sequencing and returns to queue;Then unicom broadcast nodes according to priority and power Return queue is being added after reordering;If ISP is unicom, unicom broadcast nodes and the multi-thread nodes of CDN are merged into one first A entirety arranges telecommunications broadcast nodes according to priority and weight according to queue and then handle are added after priority and weight sequencing Return queue is being added after sequence;If neither telecommunications is nor unicom, the multi-thread broadcast nodes of CDN, telecommunication node, communicating joint 3 kinds of nodes of point merge into an entirety, then return to queue according to addition after priority and weight sequencing.
The present invention can play the customization of user, independent video playing is supported friendly, and it is higher to solve self-built cost, right Support situation not in place in remote districts, moreover it is possible to which some user or some video are accurately dispatched to specifically according to business demand Broadcast nodes;It can carry flexibly in user, video, flexibly be dispatched between CDN various dimensions, and according to difference Priority and weight carry out accurate scheduling and play, can also be according to business demand, between self-built VDN and CDN service quotient Seek an equalization point, to carry out shunting broadcasting when burst plays peak.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with Understanding without departing from the principles and spirit of the present invention can carry out these embodiments a variety of variations, modification, replace And modification, the scope of the present invention is defined by the appended.

Claims (4)

1. a kind of method of cloud platform video playing scheduling, it is characterised in that:Include the following steps:
A, user id, video id, ISP information, terminal type, HLS are obtained and plays flag bit parameter;
B, clarity set is obtained:The set of different clarity is obtained according to type of user terminal;If user terminal is PC, It so obtains corresponding clarity collection and is combined into clear, high definition, super clear;If user terminal is mobile terminal, obtain corresponding Clarity collection is combined into mobile phone and PAD;
C, all usable broadcast nodes of platform selecting are pressed;
D, clarity point and operator's grouping are pressed;
E, ISP information is determined;
F, special strategy, isp are obtained;
G, the selection of special user's strategy is carried out;
H, priority and weight sequencing algorithm.
2. a kind of method of cloud platform video playing scheduling according to claim 1, it is characterised in that:In the step C Platform selecting method includes the following steps:
A, the metadata information of the video is obtained;
B, the memory node corresponding to the video and clarity is obtained;Obtain the broadcasting of broadcast nodes all under the memory node Domain name;Suitable url is sequentially generated, if it is true that HLS, which plays flag bit, returns to the url of m3u8 types;If HLS is broadcast It is no to put flag bit, then returning to MP4 file types.
3. a kind of method of cloud platform video playing scheduling according to claim 1, it is characterised in that:In the step F Special strategy, isp acquisition methods include the following steps:
A, feature broadcast nodes information, special video and IP broadcast nodes set, special video broadcast nodes set, special are obtained User and IP broadcast nodes set, special user's broadcast nodes set;
B, all broadcast nodes are summarized, and removes the node of repetition;
C, the selection of feature node is carried out respectively to each clarity of video successively;According to video and ip, video, Yong Huhe The sequence that ip, user play feature carries out successively.
4. a kind of method of cloud platform video playing scheduling according to claim 1, it is characterised in that:In the step G The selection method of special user's strategy is:All broadcast nodes are divided into 3 classes first:Telecommunications broadcast nodes, unicom play section The multi-thread broadcast nodes of point, CDN;Then judge that user belongs to that broadcast strategy.
CN201710045766.5A 2017-01-20 2017-01-20 Cloud platform video playing and scheduling method Active CN108337537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710045766.5A CN108337537B (en) 2017-01-20 2017-01-20 Cloud platform video playing and scheduling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710045766.5A CN108337537B (en) 2017-01-20 2017-01-20 Cloud platform video playing and scheduling method

Publications (2)

Publication Number Publication Date
CN108337537A true CN108337537A (en) 2018-07-27
CN108337537B CN108337537B (en) 2021-07-16

Family

ID=62922119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710045766.5A Active CN108337537B (en) 2017-01-20 2017-01-20 Cloud platform video playing and scheduling method

Country Status (1)

Country Link
CN (1) CN108337537B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511868A (en) * 2020-11-17 2021-03-16 创盛视联数码科技(北京)有限公司 Video playing method and device, electronic equipment and computer storage medium
CN113055704A (en) * 2020-12-30 2021-06-29 创盛视联数码科技(北京)有限公司 Method and system for fast playing video on demand

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825837A (en) * 2014-02-19 2014-05-28 上海视云网络科技有限公司 Node load distributed CDN global scheduling method
CN104737500A (en) * 2012-08-29 2015-06-24 爱立信电视公司 Regulating content streams from a weighted fair queuing scheduler using weights defined for user equipment nodes
US20160139792A1 (en) * 2014-01-13 2016-05-19 International Business Machines Corporation Social balancer for indicating the relative priorities of linked objects
CN105898402A (en) * 2015-11-13 2016-08-24 乐视云计算有限公司 Network scheduling method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737500A (en) * 2012-08-29 2015-06-24 爱立信电视公司 Regulating content streams from a weighted fair queuing scheduler using weights defined for user equipment nodes
US20160139792A1 (en) * 2014-01-13 2016-05-19 International Business Machines Corporation Social balancer for indicating the relative priorities of linked objects
CN103825837A (en) * 2014-02-19 2014-05-28 上海视云网络科技有限公司 Node load distributed CDN global scheduling method
CN105898402A (en) * 2015-11-13 2016-08-24 乐视云计算有限公司 Network scheduling method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511868A (en) * 2020-11-17 2021-03-16 创盛视联数码科技(北京)有限公司 Video playing method and device, electronic equipment and computer storage medium
CN112511868B (en) * 2020-11-17 2022-01-11 创盛视联数码科技(北京)有限公司 Video playing method and device, electronic equipment and computer storage medium
CN113055704A (en) * 2020-12-30 2021-06-29 创盛视联数码科技(北京)有限公司 Method and system for fast playing video on demand

Also Published As

Publication number Publication date
CN108337537B (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN105307010B (en) The video uploading system and method for a kind of cloud net cast platform
CN105635755B (en) Live TV stream transmission method and device
CN102306103B (en) Software development kit (SDK) module for Android real time streaming protocol (RTSP) player
CN102752667B (en) Multi-stream media live broadcast interaction system and live broadcast interaction method
CN105847875B (en) A kind of the viewing route intelligent selecting method and system of net cast platform
CN109963162A (en) A kind of cloud director system and live streaming processing method, device
CN103747301B (en) Log file is play in a kind of advertisement placement method, system and storage advertisement
CN103348691A (en) Method, device and system for delivering live telecast content
CN101710965A (en) Full network storage and scheduling method and system for network television
CN105991707B (en) Multimedia interaction method, server and system
CN104009991B (en) Audio communication system and method
CN101950577A (en) Method for selecting and playing corresponding type of music according to current weather condition
CN102685123A (en) Cloud-storage-based streaming media publication device, system and method
CN101483536B (en) Method, system and customer terminal for transmitting data used for network karaoke
CN102572072A (en) Mobile phone video preview method, video preview control device, and mobile phone with device
CN108337537A (en) A kind of method of cloud platform video playing scheduling
CN107666613A (en) Method for synchronizing time, server and the system recorded for multiple spot
CN105554162B (en) By the method for mobile terminal video/data remote synchronization to smart television home court scape
CN102970251B (en) A kind of network-building method and network device
CN106209824A (en) The cloud edit methods of data, system and the client of cloud editor
US9232256B2 (en) System and method for generating flash-based media stream
CN102368721A (en) Performance testing system and method for MS (Media Server) clustered system
CN105657071B (en) A kind of live information method for pushing of Network Environment
CN103561013B (en) The data distribution systems of Streaming Media
CN101242461A (en) An integrated access terminal under FTTH condition

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