A video coordination processing method based on high concurrency scenarios

By adopting multiple branch servers and visit pre-allocation models in the video processing system, the problem of insufficient server response capabilities in high concurrency scenarios is solved, and more efficient video coordination processing and optimized resource allocation are achieved, improving user experience.

CN119520864BActive Publication Date: 2025-04-01BEIJING TIMES OSEE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510090469.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-21
Publication Date
2025-04-01
Estimated Expiration
2045-01-21

AI Technical Summary

Technical Problem

In high concurrency scenarios, the server of the video processing system may not be able to respond to all requests in a timely manner, resulting in lag or delays when users watch videos, and even service interruptions.

Method used

A video coordination processing system consisting of multiple independent branch servers is used to search for the accessed visitors through the main server, and the specific path to access the branch server is determined based on the visitor's access time, historical access records and other information. At the same time, a pre-allocation model for visits is established, the number of branch servers is adjusted to adapt to load changes, and the access path of visitors is adjusted through access traffic monitoring.

Benefits of technology

It effectively improves the response capability of the video coordination processing system in high concurrency scenarios, reduces video lag and delay, improves user experience, and optimizes server resource allocation and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520864B_ABST
    Figure CN119520864B_ABST
Patent Text Reader

Abstract

The present invention provides a video coordination processing method based on a high-concurrency scenario, including: step S1, when any real-time video is played, several visitors of the real-time video search for their corresponding branch servers; step S2, for any visitor who accesses the branch server, the specific path of its access is determined according to its access time, the traffic peak in the historical access record, the active state in the ring cycle, and the restricted access state value of several access paths, and the path coding is recorded in the access database; step S3, during the playback of any real-time video, the access volume pre-allocation model adjusts the number of branch servers allocated by the main server; step S4, the access traffic of any visitor of any specific access path is monitored, and it is determined whether to change the access path of this visitor according to its actual access traffic. The video coordination processing method described in the present invention can significantly reduce the delay phenomenon of the video coordination process, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of video processing, and in particular relates to a video coordination processing method based on a high-concurrency scenario. Background Art

[0002] Explosive information dissemination is very common in modern networks. In video scenarios, when faced with a huge amount of visits or requests in a short period of time, it is particularly necessary to coordinate the processing of large amounts of data between servers and visitors.

[0003] Currently, video processing systems require that in high-concurrency scenarios, the server may not be able to respond to all requests in a timely manner, causing users to experience freezes or delays when watching videos. Some video systems will reduce the server load by lowering the video resolution, affecting the user experience. In severe cases, the server may even experience service interruptions. Summary of the invention

[0004] In view of this, the present invention aims to propose a video coordination processing method based on high-concurrency scenarios to solve the problem that the video processing system may not be able to respond to all requests in a timely manner in high-concurrency scenarios, resulting in freezes or delays when users watch videos. Some video systems will reduce the server load by reducing the resolution of the video, affecting the user experience. In severe cases, the server may also experience service interruptions.

[0005] To achieve the above object, the technical solution of the present invention is achieved as follows:

[0006] The present invention provides a video coordination processing method based on a high-concurrency scenario, comprising: step S1, in a video coordination processing system, when a real-time video is played, a main server searches for a corresponding branch server for a number of visitors accessing the real-time video, and the branch servers are deployed into a number according to the source of the visitors;

[0007] Step S2: for any visitor accessing the branch server, the specific path for accessing the branch server is determined according to the visitor's access time, the traffic peak value in the historical access record, the active state in the ring cycle, and the restricted access state values ​​of several access paths, and the path coding is recorded in the access database of the branch server;

[0008] Step S3, the main server generates an access volume pre-allocation model based on the historical access data and historical diversion data of any real-time video that has been played, and the access volume pre-allocation model adjusts the number of branch servers allocated by the main server during the playback of any real-time video;

[0009] Step S4, monitoring the access traffic of any visitor on any specific access path, and determining whether to change the access path of the visitor according to the actual access traffic generated after the visitor accesses the path.

[0010] Furthermore, in step S1, an access detection unit and a diversion unit are provided in the main server, and the diversion unit is connected to the access detection unit; when the real-time video is played, any visitor connected to the access detection unit performs access detection and marks the access source and access time of the visitor, and generates an access data packet for the visitor. The diversion unit receives the data information in the access data packet, and searches for the corresponding branch server according to the access source information in the access data packet, and then transmits the data in the access data packet to the corresponding branch server. The branch server performs step S2 according to the received data information.

