CN105100706A - Discrete media stream scheduling method and system - Google Patents

Discrete media stream scheduling method and system Download PDF

Info

Publication number
CN105100706A
CN105100706A CN201510345833.6A CN201510345833A CN105100706A CN 105100706 A CN105100706 A CN 105100706A CN 201510345833 A CN201510345833 A CN 201510345833A CN 105100706 A CN105100706 A CN 105100706A
Authority
CN
China
Prior art keywords
exchange
media
bucket
administrative unit
server
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
CN201510345833.6A
Other languages
Chinese (zh)
Other versions
CN105100706B (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201510345833.6A priority Critical patent/CN105100706B/en
Publication of CN105100706A publication Critical patent/CN105100706A/en
Application granted granted Critical
Publication of CN105100706B publication Critical patent/CN105100706B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a discrete media stream scheduling method. The method comprises the following steps that: a media exchange bucket management unit allocates media exchange buckets for each MS (media exchange server) according to capacity situation of each MS, builds a corresponding table of each MS and each media exchange bucket, and transmits the corresponding table to each VM (video management server); each VM stores the corresponding table; a decoding and displaying device transmits a request of live previewing of a media stream of one coding device; after receiving the request, the VM judges whether a record of forwarding the media stream exists locally, if so, the VM notifies the MS in the record to copy one media stream and transmit the copied media stream to the decoding and displaying device; otherwise, according to the characteristics of the coding device, the VM calculates the media exchange buckets of the MS, inquires the corresponding table according to the calculated media exchange buckets to obtain the corresponding MS, notifies the corresponding MS to forward the media stream, and locally records the forwarding information; the MS receives scheduling of the VM, and forwards the media stream to the decoding and displaying device. According to the scheme of the invention, bottleneck of single performance is eliminated, single point failure is avoided, and media exchange scheduling is guaranteed to be not interrupted to the greatest extent.

Description

A kind of discrete type media stream scheduling method and system
Technical field
The present invention relates to technical field of video monitoring, particularly relate to discrete type dispatching method and the system of monitor video Media Stream.
Background technology
In the face of the height of monitoring live-preview business is concurrent, industry Current protocols is that a VM (video management server) dispatches multiple stage MS (exchange of media server), and forwarding media stream is supplied user's live-preview to user's display device by the MS be respectively scheduled.VM is responsible for scheduling IP encoder and MS and display unit exchange of media of decoding.VM records the commutative relation of each Media Stream and the load condition of each MS, and carries out the scheduling of MS according to these information.In existing this scheme, VM is the single essential elements of whole system, so just there is two problems: 1) it easily becomes whole system performance bottleneck point because sharing without performance when high voice and packet data concurrent service, cannot accomplish by newly-increased Server Extension calculated capacity.2) VM is system core unit, and after paralysis, new business is interrupted completely.
Summary of the invention
In view of this, the invention provides a kind of discrete type media stream scheduling method and system.
This discrete type media stream scheduling method is applied to video monitoring system, and this supervisory control system comprises: encoding device, exchange of media server MS, video management server, decoding display device and exchange of media bucket administrative unit; The method comprises: exchange of media bucket administrative unit, according to the capacity situation of each exchange of media server, is each exchange of media server-assignment exchange of media bucket, sets up the corresponding table of each exchange of media server and each exchange of media bucket; And described correspondence table is issued each video management server; Each video management server preserves the exchange of media server of exchange of media bucket administrative unit transmission and the corresponding table of exchange of media bucket; Decoding display device sends the medium stream request of a certain encoding device of live-preview to the video management server belonging to it; After video management server receives the described request of this decoding display device, judge the local record that whether there is the described a certain encoding device Media Stream of exchange of media server forwarding, if existed, then notify that a media stream of exchange of media server replicates in this record is to described decoding display device; If there is no, then according to its exchange of media bucket of feature calculation of this certain encoding device, and obtain corresponding exchange of media server according to the exchange of media server that the described exchange of media bucket inquiry calculated is preserved with the corresponding table of exchange of media bucket, notify that the exchange of media server of this correspondence forwards the Media Stream of this certain encoding device, and forward the information of this certain encoding device Media Stream at this exchange of media server of local record; Exchange of media server receives the scheduling of this video management server, gives described decoding display device by the forwarding media stream of described a certain encoding device.
Compared to prior art, the present invention program eliminates single performance bottleneck, avoids Single Point of Faliure, at utmost ensures that exchange of media scheduling is not interrupted.
Accompanying drawing explanation
Fig. 1 is a kind of Organization Chart of video monitoring system.
Fig. 2 is embodiment of the present invention flow chart.
Fig. 3 is that MS exemplary plot distributed to by exchange of media bucket.
Embodiment
Based on the technical problem proposed in background technology, the invention provides a kind of discrete type media stream scheduling method.Describe in detail below by way of specific embodiment.
Please refer to the drawing 1, Fig. 1 is the Organization Chart of a video monitoring system.This video monitoring system comprises encoding device (being IP encoder in Fig. 1), exchange of media server MS, video management server VM, decoding display device and exchange of media bucket administrative unit.
IP encoder, receives the management of VM, supports the transmission of live-preview Media Stream.Each IP encoder is registered on a VM when reaching the standard grade, and accepts the management of this VM until this IP encoder rolls off the production line.Media stream scheduling belongs to an aspect of VM managing I P encoder.When user has the Media Stream demand of the some IP encoders of live-preview, VM instruction IP encoder sends Media Stream.
Exchange of media bucket administrative unit is that each MS allocation medium exchanges bucket, sets up that MS is corresponding with exchange of media bucket show, and this correspondence is shown to be handed down to all VM, thus the scheduling of the whole supervisory control system Media Stream of indirect control.When allocation medium exchanges bucket, distribute corresponding exchange of media bucket number according to the transfer capability of MS.Exchange of media bucket administrative unit does not participate in the scheduling of physical medium stream, auxiliary unit is belonged in media stream scheduling business, if so issue MS corresponding with exchange of media bucket show after this exchange of media bucket administrative unit break down, the scheduling of Media Stream still can continue to run at each video management server, and media schedule business is not interrupted.Exchange of media bucket administrative unit can be embedded in the module in a specific installation.This independent equipment can be VM, also can be other servers.
Video management server VM, carries out media stream scheduling to MS and the IP encoder be registered on this VM.To newly-built exchange of media business, carry out calculating exchange of media barrel number according to the feature of IP encoder, show corresponding with exchange of media bucket of inquiry MS obtains MS corresponding to this IP encoder, the newly-built forwarding flow of control MS; To built Media Stream, control MS copies this Media Stream of distribution.
Exchange of media server MS, receives the media stream scheduling management of VM, the Media Stream of IP encoder is carried out to forwarding and copies.Each MS can by any VM scheduling controlling.
Decoding display unit, receives the Media Stream that MS sends, and decoding shows and exports.
Embodiment of the present invention flow chart shown in please refer to the drawing 2.
S21, decoding display device are to the medium stream request of a certain encoding device of video management server transmission live-preview of oneself.
After S22, video management server receive the above-mentioned request of this decoding display device, judge the local record that whether there is the described a certain encoding device Media Stream of exchange of media server forwarding, if existed, then notify that a media stream of exchange of media server replicates in this record is to described decoding display device; If there is no, then according to its exchange of media bucket of feature calculation of this certain encoding device, and obtain corresponding exchange of media server according to the exchange of media server that the described exchange of media bucket inquiry calculated is preserved with the corresponding table of exchange of media bucket, notify that the exchange of media server of this correspondence forwards the Media Stream of this certain encoding device, and forward the information of this certain encoding device Media Stream at this exchange of media server of local record.
S23, exchange of media server receive the notice of this video management server, give described decoding display device by the forwarding media stream of described a certain encoding device.
In above-mentioned steps S22, the exchange of media server MS that video management server VM preserves is handed down to video management server with the corresponding table of exchange of media bucket by exchange of media bucket administrative unit.Exchange of media bucket administrative unit, according to the capacity situation of each exchange of media server, is each exchange of media server-assignment exchange of media bucket, sets up the corresponding table of each exchange of media server and each exchange of media bucket; And described correspondence table is issued each video management server.Exchange of media leads to administrative unit can carry out allocation medium exchange bucket according to the ability of each exchange of media server.Time initial, when each MS does not bear forwarding media stream, each MS assigns to exchange of media barrelage m computing formula and is: m=(ability of ability/all MS of this MS and) * N, wherein N is exchange of media bucket sum.Suppose to have 10 MS in supervisory control system, the ability of each MS is identical, and exchange of media bucket adds up to 1000, then the exchange of media barrelage that each MS assigns to is 100.So, exchange of media bucket just can be distributed to each MS as the mode of Fig. 3 by exchange of media administrative unit: exchange of media bucket 0 ~ exchange of media bucket 99 is distributed to MS0, MS1 distributed to by exchange of media bucket 100 ~ exchange of media bucket 199, and MS2 etc. distributed to by exchange of media bucket 200 ~ exchange of media bucket 299.The N value that presentation medium exchanges bucket sum can be arranged according to video monitoring system scale, and N is larger, the dispersion that MS is dispatched and scale also larger.The exchange of media bucket that each MS is assigned to by exchange of media administrative unit is handed down to each VM in supervisory control system, and each VM preserves the exchange bucket information that each MS is assigned in this locality.Follow-up, the exchange of media barrelage that exchange of media bucket administrative unit can also be assigned to according to the load state dynamic conditioning MS of each MS, has adjusted the new MS of generation and exchange of media bucket contrast table, has been handed down to each VM.Concrete adjustment way, will describe in detail in the hereafter MS load mechanism of patrolling and examining and MS scarce capacity exception handling.
VM, when its exchange of media bucket of feature calculation according to encoding device, can calculate in conjunction with hash algorithm with the IP address of encoding device.Certainly IP address here and hash algorithm just a kind of citing.Other is as the MAC Address of encoding device, and device id etc. can as the feature of encoding device; Other some hashing algorithms also can as the algorithm of mapping code equipment to exchange of media bucket.Such as, the live video Media Stream of decoding display device 1 program request IP encoder 1, the IP address of this IP encoder 1 is IP1, the VM1 managing this decoding display device 1 and IP encoder 1 utilizes IP1 to carry out Hash and calculates numerical value 152630, this numerical value is obtained result 630, so be mapped to exchange of media bucket 630 to exchange of media bucket size 1000 modulo operation.Because this exchange of media bucket 630 is allocated to MS6, so give decoding display device 1 by MS6 by the live video media stream of IP encoder 1.VM flows to the information of decoding display device 1 in the live media of local record MS6 forwarding IP encoder 1.
Describe according to above-described embodiment, the present invention calculates the media stream scheduling originally concentrated and is distributed to each video management server VM, eliminate single performance bottleneck point, thus effectively improve whole system concurrency, avoid Single Point of Faliure to cause whole system paralysis simultaneously, ensure that exchange of media scheduling is not interrupted to the full extent, improve the reliability of whole supervisory control system.
The MS load mechanism of patrolling and examining is responsible for execution by exchange of media bucket administrative unit.Exchange of media bucket administrative unit is carried out periodic load to MS and is patrolled and examined, such as each K time cycle second collect the load state of each MS, to the MS (high capacity MS) exceeding safe threshold S1, its exchange of media bucket is marked a part, distribute to the MS (low load MS) lower than criteria threshold S2, thus generate that new MS is corresponding with exchange of media bucket to be shown, issue each VM respectively.
The MS of high capacity marks exchange of media bucket number computing formula and is: the exchange of media barrelage m that (present load accounting-safe threshold S1) * assigns to.Such as the load accounting of current MS1 is 95%, and secure threshold S1 is 80%, and the exchange of media barrelage m assigned to is 100, then this MS1 needs the exchange of media barrelage marked to be 15.Here load accounting can be understood as the ratio that the load capacity used accounts for total load capacity.Such as MS has the transfer capability of 100M, the current transfer capability having employed 95M, then its load accounting is 95%.Exchange of media bucket administrative unit is when marking the exchange of media bucket that high capacity MS assigns to, and the exchange of media bucket be not mapped to by current media flow forwarding marks.Such as MS1 will mark 15 exchange buckets, its exchange of media bucket assigned at first is 0 ~ 99; Suppose that IP encoder 10 ~ 80 is current and all have access to live-preview at decoded display device, VM is 0 ~ 68 according to the exchange bucket that the IP address computation of these encoders is mapped to before, so the exchange of media bucket that current media flow forwarding is not mapped to is 69 ~ 99, exchange of media bucket administrative unit can from exchange of media bucket 69 ~ 99 optional 15 MS being allocated to other low loads.
Low load MS supports that the exchange of media barrelage computing formula put under is: the exchange of media barrelage m that (criteria threshold S2-present load accounting) * assigns to.Such as level threshold value S2 is 75%, when the load accounting of current MS2 is 50%, MS2 supports that the exchange of media barrelage put under is 25.In addition, exchange of media bucket administrative unit priority allocation, to the minimum exchange of media server of load, still has residue after distributing, then finds next low load exchange of media server again and distribute.If all low load MS are all not enough to receive exchange of media bucket to be marked, then generate and safeguard warning, notify that attendant MS transships, need to increase new MS.
The periodic load of exchange of media bucket administrative unit patrols and examines the business of business that machine-processed main purpose is balanced high capacity MS and low load MS, reduces the generation of MS scarce capacity abnormal conditions, effectively supplementing as exchange of media bucket random distribution approach.
When performing MS load and patrolling and examining mechanism, the situation that MS transships still may be there is.The exception handling of MS overload is mainly initiatively reported to exchange of media bucket administrative unit by MS oneself, exchange of media bucket administrative unit carries out the adjustment of exchange of media bucket accordingly: exchange of media bucket administrative unit receive MS overload on give the correct time, the exchange of media bucket that all for this MS current media flow forwardings are not mapped to all is marked, distribute to the MS of low load, generate that new MS is corresponding with exchange of media bucket to be shown, be handed down to each VM.Follow-up, when exchange of media bucket administrative unit periodic load is patrolled and examined, the MS load of transshipping before this under safe threshold after, progressively recover exchange of media bucket to the MS of this overload according to H% ratio.
The exchange of media bucket of MS is marked, for be the exchange of media bucket that current media flow forwarding is not mapped to, so video management server is when the MS newly-generated according to exchange of media bucket administrative unit list scheduling MS corresponding to exchange of media bucket, do not interrupt the Media Stream forwarded, only follow-up newly-built Media Stream is carried out to the scheduling of MS according to new correspondence table.
Exchange of media bucket administrative unit carry out MS load patrol and examine time, if be checked through MS abnormal off-line, then exchange of media bucket corresponding for this abnormal MS is distributed to other normal MS by exchange of media bucket administrative unit.Exchange of media barrelage a=that other normal MS are newly assigned to (ability of ability/all MS of ability/(ability of all MS and the ability of-abnormal MS)-this normal MS of this normal MS and) * exchange of media bucket sum N.Then the example of Fig. 3 illustrates, such as MS3 abnormal off-line, and exchange of media bucket corresponding before MS3 is 300 ~ 399, then the exchange of media barrelage a=(1/9-1/10) * 1000 that is newly assigned to of other each MS.So exchange of media bucket 300 ~ 310 can be distributed to MS0, MS1 distributed to by exchange of media bucket 311 ~ 321, MS2 distributed to by exchange of media bucket 322 ~ 332, MS4 distributed to by exchange of media bucket 333 ~ 343, MS5 distributed to by exchange of media bucket 344 ~ 354, and MS6 distributed to by exchange of media bucket 355 ~ 365, and MS7 distributed to by exchange of media bucket 366 ~ 376, MS8 distributed to by exchange of media bucket 377 ~ 387, and MS9 distributed to by exchange of media bucket 388 ~ 399.After exchange of media bucket administrative unit is assigned equably, re-issue that new MS is corresponding with exchange of media bucket to be shown to each VM.The correspondence table that VM is new according to this, the Media Stream of trigger fault MS moves on normal MS, the transmission of re-constructing media stream.
Exchange of media bucket administrative unit carry out MS load patrol and examine time, if be checked through new MS (MS recovered after comprising fault) to reach the standard grade, then the part of exchange of media bucket that existing MS is assigned to by exchange of media bucket administrative unit is re-assigned on new MS.Such as the exchange of media barrelage b that exchange of media bucket administrative unit distributes to the MS newly reached the standard grade is: (ability of ability/all MS of the MS newly reached the standard grade and) * exchange of media bucket sum N.The exchange of media barrelage c that existing MS marks is: (ability of ability/all existing MS of this existing MS and the ability of-this existing MS/(ability of all existing MS and the ability of+this MS that newly reaches the standard grade)) * exchange of media bucket sum N.Still then the example of Fig. 3 illustrates, supposes existing 10 MS, MS0 ~ MS9, and newly reached the standard grade a new MS10, then the exchange of media barrelage b=(1/11) * 1000 that is assigned to of this MS10; The exchange of media barrelage c=(1/10-1/11) * 1000 that existing MS0 ~ MS9 marks.So, the exchange of media bucket 0 ~ 8 be assigned to before MS0 can be distributed to MS11 by exchange of media bucket administrative unit, MS11 distributed to by the exchange of media bucket 100 ~ 108 be assigned to before MS1, MS11 distributed to by the exchange of media bucket 200 ~ 208 be assigned to before MS2, MS11 distributed to by the exchange of media bucket 300 ~ 308 be assigned to before MS3, MS11 distributed to by the exchange of media bucket 400 ~ 408 be assigned to before MS4, MS11 distributed to by the exchange of media bucket 500 ~ 508 be assigned to before MS5, MS11 distributed to by the exchange of media bucket 600 ~ 608 be assigned to before MS6, MS11 distributed to by the exchange of media bucket 700 ~ 708 be assigned to before MS7, MS11 distributed to by the exchange of media bucket 800 ~ 808 be assigned to before MS8, MS11 distributed to by the exchange of media bucket 900 ~ 908 be assigned to before MS9.Mark exchange of media bucket to after the exchange of media server of newly reaching the standard grade from existing exchange of media server, generate new correspondence table T, be handed down to all video management servers respectively.The exchange of media bucket of existing MS is marked to the MS newly reached the standard grade, for be also the exchange of media bucket that current media flow forwarding is not mapped to, so video management server is when the MS newly-generated according to exchange of media bucket administrative unit list scheduling MS corresponding to exchange of media bucket, do not interrupt the Media Stream forwarded, only follow-up newly-built Media Stream is carried out to the scheduling of MS according to new correspondence table.
Pass through such scheme, media stream scheduling smoothly can be expanded by the mode of newly-increased MS, meet current increasing high concurrent media stream reciprocal exchange of business demand, and under MS failure condition, can ensure that the Media Stream under its fault effects is switched on normal MS rapidly.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (10)

