Automatic adjustment method, adjustment device and electronic equipment for dedicated line rate
By obtaining the maximum traffic prediction value and traffic model of the dedicated line service, and using the SDN controller to automatically adjust the dedicated line rate, the network congestion problem caused by the inability to predict user service usage in the existing technology is solved, and the user experience and configuration efficiency of the dedicated line service are improved. .
Patent Information
- Application Number
- CN202211638710.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-12-19
AI Technical Summary
The existing technology cannot predict user service usage, which may cause congestion in the user network before the dedicated line rate is adjusted, affecting user experience.
By obtaining the maximum traffic prediction value of the dedicated line service in the next time period, the SDN controller is used to automatically adjust the dedicated line rate, and configuration adjustments are made based on the traffic prediction model and business data to avoid network congestion.
Predict user service usage in advance to avoid network congestion before dedicated line rate adjustment, improve user experience, and meet the configuration requirements of dedicated line services.
Smart Images

Figure CN116016350B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an automatic adjustment method, an adjustment device and an electronic device for a dedicated line rate. Background Art
[0002] With the acceleration of the digital transformation of enterprises, various enterprises have put forward higher requirements on the timeliness and flexibility of the configuration and issuance of dedicated line services. Dynamic and instant adjustment of dedicated line speed has also become a necessary function of dedicated line products.
[0003] In the existing technology, customers generally need to submit a rate change order on the business system portal. The business system will send the relevant request to the SDN (Software Defined Network) controller through the capability platform, and then change the PE (Provider Edge) configuration through the controller to complete the adjustment of the dedicated line rate.
[0004] However, in the prior art, dedicated line rate adjustment needs to be initiated by the user after logging into the business system, and the dedicated line rate is adjusted according to the user's current network bandwidth usage or future network usage plan. Before the adjustment is made, the user network may have been congested, affecting the user experience. Summary of the invention
[0005] The present application provides a method, an adjustment device and an electronic device for automatically adjusting the dedicated line rate, so as to solve the technical problem that the prior art cannot predict the user's service usage, and the user network is already congested before the next dedicated line rate adjustment is performed, resulting in a poor user experience.
[0006] In a first aspect, the present application provides a method for obtaining a maximum traffic prediction value of a dedicated line service in a next time period; wherein the maximum traffic prediction value includes a bandwidth value;
[0007] Obtain the service data of the user's dedicated line service in the current time period; the service data includes dedicated line rate and historical bandwidth utilization;
[0008] The rate of the dedicated line service is adjusted according to the maximum traffic prediction value, service data, and service rules; and the SDN controller is used to issue relevant configurations for rate adjustment to complete automatic adjustment of the dedicated line rate.
[0009] Furthermore, the traffic forecast value of the dedicated line service in the next time period is obtained, which specifically includes:
[0010] Obtain the traffic data of the dedicated line service and the date corresponding to the traffic data;
[0011] Obtain business data in the business system; the business data includes device model, bandwidth and rate;
[0012] and matching the original flow data with the business data according to the rules to obtain a matching result between the original flow data and the business data; wherein the matching result includes a business identifier;
[0013] According to the traffic data, date and matching results, the traffic model of the business is trained to obtain the traffic prediction model;
[0014] According to the traffic prediction model, the traffic prediction value of the dedicated line service in the next time period is obtained.
[0015] Furthermore, the rate of the dedicated line service is adjusted according to the maximum traffic prediction value, service data, and service rules, including:
[0016] Obtain access bandwidth value and line bandwidth value in service data;
[0017] If the maximum traffic prediction value is greater than the access bandwidth value and less than the line bandwidth value, the bandwidth value of the current dedicated line service is configured as the maximum traffic prediction value.
[0018] Furthermore, the rate of the dedicated line service is adjusted according to the maximum traffic prediction value, service data, and service rules, including:
[0019] If the maximum traffic prediction value is greater than the access bandwidth value and greater than the line bandwidth value, the bandwidth value of the current dedicated line service is configured as the line bandwidth value;
[0020] And obtain the number of days in the business data that reach the line bandwidth value within a period of time;
[0021] If the number of days is greater than or equal to the first preset threshold, the bandwidth value of the dedicated line service is adjusted to a first preset proportion value of the line bandwidth value.
[0022] Furthermore, the rate of the dedicated line service is adjusted according to the maximum traffic prediction value, service data, and service rules, including:
[0023] Obtain the bandwidth utilization of the dedicated line service within a period of time in the service data;
[0024] If the utilization rate is less than the second preset threshold, the bandwidth value of the dedicated line service is adjusted to a second preset ratio value of the line bandwidth value.
[0025] Furthermore, the original flow data and the business data are matched according to the rules to obtain the matching result of the original flow data and the business data, which specifically includes:
[0026] Match the original flow data with the service data according to the device name, port name, and VLAN (Virtual Local Area Network) to obtain the service identifier;
[0027] The original traffic data is parsed to obtain the time and bandwidth of the business identifier.
[0028] Furthermore, the traffic model of the business is trained according to the traffic data, date and matching results to obtain a traffic prediction model, which specifically includes:
[0029] According to the traffic data, date and matching results, the traffic model of the business is trained to obtain the initial traffic prediction model;
[0030] According to the initial traffic prediction model, obtain the maximum traffic prediction value of the next time period;
[0031] Get the flow value of the same time period; where the same time period is the same time period as the next time period;
[0032] Compare the maximum flow prediction value of the next time period with the flow value of the same time period to verify the accuracy of the initial flow prediction model;
[0033] If the accuracy is greater than or equal to the third preset threshold, the initial traffic prediction model is determined as the traffic prediction model.
[0034] In a second aspect, the present application provides an adjustment device, comprising:
[0035] An acquisition module, used to acquire a maximum traffic forecast value of a dedicated line service in a next time period; wherein the maximum traffic forecast value includes a bandwidth value;
[0036] The acquisition module is also used to obtain the service data of the user's dedicated line service in the current time period; wherein the service data includes the dedicated line rate and the historical bandwidth utilization;
[0037] The processing module is used to adjust the rate of the dedicated line service according to the maximum traffic prediction value, service data and service rules; and use the SDN controller to issue relevant configurations for rate adjustment to complete automatic adjustment of the dedicated line rate.
[0038] In a third aspect, the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the processor executes the computer program, the method described in the first aspect is implemented.
[0039] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the first aspect.
[0040] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor.
[0041] The present application provides an automatic adjustment method, adjustment device and electronic device for a dedicated line rate, which predicts and obtains the maximum traffic forecast value of the dedicated line service in the next time period in advance; and automatically adjusts the configuration of the dedicated line service in the next time period according to the maximum traffic forecast value and the service data of the dedicated line service in the current time period to meet the configuration requirements of the dedicated line service in the next time period. By predicting the user's service usage in advance, it avoids the situation where the user network has been congested before the dedicated line rate adjustment for the next time period, resulting in a poor user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0043] Figure 1 A flowchart of a method for automatically adjusting a dedicated line rate provided in an embodiment of the present application;
[0044] Figure 2 A flowchart of another method for automatically adjusting the dedicated line rate provided in an embodiment of the present application;
[0045] Figure 3 A flowchart of another method for automatically adjusting the dedicated line rate provided in an embodiment of the present application;
[0046] Figure 4 A flowchart of another method for automatically adjusting the dedicated line rate provided in an embodiment of the present application;
[0047] Figure 5 A flowchart of another method for automatically adjusting the dedicated line rate provided in an embodiment of the present application;
[0048] Figure 6 A flowchart of another method for automatically adjusting the dedicated line rate provided in an embodiment of the present application;
[0049] Figure 7 A flow chart of a method for obtaining a traffic prediction model provided in an embodiment of the present application;
[0050] Figure 8 A schematic diagram of the structure of a device provided in an embodiment of the present application;
[0051] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0052] The above drawings show clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0053] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0054] With the acceleration of the digital transformation of enterprises, various enterprises have put forward higher requirements on the timeliness and flexibility of the configuration and issuance of dedicated line services. Dynamic and instant adjustment of dedicated line speed has also become a necessary function of dedicated line products.
[0055] In the prior art, customers generally need to submit rate change orders on the business system portal. The business system sends the relevant request to the SDN controller through the capability platform, and then changes the PE configuration through the controller to complete the adjustment of the dedicated line rate.
[0056] However, in the prior art, dedicated line rate adjustment needs to be initiated by the user after logging into the business system, and the dedicated line rate is adjusted according to the user's current network bandwidth usage or future network usage plan. Before the adjustment is made, the user network may have been congested, affecting the user experience.
[0057] In response to the above problems, the embodiments of the present application provide a method, an adjustment device and an electronic device for automatically adjusting the dedicated line rate, aiming to solve the technical problem that the user network is already congested before the dedicated line rate is adjusted for the next time due to the inability to predict the user's service usage, resulting in poor user experience. The technical concept of the present application is: by predicting in advance and obtaining the maximum traffic forecast value of the dedicated line service for the next time period; and automatically adjusting the configuration of the dedicated line service for the next time period based on the maximum traffic forecast value and the service data of the dedicated line service for the current time period to meet the configuration requirements of the dedicated line service for the next time period. By predicting the user's service usage in advance, it is avoided that the user network is already congested before the dedicated line rate is adjusted for the next time period, resulting in poor user experience.
[0058] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0059] Figure 1 A flow chart of a method for automatically adjusting a dedicated line rate provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes:
[0060] 101. Obtain a maximum traffic forecast value of the dedicated line service in the next time period.
[0061] For example, the execution subject of this embodiment may be an electronic device, or a terminal device, or a maximum flow prediction device or device, or other devices or equipment that can execute this embodiment, and there is no limitation on this. In this embodiment, the execution subject is introduced as an electronic device.
[0062] First, you need to obtain a dedicated line service. You can obtain the dedicated line service from the server port, or obtain the dedicated line service from the storage; or receive the dedicated line service transmitted by other devices. The initial text to be detected can be a picture, etc. When the user performs a prediction operation on the service, a dedicated line service is generated. After the electronic device receives the dedicated line service, it uses a neural network model to predict the maximum traffic prediction value of the dedicated line service to obtain the maximum traffic prediction value of the dedicated line service. Among them, the maximum traffic prediction value includes the bandwidth value; the maximum traffic prediction value has a certain quantitative relationship with the time and bandwidth value. Due to the maximum traffic value of the service, it will affect the operation of the entire network and the user experience. Therefore, the maximum traffic prediction value of the dedicated line service in the next time period is obtained to avoid network operation congestion.
[0063] 102. Obtain the service data of the user's dedicated line service in the current time period.
[0064] For example, the service data of the user's dedicated line service in the current time period can be obtained through the service system. Among them, the service data includes the dedicated line rate and historical bandwidth utilization. Among them, the service system adopts a fully decoupled architecture, based on the powerful management and control capabilities provided by SDN technology, to achieve the orchestration and issuance of services; the fully decoupled hierarchical SDN control architecture provides a standard and standardized interface, supports the intercommunication of multiple types of equipment, and the collaboration of heterogeneous HA (Highly Available, dual-machine cluster system), which can realize minute-level configuration and distribution, and provide flexible and reliable support for users to adjust the dedicated line rate.
[0065] 103. Adjust the rate of the dedicated line service according to the maximum traffic prediction value, service data, and service rules; and use the SDN controller to issue relevant configurations for rate adjustment to complete automatic adjustment of the dedicated line rate.
[0066] Exemplarily, whether the service data of the dedicated line service in the current time period needs to be reconfigured is determined based on the maximum traffic prediction value of the dedicated line service in the next time period. If so, the rate of the dedicated line service is adjusted according to the business rules; wherein the business rules include the relationship between the maximum traffic prediction value and the access bandwidth value and line bandwidth value of the user in the current time period; from a business perspective, the business rules also include the number of days of the user's line bandwidth within a period of time, and the user's actual bandwidth utilization rate. The business system calls the SDN controller to issue relevant configurations for rate adjustment, and generates relevant order records to help users understand the business adjustment situation. This operation also serves as a voucher for changes in user business billing, and notifies customers via email to complete the entire process of automatic speed adjustment.
[0067] In the embodiment of the present application, the maximum traffic forecast value of the dedicated line service in the next time period is predicted and obtained in advance; and the configuration of the dedicated line service in the next time period is automatically adjusted according to the maximum traffic forecast value and the service data of the dedicated line service in the current time period to meet the configuration requirements of the dedicated line service in the next time period. By predicting the user's service usage in advance, it is avoided that the user network has been congested before the dedicated line rate adjustment in the next time period, resulting in a poor user experience.
[0068] Figure 2 A flow chart of another method for automatically adjusting the dedicated line rate provided in an embodiment of the present application is shown as follows: Figure 2 As shown, the method includes:
[0069] 201. Obtain the traffic data of the dedicated line service and the date corresponding to the traffic data.
[0070] Exemplarily, the traffic monitoring system can collect and monitor the traffic conditions of the dedicated line service and send the original traffic data to the designated Kafka server. The business system obtains the traffic data of the dedicated line service and the date corresponding to the traffic data by subscribing to the Kafka server message and parsing the original traffic data. The traffic data includes inbound traffic, inbound bandwidth utilization, inbound average traffic, outbound traffic, outbound bandwidth utilization, and outbound average traffic information. For example, the inbound bandwidth utilization on October 3, 2020 is 80%.
[0071] 202. Obtain business data from the business system.
[0072] Exemplarily, the electronic device calls the southbound interface through the cloud networking service platform to obtain the service data in the service system, wherein the service data includes the device model, bandwidth and rate.
[0073] 203. Match the original flow data with the business data according to the rules to obtain a matching result between the original flow data and the business data.
[0074] For example, the original flow data is matched with the service data in the service system according to the device name, port name, and VLAN, so as to obtain the device name of the dedicated line service, the corresponding port name, and the corresponding VLAN.
[0075] 204. According to the traffic data, date and matching results, the traffic model of the business is trained to obtain a traffic prediction model.
[0076] For example, the business system regularly transmits the matching results to the AI (Artificial Intelligence) center by uploading files offline via the SFTP (SSH File Transfer Protocol) server. The traffic model of the business is trained based on the AI system using the traffic data of the dedicated line business and the corresponding date, thereby obtaining a traffic prediction model.
[0077] 205. Obtain a traffic prediction value of the dedicated line service in the next time period according to the traffic prediction model.
[0078] For example, after the AI center completes model training, it encapsulates an API (Application Programming Interface) interface for the cloud networking service system to call, and the cloud networking service system calls the traffic prediction model to obtain the traffic prediction value of the dedicated line service in the next time period. The traffic prediction function can be based on the granularity of the day.
[0079] 206. Obtain the service data of the user's dedicated line service in the current time period.
[0080] This step can be seen in Figure 1 Step 102 in the above is not described in detail.
[0081] 207. Adjust the rate of the dedicated line service according to the maximum traffic prediction value, service data, and service rules; and use the SDN controller to issue relevant configurations for rate adjustment to complete automatic adjustment of the dedicated line rate.
[0082] This step can be seen in Figure 1 Step 103 in the above is not described in detail.
[0083] In the embodiment of the present application, the traffic model of the service is trained based on the AI system using the traffic data of the dedicated line service and the corresponding date, thereby obtaining a traffic prediction model. The traffic prediction model is used to predict in advance and obtain the maximum traffic prediction value of the dedicated line service in the next time period; and the configuration of the dedicated line service in the next time period is automatically adjusted according to the maximum traffic prediction value and the service data of the dedicated line service in the current time period to meet the configuration requirements of the dedicated line service in the next time period. By predicting the user's service usage in advance, it is avoided that the user network has been congested before the dedicated line rate adjustment for the next time period, resulting in poor user experience.
[0084] Figure 3 A flow chart of another method for automatically adjusting the dedicated line rate provided in an embodiment of the present application is shown as follows: Figure 3 As shown, the method includes:
[0085] 301. Obtain the traffic data of the dedicated line service and the date corresponding to the traffic data.
[0086] This step can be seen in Figure 2 Step 201 in the above is not described in detail.
[0087] 302. Obtain business data from the business system.
[0088] This step can be seen in Figure 2 Step 202 in the above will not be described in detail.
[0089] 303. Match the original flow data with the business data according to the rules to obtain a matching result between the original flow data and the business data.
[0090] This step can be seen in Figure 2 Step 203 in the above is not described in detail.
[0091] 304. According to the traffic data, date and matching results, the traffic model of the business is trained to obtain a traffic prediction model.
[0092] This step can be seen in Figure 2 Step 204 in the above is not described in detail.
[0093] 305. Obtain a traffic prediction value of the dedicated line service in the next time period according to the traffic prediction model.
[0094] This step can be seen in Figure 2 Step 205 in the above is not described in detail.
[0095] 306. Obtain an access bandwidth value and a line bandwidth value in the service data.
[0096] Exemplarily, the electronic device calls the southbound interface through the cloud networking service platform to obtain the access bandwidth value and the line bandwidth value in the service data in the service system.
[0097] 307. Determine whether the maximum traffic prediction value is greater than the access bandwidth value and less than the line bandwidth value.
[0098] For example, the cloud networking platform determines whether the maximum traffic prediction value of the dedicated line service is greater than the access bandwidth value and less than the line bandwidth value by comparing the relationship between the maximum traffic prediction value and the access bandwidth value and the line bandwidth value. The user access bandwidth value is the bandwidth value actually configured on the device for the circuit; the line bandwidth is the bandwidth value of the user's local physical line. Usually, the line bandwidth will be greater than the access bandwidth, which is used as a reserved value for increasing the circuit rate in the future.
[0099] 308. If yes, the bandwidth value of the current dedicated line service is configured as the maximum traffic prediction value, and the SDN controller is used to issue the relevant configuration of rate adjustment to complete the automatic adjustment of the dedicated line rate.
[0100] For example, when the maximum traffic prediction value is greater than the access bandwidth value and less than the line bandwidth value, the cloud networking service system configures the bandwidth value of the current dedicated line service as the maximum traffic prediction value. The service system calls the SDN controller to issue rate adjustment-related configurations and generates related order records to help users understand the service adjustments. This record also serves as proof of changes in user service billing, and notifies customers via email to complete the entire intelligent speed adjustment process.
[0101] In an embodiment of the present application, the dedicated line service traffic data and the corresponding date are used to train the traffic model of the service based on the AI system, thereby obtaining a traffic prediction model. The traffic prediction model is used to predict in advance and obtain the maximum traffic prediction value of the dedicated line service for the next time period; and if the maximum traffic prediction value is greater than the access bandwidth value and less than the line bandwidth value, the bandwidth value of the current dedicated line service is configured as the maximum traffic prediction value to meet the configuration requirements of the dedicated line service for the next time period. By predicting the user's service usage in advance, it is avoided that the user network has been congested before the dedicated line rate adjustment for the next time period, resulting in a poor user experience.
[0102] Figure 4 A flow chart of another method for automatically adjusting the dedicated line rate provided in an embodiment of the present application is shown as follows: Figure 4 As shown, the method includes:
[0103] 401. Obtain the traffic data of the dedicated line service and the date corresponding to the traffic data.
[0104] This step can be seen in Figure 2 Step 201 in the above is not described in detail.
[0105] 402. Obtain business data in the business system.
[0106] This step can be seen in Figure 2 Step 202 in the above will not be described in detail.
[0107] 403. Match the original flow data with the business data according to the rules to obtain a matching result between the original flow data and the business data.
[0108] This step can be seen in Figure 2 Step 203 in the above is not described in detail.
[0109] 404. Train the traffic model of the business according to the traffic data, date and matching result to obtain a traffic prediction model.
[0110] This step can be seen in Figure 2 Step 204 in the above is not described in detail.
[0111] 405. Obtain a traffic prediction value of the dedicated line service in the next time period according to the traffic prediction model.
[0112] This step can be seen in Figure 2 Step 205 in the above is not described in detail.
[0113] 406. Obtain an access bandwidth value and a line bandwidth value in the service data.
[0114] This step can be seen in Figure 3 Step 306 in is not described again.
[0115] 407. Determine whether the maximum traffic prediction value is greater than the access bandwidth value and greater than the line bandwidth value.
[0116] Exemplarily, the cloud networking platform determines whether the maximum traffic prediction value of the dedicated line service is greater than the access bandwidth value and greater than the line bandwidth value by comparing the relationship between the maximum traffic prediction value and the access bandwidth value and the line bandwidth value.
[0117] 408. If yes, configure the bandwidth value of the current dedicated line service as the line bandwidth value.
[0118] Exemplarily, when the maximum traffic prediction value is greater than the access bandwidth value and greater than the line bandwidth value, the cloud networking service system configures the bandwidth value of the current dedicated line service as the line bandwidth value.
[0119] 409. Obtain the number of days in which the line bandwidth value is reached within a period of time in the business data.
[0120] For example, the electronic device calls the southbound interface through the cloud networking service platform to obtain the number of days in the service data of the service system that reach the line bandwidth value within a period of time. For example, if the period of time is 30 days, the number of days that the user's actual bandwidth reaches the line bandwidth value is 20 days.
[0121] 410. Determine whether the number of days is greater than or equal to a first preset threshold.
[0122] Exemplarily, the cloud networking platform determines whether the number of days is greater than or equal to the first preset threshold by comparing the number of days with the first preset threshold. The first preset threshold may be 25 days. It should be noted that the first preset threshold may be set according to demand and is not limited here.
[0123] 411. If yes, adjust the bandwidth value of the dedicated line service to a first preset ratio value of the line bandwidth value, and use the SDN controller to issue relevant configurations for rate adjustment to complete automatic adjustment of the dedicated line rate.
[0124] Exemplarily, when the number of days is greater than or equal to the first preset threshold, the cloud networking service system configures the bandwidth value of the current dedicated line service to the first preset ratio value of the line bandwidth value. Among them, the first preset ratio value can be 80%. It should be noted that the first preset threshold can be set according to demand and is not limited here. The business system calls the SDN controller to issue the relevant configuration of rate adjustment, and generates relevant order records to help users understand the business adjustment situation. It also serves as a certificate of changes in user business billing, and notifies customers by email to complete the entire process of automatic speed adjustment.
[0125] In an embodiment of the present application, the dedicated line service's traffic data and corresponding dates are used to train the service's traffic model based on an AI system, thereby obtaining a traffic prediction model. The traffic prediction model is used to predict in advance and obtain the maximum traffic prediction value of the dedicated line service for the next time period; and if the maximum traffic prediction value is greater than the access bandwidth value and greater than the line bandwidth value, the bandwidth value of the current dedicated line service is configured as the maximum traffic prediction value; when the number of days in the service data reaches the line bandwidth value within a period of time; and the number of days is greater than or equal to the first preset threshold, the bandwidth value of the dedicated line service is adjusted to the first preset proportion value of the line bandwidth value, and from the perspective of the service, the demand for the dedicated line service for the next time period is reconfigured for the user. By predicting the user's service usage in advance, the network configuration is optimized for the user, reducing the cost of the user's service.
[0126] Figure 5 A flow chart of another method for automatically adjusting the dedicated line rate provided in an embodiment of the present application is shown as follows: Figure 5 As shown, the method includes:
[0127] 501. Obtain the traffic data of the dedicated line service and the date corresponding to the traffic data.
[0128] This step can be seen in Figure 2 Step 201 in the above is not described in detail.
[0129] 502. Obtain business data from the business system.
[0130] This step can be seen in Figure 2 Step 202 in the above will not be described in detail.
[0131] 503. Match the original flow data with the business data according to the rules to obtain a matching result between the original flow data and the business data.
[0132] This step can be seen in Figure 2 Step 203 in the above is not described in detail.
[0133] 504. According to the traffic data, date and matching results, the traffic model of the business is trained to obtain a traffic prediction model.
[0134] This step can be seen in Figure 2 Step 204 in the above is not described in detail.
[0135] 505. Obtain a traffic prediction value of the dedicated line service in the next time period according to the traffic prediction model.
[0136] This step can be seen in Figure 2 Step 205 in the above is not described in detail.
[0137] 506. Obtain the utilization rate of the bandwidth value of the dedicated line service within a period of time in the service data.
[0138] For example, the electronic device calls the southbound interface through the cloud networking service platform to obtain the utilization rate of the bandwidth value of the dedicated line service in the service data in the service system within a period of time. For example, the line bandwidth value of the dedicated line service is 100, and the actual bandwidth of the user is 70.
[0139] 507. Determine whether the utilization rate is less than a second preset threshold.
[0140] Exemplarily, the cloud networking platform determines that the utilization rate is less than the second preset threshold by comparing the relationship between the utilization rate and the second preset threshold. The second preset threshold may be 80%. It should be noted that the second preset threshold may be set according to demand and is not limited here.
[0141] 508. If yes, configure the bandwidth value of the current dedicated line service to be a second preset ratio value, and use the SDN controller to issue relevant configurations for rate adjustment to complete automatic adjustment of the dedicated line rate.
[0142] Exemplarily, when it is determined that the utilization rate is less than the second preset threshold, the cloud networking service system configures the bandwidth value of the current dedicated line service to the second preset ratio value of the line bandwidth value. Among them, the second preset ratio value can be 75%. It should be noted that the second preset threshold can be set according to demand and is not limited here. The business system calls the SDN controller to issue the relevant configuration of the rate adjustment, and generates relevant order records to help users understand the business adjustment situation. It also serves as a certificate of changes in user business billing, and notifies customers by email to complete the entire process of automatic speed adjustment.
[0143] In the embodiment of the present application, the dedicated line service traffic data and the corresponding date are used to train the traffic model of the service based on the AI system, thereby obtaining a traffic prediction model. The traffic prediction model is used to predict and obtain the maximum traffic prediction value of the dedicated line service in the next time period in advance; and the utilization rate of the bandwidth value of the dedicated line service in a period of time in the service data is obtained; if the utilization rate is less than the second preset threshold, the bandwidth value of the dedicated line service is adjusted to the second preset ratio value of the line bandwidth value. From the perspective of network configuration, the network configuration is optimized, and network access configuration is performed for more users.
[0144] Figure 6 A flow chart of another method for automatically adjusting the dedicated line rate provided in an embodiment of the present application is shown as follows: Figure 6 As shown, the method includes:
[0145] 601. Obtain the traffic data of the dedicated line service and the date corresponding to the traffic data.
[0146] This step can be seen in Figure 2 Step 201 in the above is not described in detail.
[0147] 602. Obtain business data in the business system.
[0148] This step can be seen in Figure 2 Step 202 in the above will not be described in detail.
[0149] 603. Match the original flow data with the service data according to the device name, port name, and VLAN to obtain a service identifier.
[0150] Exemplarily, the dedicated line device and the corresponding port are obtained according to the original flow data and the service data, thereby obtaining the VLAN of the dedicated line service and determining the service identifier of the dedicated line service. The service identifier is the service circuit number of the dedicated line service.
[0151] 604. Analyze the original text of the traffic data to obtain the time and bandwidth of the service identifier.
[0152] Exemplarily, the original flow data of the dedicated line service is parsed to obtain the bandwidth of the service identifier and the time corresponding to the service.
[0153] 605. According to the traffic data, date and matching results, the traffic model of the business is trained to obtain a traffic prediction model.
[0154] This step can be seen in Figure 2 Step 204 in the above is not described in detail.
[0155] 606. Obtain a traffic prediction value of the dedicated line service in the next time period according to the traffic prediction model.
[0156] This step can be seen in Figure 2 Step 205 in the above is not described in detail.
[0157] 607. Obtain the service data of the user's dedicated line service in the current time period.
[0158] This step can be seen in Figure 1 Step 102 in the above is not described in detail.
[0159] 608. Adjust the rate of the dedicated line service according to the maximum traffic prediction value, service data, and service rules; and use the SDN controller to issue relevant configurations for rate adjustment to complete automatic adjustment of the dedicated line rate.
[0160] This step can be seen in Figure 1 Step 103 in the above is not described in detail.
[0161] In an embodiment of the present application, the dedicated line service is first determined, and the dedicated line service traffic data and the corresponding date are used to train the traffic model of the service based on the AI system, thereby obtaining a traffic prediction model. The traffic prediction model is used to predict in advance and obtain the maximum traffic prediction value of the dedicated line service in the next time period; and the configuration of the dedicated line service in the next time period is automatically adjusted according to the maximum traffic prediction value and the service data of the dedicated line service in the current time period to meet the configuration requirements of the dedicated line service in the next time period. By predicting the user's service usage in advance, it is avoided that the user network has been congested before the dedicated line rate adjustment for the next time period, resulting in a poor user experience.
[0162] Figure 7 A flow chart of a method for obtaining a traffic prediction model provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the method includes:
[0163] 701. Train the traffic model of the business according to the traffic data, date and matching results to obtain an initial traffic prediction model.
[0164] For example, the business system regularly transmits the matching results to the AI center by uploading files offline via the SFTP server. The traffic data of the dedicated line business and the corresponding date are used to train the traffic model of the business based on the AI system, thereby obtaining an initial traffic prediction model.
[0165] 702. Obtain a maximum flow prediction value for the next time period according to the initial flow prediction model;
[0166] Get the flow value in the same time period; where the same time period is the same time period as the next time period.
[0167] Exemplarily, the business system obtains the actual traffic value of the user in the same time period by calling the southbound interface, wherein the same time period is the same time period as the next time period.
[0168] 703. Compare the maximum flow prediction value of the next time period with the flow value of the same time period to verify the accuracy of the initial flow prediction model.
[0169] Exemplarily, the cloud networking service platform compares the maximum traffic prediction value of the next time period with the traffic value of the same time period to verify the accuracy of the initial traffic prediction model.
[0170] 704. Determine whether the accuracy rate is greater than or equal to a third preset threshold.
[0171] Exemplarily, the cloud networking service platform determines whether the accuracy is greater than or equal to a third preset threshold, wherein the third preset threshold may be 95%. It should be noted that the third preset threshold may be set according to demand and is not limited here.
[0172] 705. If yes, the initial traffic prediction model is determined as the traffic prediction model.
[0173] Exemplarily, when it is determined that the accuracy of the initial traffic prediction model is greater than or equal to the third preset threshold, the AI center completes model training and determines the initial traffic prediction model as the traffic prediction model.
[0174] In the embodiment of the present application, the AI center uses the service circuit number in the file as the unique identifier and model creation granularity, and trains the service-based offline traffic model according to the traffic data transmitted by the cloud networking service system. After the model training is completed, the accuracy of the model is verified by calling the cloud networking service platform, and the model is adjusted and improved. After the AI center completes the model training, it encapsulates the API interface for the cloud networking service system to call, and provides a traffic prediction function with a granularity of days; the interface uses the service circuit number and the specified future date as input parameters, and the output parameter is the predicted peak traffic of the dedicated line service on the specified date.
[0175] Figure 8A schematic diagram of the structure of an adjustment device provided in an embodiment of the present application is shown in FIG. Figure 8 As shown, the device 800 includes:
[0176] The acquisition module 801 is used to obtain the maximum traffic prediction value of the dedicated line service in the next time period; wherein the maximum traffic prediction value includes a bandwidth value;
[0177] The acquisition module 801 is used to obtain the service data of the dedicated line service of the user in the current time period; wherein the service data includes the dedicated line rate and the historical bandwidth utilization;
[0178] The processing module 802 is used to adjust the rate of the dedicated line service according to the maximum traffic prediction value, service data and service rules; and use the SDN controller to issue relevant configurations for rate adjustment to complete automatic adjustment of the dedicated line rate.
[0179] The acquisition module 801 is further specifically used for:
[0180] Obtain the traffic data of the dedicated line service and the date corresponding to the traffic data;
[0181] Obtain business data in the business system; the business data includes device model, bandwidth and rate;
[0182] and matching the original flow data with the business data according to the rules to obtain a matching result between the original flow data and the business data; wherein the matching result includes a business identifier;
[0183] According to the traffic data, date and matching results, the traffic model of the business is trained to obtain the traffic prediction model;
[0184] According to the traffic prediction model, the traffic prediction value of the dedicated line service in the next time period is obtained.
[0185] The processing module 802 is further specifically configured to:
[0186] Obtain access bandwidth value and line bandwidth value in service data;
[0187] If the maximum traffic prediction value is greater than the access bandwidth value and less than the line bandwidth value, the bandwidth value of the current dedicated line service is configured as the maximum traffic prediction value.
[0188] The processing module 802 is further specifically configured to:
[0189] If the maximum traffic prediction value is greater than the access bandwidth value and greater than the line bandwidth value, the bandwidth value of the current dedicated line service is configured as the line bandwidth value;
[0190] And obtain the number of days in the business data that reach the line bandwidth value within a period of time;
[0191] If the number of days is greater than or equal to the first preset threshold, the bandwidth value of the dedicated line service is adjusted to a first preset proportion value of the line bandwidth value.
[0192] The processing module 802 is further specifically configured to:
[0193] Obtain the bandwidth utilization of the dedicated line service within a period of time in the service data;
[0194] If the utilization rate is less than the second preset threshold, the bandwidth value of the dedicated line service is adjusted to a second preset ratio value of the line bandwidth value.
[0195] The processing module 802 is further specifically configured to:
[0196] Match the original traffic data with the business data according to the device name, port name, and VLAN to obtain the business identifier;
[0197] The original traffic data is parsed to obtain the time and bandwidth of the business identifier.
[0198] The processing module 802 is further specifically configured to:
[0199] According to the traffic data, date and matching results, the traffic model of the business is trained to obtain the initial traffic prediction model;
[0200] According to the initial traffic prediction model, obtain the maximum traffic prediction value of the next time period;
[0201] Get the flow value of the same time period; where the same time period is the same time period as the next time period;
[0202] Compare the maximum flow prediction value of the next time period with the flow value of the same time period to verify the accuracy of the initial flow prediction model;
[0203] If the accuracy is greater than or equal to the third preset threshold, the initial traffic prediction model is determined as the traffic prediction model.
[0204] The device of this embodiment can execute the technical solution in the above method. Its specific implementation process and technical principles are the same and will not be repeated here.
[0205] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Fig. 9 As shown, the electronic device 900 includes: a memory 501 and a processor 902;
[0206] The memory 901 is used to store computer instructions executable by the processor;
[0207] The processor 902 implements each step of the method in the above embodiment when executing the computer instruction. For details, please refer to the relevant description in the above method embodiment.
[0208] Optionally, the memory 901 can be independent or integrated with the processor 902. When the memory 901 is independently provided, the detection device further includes a bus for connecting the memory 901 and the processor 902.
[0209] An embodiment of the present application also provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the method provided by the above embodiment.
[0210] An embodiment of the present application also provides a computer program product, which includes: a computer program, which is stored in a readable storage medium, and at least one processor of an electronic device can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device executes the solution provided by any of the above embodiments.
[0211] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0212] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for automatically adjusting the rate of a dedicated line, characterized in that: The method comprises: Obtaining a maximum traffic prediction value of a dedicated line service in a next time period; wherein the maximum traffic prediction value includes a bandwidth value; Obtaining service data of the dedicated line service of the user in the current time period; wherein the service data includes dedicated line rate and historical bandwidth utilization; The rate of the dedicated line service is adjusted according to the maximum traffic prediction value and the service data and service rules; and the SDN controller is used to issue the relevant configuration of the dedicated line rate adjustment to complete the automatic adjustment of the dedicated line rate; The obtaining of the traffic forecast value of the dedicated line service in the next time period specifically includes: Obtaining traffic data of a dedicated line service and a date corresponding to the traffic data; Acquire business data in the business system; wherein the business data includes device model, bandwidth and rate; and matching the original flow data with the business data according to the rules to obtain a matching result between the original flow data and the business data; wherein the matching result includes a business identifier; Training a traffic model of the service according to the traffic data, the date and the matching result to obtain a traffic prediction model; According to the traffic prediction model, a maximum traffic prediction value of the dedicated line service in the next time period is obtained; The adjusting the rate of the dedicated line service according to the maximum traffic prediction value and the service data and service rules specifically includes: Obtaining an access bandwidth value and a line bandwidth value in the service data; If the maximum traffic prediction value is greater than the access bandwidth value and less than the line bandwidth value, the bandwidth value of the current dedicated line service is configured as the maximum traffic prediction value; If the maximum traffic prediction value is greater than the access bandwidth value and greater than the line bandwidth value, the bandwidth value of the current dedicated line service is configured as the line bandwidth value.
2. The method according to claim 1, characterized in that The method further comprises: adjusting the rate of the dedicated line service according to the maximum traffic prediction value, the service data and the service rule, and specifically including: Obtain the number of days in the service data that reach the line bandwidth value within a period of time; If the number of days is greater than or equal to a first preset threshold, the bandwidth value of the dedicated line service is adjusted to a first preset proportional value of the line bandwidth value.
3. The method according to claim 2, characterized in that The method further comprises: adjusting the rate of the dedicated line service according to the maximum traffic prediction value, the service data and the service rule, and specifically including: Obtaining the utilization rate of the bandwidth value of the dedicated line service within a period of time in the service data; If the utilization rate is less than a second preset threshold, the bandwidth value of the dedicated line service is adjusted to a second preset ratio value of the line bandwidth value.
4. The method according to claim 1, characterized in that: Matching the original traffic data with the business data according to a rule to obtain a matching result between the original traffic data and the business data, specifically further comprising: Matching the original flow data with the service data according to the device name, port name, and VLAN to obtain the service identifier; The original text of the traffic data is parsed to obtain the time and bandwidth of the service identifier.
5. The method according to claim 4, characterized in that Training a traffic model of the service according to the traffic data, the date and the matching result to obtain a traffic prediction model specifically includes: Training a traffic model of the service according to the traffic data, the date and the matching result to obtain an initial traffic prediction model; According to the initial flow prediction model, obtaining the maximum flow prediction value of the next time period; Obtaining the flow value of the same time period; wherein the same time period is the same time period as the next time period; Comparing the maximum flow prediction value of the next time period with the flow value of the same time period to verify the accuracy of the initial flow prediction model; If the accuracy is greater than or equal to a third preset threshold, the initial traffic prediction model is determined as the traffic prediction model.
6. A dedicated line rate adjustment device, characterized in that: include: An acquisition module, used to acquire a maximum traffic prediction value of a dedicated line service in a next time period; wherein the maximum traffic prediction value includes a bandwidth value; The acquisition module is further used to acquire the service data of the dedicated line service of the user in the current time period; wherein the service data includes the dedicated line rate and the historical bandwidth utilization rate; A processing module, used to adjust the rate of the dedicated line service according to the maximum flow prediction value and the service data and service rules; and use the SDN controller to issue the relevant configuration of the dedicated line rate adjustment to complete the automatic adjustment of the dedicated line rate; The acquisition module is specifically used to acquire the flow data of the dedicated line service and the date corresponding to the flow data; acquire the service data in the service system; wherein the service data includes the equipment model, bandwidth and rate; and match the original flow data with the service data according to the rules to obtain the matching result of the original flow data and the service data; wherein the matching result includes the service identifier; according to the flow data, date and matching result, the flow model of the service is trained to obtain the flow prediction model; according to the flow prediction model, the flow prediction value of the dedicated line service in the next time period is obtained; The processing module is further specifically used to: obtain the access bandwidth value and the line bandwidth value in the service data; if the maximum flow prediction value is greater than the access bandwidth value and less than the line bandwidth value, configure the bandwidth value of the current dedicated line service as the maximum flow prediction value; if the maximum flow prediction value is greater than the access bandwidth value and greater than the line bandwidth value, configure the bandwidth value of the current dedicated line service as the line bandwidth value.
7. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method according to any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.
Citation Information
Patent Citations
Adaptive adjustment method and system for service bandwidth, and SDN controller
CN107786351A
Server cluster service traffic control method and related equipment
CN108259376A
Classification model training method, traffic analysis method and device and equipment
CN113762421A
Service application method and device based on optical service unit
CN114363739A
Elastic expansion and contraction method and device for public cloud cross-domain private line, electronic equipment and medium
CN114745277A
