Load balancing method based on video request number prediction
A video request and load balancing technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve the problems of becoming overloaded servers, failing to reach the update cycle, affecting the transmission video rate, etc., to ensure balanced deployment. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] See figure 1 , figure 1 It is a schematic flowchart of a load balancing method based on video request number prediction provided by an embodiment of the present invention.
[0042] A load balancing method based on video request number prediction, applied to a streaming media system including a streaming media server and a load balancer, comprising the following steps:
[0043] (a) predict the number of video requests in the next cycle according to the load prediction model established;
[0044] (b) calculating the load variation of the streaming media server in the next cycle according to the number of video requests in the next cycle;
[0045] (c) determining the load of the streaming media server in the next cycle according to the current load of the streaming media server and the load variation of the next cycle;
[0046] (d) Balancing the load of the streaming media server by the load balancer according to the load of the streaming media server in the next cycle....
Embodiment 2
[0055] see again figure 1 , on the basis of the foregoing embodiments, this embodiment focuses on a detailed description of a load balancing method based on prediction of the number of video requests.
[0056] (S10) Collect the current number of video requests, the maximum number of video requests, alarm messages, and abnormal behavior messages within a predetermined time period, and use the BP neural network algorithm to establish the load prediction model.
[0057] The load of the streaming media server is all brought by the number of video requests. When multiple video requests are sent to the streaming media server, the streaming media server requests the video from the camera, and then copies and forwards to the video requesting party. The streaming media Therefore, the server will generate a load, and the number of video requests in the next time period is related to the current number of video requests, the maximum number of video requests, whether the alarm point gener...
Embodiment 3
[0115] See Figure 4 , Figure 4 It is a schematic flowchart of another load balancing method based on video request number prediction provided by an embodiment of the present invention. On the basis of the foregoing embodiments, this embodiment introduces in detail a load balancing method based on prediction of the number of video requests.
[0116] (S30) The program starts.
[0117] (S31) The streaming media server calculates its own real-time load;
[0118] (S32) The BP neural network algorithm predicts the number of video requests in the next cycle.
[0119] (S33) monitoring load and predicting load changes, detecting whether the streaming media server is overloaded, if so, then the load balancer updates the queue, and detecting whether there is a video request again, if yes, it is allocated to the streaming media server, otherwise Continue to monitor load and predict load changes; if it is no to detect that the streaming media server is overloaded, then whether the de...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