1. a discrete type media stream scheduling method, the method is applied to video monitoring system, it is characterized in that, this supervisory control system comprises: encoding device, exchange of media server MS, video management server, decoding display device and exchange of media bucket administrative unit; The method comprises:
Exchange of media bucket administrative unit, according to the capacity situation of each exchange of media server, is each exchange of media server-assignment exchange of media bucket, sets up the corresponding table of each exchange of media server and each exchange of media bucket; And described correspondence table is issued each video management server;
Each video management server preserves the exchange of media server of exchange of media bucket administrative unit transmission and the corresponding table of exchange of media bucket;
Decoding display device sends the medium stream request of a certain encoding device of live-preview to the video management server belonging to it;
After video management server receives the described request of this decoding display device, judge the local record that whether there is the described a certain encoding device Media Stream of exchange of media server forwarding, if existed, then notify that a media stream of exchange of media server replicates in this record is to described decoding display device; If there is no, then according to its exchange of media bucket of feature calculation of this certain encoding device, and obtain corresponding exchange of media server according to the exchange of media server that the described exchange of media bucket inquiry calculated is preserved with the corresponding table of exchange of media bucket, notify that the exchange of media server of this correspondence forwards the Media Stream of this certain encoding device, and forward the information of this certain encoding device Media Stream at this exchange of media server of local record;
Exchange of media server receives the scheduling of this video management server, gives described decoding display device by the forwarding media stream of described a certain encoding device.
2. the method for claim 1, is characterized in that, described exchange of media bucket administrative unit, according to the capacity situation of each exchange of media server, is each exchange of media server-assignment exchange of media bucket, comprises:
Time initial, when each MS does not bear forwarding media stream, m exchange of media bucket in N number of exchange of media bucket is distributed to each MS by this exchange of media bucket administrative unit, wherein, exchange of media barrelage m=that each MS assigns to (ability of ability/all MS of this MS and) * N, N are exchange of media bucket sum;
Exchange of media bucket administrative unit is the exchange of media barrelage assigned to of each MS of dynamic conditioning also;
Described dynamic conditioning comprises: exchange of media bucket administrative unit is carried out periodic load to each MS and patrolled and examined, and the exchange of media bucket of high capacity MS is marked a part to the MS of low load; Wherein, the exchange of media barrelage that high capacity MS marks is: the exchange of media barrelage m that (this high capacity MS present load accounting-safe threshold S1) * assigns to; The exchange of media barrelage that low load MS puts under is: the exchange of media barrelage m that (this low load MS present load accounting of criteria threshold S2-) * assigns to.
3. method as claimed in claim 2, it is characterized in that, exchange of media bucket administrative unit is when marking the exchange of media bucket that high capacity MS assigns to, and the exchange of media bucket be not mapped to by current media flow forwarding marks, and is preferentially allocated to the minimum exchange of media server of load.
4. method as claimed in claim 3, it is characterized in that, the method also comprises, and when exchange of media discovering server oneself transships, initiatively reports to exchange of media bucket administrative unit; Exchange of media bucket administrative unit carries out the adjustment of exchange of media bucket accordingly;
This adjustment comprises: all marked by the exchange of media bucket that all current media flow forwardings of the exchange of media server of this overload are not mapped to, distribute to the MS of low load;
Described method also comprises, and when exchange of media bucket administrative unit periodic load is patrolled and examined, after the MS load of transshipping before is under safe threshold, progressively recovers exchange of media bucket to the MS of this overload according to preset ratio.
5. method as claimed in claim 2, it is characterized in that, exchange of media bucket administrative unit carry out MS load patrol and examine time, if be checked through MS abnormal off-line, then exchange of media bucket corresponding for this abnormal MS is distributed to other normal MS by exchange of media bucket administrative unit, exchange of media barrelage a=that other normal MS are newly assigned to (ability of ability/all MS of ability/(ability of all MS and the ability of-abnormal MS)-this normal MS of this normal MS and) * N;
Exchange of media bucket administrative unit carry out MS load patrol and examine time, reach the standard grade if be checked through new MS, then the part of exchange of media bucket that existing MS is assigned to by exchange of media bucket administrative unit is re-assigned on new MS;
The exchange of media barrelage b that this exchange of media bucket administrative unit distributes to the MS newly reached the standard grade is: (ability of ability/all MS of the MS newly reached the standard grade and) * exchange of media bucket sum N;
The exchange of media barrelage c that existing MS marks is: (ability of ability/all existing MS of this existing MS and the ability of-this existing MS/(ability of all existing MS and the ability of+this MS that newly reaches the standard grade)) * N.
6. have a video monitoring system for discrete type media stream scheduling, it is characterized in that, this video monitoring system comprises: encoding device, exchange of media server MS, video management server, decoding display device and exchange of media bucket administrative unit; Wherein,
Exchange of media bucket administrative unit, according to the capacity situation of each exchange of media server, is each exchange of media server-assignment exchange of media bucket, sets up the corresponding table of each exchange of media server and each exchange of media bucket; And described correspondence table is issued each video management server;
Each video management server preserves the exchange of media server of exchange of media bucket administrative unit transmission and the corresponding table of exchange of media bucket;
Decoding display device sends the medium stream request of a certain encoding device of live-preview to the video management server belonging to it;
After video management server receives the described request of this decoding display device, judge the local record that whether there is the described a certain encoding device Media Stream of exchange of media server forwarding, if existed, then notify that a media stream of exchange of media server replicates in this record is to described decoding display device; If there is no, then according to its exchange of media bucket of feature calculation of this certain encoding device, and obtain corresponding exchange of media server according to the exchange of media server that the described exchange of media bucket inquiry calculated is preserved with the corresponding table of exchange of media bucket, notify that the exchange of media server of this correspondence forwards the Media Stream of this certain encoding device, and forward the information of this certain encoding device Media Stream at this exchange of media server of local record;
Exchange of media server receives the scheduling of this video management server, gives described decoding display device by the forwarding media stream of described a certain encoding device.
7. system as claimed in claim 6, it is characterized in that, described exchange of media bucket administrative unit, according to the capacity situation of each exchange of media server, is each exchange of media server-assignment exchange of media bucket, comprises:
Time initial, when each MS does not bear forwarding media stream, m exchange of media bucket in N number of exchange of media bucket is distributed to each MS by this exchange of media bucket administrative unit, wherein, exchange of media barrelage m=that each MS assigns to (ability of ability/all MS of this MS and) * N, N are exchange of media bucket sum;
Exchange of media bucket administrative unit is the exchange of media barrelage assigned to of each MS of dynamic conditioning also;
Described dynamic conditioning comprises: exchange of media bucket administrative unit is carried out periodic load to each MS and patrolled and examined, and the exchange of media bucket of high capacity MS is marked a part to the MS of low load; Wherein, the exchange of media barrelage that high capacity MS marks is: the exchange of media barrelage m that (this high capacity MS present load accounting-safe threshold S1) * assigns to; The exchange of media barrelage that low load MS puts under is: the exchange of media barrelage m that (this low load MS present load accounting of criteria threshold S2-) * assigns to.
8. system as claimed in claim 7, it is characterized in that, exchange of media bucket administrative unit is when marking the exchange of media bucket that high capacity MS assigns to, and the exchange of media bucket be not mapped to by current media flow forwarding marks, and is preferentially allocated to the minimum exchange of media server of load.
9. system as claimed in claim 8, is characterized in that, when exchange of media discovering server oneself transships, initiatively reports to exchange of media bucket administrative unit; Exchange of media bucket administrative unit carries out the adjustment of exchange of media bucket accordingly;
This adjustment comprises: all marked by the exchange of media bucket that all current media flow forwardings of the exchange of media server of this overload are not mapped to, distribute to the MS of low load;
Described method also comprises, and when exchange of media bucket administrative unit periodic load is patrolled and examined, after the MS load of transshipping before is under safe threshold, progressively recovers exchange of media bucket to the MS of this overload according to preset ratio.
10. system as claimed in claim 7, it is characterized in that, exchange of media bucket administrative unit carry out MS load patrol and examine time, if be checked through MS abnormal off-line, then exchange of media bucket corresponding for this abnormal MS is distributed to other normal MS by exchange of media bucket administrative unit, exchange of media barrelage a=that other normal MS are newly assigned to (ability of ability/all MS of ability/(ability of all MS and the ability of-abnormal MS)-this normal MS of this normal MS and) * N;
Exchange of media bucket administrative unit carry out MS load patrol and examine time, reach the standard grade if be checked through new MS, then the part of exchange of media bucket that existing MS is assigned to by exchange of media bucket administrative unit is re-assigned on new MS;
The exchange of media barrelage b that this exchange of media bucket administrative unit distributes to the MS newly reached the standard grade is: (ability of ability/all MS of the MS newly reached the standard grade and) * exchange of media bucket sum N;
The exchange of media barrelage c that existing MS marks is: (ability of ability/all existing MS of this existing MS and the ability of-this existing MS/(ability of all existing MS and the ability of+this MS that newly reaches the standard grade)) * N.
CN201510345833.6A 2015-06-19 2015-06-19 A kind of discrete type media stream scheduling method and system Active CN105100706B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510345833.6A CN105100706B (en) 2015-06-19 2015-06-19 A kind of discrete type media stream scheduling method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510345833.6A CN105100706B (en) 2015-06-19 2015-06-19 A kind of discrete type media stream scheduling method and system

