Network resource deployment method and device, electronic equipment and storage medium
By aggregating and predicting bandwidth data for service areas and operators in cloud vendors, it solves the problem of difficulty in accurately predicting bandwidth usage requirements in cloud vendors, improves network resource utilization and prediction accuracy, and reduces scheduling costs.
Patent Information
- Application Number
- CN202410692316.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-06
AI Technical Summary
When cloud vendors serve many types of users and have complex usage scenarios, network bandwidth usage requirements cannot be accurately estimated, resulting in unreasonable deployment of network resources, affecting user experience and increasing scheduling costs.
By aggregating the actual bandwidth values within the reference period, data aggregation is performed based on the two data dimensions of service area and service operator, and the prediction module is used to predict the bandwidth usage demand within the prediction period. Finally, network resource deployment is performed based on the prediction results to ensure Reasonable allocation of resources.
It improves the prediction accuracy of bandwidth usage requirements, optimizes the utilization of network resources, reduces the scheduling cost of network resources, and meets dynamically changing bandwidth requirements.
Smart Images

Figure CN118612074A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a network resource deployment method, device, electronic device and storage medium. Background Art
[0002] Cloud vendors are companies that provide cloud computing services. They can provide a full range of cloud services including computing, storage, networking, security, etc., and provide customized solutions for different industries and scenarios. With the continuous development of cloud computing technology, cloud vendors have launched more and more cloud server types and instance specifications. In order to improve the utilization rate of cloud servers and optimize the scheduling cost of network resources, it is necessary to accurately estimate network usage requirements.
[0003] However, when cloud vendors serve a wide variety of user types and the usage scenarios are complex, it is usually impossible to accurately estimate network bandwidth usage requirements, resulting in unreasonable deployment of network resources and affecting users' experience of network services. Summary of the invention
[0004] In view of this, the embodiments of the present disclosure provide a network resource deployment method, device, electronic device, and storage medium to at least partially solve the above-mentioned problems.
[0005] According to a first aspect of an embodiment of the present disclosure, a network resource deployment method is provided, including:
[0006] According to the collection timestamps, service areas, and service operators of the reference aggregation time periods and the actual bandwidth values in the reference period, data aggregation is performed on the actual bandwidth values to obtain the aggregated bandwidth value of each service area of each service operator corresponding to each reference aggregation time period;
[0007] According to the aggregated bandwidth value corresponding to each reference aggregation period of each service area of each service operator, predicting the bandwidth usage demand of each predicted aggregation period within the prediction period, to obtain the predicted bandwidth value corresponding to each predicted aggregation period of each service area of each service operator, wherein each predicted aggregation period within the prediction period corresponds to each reference aggregation period within the reference period;
[0008] Resource deployment is performed according to the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period and the network resource configuration information of each service operator corresponding to each service area, so as to obtain the network resource deployment result of each service area of each service operator corresponding to each predicted aggregation period.
[0009] According to a second aspect of an embodiment of the present disclosure, a network resource deployment device is provided, including:
[0010] an aggregation module, configured to perform data aggregation on each actual bandwidth value according to each reference aggregation period in a reference cycle and each collection timestamp, service area, and service operator of each actual bandwidth value in the reference cycle, so as to obtain an aggregated bandwidth value corresponding to each reference aggregation period for each service area of each service operator;
[0011] A prediction module, configured to predict bandwidth usage requirements of each predicted aggregation period within a prediction period according to the aggregated bandwidth value of each service area of each service operator corresponding to each reference aggregation period, so as to obtain a predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period, wherein each predicted aggregation period within the prediction period corresponds to each reference aggregation period within the reference period;
[0012] The deployment module is used to perform resource deployment according to the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period and the network resource configuration information of each service operator corresponding to each service area, so as to obtain the network resource deployment result of each service area of each service operator corresponding to each predicted aggregation period.
[0013] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing a program, wherein the program comprises instructions, which, when executed by the processor, enable the processor to execute the network resource deployment method described in the first aspect above.
[0014] According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the network resource deployment method as described in the first aspect.
[0015] In summary, the network resource deployment solution provided by various aspects of the present disclosure aggregates the actual bandwidth values within a reference period based on the two data dimensions of service area and service operator, and predicts the bandwidth usage demand within the prediction period based on the bandwidth aggregation results within the reference period, which can improve the prediction accuracy of bandwidth usage demand in complex application scenarios.
[0016] In addition, the network resource deployment solutions provided by various aspects of the present disclosure utilize bandwidth prediction results including two data dimensions: service area and service operator, to reasonably deploy network resources, improve the utilization rate of network resources, and reduce the scheduling cost of network resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:
[0018] Figure 1 The present invention is a flowchart of a method for deploying network resources according to an exemplary embodiment of the present invention.
[0019] Figure 2 The present invention is a flowchart of a network resource deployment method according to another exemplary embodiment of the present invention.
[0020] Figure 3 The present invention is a flowchart of a network resource deployment method according to another exemplary embodiment of the present invention.
[0021] Figure 4 A structural block diagram of a network resource deployment device according to an exemplary embodiment of the present disclosure.
[0022] Figure 5 It is a schematic diagram of the architecture of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0024] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0025] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0026] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more". The names of the messages or information exchanged between the multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.
[0027] When cloud vendors serve a large number of user types and complex usage scenarios, it is usually impossible to accurately estimate users' bandwidth usage needs in the future, resulting in unreasonable deployment of network resources. If network resources are insufficiently deployed, they cannot meet users' bandwidth usage needs, affecting users' network service experience. If network resources are over-deployed, network resources will be idle.
[0028] In view of this, the embodiments of the present disclosure provide a network resource deployment solution, which increases the monitoring dimension of predicted bandwidth data to achieve rational deployment of network resources and improve the utilization rate of network resources.
[0029] The specific implementation schemes of the present disclosure will be described in detail below in conjunction with the accompanying drawings.
[0030] Figure 1 This is a processing flow chart of a network resource deployment method of an exemplary embodiment of the present disclosure. As shown in the figure, this embodiment mainly includes the following steps:
[0031] Step S102: Perform data aggregation on each actual bandwidth value according to the collection timestamp, service area, and service operator of each reference aggregation period in the reference cycle and each actual bandwidth value in the reference cycle, and obtain the aggregated bandwidth value of each service area of each service operator corresponding to each reference aggregation period.
[0032] In some embodiments, a reference period of the prediction period can be determined, multiple actual bandwidth values within the reference period, the collection timestamp and IP address of each actual bandwidth value can be obtained, and conversion can be performed based on the IP address of each actual bandwidth value to obtain the service area and service operator of each actual bandwidth value.
[0033] In this embodiment, each service area can be divided according to administrative regions, for example, Beijing, Tianjin, Hebei Province, etc. Service operators are manufacturers that provide mobile communication services to users, for example, China Mobile, China Telecom, China Unicom, etc.
[0034] In this embodiment, the prediction cycle is a detection cycle executed after the reference cycle in the continuous detection cycles. For example, when the reference cycle is the Nth detection cycle, the prediction cycle is the N+1th detection cycle.
[0035] For example, the duration of each detection period (reference period) and each aggregation period (reference aggregation period) within the detection period can be determined according to the actual demand change rule of bandwidth. For example, the detection period can be set to 24 hours (1 day), and the aggregation period can be set to 1 hour or 8 hours; or the detection period can be set to 7×24 hours (7 days), and the aggregation period can be set to 8 hours or 24 hours.
[0036] In some embodiments, any service area may be determined as a target area, any service operator may be determined as a target operator, and any reference aggregation period may be determined as a target aggregation period.
[0037] According to the target area, target operator, target aggregation period, and the collection timestamp, service area, and service operator of each actual bandwidth value within the reference period, each actual bandwidth value whose collection timestamp falls within the target aggregation period and whose service area and service operator match the target area and target operator respectively is determined as the target bandwidth value, and based on the maximum value of each target bandwidth value, the aggregated bandwidth value of the target area of the target operator corresponding to the target aggregation period is determined.
[0038] In this embodiment, if the service area is exactly the same as the target area, or if the service area and the target area point to the same physical area, it can be determined that the service area matches the target area. Similarly, if the service operator is exactly the same as the target operator, or if the service operator and the target operator point to the same operator, it can be determined that the service operator matches the target operator.
[0039] Step S104: According to the aggregated bandwidth value of each service area of each service operator corresponding to each reference aggregation period, the bandwidth usage demand of each predicted aggregation period within the prediction period is predicted to obtain the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period.
[0040] In this embodiment, each predicted aggregation time period within the prediction period corresponds to each reference aggregation time period within the reference period, that is, the length of the prediction period is the same as the length of the reference period, the length of each predicted aggregation time period within the prediction period is the same as the length of each reference aggregation time period within the reference period, and the number of predicted aggregation time periods within the prediction period is also the same as the number of reference aggregation time periods within the reference period.
[0041] Exemplarily, the predicted bandwidth value of the first predicted aggregation period of the prediction period for each service area of each service operator can be predicted based on the aggregate bandwidth value of the first reference aggregation period of the reference period for each service area of each service operator. The predicted bandwidth value of the second predicted aggregation period of the prediction period for each service area of each service operator can be predicted based on the aggregate bandwidth value of the second reference aggregation period of the reference period for each service area of each service operator, and so on.
[0042] Step S106: Execute resource deployment according to the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period and the network resource configuration information of each service operator corresponding to each service area, and obtain the network resource deployment result of each service area of each service operator corresponding to each predicted aggregation period.
[0043] In some embodiments, the main service room of each service operator corresponding to each service area can be detected, and data can be merged according to the predicted bandwidth value of each service area with the same main service room corresponding to each predicted aggregation period to obtain the merged bandwidth value of each main service room corresponding to each predicted aggregation period, and the network resources of each main service room can be deployed accordingly to obtain the network resource deployment result of each main service room corresponding to each predicted aggregation period.
[0044] In some embodiments, the network resource configuration information includes at least server specification information and server quantity information.
[0045] Exemplarily, the server specifications and the number of servers in each main service room may be deployed according to the combined bandwidth value of each main service room corresponding to each predicted aggregation period.
[0046] In summary, the network resource deployment method of this embodiment performs data aggregation on each actual bandwidth value within a reference period based on the service area and service operator of each actual bandwidth value, and predicts the bandwidth value of each service area of each service operator corresponding to each predicted aggregation period based on the data aggregation result. By adding two data dimensions of service area and service operator, the accuracy of bandwidth prediction results in complex application scenarios can be effectively improved.
[0047] In addition, the network resource deployment method of this embodiment predicts the bandwidth value of each time period in a specified period (i.e., each predicted aggregation time period) based on the bandwidth value of each time period in the same historical period (i.e., each reference aggregation time period), which can realize multi-time period refined deployment of network resources and meet the dynamic changes in bandwidth usage requirements.
[0048] Furthermore, the network resource deployment method of this embodiment, by introducing two data dimensions of service area and service operator, can merge the predicted bandwidths of each service area with the same main service room according to the configuration of the main service room of each service operator corresponding to each service area, thereby realizing the coordinated deployment of network resources, which can not only optimize the scheduling cost of network resources, but also improve the utilization rate of network resources.
[0049] Figure 2 This is a processing flow chart of a network resource deployment method of another exemplary embodiment of this embodiment, which shows another implementation scheme of the data aggregation processing in the above step S102. As shown in the figure, the method of this embodiment mainly includes the following steps:
[0050] Step S202: determine target bandwidth values in actual bandwidth values according to any target area in each service area, any target operator in each service operator, and any target aggregation period in each reference aggregation period, and determine multiple intermediate aggregation periods in the target aggregation period.
[0051] In this embodiment, the acquisition timestamp of each target bandwidth value falls within the target aggregation period, the service area of each target bandwidth value matches the target area, and the service operator of each target bandwidth value matches the target operator.
[0052] In some embodiments, the duration of the intermediate aggregation period may be determined according to the collection interval of the actual bandwidth value and the duration of the target aggregation period (reference aggregation period). For example, when the collection interval of the actual bandwidth value is 10 seconds and the duration of the target aggregation period is 30 minutes, the intermediate aggregation period may be set to 1 minute or 5 minutes.
[0053] Step S204: Obtain the intermediate bandwidth value of each intermediate aggregation period according to the acquisition timestamp of each intermediate aggregation period and each target bandwidth value.
[0054] In some embodiments, for any current intermediate aggregation period among the intermediate aggregation periods, the maximum value of the target bandwidth values of the current intermediate aggregation period whose acquisition timestamp falls can be determined as the intermediate bandwidth value of the current intermediate aggregation period based on the acquisition timestamp of the current intermediate aggregation period and each target bandwidth value.
[0055] By repeatedly executing this step, the intermediate bandwidth value of each intermediate aggregation period can be obtained.
[0056] Exemplarily, when the collection interval of the actual bandwidth value is 10 seconds and the duration of the intermediate aggregation period is 1 minute, 6 actual bandwidth values falling into the current intermediate aggregation period can be obtained, and the maximum value of the 6 actual bandwidth values is determined as the intermediate bandwidth value of the current intermediate aggregation period.
[0057] Step S206: Determine the maximum value among the intermediate bandwidth values as the aggregate bandwidth value of the target area of the target operator corresponding to the target aggregation period.
[0058] Exemplarily, when the duration of the intermediate aggregation period is 1 minute and the duration of the target aggregation period is 30 minutes, the intermediate bandwidth values of the 30 intermediate aggregation periods falling within the target aggregation duration can be obtained, and the maximum value of these 30 intermediate bandwidth values is determined as the aggregate bandwidth value of the target aggregation period.
[0059] In summary, the segmented data aggregation processing solution adopted in this embodiment can realize the rapid aggregation processing of large quantities of bandwidth data, and is particularly suitable for data preprocessing in cloud vendors with a large number of service user types and complex usage scenarios.
[0060] Figure 3 This is a processing flow chart of a network resource deployment method of another exemplary embodiment of the present disclosure. This embodiment shows a specific implementation scheme of the above step S106. As shown in the figure, this embodiment mainly includes the following steps:
[0061] Step S302: Detect the main service room of each service operator corresponding to each service area.
[0062] In this embodiment, one or more service rooms may be provided for the communication services of each service operator corresponding to each service area. For example, one or more service rooms may be provided for the communication services of China Mobile (service operator) in Beijing (service area). Wherein, in the case where a service operator is provided with only one service room corresponding to a service area, this service room is set as the main service room by default; in the case where a service operator is provided with multiple service rooms corresponding to a service area, one of the service rooms may be configured as the main service room, and the other service rooms may be configured as alternative service rooms.
[0063] In this embodiment, the same main service room can be configured for the communication services of the same service operator corresponding to different service areas. For example, the same main service room can be configured for the communication services of China Mobile corresponding to Beijing, Tianjin, and Hebei Province. In other words, the same main service room corresponds to only one service operator, but can correspond to multiple service areas.
[0064] Step S304: according to the main service room of each service operator corresponding to each service area, the service areas having the same main service room are merged to obtain a plurality of merged areas.
[0065] For example, if it is detected that the main service rooms of China Mobile (service operator) corresponding to Beijing, Tianjin, and Hebei Province (each service area) are all "Ali-Beijing-Mobile", the three service areas of Beijing, Tianjin, and Hebei can be merged to obtain a merged area.
[0066] Step S306: Execute resource deployment according to the multiple service areas in each merged area, the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period, and the network resource configuration information of the main service room of each merged area to obtain the network resource deployment result of each main service room corresponding to each predicted aggregation period.
[0067] In some embodiments, any one of the merged areas can be determined as the current merged area, the main service room of the current merged area can be determined as the current service room, the service operator corresponding to the current service room can be determined as the current service operator, and each service area falling into the current merged area can be determined as the current service area.
[0068] Exemplarily, the merged area consisting of the three service areas of Beijing, Tianjin and Hebei Province can be determined as the current merged area, the main service room of the current merged area (for example, Alibaba-Beijing-Mobile) can be determined as the current service room, the service operator corresponding to the current service room (China Mobile) can be determined as the current service operator, and each service area falling into the current merged area (i.e., Beijing, Tianjin, Hebei) can be determined as the current service area.
[0069] For any current predicted aggregation period in each predicted aggregation period, the predicted bandwidth value of each current service area of the current service operator corresponding to the current predicted aggregation period can be merged to obtain the merged bandwidth value of the current service room corresponding to the current predicted aggregation period. By repeatedly performing this step, the merged bandwidth value of the current service room corresponding to each predicted aggregation period can be obtained.
[0070] Exemplarily, when the current predicted aggregation period is 11 o'clock, the three predicted bandwidth values corresponding to 11 o'clock of Beijing Mobile, Tianjin Mobile and Hebei Mobile can be merged to obtain the merged bandwidth value corresponding to 11 o'clock of the current service room; when the current predicted aggregation period is 12 o'clock, the three predicted bandwidth values corresponding to 12 o'clock of Beijing Mobile, Tianjin Mobile and Hebei Mobile can be merged to obtain the merged bandwidth value of the current service room corresponding to 12 o'clock, and so on, to obtain the merged bandwidth value of the current service room corresponding to each hour.
[0071] Resource deployment can be performed according to the network resource configuration information of the current service room and the combined bandwidth value of the current service room corresponding to each predicted aggregation period to obtain the network resource deployment result of the current service room corresponding to each predicted aggregation period.
[0072] In some embodiments, the network resource configuration information of the current service room includes, but is not limited to, configuration information such as server specifications and the number of servers in the current service room.
[0073] For example, when the duration of each predicted aggregation period is 1 hour, the servers in the current service room can be deployed according to the combined bandwidth value of the current service room corresponding to each hour and the specifications and quantity of servers configured in the current service room to meet the dynamic bandwidth usage requirements.
[0074] To sum up, the network resource deployment method of this embodiment detects the main server room corresponding to each service area of each service operator to merge the predicted bandwidth of each service area with the same main server room, and implements the coordinated deployment of network resources based on this, which can optimize the scheduling cost of network resources and improve the utilization rate of network resources.
[0075] Figure 4 The structural block diagram of the network resource deployment device of the exemplary embodiment of the present disclosure is shown. As shown in the figure, the network resource deployment device 400 of this embodiment includes:
[0076] Aggregation module 402, configured to perform data aggregation on each actual bandwidth value according to each reference aggregation period in the reference period and each collection timestamp, service area, and service operator of each actual bandwidth value in the reference period, to obtain an aggregated bandwidth value corresponding to each reference aggregation period for each service area of each service operator;
[0077] The prediction module 404 is used to perform prediction on the bandwidth usage demand of each predicted aggregation period in the prediction period according to the aggregated bandwidth value of each service area of each service operator corresponding to each reference aggregation period, so as to obtain the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period, wherein each predicted aggregation period in the prediction period corresponds to each reference aggregation period in the reference period;
[0078] The deployment module 406 is used to perform resource deployment according to the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period and the network resource configuration information of each service operator corresponding to each service area, and obtain the network resource deployment result of each service area of each service operator corresponding to each predicted aggregation period.
[0079] In some embodiments, the aggregation module 402 is further used to: determine a reference period of the prediction period, wherein the prediction period is a detection period in consecutive detection periods following the reference period; obtain multiple actual bandwidth values within the reference period, and respective acquisition timestamps and IP addresses of the actual bandwidth values; perform conversion according to the IP address of each actual bandwidth value to obtain the service area and service operator of each actual bandwidth value.
[0080] In some embodiments, the aggregation module 402 is also used to: determine any service area as a target area, determine any service operator as a target operator, and determine any reference aggregation period as a target aggregation period; determine each target bandwidth value in each actual bandwidth value according to the target area, the target operator, the target aggregation period, and the collection timestamp, service area, and service operator of each actual bandwidth value in the reference period, wherein the collection timestamp of each target bandwidth value falls within the target aggregation period, the service area of each target bandwidth value matches the target area, and the service operator of each target bandwidth value matches the target operator; determine the aggregate bandwidth value of the target area of the target operator corresponding to the target aggregation period according to the maximum value of each target bandwidth value.
[0081] In some embodiments, the aggregation module 402 is also used to: determine multiple intermediate aggregation time periods within the target aggregation time period; based on any intermediate aggregation time period and the acquisition timestamp of each target bandwidth value, determine the maximum value of the target bandwidth values whose acquisition timestamp falls into any intermediate aggregation time period as the intermediate bandwidth value of the any intermediate aggregation time period; determine the maximum value of the intermediate bandwidth values as the aggregate bandwidth value of the target area of the target operator corresponding to the target aggregation time period.
[0082] In some embodiments, the deployment module 406 is also used to: detect the main service room corresponding to each service area of each service operator; merge the service areas with the same main service room according to the main service room corresponding to each service area of each service operator to obtain multiple merged areas; perform resource deployment according to the multiple service areas in each merged area, the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation time period, and the network resource configuration information of the main service room of each merged area to obtain the network resource deployment result of each main service room corresponding to each predicted aggregation time period.
[0083] In some embodiments, the deployment module 406 is also used to: determine any one of the merged areas as the current merged area, determine the main service room of the current merged area as the current service room, determine the service operator corresponding to the current service room as the current service operator, and determine each service area falling into the current merged area as the current service area; for any predicted aggregation time period, merge the predicted bandwidth value of each current service area of the current service operator corresponding to the any predicted aggregation time period to obtain the merged bandwidth value of the current service room corresponding to the any predicted aggregation time period; perform resource deployment according to the network resource configuration information of the current service room and the merged bandwidth value of the current service room corresponding to each predicted aggregation time period to obtain the network resource deployment result of the current service room corresponding to each predicted aggregation time period.
[0084] In some embodiments, the network resource configuration information includes at least: server specification information and server quantity information.
[0085] The embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the network resource deployment method described in each exemplary embodiment of the present disclosure.
[0086] The exemplary embodiments of the present disclosure also provide an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program that can be executed by the at least one processor, and when the computer program is executed by the at least one processor, the electronic device executes the network resource deployment method according to each exemplary embodiment of the present disclosure.
[0087] Please refer to Figure 5 , a block diagram of an electronic device 500 that can serve as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0088] like Figure 5As shown, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0089] A plurality of components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, an output unit 507, a storage unit 508, and a communication unit 509. The input unit 506 may be any type of device capable of inputting information to the electronic device 500, and the input unit 506 may receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 507 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 508 may include, but is not limited to, a disk, an optical disk. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0090] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above. For example, in some embodiments, the network resource deployment method as described above may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via the ROM 502 and / or the communication unit 509. In some embodiments, the computing unit 501 may be configured to perform the network resource deployment method described above in any other appropriate manner (e.g., by means of firmware).
[0091] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0092] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0093] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0094] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0095] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0096] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and the server relationship is generated by computer programs running on respective computers and having a client-server relationship with each other.
[0097] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present disclosure can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present disclosure.
[0098] The above implementation methods are only used to illustrate the embodiments of the present disclosure, and are not limitations of the embodiments of the present disclosure. Ordinary technicians in the relevant technical field may make various changes and modifications without departing from the spirit and scope of the embodiments of the present disclosure. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present disclosure. The scope of patent protection of the embodiments of the present disclosure should be defined by the claims.
Claims
1. A network resource deployment method, include: According to the collection timestamps, service areas, and service operators of the reference aggregation time periods and the actual bandwidth values in the reference period, data aggregation is performed on the actual bandwidth values to obtain the aggregated bandwidth value of each service area of each service operator corresponding to each reference aggregation time period; According to the aggregated bandwidth value corresponding to each reference aggregation period of each service area of each service operator, predicting the bandwidth usage demand of each predicted aggregation period within the prediction period, to obtain the predicted bandwidth value corresponding to each predicted aggregation period of each service area of each service operator, wherein each predicted aggregation period within the prediction period corresponds to each reference aggregation period within the reference period; Resource deployment is performed according to the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period and the network resource configuration information of each service operator corresponding to each service area, so as to obtain the network resource deployment result of each service area of each service operator corresponding to each predicted aggregation period.
2. The method according to claim 1, in, The method further comprises: Determining a reference period of the prediction period, wherein the prediction period is a detection period following the reference period in consecutive detection periods; Acquire multiple actual bandwidth values within the reference period, and respective acquisition timestamps and IP addresses of the actual bandwidth values; Conversion is performed according to the IP address of each actual bandwidth value to obtain the service area and service operator of each actual bandwidth value.
3. The method according to claim 1, in, The performing data aggregation on each actual bandwidth value according to each reference aggregation period in the reference period and each collection timestamp, service area, and service operator of each actual bandwidth value in the reference period to obtain an aggregated bandwidth value corresponding to each reference aggregation period for each service area of each service operator includes: Determine any service area as a target area, determine any service operator as a target operator, and determine any reference aggregation period as a target aggregation period; Determine each target bandwidth value in each actual bandwidth value according to the target area, the target operator, the target aggregation period, and the respective acquisition timestamps, service areas, and service operators of each actual bandwidth value within the reference period, wherein the acquisition timestamp of each target bandwidth value falls within the target aggregation period, the service area of each target bandwidth value matches the target area, and the service operator of each target bandwidth value matches the target operator; According to the maximum value of each target bandwidth value, an aggregate bandwidth value of the target area of the target operator corresponding to the target aggregation period is determined.
4. The method according to claim 3, in, The determining, according to the maximum value of each target bandwidth value, the aggregate bandwidth value of the target area of the target operator corresponding to the target aggregation period includes: determining a plurality of intermediate aggregation time periods within the target aggregation time period; According to any intermediate aggregation period and the acquisition timestamp of each target bandwidth value, a maximum value of the target bandwidth values whose acquisition timestamp falls into the any intermediate aggregation period is determined as the intermediate bandwidth value of the any intermediate aggregation period; The maximum value among the intermediate bandwidth values is determined as the aggregate bandwidth value of the target area of the target operator corresponding to the target aggregation period.
5. The method according to claim 1, in, The performing resource deployment according to the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period and the network resource configuration information of each service operator corresponding to each service area, and obtaining the network resource deployment result of each service area of each service operator corresponding to each predicted aggregation period, includes: Detecting the main service room of each service operator corresponding to each service area; According to the main service room corresponding to each service area of each service operator, the service areas having the same main service room are merged to obtain a plurality of merged areas; According to the multiple service areas in each merged area, the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period, and the network resource configuration information of the main service room of each merged area, resource deployment is performed to obtain the network resource deployment result of each main service room corresponding to each predicted aggregation period.
6. The method according to claim 5, in, The method of performing resource deployment according to the multiple service areas in each merged area, the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period, and the network resource configuration information of the main service room of each merged area to obtain the network resource deployment result of each main service room corresponding to each predicted aggregation period includes: Determine any one of the merged areas as the current merged area, determine the main service room of the current merged area as the current service room, determine the service operator corresponding to the current service room as the current service operator, and determine each service area falling into the current merged area as the current service area; For any predicted aggregation period, merging the predicted bandwidth value of each current service area of the current service operator corresponding to the any predicted aggregation period to obtain the combined bandwidth value of the current service room corresponding to the any predicted aggregation period; Resource deployment is performed according to the network resource configuration information of the current service room and the combined bandwidth value of the current service room corresponding to each predicted aggregation period to obtain the network resource deployment result of the current service room corresponding to each predicted aggregation period.
7. The method according to claim 6, in, The network resource configuration information at least includes: server specification information and server quantity information.
8. A network resource deployment device, include: an aggregation module, configured to perform data aggregation on each actual bandwidth value according to each reference aggregation period in a reference cycle and each collection timestamp, service area, and service operator of each actual bandwidth value in the reference cycle, so as to obtain an aggregated bandwidth value corresponding to each reference aggregation period for each service area of each service operator; A prediction module, configured to predict bandwidth usage requirements of each predicted aggregation period within a prediction period according to the aggregated bandwidth value of each service area of each service operator corresponding to each reference aggregation period, so as to obtain a predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period, wherein each predicted aggregation period within the prediction period corresponds to each reference aggregation period within the reference period; The deployment module is used to perform resource deployment according to the predicted bandwidth value of each service area of each service operator corresponding to each predicted aggregation period and the network resource configuration information of each service operator corresponding to each service area, so as to obtain the network resource deployment result of each service area of each service operator corresponding to each predicted aggregation period.
9. An electronic device, include: processor; as well as Memory for storing programs, The program includes instructions, and when the instructions are executed by the processor, the processor executes the network resource deployment method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, It is characterized in that The computer instructions are used to enable the computer to execute the network resource deployment method according to any one of claims 1 to 7.
Citation Information
Cited By
Bandwidth resource planning method and apparatus, computer device, readable storage medium, and program product
WO2026113973A1