[0011] Further, in step S2, a historical access situation detection unit is provided in any branch server. After the branch server receives the information in the access data packet, the historical access situation detection unit performs a queue detection on the historical active data of several visitors according to the access time of any visitor, and determines the preset flow value required for any visitor to access the branch server;

[0012] The historical access situation detection unit is provided with a circular access cycle, and the historical activity data includes the traffic peak value of the visitor in the historical access record and the active state in the circular cycle, and determines the preset traffic value required for the visitor to access the branch server.

[0013] Further, in step S2, a plurality of access paths are provided in any branch server, and any access path can access a plurality of visitors of the same number and the access traffic levels accessed in any access path are equal; a restricted traffic access state value corresponding to the access path is provided in any access path, and when a visitor is accessed in any access path, the restricted traffic access state value automatically reduces the preset traffic value required by the visitor, and when the restricted access state value is reached in any access path, the access path no longer accesses visitors;

[0014] For any access path that can access visitors, the access path determines whether to access the visitor's access data based on the comparison between its restricted flow access status value and the preset flow value; when the restricted flow access status value is less than the restricted flow access status value of the access path, the visitor automatically enters the next access path that can access visitors for access judgment;

[0015] When the restricted flow access state value is greater than or equal to the restricted flow access state value of the access path, the visitor information is input into the access path to form a path code, which is recorded in the access database of this branch server.

[0016] Furthermore, in step S3, an overall access prediction unit is provided in the main server, and the overall access prediction unit is connected to the access detection unit and the diversion unit respectively. A pre-access model is provided in the overall access prediction unit, and the pre-access model is generated according to the historical access data and historical diversion data of any real-time video that has been played; any real-time video is divided into several predicted durations according to its playback duration, and the branch server call data and the total access volume are input one by one according to the predicted duration into the pre-access model for prediction, and the prediction result is corrected according to the actual situation until the real-time video finishes playing and the correction is stopped, and a prediction initial model for this real-time video is generated, and then the prediction initial model is marked in combination with the sending place, initiator, and video theme of the real-time video, and the prediction initial model is stored in the access volume model database of the main server.

[0017] Furthermore, when the initial prediction model established in step S3 has the same sending location, initiating end, and video theme in real time, it is iterated several times to generate a visit volume prediction model, and the visit volume prediction model is combined with the actual called branch server situation to generate a visit volume pre-allocation model.

[0018] Furthermore, in step S3, a variable adjustment function is provided in the access volume pre-allocation model, and the variable adjustment function is established according to the total access volume, the allocated number of branch servers, and the current load. There are three variables in the variable adjustment function, including the current load, the time variable, and the access variable; the current load is the total load of the branch servers under the current access volume, the time variable is the playback duration of any video, the access variable is the access variable predicted based on the time variable, and the access variable is divided into three stages including the access growth stage, the access stability stage, and the access decline stage. The total access volume is the sum of the access variables predicted based on the time variable. The access volume pre-allocation model determines the number of pre-locked branch servers according to the mediation result of the variable adjustment function. The branch servers changed during the adjustment process are locked from the nearest branch servers to the farther branch servers according to the locations of the connected branch servers, and the branch servers reduced during the adjustment process are reduced from the branch servers with the least connected visitors to the branch servers with gradually increasing connected visitors.

[0019] Further, in step S4, an access traffic monitoring unit is provided in any branch server, and the access traffic monitoring unit monitors the access traffic of any visitor of any specific access path, and determines whether to change the access path of the visitor according to the actual access traffic generated after any visitor accesses this path, and any access path is provided with a visitor access restriction traffic and an access change traffic ratio value for any visitor, and the access traffic monitoring unit calculates the actual traffic usage ratio value of the visitor according to the actual access traffic and the visitor access restriction traffic, and compares and determines whether to change the access path of the visitor;

[0020] If the actual traffic usage ratio is greater than the access change traffic ratio, the access path change that matches the actual traffic usage ratio is searched in this branch server.

[0021] Compared with the prior art, the video coordination processing method based on high concurrency scenarios described in the present invention has the following advantages:

[0022] (1) The present invention adopts a video coordination processing system composed of multiple independent branch servers. The branch servers are connected through a network. The collaborative work helps the video coordination processing system to dynamically increase or decrease nodes according to demand to adapt to load changes. At the same time, the same task can be executed in parallel on multiple nodes, thereby improving the efficiency of the video coordination processing process.

[0023] (2) The present invention uses historical traffic peaks and periodicity data to predict future traffic trends, thereby better planning resource allocation and expansion strategies. Based on traffic peaks and periodicity patterns, the resource allocation of the server can be optimized to ensure that there are sufficient resources to process requests during high traffic periods, which facilitates subsequent adjustment of the load balancing strategy and ensures that the system can maintain good performance under high load.

[0024] (3) The visit volume prediction model established by the present invention can help predict future visit volumes, thereby adjusting resource allocation in advance for real-time video playback, effectively reducing user waiting time during peak hours. Avoid allocating too many resources during low visit volume periods, thereby reducing the cost of video coordination processing. The visit volume prediction model can subsequently help identify abnormal video coordination situations, thereby promptly discovering and resolving faults in the video coordination processing system.

[0025] (4) When the number of branch servers of the present invention is changed, selecting a server that is geographically close can significantly reduce the delay in the video coordination process, thereby improving the user experience. For real-time video streaming, it can effectively reduce the visual delay and effectively reduce the video freeze phenomenon in the video coordination process. By selecting a closer server, the bandwidth required for data transmission can be reduced, thereby reducing the network cost in the video transmission process. When the number of servers is reduced, the remaining resources can be more effectively utilized by optimizing and reducing the connection of the servers, so as to provide additional resources for other high-load servers that may exist. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The accompanying drawings, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0027] In the attached picture:

[0028] Figure 1 A schematic diagram of a process flow of a video coordination processing method based on a high-concurrency scenario according to an embodiment of the present invention;

[0029] Figure 2 A schematic diagram of server connection in a video coordination processing system of a video coordination processing method based on a high-concurrency scenario according to an embodiment of the present invention;

[0030] Figure 3 A schematic diagram of the internal structure of the main service of the video coordination processing system of the video coordination processing method based on high-concurrency scenarios according to an embodiment of the present invention;

[0031] Figure 4 This is a schematic diagram of the internal structure of the first branch server in the video coordination processing system of the video coordination processing method based on high concurrency scenarios according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0033] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and the like are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", and the like may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0034] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood by specific circumstances.

[0035] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0036] See also Figure 1-4 As shown, this embodiment provides a video coordination processing method based on a high-concurrency scenario, including step S1, in the video coordination processing system, when any real-time video is played, the main server searches for the corresponding branch servers for several visitors who access this real-time video, and the branch servers are deployed as several according to the source of the visitors; step S2, for any visitor who accesses the branch server, the specific path of the visitor to access the branch server is determined according to the visit time of the visitor, the traffic peak in the historical access record, the active state in the ring cycle, and the restricted access state values ​​of several access paths, and the path coding is recorded in the access database of this branch server; step S3, the main server generates an access volume pre-allocation model after correction based on the historical access data and historical diversion data of any real-time video that has been played. During the playback of any real-time video, the access volume pre-allocation model adjusts the number of branch servers allocated by the main server; step S4, the access traffic of any visitor of any specific access path is monitored, and it is determined whether to change the access path of the visitor according to the actual access traffic generated after the visitor accesses this path.

[0037] Specifically, in this embodiment, in step S1, an access detection unit and a diversion unit are provided in the main server, and the diversion unit is connected to the access detection unit; when real-time video is played, any visitor connected to the access detection unit performs access detection and marks the access source and access time of the visitor, and generates an access data packet for the visitor. The diversion unit receives the data information in the access data packet, and searches for the corresponding branch server according to the access source information in the access data packet, and then transmits the data in the access data packet to the corresponding branch server. The branch server performs step S2 according to the received data information.

[0038] In the embodiment, in order to balance the coordination process of each server as much as possible and reduce the transferability when the coordination system fails, the traffic channel in the video coordination process should be designed to balance the traffic as much as possible to make full use of all server resources and avoid overloading some servers while other servers are idle. Therefore, a video coordination processing system composed of multiple independent branch servers is adopted. The branch servers are connected through a network, and the collaborative work helps the video coordination processing system to dynamically increase or decrease nodes according to demand to adapt to load changes. At the same time, the unified task can be executed in parallel on multiple nodes, which improves the efficiency of the video coordination processing process.

[0039] Specifically, in this embodiment, in step S2, a historical access situation detection unit is provided in any branch server. After the branch server receives the information in the access data packet, the historical access situation detection unit performs a queue detection on the historical active data of several visitors according to the access time of any visitor, and determines the preset traffic value required for any visitor to access the branch server;

[0040] The historical access situation detection unit is provided with a circular access cycle. The historical active data includes the visitor's traffic peak in the historical access record and the active status in the circular cycle to determine the preset traffic value required for accessing the branch server.

[0041] In the embodiment, using historical traffic peak and periodic data, future traffic trends can be predicted, so as to better plan resource allocation and expansion strategies. Based on traffic peak and periodic patterns, server resource allocation can be optimized to ensure that there are enough resources to handle requests during high traffic periods, which facilitates subsequent adjustment of load balancing strategies and ensures that the system can maintain good performance under high load.

[0042] Specifically, in this embodiment, in step S2, any branch server is provided with a number of access paths, any access path can access a number of visitors of the same number and the access traffic levels accessed in any access path are equal; any access path is provided with a restricted traffic access status value corresponding to the access path, and when a visitor is accessed in any access path, the restricted traffic access status value automatically reduces the preset traffic value required by the visitor, and when the restricted access status value is reached in any access path, the access path no longer accesses visitors; for any access path that can access visitors, the access path determines whether to access the visitor's access data based on the comparison between its restricted traffic access status value and the preset traffic value; when the restricted traffic access status value is less than the restricted traffic access status value of the access path, the visitor automatically enters the next access path that can access visitors for access judgment;

[0043] When the restricted flow access state value is greater than or equal to the restricted flow access state value of the access path, the visitor information is input into the access path to form a path code, which is recorded in the access database of this branch server.

[0044] Specifically, in this embodiment, in step S3, an overall access prediction unit is provided in the main server, and the overall access prediction unit is connected to the access detection unit and the diversion unit respectively. A pre-access model is provided in the overall access prediction unit, and the pre-access model is generated according to the historical access data and historical diversion data of any real-time video that has been played; any real-time video is divided into several predicted durations according to its playback duration, and the branch server call data and the total access volume are input one by one according to the predicted duration into the pre-access model for prediction, and the prediction result is corrected according to the actual situation until the real-time video finishes playing and the correction is stopped, and a prediction initial model for this real-time video is generated, and then the prediction initial model is marked in combination with the sending place, initiator, and video theme of the real-time video, and the prediction initial model is stored in the access volume model database of the main server.

[0045] Specifically, in this embodiment, when the initial prediction model established in step S3 has the same sending location, initiating end, and video theme in real time, it is iterated several times to generate a visit volume prediction model, and the visit volume prediction model is combined with the actual called branch server situation to generate a visit volume pre-allocation model.

[0046] In the embodiment, establishing a visit volume prediction model can help predict future visit volumes, thereby adjusting resource allocation for real-time video playback in advance, effectively reducing user waiting time during peak hours. Avoid allocating too many resources during low visit volume periods, thereby reducing the cost of video coordination processing. The visit volume prediction model can subsequently help identify abnormal video coordination situations, thereby promptly discovering and resolving faults in the problem video coordination processing system.

[0047] Specifically, in this embodiment, in step S3, a variable adjustment function is provided in the access volume pre-allocation model, and the variable adjustment function is established according to the total access volume, the allocated number of branch servers, and the current load. There are three variables in the variable adjustment function, including the current load, the time variable, and the access variable; the current load is the total load of the branch servers under the current access volume, the time variable is the playback duration of any video, the access variable is the access variable predicted based on the time variable, and the access variable is divided into three stages including the access growth stage, the access stability stage, and the access decline stage. The total access volume is the sum of the access variables predicted based on the time variable. The access volume pre-allocation model determines the number of pre-locked branch servers according to the mediation result of the variable adjustment function. The branch servers changed during the adjustment process are locked from the nearest branch servers to the farther branch servers according to the locations of the connected branch servers. The branch servers reduced during the adjustment process are reduced from the branch servers with the least connected visitors to the branch servers with gradually increasing connected visitors.

[0048] In the embodiment, the access volume pre-allocation model is provided with a variable adjustment function , variable adjustment function According to the total number of visits W and the number of branch servers N, the current load Establish, that is Variable adjustment function There are three variables stored in it, including the current load , time variables , access variables , the access variables correspond to the corresponding time variables according to the three stages, so the time variable corresponding to the access growth stage is , the time variable corresponding to the stable phase of access is , the time variable corresponding to the access decline phase is . Time variable Access variable for the current access growth phase , access variables in the stable phase , access variables in the access descent phase In the variable adjustment function, the current load is the total load of the branch server under the current number of visits, access variable For time-based variables The predicted visit variable under , and the time variable , the time variable unit is h. Therefore, in the variable adjustment function, the total number of visits ,therefore .