Publications (2)

Publication Number Publication Date
CN105100706A true CN105100706A (en) 2015-11-25
CN105100706B CN105100706B (en) 2018-09-18

Family

ID=54580126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510345833.6A Active CN105100706B (en) 2015-06-19 2015-06-19 A kind of discrete type media stream scheduling method and system

Country Status (1)

Country Link
CN (1) CN105100706B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100869150B1 (en) * 2007-06-27 2008-11-19 주식회사 뷰텔 Netwok video server system
CN102118396A (en) * 2011-03-14 2011-07-06 杭州华三通信技术有限公司 Live monitoring method and video management server
CN102325249A (en) * 2011-10-09 2012-01-18 杭州华三通信技术有限公司 Real-time monitoring method and video management server applied to video monitoring system
CN102333074A (en) * 2011-06-23 2012-01-25 杭州华三通信技术有限公司 Method and equipment for transmitting data in monitoring system
CN102347937A (en) * 2010-08-02 2012-02-08 杭州华三通信技术有限公司 Method of sending streaming media data and virtual manager (VM)
CN102710801A (en) * 2012-05-03 2012-10-03 浙江宇视科技有限公司 Method and device for processing live video stream on demand

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100869150B1 (en) * 2007-06-27 2008-11-19 주식회사 뷰텔 Netwok video server system
CN102347937A (en) * 2010-08-02 2012-02-08 杭州华三通信技术有限公司 Method of sending streaming media data and virtual manager (VM)
CN102118396A (en) * 2011-03-14 2011-07-06 杭州华三通信技术有限公司 Live monitoring method and video management server
CN102333074A (en) * 2011-06-23 2012-01-25 杭州华三通信技术有限公司 Method and equipment for transmitting data in monitoring system
CN102325249A (en) * 2011-10-09 2012-01-18 杭州华三通信技术有限公司 Real-time monitoring method and video management server applied to video monitoring system
CN102710801A (en) * 2012-05-03 2012-10-03 浙江宇视科技有限公司 Method and device for processing live video stream on demand

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姚志喜: "监控流媒体服务器关键技术研究与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Also Published As

