CN105100706B - A kind of discrete type media stream scheduling method and system - Google Patents

A kind of discrete type media stream scheduling method and system Download PDF

Info

Publication number
CN105100706B
CN105100706B CN201510345833.6A CN201510345833A CN105100706B CN 105100706 B CN105100706 B CN 105100706B CN 201510345833 A CN201510345833 A CN 201510345833A CN 105100706 B CN105100706 B CN 105100706B
Authority
CN
China
Prior art keywords
media
bucket
media exchange
exchange
buckets
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510345833.6A
Other languages
Chinese (zh)
Other versions
CN105100706A (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 present invention provides a kind of discrete type media stream scheduling method, including:Exchange of media bucket administrative unit exchanges bucket according to each MS capacity situations, for each MS allocation mediums, establishes the corresponding table of each MS and each exchange of media bucket;And corresponding table is issued into each VM;Each VM preserves corresponding table;Decoding shows that equipment sends the medium stream request of a certain encoding device of live-preview;After VM receives the request, judge locally with the presence or absence of the media stream recording is forwarded, if it is, the MS in the record is notified to replicate a media stream and show equipment to decoding;If it is not, then obtaining corresponding MS according to its exchange of media bucket of a certain encoding device feature calculation, and according to the corresponding table of exchange of media bucket inquiry being calculated, corresponding MS forwarding medias stream is notified, and locally recording the forwarding information;MS receives the scheduling of the VM, and forwarding media stream is shown equipment to decoding.The present invention program eliminates single performance bottleneck, avoids Single Point of Faliure, utmostly ensures that exchange of media scheduling is not interrupted.

Description

Discrete media stream scheduling method and system
Technical Field
The invention relates to the technical field of video monitoring, in particular to a discrete scheduling method and a discrete scheduling system for monitoring video media streams.
Background
In the face of high concurrency of monitoring live preview services, the current solution in the industry is that one VM (video management server) schedules multiple MSs (media switching servers), and each scheduled MS forwards a media stream to a user display device for live preview of a user. The VM is responsible for scheduling the IP encoder media exchanges with the MS and the decoding display unit. The VM records the exchange relationship of each media stream and the load status of each MS, and schedules the MS according to these information. In the existing scheme, the VM is a single key unit of the whole system, so that two problems exist: 1) when the concurrent service is high, the concurrent service is easily split into the bottleneck point of the performance of the whole system due to no performance, and the capacity cannot be expanded by adding a server. 2) The VM is a system core unit, and the new service is completely interrupted after the crash.
Disclosure of Invention
In view of the above, the present invention provides a discrete media stream scheduling method and system.
The discrete media stream scheduling method is applied to a video monitoring system, and the monitoring system comprises: the system comprises an encoding device, a media exchange server MS, a video management server, a decoding display device and a media exchange bucket management unit; the method comprises the following steps: the media exchange barrel management unit distributes media exchange barrels for the media exchange servers according to the capacity status of the media exchange servers and establishes a corresponding table of the media exchange servers and the media exchange barrels; and sending the corresponding table to each video management server; each video management server stores a corresponding table of the media exchange server and the media exchange bucket sent by the media exchange bucket management unit; the decoding display equipment sends a media stream request for live previewing of a certain encoding equipment to a video management server to which the decoding display equipment belongs; after receiving the request of the decoding display device, the video management server judges whether a local media exchange server exists to forward the record of the media stream of the certain encoding device, and if so, the video management server informs the media exchange server in the record to copy a media stream and send the media stream to the decoding display device; if the coding device does not exist, calculating a media exchange bucket according to the characteristics of the certain coding device, inquiring a stored corresponding table of the media exchange server and the media exchange bucket according to the calculated media exchange bucket to obtain a corresponding media exchange server, informing the corresponding media exchange server to forward the media stream of the certain coding device, and locally recording the information that the media exchange server forwards the media stream of the certain coding device; and the media exchange server receives the scheduling of the video management server and forwards the media stream of the certain encoding equipment to the decoding display equipment.
Compared with the prior art, the scheme of the invention removes the bottleneck of single performance, avoids single point of failure and ensures uninterrupted media exchange scheduling to the greatest extent.
Drawings
Fig. 1 is an architecture diagram of a video surveillance system.
Fig. 2 is a flow chart of an embodiment of the present invention.
Fig. 3 is an exemplary diagram of allocation of media switch buckets to MSs.
Detailed Description
Based on the technical problems proposed in the background art, the invention provides a discrete media stream scheduling method. The following is a detailed description of specific embodiments.
Referring to fig. 1, fig. 1 is an architecture diagram of a video surveillance system. The video monitoring system comprises an encoding device (IP encoder in figure 1), a media switching server MS, a video management server VM, a decoding display device and a media switching bucket management unit.
And the IP encoder receives management of the VM and supports transmission of the live preview media stream. Each IP encoder is registered to one VM when being on-line, and the management of the VM is received until the IP encoder is off-line. Media stream scheduling belongs to one aspect of VM management IP encoders. When a user has a demand for live preview of a media stream of one IP encoder, the VM instructs the IP encoder to send the media stream.
And the media exchange bucket management unit is used for distributing media exchange buckets for each MS, establishing a corresponding table of the MS and the media exchange buckets and issuing the corresponding table to all VMs, thereby indirectly controlling the scheduling of the media stream of the whole monitoring system. And when the media exchange buckets are distributed, distributing the corresponding number of the media exchange buckets according to the forwarding capability of the MS. The media exchange bucket management unit does not participate in the actual media stream scheduling, and belongs to an auxiliary unit in the media stream scheduling service, so that after the MS and media exchange bucket corresponding table is issued, if the media exchange bucket management unit fails, the media stream scheduling can still continue to run in each video management server, and the media scheduling service is not interrupted. The media switch bucket management unit may be a module embedded in a separate device. The separate device may be a VM or other server.
And the video management server VM performs media stream scheduling on the MS and the IP encoder registered to the VM. Calculating the newly-built media exchange service according to the characteristics of the IP encoder to obtain a media exchange barrel number, inquiring a corresponding table of the MS and the media exchange barrel to obtain the MS corresponding to the IP encoder, and controlling the MS to newly build a forwarding stream; and for the established media stream, controlling the MS to copy and distribute the media stream.
And the media exchange server MS receives the media stream scheduling management of the VM and forwards and copies the media stream of the IP encoder. Each MS may be under the scheduling control of any one VM.
And the decoding display unit is used for receiving the media stream sent by the MS, decoding, displaying and outputting the media stream.
Please refer to the flowchart of fig. 2.
And S21, the decoding display device sends a media stream request for live preview of a certain encoding device to the video management server of the decoding display device.
S22, after receiving the request of the decoding display device, the video management server judges whether a local record exists that the media exchange server forwards the media stream of a certain encoding device, if so, the video management server informs the media exchange server in the record to copy a media stream and send the media stream to the decoding display device; if the coding device does not exist, calculating a media exchange bucket according to the characteristics of the coding device, inquiring a stored corresponding table of the media exchange server and the media exchange bucket according to the calculated media exchange bucket to obtain a corresponding media exchange server, informing the corresponding media exchange server to forward the media stream of the coding device, and locally recording the information that the media exchange server forwards the media stream of the coding device.
S23, the media exchange server receives the notification from the video management server, and forwards the media stream of the certain encoding device to the decoding display device.
In the step S22, the media switching bucket management unit issues the correspondence table between the media switching server MS and the media switching bucket stored in the video management server VM to the video management server. The media exchange barrel management unit distributes media exchange barrels for the media exchange servers according to the capacity status of the media exchange servers and establishes a corresponding table of the media exchange servers and the media exchange barrels; and sending the corresponding table to each video management server. The media exchange management unit may allocate media exchange buckets according to the capabilities of the respective media exchange servers. Initially, under the condition that each MS does not undertake media stream forwarding, the calculation formula of the number m of media switching buckets allocated to each MS is as follows: m ═ N (the MS's capability/the sum of all MSs's capabilities), where N is the total number of media exchange buckets. Assuming that there are 10 MSs in the monitoring system, each MS has the same capability, and the total number of media exchange buckets is 1000, the number of media exchange buckets allocated to each MS is 100. Then the media exchange management unit may allocate media exchange buckets to the respective MSs as in the manner of fig. 3: media exchange bucket 0 through media exchange bucket 99 are allocated to MS0, media exchange bucket 100 through media exchange bucket 199 are allocated to MS1, media exchange bucket 200 through media exchange bucket 299 are allocated to MS2, and so on. The value of N representing the total number of media exchange buckets can be set according to the scale of the video monitoring system, and the bigger the N is, the bigger the dispersion and scale of MS scheduling are. The media exchange management unit issues the media exchange buckets allocated by the MSs to each VM in the monitoring system, and each VM locally stores the exchange bucket information allocated by each MS. Subsequently, the media switching bucket management unit may also dynamically adjust the number of media switching buckets allocated by the MS according to the load condition of each MS, generate a new MS and media switching bucket comparison table after adjustment, and issue the new MS and media switching bucket comparison table to each VM. The specific adjustment method will be described in detail in the following MS load polling mechanism and MS capacity insufficiency exception handling mechanism.
When the VM calculates the media exchange bucket according to the characteristics of the encoding device, the VM can calculate by combining the IP address of the encoding device with the Hash algorithm. Of course, the IP address and Hash algorithm are only examples. Other characteristics such as the MAC address of the encoding device, the device identification number, etc. may be used as the characteristics of the encoding device; other hashing algorithms may also be used as an algorithm to map the encoding device to the media switch bucket. For example, the decoding display device 1 requests the live video media stream of the IP encoder 1, the IP address of the IP encoder 1 is IP1, the VM1 managing the decoding display device 1 and the IP encoder 1 performs Hash calculation using IP1 to obtain a value 152630, and the result 630 is obtained by modulo the value with respect to the size 1000 of the media exchange bucket, so that the result is mapped to the media exchange bucket 630. Since this media switch bucket 630 is allocated to the MS6, the live video media stream of IP encoder 1 is transmitted by MS6 to decoding display device 1. The VM locally records the information that the MS6 forwarded the live media stream of the IP encoder 1 to the decoding display device 1.
According to the description of the embodiment, the originally centralized media stream scheduling calculation is dispersed to each video management server VM, and a single performance bottleneck point is removed, so that the concurrency of the whole system is effectively improved, the whole system is prevented from being paralyzed due to single-point faults, the media exchange scheduling is ensured not to be interrupted to the greatest extent, and the reliability of the whole monitoring system is improved.
The MS load patrol mechanism is performed by the media switch bucket management unit. The media switch bucket management unit performs periodic load polling on the MS, for example, collects the load condition of each MS every K second time period, divides a part of the media switch bucket of an MS (high-load MS) exceeding the safety threshold S1, allocates the part of the media switch bucket to an MS (low-load MS) lower than the standard threshold S2, thereby generating a new MS and media switch bucket corresponding table, and respectively issues each VM.
The calculation formula of the number of the media exchange buckets drawn by the MS with high load is as follows: (current load share-security threshold S1) is divided by the number m of media exchange buckets dropped. For example, if the current MS1 has a 95% load ratio, the security threshold S1 is 80%, and the number m of assigned media exchange buckets is 100, the number of media exchange buckets that the MS1 needs to allocate is 15. The load share ratio here is understood to be the proportion of the load capacity that has been used to the total load capacity. For example, if the MS has a forwarding capability of 100M and has currently used a forwarding capability of 95M, the load is 95%. When the media exchange bucket which is allocated by the high-load MS is drawn, the media exchange bucket management unit draws out the media exchange bucket which is not mapped by the current media stream forwarding. For example, the MS1 has to divide 15 switch buckets, and the media switch buckets to be initially divided are 0-99; assuming that the IP encoders 10-80 are currently all retrieving live previews from the decoded display device, the VM calculates the mapped buckets as 0-68 based on the IP addresses of these encoders, so that the current media stream forwarding unmapped media switch buckets are 69-99, and the media switch bucket management unit may partition from media switch buckets 69-99, optionally 15, to other low-load MSs.
The calculation formula of the number of the media exchange buckets which are supported by the low-load MS is as follows: (criteria threshold S2-current load fraction) is divided by m number of media exchange buckets. For example, when the standard threshold S2 is 75% and the load of the current MS2 is 50%, the number of media exchange buckets that MS2 supports is 25. In addition, the media exchange bucket management unit preferentially allocates the media exchange server with the lowest load, and if the media exchange server still remains after allocation, the next low-load media exchange server is searched for allocation. And if all the low-load MSs are not enough to receive the media exchange buckets to be marked out, generating a maintenance alarm, and informing maintenance personnel that the MSs are overloaded and new MSs need to be added.
The periodic load polling mechanism of the media exchange bucket management unit mainly aims at balancing the service of a high-load MS and the service of a low-load MS, reducing the occurrence of abnormal conditions of insufficient MS capacity and serving as effective supplement of a media exchange bucket random distribution method.
In case of performing the MS load patrol mechanism, the MS may still be overloaded. The exception handling mechanism of MS overload is mainly that the MS reports to the media exchange bucket management unit actively, and the media exchange bucket management unit adjusts the media exchange bucket according to the exception: when receiving the report of MS overload, the media exchange barrel management unit divides all media exchange barrels to which the current media stream of the MS is forwarded and not mapped, distributes the media exchange barrels to the MS with low load, generates a new MS and media exchange barrel corresponding table, and sends the new MS and media exchange barrel corresponding table to each VM. Subsequently, when the media switching bucket management unit regularly patrols the load, after the load of the MS which is overloaded before reaches the safety threshold value, the media switching bucket is gradually restored to the MS which is overloaded according to the proportion of H%.
And the media exchange bucket of the MS is drawn, and the aim is to forward the media exchange bucket which is not mapped to the current media stream, so that when the video management server schedules the MS according to the corresponding table of the MS and the media exchange bucket newly generated by the media exchange bucket management unit, the media stream which is forwarded is not interrupted, and the MS is scheduled only for the subsequent newly-built media stream according to the new corresponding table.
When the media exchange bucket management unit performs MS load inspection, if the MS is detected to be abnormal and offline, the media exchange bucket management unit distributes the media exchange bucket corresponding to the abnormal MS to other normal MSs. The newly allocated media exchange bucket number a for other normal MSs is (the normal MS capability/(all MS capabilities and-abnormal MS capability) — the normal MS capability/all MS capability sum) × the total number of media exchange buckets N. For example, if the MS3 is abnormally off-line and the number of the media switch buckets corresponding to the MS3 is 300 to 399, the number a of the media switch buckets newly allocated to each of the other MSs is (1/9 to 1/10) × 1000. Therefore, media buckets 300-310 may be allocated to MS0, media buckets 311-321 to MS1, media buckets 322-332 to MS2, media buckets 333-343 to MS4, media buckets 344-354 to MS5, media buckets 355-365 to MS6, media buckets 366-376 to MS7, media buckets 377-387 to MS8, and media buckets 388-399 to MS 9. After the media exchange bucket management unit is distributed equally, a new MS and media exchange bucket corresponding table is issued to each VM again. And the VM triggers the media stream of the fault MS to be migrated to the normal MS according to the new corresponding table, and reestablishes the transmission of the media stream.
When the media switching bucket management unit performs MS load inspection, if it is detected that a new MS (including a MS recovered after a failure) is on-line, the media switching bucket management unit reallocates a part of the media switching buckets allocated by the existing MS to the new MS. For example, the number b of media switch buckets allocated to the newly online MS by the media switch bucket management unit is: (capability of MS newly on line/capability sum of all MSs) total number of media switch buckets N. The number of existing MS-committed media switch buckets, c, is: (capability of the existing MS/capability of all existing MSs and-capability of the existing MS/(capability of all existing MSs and + capability of the new online MS)) total number of media switching buckets. Also, as described in the example of fig. 3, assuming that there are 10 existing MSs, MS 0-MS 9, and a new MS10 is newly brought on line, the number of media exchange buckets b allocated to the MS10 is (1/11) × 1000; the conventional MS0 to MS9 have a total number of buckets c (1/10 to 1/11) × 1000. Therefore, media exchange bucket management unit may allocate media exchange buckets 0-8 previously allocated by MS0 to MS11, media exchange buckets 100-108 previously allocated by MS1 to MS11, media exchange buckets 200-208 previously allocated by MS2 to MS11, media exchange buckets 300-308 previously allocated by MS3 to MS11, media exchange buckets 400-408 previously allocated by MS4 to MS11, media exchange buckets 500-508 previously allocated by MS5 to MS11, media exchange buckets 600-608 previously allocated by MS6 to MS11, media exchange buckets 700-708 previously allocated by MS7 to MS11, media exchange buckets 800-808 previously allocated by MS8 to MS11, and media exchange buckets 900-908 previously allocated by MS9 to MS 11. And after a media exchange bucket is drawn from the existing media exchange server to the newly on-line media exchange server, a new corresponding table T is generated and is respectively sent to all the video management servers. The media exchange bucket of the existing MS is drawn to the newly on-line MS, and aiming at the media exchange bucket which is not mapped by the current media stream forwarding, when the video management server schedules the MS according to the corresponding table of the MS and the media exchange bucket newly generated by the media exchange bucket management unit, the video management server does not interrupt the media stream which is already forwarded, and only schedules the MS for the subsequent newly-built media stream according to the new corresponding table.
By the scheme, the media stream scheduling can be smoothly expanded in a mode of adding the MS, the current and larger requirements of high concurrent media stream switching services are met, and the media stream under the influence of the failure of the MS can be rapidly switched to the normal MS under the condition of the failure of the MS.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A discrete media stream scheduling method is applied to a video monitoring system, and is characterized in that the monitoring system comprises: the system comprises an encoding device, a media exchange server MS, a video management server, a decoding display device and a media exchange bucket management unit; the method comprises the following steps:
the media exchange barrel management unit distributes media exchange barrels for the media exchange servers according to the capacity status of the media exchange servers and establishes a corresponding table of the media exchange servers and the media exchange barrels; and sending the corresponding table to each video management server;
each video management server stores a corresponding table of the media exchange server and the media exchange bucket sent by the media exchange bucket management unit;
the decoding display equipment sends a media stream request for live previewing of a certain encoding equipment to a video management server to which the decoding display equipment belongs;
after receiving the request of the decoding display device, the video management server to which the decoding display device belongs judges whether a local record that a media exchange server forwards a media stream of a certain encoding device exists, and if so, the video management server informs the media exchange server in the record to copy a media stream and send the media stream to the decoding display device; if the coding device does not exist, calculating a media exchange bucket according to the characteristics of the certain coding device, inquiring a stored corresponding table of the media exchange server and the media exchange bucket according to the calculated media exchange bucket to obtain a corresponding media exchange server, informing the corresponding media exchange server to forward the media stream of the certain coding device, and locally recording the information that the media exchange server forwards the media stream of the certain coding device;
and the corresponding media exchange server receives the scheduling of the video management server and forwards the media stream of the certain encoding equipment to the decoding display equipment.
2. The method of claim 1, wherein the media exchange bucket management unit allocates a media exchange bucket for each media exchange server according to a capability status of each media exchange server, comprising:
initially, in a case where each MS does not undertake media stream forwarding, the media switch bucket management unit allocates m media switch buckets out of N media switch buckets to each MS, where m is the number of media switch buckets (the capability of the MS/the sum of the capabilities of all MSs) × N, and N is the total number of media switch buckets;
the media exchange bucket management unit also dynamically adjusts the number of media exchange buckets allocated to each MS;
the dynamic adjustment includes: the media exchange bucket management unit carries out periodic load polling on each MS, and divides a part of the media exchange bucket of the high-load MS into the MS with low load; the number of media exchange buckets marked by the high-load MS is as follows: (the high load MS current load is greater than-the safety threshold S1) divided by the number m of media exchange buckets dropped; the number of media switch buckets that the low-load MS is committed to is: (criteria threshold S2-current load of the low load MS is a ratio of m media exchange buckets dropped).
3. The method of claim 2, wherein the media switch bucket management unit, when marking out the media switch bucket to which the high-load MS is classified, marks out the media switch bucket to which the current media stream forwarding is not mapped, and preferentially marks the media switch server with the lowest load.
4. The method of claim 3, further comprising, when the media switching server finds itself overloaded, actively reporting to the media switching bucket management unit; the media exchange bucket management unit adjusts the media exchange bucket according to the data;
the adjustment includes: all media exchange buckets which are not mapped to the current media stream forwarding of the overloaded media exchange server are completely removed and distributed to the low-load MS;
the method also comprises the step of gradually restoring the media switching bucket to the overloaded MS according to a preset proportion after the load of the overloaded MS is lower than a safety threshold value when the media switching bucket management unit regularly patrols the load.
5. The method according to claim 2, wherein when the media switch bucket management unit performs MS load inspection, if it detects that the MS is abnormally off-line, the media switch bucket management unit allocates the media switch bucket corresponding to the abnormal MS to other normal MSs, and the number of media switch buckets newly allocated to other normal MSs is (the capability of the normal MS/(the capability of all MSs and-the capability of the abnormal MS) -the capability of the normal MS/the capability of all MSs and) × N;
when the media exchange bucket management unit performs MS load inspection, if a new MS is detected to be on-line, the media exchange bucket management unit redistributes a part of the media exchange buckets distributed by the existing MS to the new MS;
the number b of media switch buckets allocated to the newly online MS by the media switch bucket management unit is: (the capability of the newly online MS/the sum of the capabilities of all MSs) total number of media switch buckets N;
the number of existing MS-committed media switch buckets, c, is: (capability of the existing MS/capability of all existing MSs and-capability of the existing MS/(capability of all existing MSs and + capability of the new online MS)) × N.
6. A video surveillance system with discrete media stream scheduling, the video surveillance system comprising: the system comprises an encoding device, a media exchange server MS, a video management server, a decoding display device and a media exchange bucket management unit; wherein,
the media exchange barrel management unit distributes media exchange barrels for the media exchange servers according to the capacity status of the media exchange servers and establishes a corresponding table of the media exchange servers and the media exchange barrels; and sending the corresponding table to each video management server;
each video management server stores a corresponding table of the media exchange server and the media exchange bucket sent by the media exchange bucket management unit;
the decoding display equipment sends a media stream request for live previewing of a certain encoding equipment to a video management server to which the decoding display equipment belongs;
after receiving the request of the decoding display device, the video management server to which the decoding display device belongs judges whether a local record that a media exchange server forwards a media stream of a certain encoding device exists, and if so, the video management server informs the media exchange server in the record to copy a media stream and send the media stream to the decoding display device; if the coding device does not exist, calculating a media exchange bucket according to the characteristics of the certain coding device, inquiring a stored corresponding table of the media exchange server and the media exchange bucket according to the calculated media exchange bucket to obtain a corresponding media exchange server, informing the corresponding media exchange server to forward the media stream of the certain coding device, and locally recording the information that the media exchange server forwards the media stream of the certain coding device;
and the corresponding media exchange server receives the scheduling of the video management server and forwards the media stream of the certain encoding equipment to the decoding display equipment.
7. The system of claim 6, wherein the media exchange bucket management unit allocates a media exchange bucket for each media exchange server according to a capability status of each media exchange server, comprising:
initially, in a case where each MS does not undertake media stream forwarding, the media switch bucket management unit allocates m media switch buckets out of N media switch buckets to each MS, where m is the number of media switch buckets (the capability of the MS/the sum of the capabilities of all MSs) × N, and N is the total number of media switch buckets;
the media exchange bucket management unit also dynamically adjusts the number of media exchange buckets allocated to each MS;
the dynamic adjustment includes: the media exchange bucket management unit carries out periodic load polling on each MS, and divides a part of the media exchange bucket of the high-load MS into the MS with low load; the number of media exchange buckets marked by the high-load MS is as follows: (the high load MS current load is greater than-the safety threshold S1) divided by the number m of media exchange buckets dropped; the number of media switch buckets that the low-load MS is committed to is: (criteria threshold S2-current load of the low load MS is a ratio of m media exchange buckets dropped).
8. The system of claim 7, wherein the media switch bucket management unit, when marking out the media switch bucket to which the high-load MS is classified, marks out the media switch bucket to which the current media stream forwarding is not mapped, and preferentially marks the media switch server with the lowest load.
9. The system of claim 8, wherein when the media switching server finds itself overloaded, it reports to the media switching bucket management unit actively; the media exchange bucket management unit adjusts the media exchange bucket according to the data;
the adjustment includes: all media exchange buckets which are not mapped to the current media stream forwarding of the overloaded media exchange server are completely removed and distributed to the low-load MS;
and the media switching bucket management unit is also used for gradually recovering the media switching bucket to the overloaded MS according to a preset proportion after the load of the overloaded MS is lower than a safety threshold value when the media switching bucket management unit regularly patrols the load.
10. The system according to claim 7, wherein when the media switch bucket management unit performs MS load inspection, if it detects that the MS is abnormally off-line, the media switch bucket management unit allocates the media switch bucket corresponding to the abnormal MS to other normal MSs, and the number a of media switch buckets newly allocated to other normal MSs is (the capability of the normal MS/(the capability of all MSs and-the capability of the abnormal MS) -the capability of the normal MS/the capability of all MSs and) × N;
when the media exchange bucket management unit performs MS load inspection, if a new MS is detected to be on-line, the media exchange bucket management unit redistributes a part of the media exchange buckets distributed by the existing MS to the new MS;
the number b of media switch buckets allocated to the newly online MS by the media switch bucket management unit is: (the capability of the newly online MS/the sum of the capabilities of all MSs) total number of media switch buckets N;
the number of existing MS-committed media switch buckets, c, is: (capability of the existing MS/capability of all existing MSs and-capability of the existing MS/(capability of all existing MSs and + capability of the new online MS)) × 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 CN105100706A (en) 2015-11-25
CN105100706B true 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* 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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
监控流媒体服务器关键技术研究与实现;姚志喜;《中国优秀硕士学位论文全文数据库信息科技辑》;20100515;I139-57 *

Also Published As

Publication number Publication date
CN105100706A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
US20180176154A1 (en) Method and system for managing workloads in a cluster
JP6563936B2 (en) Method, system, and computer-readable medium for cloud-based virtual orchestrator
EP2761459B1 (en) System and method for disaster recovery
US20190230389A1 (en) Intelligent Video Streaming System
EP2458768B1 (en) Method for switching node main-standby controllers based on content delivery network (cdn) and cdn thereof
US20040236869A1 (en) Parallel information delivery method based on peer-to-peer enabled distributed computing technology and the system thereof
US20080256238A1 (en) Method and system for utilizing a resource conductor to optimize resource management in a distributed computing environment
CN110545258B (en) Streaming media server resource allocation method and device and server
EP2595348B1 (en) Streaming service load sharing method, streaming service processing method, device and system thereof
CN102984012B (en) Management method and system for service resources
WO2011138879A1 (en) Operation management device and operation management method of information processing system
US20170324619A1 (en) Network Management Method, Device, and System
CN106791639B (en) Video monitoring method and system under large-scale data concurrent environment
US20150062344A1 (en) Monitoring Camera Device and Monitoring Camera System
CN104205746A (en) Computer system and communication path modification means
KR20150145049A (en) Apparatus and method of traffic storage, and computer-readable recording medium
CN105100706B (en) A kind of discrete type media stream scheduling method and system
KR101883671B1 (en) Method and management server for dtitributing node
KR101294268B1 (en) Log distributing method using a plurality of log servers and log distributing system
JP2007183714A (en) Content distribution system, relay server and relay management server
CN113190347A (en) Edge cloud system and task management method
JP2002268962A (en) Monitoring system
CN115484239B (en) Method and device for processing multimedia data stream, electronic equipment and storage medium
US10691513B1 (en) Distributed message queue with best consumer discovery and area preference
KR20140075343A (en) Contents transmission system

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