[0049] The access volume pre-allocation model takes the total access volume W detected in the current video coordination processing system, the number of branch servers N, and the current load Input to variable conditioning function In the process of predicting the changes in the number of visits and the server load under the time variable of the video playback service, the branch server resources are pre-allocated according to the prediction results, so as to achieve load balancing and avoid server overload or resource waste. Therefore, the variable adjustment function The calculation result is the predicted number of branch servers required, that is, , and the unit is , the value can be positive or negative. The result of the access volume pre-allocation model is the number of pre-allocated branch servers, that is, , can be obtained, ;

[0050] In the above formula The specific formula is: ;

[0051] in, is the load adjustment factor, which is used to control the adjustment range of the number of servers;

[0052] is the current load, that is, the total load of the branch servers under the current number of visits;

[0053] is the total load threshold under the current number of servers;

[0054] The access volume adjustment coefficient is used to control the adjustment range of the number of branch servers according to the number of access volumes;

[0055] is the total number of visits;

[0056] It is the access volume threshold under the current number of servers.

[0057] Reflects the current load Total load threshold The adjustment between Greater than When this part is positive, it means that the number of branch servers needs to be increased to avoid overloading the current server; when Less than When this part is a negative value, it means that the number of branch servers needs to be reduced to reduce the waste of current server resources.

[0058] It reflects the adjustment between the total visits and the number of branch servers based on the time variable. Greater than When , this part is positive, it means that the number of branch servers needs to be increased to avoid overloading the current server; when Less than When this part is a negative value, it means that the number of branch servers needs to be reduced to reduce the waste of current server resources.

[0059] In the embodiment, when the number of branch servers is changed, selecting a server that is geographically closer can significantly reduce the delay in the video coordination process, thereby improving the user experience. For real-time video streaming, the visual delay can be effectively reduced. In order to effectively reduce the video freeze phenomenon during the video coordination process, by selecting a closer server, the bandwidth required for data transmission can be reduced, thereby reducing the network cost during the video transmission process. When the number of servers needs to be reduced, the remaining resources are effectively utilized by optimizing and reducing the connection of the servers, so as to provide additional resources for other high-load servers that may exist.

[0060] Specifically, in this embodiment, in step S4, an access flow monitoring unit is provided in any branch server, and the access flow monitoring unit monitors the access flow of any visitor of any specific access path, and determines whether to change the access path of the visitor according to the actual access flow generated after any visitor accesses this path. Any access path is provided with a visitor access restriction flow and an access change flow ratio value for any visitor. The access flow monitoring unit calculates the actual usage flow ratio value of the visitor according to the actual access flow and the visitor access restriction flow, and compares and determines whether to change the access path of the visitor;

[0061] If the actual traffic usage ratio is greater than the access change traffic ratio, the access path change that matches the actual traffic usage ratio is searched in this branch server.

[0062] In the embodiment, the traffic occupied by any visitor's access is monitored in real time, so as to cope with the situation where a sudden increase in traffic brought by a single visitor causes the access path to not meet the demand, resulting in video interruption.

[0063] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A video coordination processing method based on high concurrency scenarios, characterized in that: The method comprises: step S1, in the video coordination processing system, when any real-time video is played, the main server searches for corresponding branch servers for several visitors accessing the real-time video, and the branch servers are deployed into several numbers according to the sources of the visitors; Step S2: for any visitor accessing the branch server, the specific path for accessing the branch server is determined according to the visitor's access time, the traffic peak value in the historical access record, the active state in the ring cycle, and the restricted access state values ​​of several access paths, and the path coding is recorded in the access database of the branch server; Step S3, the main server generates an access volume pre-allocation model based on the historical access data and historical diversion data of any real-time video that has been played, and the access volume pre-allocation model adjusts the number of branch servers allocated by the main server during the playback of any real-time video; Step S4, monitoring the access traffic of any visitor on any specific access path, and determining whether to change the access path of the visitor according to the actual access traffic generated after the visitor accesses the path.

2. The video coordination processing method based on high concurrency scenarios according to claim 1 is characterized in that: In step S1, an access detection unit and a diversion unit are provided in the main server, and the diversion unit is connected to the access detection unit; when real-time video is played, any visitor connected to the access detection unit performs access detection and marks the access source and access time of the visitor, and generates an access data packet for the visitor. The diversion unit receives the data information in the access data packet, and searches for the corresponding branch server according to the access source information in the access data packet, and then transmits the data in the access data packet to the corresponding branch server. The branch server performs step S2 according to the received data information.