Publication number Publication date
CN105100706B (en) 2018-09-18

Similar Documents

Publication Publication Date Title
JP5119077B2 (en) Virtual server resource adjustment system, resource adjustment device, virtual server resource adjustment method, and computer program
US8386607B2 (en) Method and system for utilizing a resource conductor to optimize resource management in a distributed computing environment
CN106685724B (en) Node server management method based on election, apparatus and system
CN102158386A (en) Distributed load balance for system management program
CN103197952A (en) Management system and method aiming at maintenance and deployment of application system based on cloud infrastructure
WO2013163865A1 (en) Virtual machine hot migration and deployment method, server and cluster system
CN103684916A (en) Method and system for intelligent monitoring and analyzing under cloud computing
CN110166524B (en) Data center switching method, device, equipment and storage medium
JP2013090072A5 (en)
CN104283774A (en) AC pool implementation method and device
CN107171971A (en) Network traffic load method in a balanced way is realized using uniformity Hash strategy
KR20130082958A (en) Power supply system for internet data center and power management method thereof
JP5647561B2 (en) Power system supervisory control system
CN113312339B (en) Data migration method and device, computer equipment and storage medium
CN102799488B (en) Application resource management system applied to digital television
US20120072482A1 (en) Device for access to data aboard an aircraft
WO2012065440A1 (en) Implementation method and apparatus for priority of device in virtual router redundancy protocol backup group
CN105100706A (en) Discrete media stream scheduling method and system
JP2011197989A (en) Dynamic management device, dynamic management system, and dynamic management method for information processing system
CN106714219A (en) Parallel processing automatic dispatch method of mobile communication network management
CN102970236A (en) Multicast distribution tree switching method and device
CN103139005A (en) Method and device for detecting reasonability of network resource allocation
US10719120B2 (en) Efficient utilization of spare datacenter capacity
KR101883671B1 (en) Method and management server for dtitributing node
CN103546331B (en) Acquisition methods, the apparatus and system of monitoring information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant