The content of the invention
Therefore, one embodiment of the present of invention proposes a kind of streaming media server dispatching method, solves existing video prison
Control platform can not meet when undertaking a large amount of concurrencies and accessing, while the problem of take into account economy and server high availability.
Streaming media server dispatching method according to an embodiment of the invention, it is genuinely convinced in described applied to central server
Business device communicates with multiple streaming media servers simultaneously, and methods described includes:
Obtain the video request instruction of the access target monitoring device of client access server forwarding;
Inquire about in the multiple streaming media server with the presence or absence of the streaming media server of forwarding unit interface channel, institute
It is corresponding with the target monitoring equipment to state equipment interface channel;
If so, then obtaining all streaming media servers for having forwarded the equipment interface channel, and therefrom search total forwarding
The minimum streaming media server of way;
The streaming media server for calling total forwarding way minimum undertakes video distribution function.
Streaming media server dispatching method according to embodiments of the present invention, supervised for the access target that monitor client is sent
The video request instruction of equipment is controlled, can inquire about whether there is having forwarded equipment interface channel corresponding with target monitoring equipment first
Streaming media server, if in the presence of further therefrom searching the minimum streaming media server of total forwarding way as scheduling
Server go to undertake video distribution function, i.e., according to the transfer capability of streaming media server go distribute load number, Er Feisuo
There is the mean allocation of streaming media server, therefore can ensure that the request relative equilibrium of same equipment interface channel is assigned to just
On the streaming media server for forwarding the passage, the phenomenon of generating unit shunting media server overload is avoided, so as to meet
The requirement that a large amount of concurrencies access is undertaken, and because convection media server carries out rational equilibrium assignment, therefore can be maximum
The configuration quantity of the reduction streaming media server of limit, ensures economy, while is not in the load of some streaming media server
It is very high, and the situation that other streaming media servers are very empty, so as to realize long-time steady operation, ensure the request of high concurrent also not
The disabled situation of service occurs.
In addition, streaming media server dispatching method according to the above embodiment of the present invention, can also have what is added as follows
Technical characteristic:
Further, in one embodiment of the invention, the Streaming Media clothes for calling total forwarding way minimum
The step of business device undertakes video distribution function includes:
Judge whether the minimum streaming media server of total forwarding way has reached the default forwarding upper limit;
If it is not, the streaming media server for then calling total forwarding way minimum undertakes video distribution function.
Wherein, the service for every streaming media server is provided with the forwarding upper limit of service, when some streaming media servers
It is also not in avalanche effect to delay after machine, and will not cause causes other streaming media server load too high and cause service crashes.
Further, in one embodiment of the invention, the Streaming Media clothes for judging that total forwarding way is minimum
After whether business device has reached the step of default forwarding upper limit, methods described also includes:
When the streaming media server for determining total forwarding way minimum has reached the default forwarding upper limit, search simultaneously
Judge other stream matchmakers for having forwarded the equipment interface channel in addition to the minimum streaming media server of total forwarding way
Always whether the minimum streaming media server of forwarding way has reached the default forwarding upper limit in body server;
If it is not, then call in other streaming media servers for having forwarded the equipment interface channel total forwarding way most
Small streaming media server undertakes video distribution function.
Wherein, using the strategy of dynamic dispatching, when the minimum streaming media server of always forwarding way has reached default turn
, can the Automatic-searching minimum Streaming Media of total forwarding way time in the streaming media server of forwarding unit interface channel when sending out the upper limit
Server goes to undertake video distribution function, is further ensured that server high availability.
Further, in one embodiment of the invention, methods described also includes:
If all streaming media servers in the streaming media server for having forwarded the equipment interface channel have reached
To the default forwarding upper limit, then taken in other Streaming Medias in addition to the streaming media server for having forwarded the equipment interface channel
It is engaged in device, finds a streaming media server for not forwarding the equipment interface channel and total forwarding way minimum;
The equipment interface channel is not forwarded described in judging and whether the streaming media server of total forwarding way minimum reaches
The default forwarding upper limit;
If it is not, the equipment interface channel and the streaming media server of total forwarding way minimum are not forwarded described in then calling
Undertake the function of video distribution.
And in the streaming media server for not forwarding the equipment interface channel and total forwarding way minimum described in the judgement
After the step of whether reaching the default forwarding upper limit, methods described also includes:
Reach when determining the streaming media server for not forwarding the equipment interface channel and always forwarding way minimum
During the default forwarding upper limit, search and judge not forward and do not forwarded except described in the streaming media server of the equipment interface channel
Total turn in other streaming media servers beyond the equipment interface channel and the streaming media server of total forwarding way minimum
Whether the minimum streaming media server of hair way has reached the default forwarding upper limit;
If it is not, the equipment is not forwarded except described in then calling the streaming media server for not forwarding the equipment interface channel
Total forwarding way in other streaming media servers beyond interface channel and the streaming media server of total forwarding way minimum is most
Small streaming media server undertakes video distribution function.
Wherein, the strategy of the more perfect dynamic dispatching of use, when in the streaming media server of forwarding unit interface channel
All streaming media servers when having reached the default forwarding upper limit, can the never Streaming Media of forwarding unit interface channel automatically
The minimum streaming media server of total forwarding way time is found in server to go to undertake video distribution function, i.e., forwarding unit ought connect
The streaming media server in connection road is all delayed after machine, other streaming media servers adapter services is still had, so as to lift server height
Availability.
Further, in one embodiment of the invention, methods described also includes;
When each streaming media server reaches the forwarding upper limit in the multiple streaming media server, then to described
Client returns to miscue information.
Wherein, by returning to miscue information to client, allow users to know in time the operation conditions of server,
Improve reliability of service.
Further, in one embodiment of the invention, the Streaming Media clothes for calling total forwarding way minimum
After the step of business device undertakes video distribution function, methods described also includes:
Equipment access gateway corresponding to target monitoring equipment is notified to control the target monitoring equipment to start video and send.
An alternative embodiment of the invention proposes a kind of streaming media server scheduling system, solves existing video monitoring and puts down
Platform can not meet when undertaking a large amount of concurrencies and accessing, while the problem of take into account economy and server high availability.
Streaming media server scheduling system according to embodiments of the present invention, applied to central server, the center service
Device communicates with multiple streaming media servers simultaneously, and the system includes:
Acquisition module, refer to for obtaining the video request of access target monitoring device of client access server forwarding
Order;
Enquiry module, for inquiring about in the multiple streaming media server with the presence or absence of the stream of forwarding unit interface channel
Media server, the equipment interface channel are corresponding with the target monitoring equipment;
Searching modul, for when the enquiry module inquire in the multiple streaming media server exist forwarded it is described
During the streaming media server of equipment interface channel, all streaming media servers for having forwarded the equipment interface channel are obtained, and
Therefrom search the minimum streaming media server of total forwarding way;
Calling module, the streaming media server for calling total forwarding way minimum undertake video distribution function.
An alternative embodiment of the invention also propose one kind can storage medium, be stored thereon with computer program, the program
The step of above method is realized when being executed by processor.
An alternative embodiment of the invention also proposes a kind of server, including memory, processor and is stored in storage
The step of the above method is realized on device and the computer program that can run on a processor, during the computing device described program
Suddenly.
The additional aspect and advantage of the present invention will be set forth in part in the description, and will partly become from the following description
Obtain substantially, or recognized by embodiments of the invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The present invention proposes streaming media server dispatching method, and its running environment is in video monitoring platform, such as security protection row
Video monitoring platform in industry.For video monitoring platform, it is necessary to there is software and hardware to provide technical support.It is referring to Fig. 1, of the invention
In video monitoring platform framework part by being formed with lower part:Monitor client 100, client access server 200, in
Central server 300, streaming media server 400, equipment access gateway 500, monitoring device 600.
Wherein, monitor client 100 is located at user network side, and user network can be internet and LAN, and monitoring is objective
Family end 100 can have with computer or mobile device (such as mobile phone, flat board), on monitor client 100 to be used to log in and access to regard
The client software of frequency monitor supervision platform.Therefore monitor client 100, which can provide the user, logs in monitor supervision platform, query facility row
The functions such as table, startup/arrestment video access.
Client access server 200, central server 300, streaming media server 400, equipment access gateway 500 are located at
Open the Internet access port when platform network side, can be made up of a local Intranet, and Internet service being provided.
Client access server 200 is used for the connection for receiving numerous client softwares, and corresponding its logs in, equipment obtains
Take, the response of the request of video access and forward process.
Central server 300 is used for the instruction for receiving client access server 200, and according to request scheduling Streaming Media clothes
Business device 400 undertakes the function of video distribution, while notifies equipment access gateway 500 to control monitoring device 600 to start video and send.
Equipment access gateway 500 is responsible for monitoring device 600 and is adapted to, and accesses monitoring device 600, and to 600 turns of monitoring device
Send out control instruction while receive the response result of monitoring device 600, and result is returned to central server 300.
For monitoring device 600 positioned at monitoring network side, monitoring device 600 is, for example, monitoring camera.Monitoring device 600 is used for
Offer receives platform instruction, and streaming media server 400 establishes equipment interface channel and sends video to streaming media server 400
Data.Streaming media server 400 is used to forward the equipment interface channel established with streaming media server 400.
It is pointed out that when the scale is smaller of video monitoring platform, above-mentioned all component can be located at same local
In net.
Referring to Fig. 2, above-mentioned running environment is based on, the streaming media server dispatching party that first embodiment of the invention proposes
Method, applied to central server 300, central server 300 communicates with multiple streaming media servers 400 simultaneously, methods described bag
Include:
S101, obtain the video request instruction of the access target monitoring device of client access server forwarding;
Wherein, the client software in monitor client 100 is used to obtain the standard before starting video access by user first
Standby information, including input user code and password carry out debarkation authentication, and for debarkation authentication by rear, user can control client software
Start video access, the initiation access request for being directed to target monitoring equipment is accessed, for example, monitoring device in video monitoring platform
600 have 4, specifically include monitoring device A, monitoring device B, monitoring device C and monitoring device D, and user wants to obtain monitoring device B
The video content of monitoring, therefore, user need to use client software to initiate accessing monitoring equipment B video request and instructed, i.e.,
The information of target monitoring equipment, such as the ID of target monitoring equipment are carried in video request instruction.The video request instructs meeting
Client access server 200 is first sent to, then central server 300 is forwarded to by client access server 200, so as to
Central server 300 is set to obtain the accessing monitoring equipment B of the forwarding of client access server 200 video request instruction.
Streaming server, which will be registered, simultaneously is connected to central server, reports the service condition of oneself to streaming server in real time,
Service condition includes the equipment interface channel information and data of forwarding, the link information and quantity of client.
S102, inquire about in the multiple streaming media server with the presence or absence of the streaming media service of forwarding unit interface channel
Device, the equipment interface channel are corresponding with the target monitoring equipment;
Wherein, the multiple streaming media servers 400 communicated with central server 300, which will be registered, is connected to central server
300, and the service condition of oneself is reported to central server 300 in real time, the equipment connection that service condition includes each forwarding is logical
Road information and data, the link information of client and quantity.Wherein, equipment interface channel information refers to some streaming media service
Device 400 specifically establishes equipment interface channel with which or which monitoring device 600.It is assumed here that streaming media server
400 have 4, are streaming media server A, streaming media server B, streaming media server C and streaming media server D respectively, wherein,
Streaming media server A establishes equipment interface channel with monitoring device B and monitoring device C, streaming media server B with
Monitoring device A establishes equipment interface channel, and streaming media server C establishes equipment with monitoring device B and monitoring device D
Interface channel, streaming media server D do not establish equipment interface channel with any monitoring device.Therefore, the equipment in step S102
Interface channel is corresponding with monitoring device B, therefore inquires about in the multiple streaming media server and connect with the presence or absence of forwarding unit
The streaming media server in road is connected, is to inquire about which streaming media server establishes equipment interface channel with monitoring device B.
For the above situation, it can inquire and forward the streaming media server of the equipment interface channel to be taken including Streaming Media
Be engaged in device A, streaming media server C, and accordingly, not forwarding the streaming media server of the equipment interface channel includes streaming media service
Device B, streaming media server D.
S103, if so, then obtaining all streaming media servers for having forwarded the equipment interface channel, and therefrom search total
Forward the minimum streaming media server of way;
Wherein, due to the streaming media server for having forwarded the equipment interface channel in platform be present, i.e. streaming media service
Device A and streaming media server C, therefore, it is minimum that total forwarding way can be searched from streaming media server A and streaming media server C
Streaming media server, if streaming media server A compares with streaming media server C, streaming media server A altogether forwarded 3
Bar equipment interface channel (two of which is equipment interface channel corresponding with monitoring device B and monitoring device C), streaming media service
Device C forwarded altogether 5 equipment interface channels, and (two of which is that equipment corresponding with monitoring device B and monitoring device D connection is logical
Road), therefore, streaming media server A is the minimum streaming media server of total forwarding way.Here, due to streaming media server C
It forwarded 5 equipment interface channels altogether, and streaming media server A forwarded 3 equipment interface channels altogether, therefore, can be with
It is interpreted as, streaming media server C is busier with respect to streaming media server A.
S104, the streaming media server for calling total forwarding way minimum undertake video distribution function.
Wherein, the streaming media server minimum due to have found total forwarding way, i.e. streaming media server A, can call stream
Media server A undertakes video distribution function, afterwards, is notified that equipment corresponding to target monitoring equipment (i.e. monitoring device B) connects
Function Access Gateway controls the target monitoring equipment (monitoring device B) to start video and sent, and (Streaming Media takes other streaming media servers
Business device B, streaming media server C, streaming media server D) it is not involved in monitoring device B video transmission process.
Streaming media server dispatching method according to embodiments of the present invention, supervised for the access target that monitor client is sent
The video request instruction of equipment is controlled, can inquire about whether there is having forwarded equipment interface channel corresponding with target monitoring equipment first
Streaming media server, if in the presence of further therefrom searching the minimum streaming media server of total forwarding way as scheduling
Server go to undertake video distribution function, i.e., according to the transfer capability of streaming media server go distribute load number, Er Feisuo
There is the mean allocation of streaming media server, therefore can ensure that the request relative equilibrium of same equipment interface channel is assigned to just
On the streaming media server for forwarding the passage, the phenomenon of generating unit shunting media server overload is avoided, so as to meet
The requirement that a large amount of concurrencies access is undertaken, and because convection media server carries out rational equilibrium assignment, therefore can be maximum
The configuration quantity of the reduction streaming media server of limit, ensures economy, while is not in the load of some streaming media server
It is very high, and the situation that other streaming media servers are very empty, so as to realize long-time steady operation, ensure the request of high concurrent also not
The disabled situation of service occurs.
Referring to Fig. 3, same running environment is based on, the streaming media server dispatching party that second embodiment of the invention proposes
Method, applied to central server 300, central server 300 communicates with multiple streaming media servers 400 simultaneously, methods described bag
Include:
S201, obtain the video request instruction of the access target monitoring device of client access server forwarding;
S202, inquire about in the multiple streaming media server with the presence or absence of the streaming media service of forwarding unit interface channel
Device, the equipment interface channel are corresponding with the target monitoring equipment;
S203, if so, then obtaining all streaming media servers for having forwarded the equipment interface channel, and therefrom search total
Forward the minimum streaming media server of way;
In the present embodiment, it is assumed that monitoring device 600 has 6 in video monitoring platform, specifically includes monitoring device A, monitoring
Equipment B, monitoring device C, monitoring device D, monitoring device E, monitoring device F, user want to obtain in the video of monitoring device B monitoring
Hold.Streaming media server 400 also has 6, is streaming media server A, streaming media server B, streaming media server C, stream respectively
Media server D, streaming media server E, streaming media server F, wherein:
Streaming media server A established with monitoring device B and monitoring device C equipment interface channel (forwarded with
Equipment interface channel corresponding to monitoring device B and monitoring device C, similarly hereinafter);
Streaming media server B establishes equipment interface channel with monitoring device A;
Streaming media server C establishes equipment interface channel with monitoring device B and monitoring device D;
Streaming media server D does not establish equipment interface channel with any monitoring device;
Streaming media server E establishes equipment interface channel with monitoring device B;
Streaming media server F establishes equipment interface channel with monitoring device E and monitoring device F.
Therefore, all streaming media servers for having forwarded the equipment interface channel are obtained, i.e., can get Streaming Media clothes
Business device A, streaming media server C, streaming media server E (accordingly, do not forward the streaming media server of the equipment interface channel
Respectively streaming media server B, streaming media server D, streaming media server F), it is assumed that (stream in these three streaming media servers
Media server A, streaming media server C, streaming media server E), the minimum streaming media server of total forwarding way is Streaming Media
Server A.
S204, judges whether the minimum streaming media server of total forwarding way has reached the default forwarding upper limit;If
It is then to perform step S205, if it is not, then performing step S206;
Wherein, in the present embodiment, respectively each streaming media server pre-sets the forwarding upper limit of a service, often
The forwarding upper limit of individual streaming media server can be with identical, can also be different, for convenience of description, in the present embodiment, each flows matchmaker
The forwarding upper limit of body server is identical, it is assumed that forwarding the upper limit all be 5, i.e. a streaming media server at most with 5 monitoring devices
Establish equipment interface channel (namely at most 5 equipment interface channels of forwarding).
Here, it can judge whether streaming media server A has reached the forwarding upper limit (it is pointed out that in step S203
Simply list the equipment interface channel relation of part, for streaming media server A, not only with monitoring device B and monitoring device C
Equipment interface channel is established, equipment interface channel can also be established with other monitoring devices, is not limited to above-mentioned 6 monitoring devices
Scope)
S205, search and judge in addition to the minimum streaming media server of total forwarding way it is other forwarded it is described
Always whether the minimum streaming media server of forwarding way has reached default forwarding in the streaming media server of equipment interface channel
The upper limit;If so, step S207 is then performed, if it is not, then performing step S208;
Wherein, if streaming media server A has reached the forwarding upper limit, can from beyond streaming media server A it is other
Forward and search and sentence in the streaming media server (i.e. streaming media server C and streaming media server E) of the equipment interface channel
Whether the minimum streaming media server of disconnected total forwarding way has reached the default forwarding upper limit, it is assumed here that streaming media server C
Compared with streaming media server E, streaming media server C total forwarding way is minimum, then whether can judge streaming media server C
Reach the default forwarding upper limit.
S206, the streaming media server for calling total forwarding way minimum undertake video distribution function.
Wherein, if media server A not up to forwards the upper limit, media server A can be called to undertake video distribution function.
S207, in other streaming media servers in addition to the streaming media server for having forwarded the equipment interface channel
In, find one and do not forward the streaming media server of the equipment interface channel and total forwarding way minimum, and continue executing with step
Rapid S209;
Wherein, if streaming media server C has reached the default forwarding upper limit, the equipment interface channel can forwarded
Streaming media server beyond other streaming media servers (i.e. streaming media server B, streaming media server D, streaming media service
Device F) in, find a minimum streaming media server of total forwarding way, it is assumed here that streaming media server B, streaming media service
In device D, streaming media server F these three streaming media servers, streaming media server B total forwarding way is minimum.
S208, call total forwarding way in other streaming media servers for having forwarded the equipment interface channel minimum
Streaming media server undertake video distribution function;
Wherein, if streaming media server C is not up to the default forwarding upper limit, streaming media server C can be called to undertake and regarded
Frequency distribution function.
S209, judge described not forwarding the equipment interface channel and the streaming media server of total forwarding way minimum is
It is no to reach the default forwarding upper limit;If so, step S210 is then performed, if it is not, then performing step S211;
Wherein, it can judge whether streaming media server B reaches the default forwarding upper limit;
S210, search and judge not forward in the streaming media server of the equipment interface channel except it is described do not forward it is described
Total forwarding road in other streaming media servers beyond equipment interface channel and the streaming media server of total forwarding way minimum
Whether the minimum streaming media server of number has reached the default forwarding upper limit;If it is not, then perform step S212;
Wherein, if streaming media server B has reached the default forwarding upper limit, can be taken in streaming media server D, Streaming Media
Searched again in business device F and judge whether the minimum streaming media server of total forwarding way has reached the default forwarding upper limit, here
It is assumed that both compare, streaming media server D total forwarding way is minimum.
S211, call and described do not forward the equipment interface channel and the streaming media server of total forwarding way minimum is held
Carry on a shoulder pole the function of video distribution;
Wherein, if streaming media server B is not up to the default forwarding upper limit, streaming media server B is called to undertake video
The function of distribution.
S212, call in the streaming media server for not forwarding the equipment interface channel and do not forward the equipment to connect except described
The total forwarding way connected in other streaming media servers beyond road and the streaming media server of total forwarding way minimum is minimum
Streaming media server undertake video distribution function.
Wherein, if streaming media server D is not up to the default forwarding upper limit, streaming media server D is called to undertake video
The function of distribution.
In addition it should be pointed out that when in the multiple streaming media server each streaming media server reach
When forwarding the upper limit, then miscue information is returned to the client., can SMS notification its server during if operation maintenance personnel
Load completely please dynamically increases streaming server, and certain operation maintenance personnel can also check the statistics of platform, it will be seen that user, which accesses, to be increased
After the trend added, increase streaming server shunting in advance.By returning to miscue information to client, allow users to obtain in time
Know the operation conditions of server, improve reliability of service.
The streaming media server dispatching method that the present embodiment provides, it is that the service of every streaming media server is provided with service
The forwarding upper limit, be also not in avalanche effect after some streaming media servers delay machine, will not cause causes other Streaming Medias
Server load is too high and causes service crashes, using the strategy of dynamic dispatching, when the streaming media service that always forwarding way is minimum
, can Automatic-searching total forwarding road in the streaming media server of forwarding unit interface channel when device has reached the default forwarding upper limit
Streaming media server minimum for several times goes to undertake video distribution function, and ought forwarding unit interface channel streaming media server
In all streaming media servers when having reached the default forwarding upper limit, can the never stream matchmaker of forwarding unit interface channel automatically
The minimum streaming media server of total forwarding way time is found in body server to go to undertake video distribution function, i.e., ought forwarding unit
The streaming media server of interface channel is all delayed after machine, other streaming media server adapter services is still had, so as to be further ensured that
Server high availability.
It should be noted that what the present embodiment stressed is difference with a upper embodiment, between each embodiment
The identical non-repeated description in similar part, can be with cross-reference.
Referring to Fig. 4, being based on same inventive concept, the streaming media server that third embodiment of the invention proposes dispatches system
101, applied to central server, the central server communicates with multiple streaming media servers simultaneously, and the system includes:
Acquisition module 10, refer to for obtaining the video request of access target monitoring device of client access server forwarding
Order;
Enquiry module 20, for inquiring about in the multiple streaming media server with the presence or absence of forwarding unit interface channel
Streaming media server, the equipment interface channel are corresponding with the target monitoring equipment;
Searching modul 30, for having been forwarded when the enquiry module 20 inquires to exist in the multiple streaming media server
During the streaming media server of the equipment interface channel, all streaming media services for having forwarded the equipment interface channel are obtained
Device, and therefrom search the minimum streaming media server of total forwarding way;
Calling module 40, the streaming media server for calling total forwarding way minimum undertake video distribution function.
In the present embodiment, the calling module 40 is specifically used for:
Judge whether the minimum streaming media server of total forwarding way has reached the default forwarding upper limit;
If it is not, the streaming media server for then calling total forwarding way minimum undertakes video distribution function.
In the present embodiment, the calling module 40 is additionally operable to:
When the streaming media server for determining total forwarding way minimum has reached the default forwarding upper limit, search simultaneously
Judge other stream matchmakers for having forwarded the equipment interface channel in addition to the minimum streaming media server of total forwarding way
Always whether the minimum streaming media server of forwarding way has reached the default forwarding upper limit in body server;
If it is not, then call in other streaming media servers for having forwarded the equipment interface channel total forwarding way most
Small streaming media server undertakes video distribution function.
In the present embodiment, the calling module 40 is additionally operable to:
If all streaming media servers in the streaming media server for having forwarded the equipment interface channel have reached
To the default forwarding upper limit, then taken in other Streaming Medias in addition to the streaming media server for having forwarded the equipment interface channel
It is engaged in device, finds a streaming media server for not forwarding the equipment interface channel and total forwarding way minimum;
The equipment interface channel is not forwarded described in judging and whether the streaming media server of total forwarding way minimum reaches
The default forwarding upper limit;
If it is not, the equipment interface channel and the streaming media server of total forwarding way minimum are not forwarded described in then calling
Undertake the function of video distribution.
In the present embodiment, the calling module 40 is additionally operable to:
Reach when determining the streaming media server for not forwarding the equipment interface channel and always forwarding way minimum
During the default forwarding upper limit, search and judge not forward and do not forwarded except described in the streaming media server of the equipment interface channel
Total turn in other streaming media servers beyond the equipment interface channel and the streaming media server of total forwarding way minimum
Whether the minimum streaming media server of hair way has reached the default forwarding upper limit;
If it is not, the equipment is not forwarded except described in then calling the streaming media server for not forwarding the equipment interface channel
Total forwarding way in other streaming media servers beyond interface channel and the streaming media server of total forwarding way minimum is most
Small streaming media server undertakes video distribution function.
In the present embodiment, the system 101 also includes:
Reminding module 50, for when in the multiple streaming media server each streaming media server reach forwarding
During the upper limit, then miscue information is returned to the client.
In the present embodiment, the system 101 also includes;
Notification module 60, for notifying equipment access gateway corresponding to target monitoring equipment to control the target monitoring equipment
Start video to send.
The technical characteristic and technique effect and the present invention for the streaming media server scheduling system that the embodiment of the present invention proposes are real
The method for applying example proposition is identical, will not be described here.
In addition, embodiments of the invention also propose a kind of readable storage medium storing program for executing, computer instruction is stored thereon with, the instruction
The step of above method is realized when being executed by processor.
In addition, embodiments of the invention also propose a kind of server, including memory, processor and it is stored in memory
Computer program that is upper and can running on a processor, the step of realizing the above method during computing device described program.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment
Put.
The more specifically example (non-exhaustive list) of computer-readable medium includes following:Connected up with one or more
Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage
Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any
One or more embodiments or example in combine in an appropriate manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that:Not
In the case of departing from the principle and objective of the present invention a variety of change, modification, replacement and modification can be carried out to these embodiments, this
The scope of invention is limited by claim and its equivalent.