3. The video coordination processing method based on high concurrency scenarios according to claim 2 is characterized in that: In step S2, a historical access situation detection unit is provided in any branch server. After the branch server receives the information in the access data packet, the historical access situation detection unit performs a queue detection on the historical active data of several visitors according to the access time of any visitor, and determines the preset traffic value required for any visitor to access the branch server; The historical access situation detection unit is provided with a circular access cycle, and the historical activity data includes the traffic peak value of the visitor in the historical access record and the active state in the circular cycle, and determines the preset traffic value required for the visitor to access the branch server.

4. The video coordination processing method based on high concurrency scenarios according to claim 3 is characterized in that: In step S2, a plurality of access paths are provided in any branch server, and any access path can access a plurality of visitors of the same number and the access traffic levels accessed in any access path are equal; a restricted traffic access state value corresponding to the access path is provided in any access path, and when a visitor is accessed in any access path, the restricted traffic access state value automatically reduces the preset traffic value required by the visitor, and when the restricted access state value is reached in any access path, the access path no longer accesses visitors; For any access path that can access visitors, the access path determines whether to access the visitor's access data based on the comparison between its restricted flow access status value and the preset flow value; when the restricted flow access status value is less than the restricted flow access status value of the access path, the visitor automatically enters the next access path that can access visitors for access judgment; When the restricted flow access state value is greater than or equal to the restricted flow access state value of the access path, the visitor information is input into the access path to form a path code, which is recorded in the access database of this branch server.

5. The video coordination processing method based on high concurrency scenarios according to claim 1 is characterized in that: In step S3, the main server is provided with an overall access prediction unit, which is connected to the access detection unit and the diversion unit respectively. The overall access prediction unit is provided with a pre-access model, and the pre-access model is generated according to the historical access data and historical diversion data of any real-time video that has been played. Any real-time video is divided into several predicted durations according to its playback duration, and the branch server call data and the total access volume are input one by one according to the predicted duration into the pre-access model for prediction. The prediction result is corrected according to the actual situation until the correction is stopped after the real-time video finishes playing, and an initial prediction model for this real-time video is generated. The initial prediction model is marked in combination with the sending place, the initiator, and the video theme of the real-time video, and the initial prediction model is stored in the access volume model database of the main server.

6. The video coordination processing method based on high concurrency scenarios according to claim 5 is characterized in that: When the initial prediction model established in step S3 is subsequently stored in real time with the same origin, initiator, and video theme, it is iterated several times to generate a visit volume prediction model, and the visit volume prediction model is combined with the actual called branch server situation to generate a visit volume pre-allocation model.

7. The video coordination processing method based on high concurrency scenarios according to claim 6 is characterized in that: In step S3, a variable adjustment function is provided in the access volume pre-allocation model, and the variable adjustment function is established according to the total access volume, the allocated number of branch servers, and the current load. There are three variables in the variable adjustment function, including the current load, the time variable, and the access variable; the current load is the total load of the branch servers under the current access volume, the time variable is the playback duration of any played video, the access variable is the access variable predicted based on the time variable, and the access variable is divided into three stages including the access growth stage, the access stability stage, and the access decline stage. The total access volume is the sum of the access variables predicted based on the time variable. The access volume pre-allocation model determines the number of pre-locked branch servers according to the mediation result of the variable adjustment function. The branch servers changed during the adjustment process are locked from the nearest branch servers to the farther branch servers according to the locations of the connected branch servers. The branch servers reduced during the adjustment process are reduced from the branch servers with the least connected visitors to the branch servers with gradually increasing connected visitors.

8. The video coordination processing method based on high concurrency scenarios according to claim 1 is characterized in that: In step S4, any branch server is provided with an access flow monitoring unit, and the access flow monitoring unit monitors the access flow of any visitor of any specific access path, and determines whether to change the access path of the visitor according to the actual access flow generated after any visitor accesses this path. Any access path is provided with a visitor access restriction flow and an access change flow ratio value for any visitor. The access flow monitoring unit calculates the actual usage flow ratio value of the visitor according to the actual access flow and the visitor access restriction flow, and compares and determines whether to change the access path of the visitor; If the actual traffic usage ratio is greater than the access change traffic ratio, the access path change that matches the actual traffic usage ratio is searched in this branch server.

Citation Information

Patent Citations

  • Scheduling method and device of content delivery network and electronic equipment

    CN117201612A

  • Industrial personal computer network access control method and system

    CN117978515A