Model training method, device and network traffic prediction method and device

Through neural network model training and prediction of community network traffic, it solves the problem of existing technology being unable to predict and allocate community network traffic for which no request has been made, and realizes intelligent network resource allocation to meet the network needs of different regions.

CN116232923BActive Publication Date: 2024-08-23CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211666559.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-23
Publication Date
2024-08-23
Estimated Expiration
2042-12-23

AI Technical Summary

Technical Problem

The existing technology cannot effectively predict and allocate the network traffic of cells that have not made requests, resulting in the inability to meet the network needs of different areas.

Method used

The neural network model training method is used to determine the network traffic prediction model whose loss value meets the preset conditions through iterative training, predict future network traffic based on the historical data of the target community, and allocate network resources based on the prediction results.

Benefits of technology

There is no need to determine the time and location of activities in advance. It can automatically predict community network traffic, realize intelligent allocation of network resources, meet user needs, and improve the utilization efficiency of network resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116232923B
    Figure CN116232923B
Patent Text Reader

Abstract

The present application relates to the field of communication technology, and in particular to a model training method, device, and network traffic prediction method and device, which can predict and allocate network resources for locations where no request has been made. The method includes: determining a first training parameter and a second training parameter; wherein the first training parameter is a network traffic parameter of at least one cell within a first preset time period, and the second training parameter is a network traffic parameter of at least one cell within a second preset time period; inputting the first training parameter and the second training parameter into the current neural network model for iterative training until the loss value of the current neural network model meets the preset conditions; determining that the current neural network model is a network traffic prediction model; the network traffic prediction model is used to predict the network traffic parameters of the target cell in the target time period based on the input historical network traffic parameters of the target cell. The present application is used in the model training and network traffic prediction process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a model training method and device, and a network traffic prediction method and device. Background Art

[0002] In the carrier allocation method of related technologies, most operators first determine the time and location of large-scale activities, and the network side makes a guarantee request for the location, and then the front-line operation and maintenance personnel allocate resources to the location at the specified time. This method can only allocate network resources to the location that makes the request. For the location that does not make the request, network resources cannot be allocated and the needs of different areas cannot be predicted. Therefore, how to predict the network traffic of a cell has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The present application provides a model training method and device as well as a network traffic prediction method and device, which can predict the network traffic of a cell.

[0004] In order to achieve the above objectives, this application adopts the following technical solutions:

[0005] In a first aspect, the present application provides a model training method, the method comprising: determining a first training parameter and a second training parameter; wherein the first training parameter is a network traffic parameter of at least one cell within a first preset time period, and the second training parameter is a network traffic parameter of at least one cell within a second preset time period; inputting the first training parameter and the second training parameter into a current neural network model for iterative training until a loss value of the current neural network model meets a preset condition; wherein the loss value is used to characterize an error value between the second training parameter and an output result; the output result is a network traffic parameter of at least one cell within a second preset time period predicted by the current neural network model based on the first training parameter and the second training parameter; determining the current neural network model as a network traffic prediction model; the network traffic prediction model is used to predict the network traffic parameters of a target cell in a target time period based on the input historical network traffic parameters of the target cell.

[0006] In combination with the first aspect, in a possible implementation method, the first training parameter and the second training parameter are input into the current neural network model for iterative training until the loss value of the current neural network model meets the preset conditions, including: step 1, input the first training parameter and the second training parameter into the current neural network model to determine the output result of the current neural network model; step 2, determine the loss value of the current neural network model based on the output result and the second training parameter; step 3, determine whether the loss value of the current neural network model meets the preset conditions; step 4, if so, use the current neural network model as a network traffic prediction model; step 5, if not, adjust the model parameters of the current neural network model according to the loss value; step 6, use the current neural network model after adjusting the parameters as the current neural network model, and iteratively execute steps 1, step 2, step 3, step 4, step 5, and step 6 until the loss value of the current neural network model meets the preset conditions.

[0007] In combination with the first aspect, in a possible implementation, the network traffic parameters include h parameters; the output layer of the current neural network model includes h output layer nodes; the h output layer nodes correspond one-to-one to the h parameters; i output layer nodes are used to output the i-th parameter predicted by the current neural network model; h and i are positive integers; based on the output result and the second training parameter, the loss value of the current neural network model is determined, including: determining the loss value of each output node in the h output layer nodes; wherein the loss value of the i-th node is determined based on the output result of the i-th node and the i-th parameter in the second training parameter; the sum of the loss values ​​of each output node is the loss value of the current neural network model.

[0008] In combination with the first aspect, in a possible implementation, the hidden layer of the current neural network model includes q hidden layer nodes; the h-th hidden layer node among the q hidden layer nodes includes a model parameters; the a model parameters correspond one-to-one to the a output layer nodes; q and a are positive integers; according to the loss value, the model parameters of the current neural network model are adjusted, including: adjusting the value of the j-th model parameter of the h-th hidden layer node to: the current value of the j-th model parameter of the h-th hidden layer node, and the sum of the loss value of the j-th output layer node; j is a positive integer.

[0009] In a second aspect, the present application provides a network traffic prediction method, the method comprising: obtaining network traffic parameters of a target cell within a third preset time period; inputting the network traffic parameters of the target cell within the third preset time period into a network traffic prediction model, and determining the network traffic parameters of the target cell within a fourth preset time period; wherein the network traffic prediction model is a network traffic prediction model trained according to the model method of the first aspect.

[0010] In combination with the second aspect, in a possible implementation method, the network traffic parameters of the target cell within the fourth preset time period include the network traffic parameters of each time interval; after determining the network traffic parameters of the target cell within the fourth preset time period, it includes: determining that the target cell whose network traffic parameter within the fourth preset time period is greater than the first preset threshold and less than the second preset threshold is a reduced capacity cell; determining that the target cell whose network traffic parameter within the fourth preset time period is greater than the second preset threshold is an expanded capacity cell; and allocating the carrier resources to be allocated of the reduced capacity cell to the expanded capacity cell.

[0011] In a third aspect, the present application provides a model training device, which includes: a processing unit; a processing unit, used to determine a first training parameter and a second training parameter; wherein the first training parameter is a network traffic parameter of at least one cell within a first preset time period, and the second training parameter is a network traffic parameter of at least one cell within a second preset time period; the processing unit is also used to input the first training parameter and the second training parameter into a current neural network model for iterative training until the loss value of the current neural network model meets a preset condition; wherein the loss value is used to characterize the error value between the second training parameter and the output result; the output result is the network traffic parameter of at least one cell within the second preset time period predicted by the current neural network model based on the first training parameter and the second training parameter; the processing unit is also used to determine that the current neural network model is a network traffic prediction model; the network traffic prediction model is used to predict the network traffic parameters of the target cell in the target time period based on the input historical network traffic parameters of the target cell.

[0012] In combination with the third aspect, in a possible implementation, the processing unit is specifically used to perform the following steps: Step 1, input the first training parameter and the second training parameter into the current neural network model to determine the output result of the current neural network model; Step 2, determine the loss value of the current neural network model based on the output result and the second training parameter; Step 3, determine whether the loss value of the current neural network model meets the preset conditions; Step 4, if it meets, use the current neural network model as a network traffic prediction model; Step 5, if it does not meet, adjust the model parameters of the current neural network model according to the loss value; Step 6, use the current neural network model after adjusting the parameters as the current neural network model, and iteratively execute steps 1, step 2, step 3, step 4, step 5, and step 6 until the loss value of the current neural network model meets the preset conditions.

[0013] In combination with the third aspect, in a possible implementation, the network traffic parameters include h parameters; the output layer of the current neural network model includes h output layer nodes; the h output layer nodes correspond one-to-one to the h parameters; the i output layer nodes are used to output the i-th parameter predicted by the current neural network model; h and i are positive integers; the processing unit is also used to determine the loss value of each output node in the h output layer nodes; wherein the loss value of the i-th node is determined based on the output result of the i-th node and the i-th parameter in the second training parameters; the sum of the loss values ​​of each output node is the loss value of the current neural network model.

[0014] In combination with the third aspect, in a possible implementation method, the hidden layer of the current neural network model includes q hidden layer nodes; the h-th hidden layer node among the q hidden layer nodes includes a model parameters; the a model parameters correspond one-to-one to the a output layer nodes; q and a are positive integers; the processing unit is also used to adjust the value of the j-th model parameter of the h-th hidden layer node to: the current value of the j-th model parameter of the h-th hidden layer node, and the sum of the loss value of the j-th output layer node; j is a positive integer.

[0015] In a fourth aspect, the present application provides a network traffic prediction device, which includes: a processing unit and an acquisition unit; the acquisition unit is used to obtain the network traffic parameters of the target cell within a third preset time period; the processing unit is used to input the network traffic parameters of the target cell within the third preset time period into a network traffic prediction model to determine the network traffic parameters of the target cell within a fourth preset time period; wherein the network traffic prediction model is a network traffic prediction model trained according to the model method of the first aspect.

[0016] In combination with the fourth aspect, in a possible implementation method, the network traffic parameters of the target cell within a fourth preset time period include network traffic parameters of each time interval; the processing unit is also used to determine that a target cell whose network traffic parameter within the fourth preset time period is greater than a first preset threshold and less than a second preset threshold is a reduced capacity cell; determine that a target cell whose network traffic parameter within the fourth preset time period is greater than the second preset threshold is an expanded capacity cell; and allocate the carrier resources to be allocated of the reduced capacity cell to the expanded capacity cell.

[0017] In a fifth aspect, the present application provides an electronic device, comprising: a processor and a communication interface; the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the model training method described in the first aspect and any possible implementation method of the first aspect.

[0018] In a sixth aspect, the present application provides an electronic device, comprising: a processor and a communication interface; the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement a network traffic prediction method as described in the second aspect and any possible implementation method of the second aspect.

[0019] In the seventh aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal, the terminal executes the model training method described in the first aspect and any possible implementation of the first aspect.

[0020] In an eighth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal, the terminal executes the network traffic prediction method described in the second aspect and any possible implementation of the second aspect.

[0021] In this application, the names of the above electronic devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalent technologies.

[0022] These and other aspects of the present application will become more apparent from the following description.

[0023] Based on the above technical solution, in the model training method provided by the embodiment of the present application, the model training device first determines the first training parameter and the second training parameter, and inputs the first training parameter and the second training parameter into the current neural network model for iterative training until the loss value of the current neural network model meets the preset conditions, then the current neural network model is determined to be a network traffic prediction model, and the network traffic prediction model can predict the network traffic parameters of the target cell in the target time period based on the input historical network traffic parameters of the target cell; the model training method proposed in the present application does not require the operator to determine the time and place of the activity in advance and make a request before deployment. The method can predict the network traffic of the cell through the model training device, and deploy network resources according to the predicted network traffic to ensure the user's network needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of the structure of an electronic device provided in this application;

[0025] Figure 2 A flowchart of a model training method provided for this application;

[0026] Figure 3 A flowchart of another model training method provided for this application;

[0027] Figure 4 A flowchart of a network traffic prediction method provided by this application;

[0028] Figure 5 A schematic diagram of the structure of a model training device provided in this application;

[0029] Figure 6 A schematic diagram of the structure of a network traffic prediction device provided by the present application;

[0030] Figure 7 A schematic diagram of the structure of another electronic device provided in this application. DETAILED DESCRIPTION

[0031] The model training method, device and network traffic prediction method and device provided in the embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0032] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0033] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0034] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0035] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0036] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may be a model training device or a network traffic prediction device. Figure 1As shown, the electronic device 100 includes at least one processor 101, a communication line 102, and at least one communication interface 104, and may also include a memory 103. The processor 101, the memory 103 and the communication interface 104 may be connected via the communication line 102.

[0037] The processor 101 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA).

[0038] The communication link 102 may include a pathway for transmitting information between the above-mentioned components.

[0039] The communication interface 104 is used to communicate with other devices or communication networks, and can use any transceiver-like device, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.

[0040] The memory 103 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to include or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0041] In one possible design, the memory 103 can exist independently of the processor 101, that is, the memory 103 can be a memory outside the processor 101. In this case, the memory 103 can be connected to the processor 101 through the communication line 102, and is used to store execution instructions or application code, and the processor 101 controls the execution to implement the network quality determination method provided in the following embodiment of the present application. In another possible design, the memory 103 can also be integrated with the processor 101, that is, the memory 103 can be the internal memory of the processor 101, for example, the memory 103 is a high-speed cache, which can be used to temporarily store some data and instruction information, etc.

[0042] As an implementation method, the processor 101 may include one or more CPUs, for example Figure 1 As another implementation, the data transmission 100 may include multiple processors, such as Figure 1 As another implementation, the data transmission 100 may further include an output device 105 and an input device 106.

[0043] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the network node is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, module and network node described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0044] At present, a method for adaptively allocating carriers of a base station device and a base station are proposed in the relevant technology. The method first predicts the number of carriers required for a cell; then, based on the predicted number of carriers required for the cell and the allocatable carrier resources, the cell to which the carrier is to be allocated is determined in accordance with the principle of satisfying the maximum number of cells that need to add carriers; and the carrier is allocated to the cell to which the carrier is to be allocated.

[0045] The carrier allocation methods of related technologies mostly first determine the time and location of the large-scale event, and the network side makes a guarantee request for the location. Then the front-line operation and maintenance personnel allocate the network resources required for the location to the local access network equipment at the specified time. When the event is over, the operation and maintenance personnel release or restore the local network resources to their original state. This method requires the operator to conduct advance research and approval before carrier allocation, and requires the operation and maintenance personnel to operate the network element management system. The large number of processes involved leads to low allocation efficiency, and it cannot adapt to tidal scenarios with large geographical spans.

[0046] In order to solve the problems in the prior art, the present application provides a Figure 2 The model training method shown. The method includes: determining a first training parameter and a second training parameter through a model training device, inputting the first training parameter and the second training parameter into the current neural network model for iterative training until the loss value of the current neural network model meets a preset condition, and then the model training device determines that the current neural network model is a network traffic prediction model.

[0047] like Figure 2 As shown, it is a flow chart of a model training method provided in an embodiment of the present application. The model training method provided in an embodiment of the present application can be applied to the following Figure 1 In the electronic device shown, the model training method provided in the embodiment of the present application can be implemented through the following steps.

[0048] Step 201: The model training device determines a first training parameter and a second training parameter.

[0049] The first training parameter is a network traffic parameter of at least one cell within a first preset time period, and the second training parameter is a network traffic parameter of at least one cell within a second preset time period.

[0050] In a possible implementation, the data required by the model training device can be synchronized from the wireless performance data collection system and the industrial parameter data collection system to the distributed file (Hadoop Distributed File System, HDFS) system of the source database in real time through the File Transfer Protocol (FTP) synchronization method or the message subscription collection method. The main data involves hourly data of base stations on the wireless network side, industrial parameter information of base stations, cell geographic information and other data, such as uplink utilization (Physical Uplink Shared Channel, PUSCH), downlink utilization PDSCH, downlink utilization PDCCH, average number of effective radio resource control connection reestablishment requests (Radio Resource Control, RRC) connections, PRB (permeable Reactive Barriers) utilization, user perception number, etc.

[0051] During the training parameter construction process, the model training device selects the data of the past 28 days from the source database HDFS system as training samples, and constructs the first training parameters and the second training parameters in combination with the geographical information of the base station distribution.

[0052] It is worth noting that the network traffic parameters can be cell KPI data, the first training parameter can be the cell PRB utilization, uplink traffic, and downlink traffic in the past 7 days to the past 28 days, and the second training parameter can be the cell PRB utilization, uplink traffic, and downlink traffic in the past 7 days.

[0053] Step 202: The model training device inputs the first training parameter and the second training parameter into the current neural network model for iterative training until the loss value of the current neural network model meets a preset condition.

[0054] Among them, the loss value is used to characterize the error value between the second training parameter and the output result; the output result is the network traffic parameter of at least one cell within the second preset time period predicted by the current neural network model based on the first training parameter and the second training parameter.

[0055] In one possible implementation, the implementation process of the above step 202 may be: the model training device inputs the first training parameter and the second training parameter into the current neural network model to determine the output result; the model training device calculates the loss value based on the output result and the second training parameter. If the loss value is greater than a preset value, the first training parameter and the second training parameter are iteratively trained until the loss value meets the preset conditions.

[0056] Optionally, the parameters input into the current neural network model may also include time dimension information and geographic dimension information.

[0057] Exemplarily, the input data structure of the first training parameter and the second training parameter may be [batch_size xin_seq_len (sequence information), and the input data structure of the time dimension information and the geographic dimension information may be batch_size x n_features (time, city, etc.). Correspondingly, the output data structure of the current neural network model may be [batch_size x out_seq_len], and the output data result is the prediction result of the cell indicator trend of a single city in the next 48 hours.

[0058] Optionally, the activation parameter in the input data structure uses the ReLU function to prevent the gradient from disappearing; Batch Normalization is used to assist in fast parameter adjustment to make the training converge quickly; the loss function uses the Mean AbsoluteError function; residual connections are introduced into the model to increase the robustness of the model; learning rate warm up and attenuation mechanisms are introduced to reduce the oscillation of the training process; Dropout and early stopping mechanisms are introduced to prevent overfitting of the model.

[0059] Step 203: The model training device determines that the current neural network model is a network traffic prediction model.

[0060] The network traffic prediction model is used to predict the network traffic parameters of the target cell in the target time period according to the input historical network traffic parameters of the target cell.

[0061] In a possible implementation, the implementation process of the above step 203 may be: when the loss value meets the preset conditions, the model training device determines that the current neural network model is a network traffic prediction model.

[0062] The above solution brings at least the following beneficial effects:

[0063] Based on the above technical solution, in the model training method provided by the embodiment of the present application, the model training device first determines the first training parameter and the second training parameter, and inputs the first training parameter and the second training parameter into the current neural network model for iterative training until the loss value of the current neural network model meets the preset conditions, then the current neural network model is determined to be a network traffic prediction model, and the network traffic prediction model can predict the network traffic parameters of the target cell in the target time period based on the input historical network traffic parameters of the target cell; the model training method proposed in the present application does not require the operator to determine the time and place of the activity in advance and make a request before deployment. The method can predict the network traffic of the cell through the model training device, and deploy network resources according to the predicted network traffic to ensure the user's network needs.

[0064] In one possible implementation, combining Figure 2 ,like Figure 3 As shown, the above step 202, inputting the first training parameter and the second training parameter into the current neural network model for iterative training until the loss value of the current neural network model meets the preset conditions, can be specifically implemented by the following steps 301-306, which are described in detail below:

[0065] Step 301: The model training device inputs the first training parameter and the second training parameter into the current neural network model to determine the output result of the current neural network model.

[0066] In a possible implementation, the hidden layer of the current neural network model includes q hidden layer nodes; the hth hidden layer node among the q hidden layer nodes includes a model parameters; the a model parameters correspond one-to-one to the a output layer nodes; q and a are positive integers.

[0067] In one example, the q hidden layer nodes can be q hidden layer neurons. First, the model training device determines the cell PRB utilization, uplink traffic, and downlink traffic for nearly 21 days and the cell PRB utilization, uplink traffic, and downlink traffic for nearly 7 days as input vector matrices and inputs them into the neural network model. Specifically, the output results of the q hidden layer neurons can be determined by Formula 1.

[0068] The output results of q hidden layer neurons satisfy the following formula 1:

[0069]

[0070] Among them, Bq represents the output results of q hidden layer neurons; d represents the number of input vector matrices; v iq Represents the weight value of each input vector from the input layer to the hidden layer; x i Represents the i-th input vector; θ q Bias variables representing q hidden layer neurons.

[0071] Optionally, the input vector matrix may also include time dimension information and geographic dimension information.

[0072] As a possible implementation method, the network traffic parameters include h parameters; the output layer of the current neural network model includes h output layer nodes; the h output layer nodes correspond one-to-one to the h parameters; the i output layer nodes are used to output the i-th parameter predicted by the current neural network model; h and i are positive integers.

[0073] In another example, the model training device determines the output result of the current neural network model based on the output results of q hidden layer neurons, which can be specifically implemented by Formula 2.

[0074]

[0075] Among them, Y h represents the output result of the current neural network model; q represents the number of neurons in the hidden layer; w qh Represents the weight value of each hidden layer neuron from the hidden layer to the output layer; B q Represents the output result of q hidden layer neurons; θ h Bias variables representing h output layer neurons.

[0076] Step 302: The model training device determines the loss value of the current neural network model based on the output result and the second training parameter.

[0077] As a possible implementation method, the model training device determines the loss value of each output node in the h output layer nodes; wherein the loss value of the i-th node is determined based on the output result of the i-th node and the i-th parameter in the second training parameter; the sum of the loss values ​​of each output node is the loss value of the current neural network model.

[0078] In one example, network traffic parameters include PRB utilization, uplink traffic, and downlink traffic; the output layer of the current neural network model includes a first output layer node, a second output layer node, and a third output layer node; the first output layer node is used to output the PRB utilization predicted by the current neural network model; the second output layer node is used to output the uplink traffic predicted by the current neural network model; and the third output layer node is used to output the downlink traffic predicted by the current neural network model.

[0079] Furthermore, the model training device determines the loss value E1 of the first output layer node of the current neural network model according to the output result of the first output layer node and the PRB utilization rate of the second training parameter. For example, if the output result of the first output layer node is y1 and the PRB utilization rate of the second training set is t1, then the loss value E1 of the first output layer node can be specifically realized by formula 3:

[0080]

[0081] The model training device determines the loss value E2 of the second output layer node of the current neural network model according to the output result of the second output layer node and the uplink flow of the second training parameter.

[0082] The model training device determines the loss value E3 of the third output layer node of the current neural network model according to the output result of the third output layer node and the downlink flow of the second training parameter.

[0083] Similarly, the loss value E2 of the second output layer node and the loss value E3 of the third output layer node can both be achieved by their corresponding formula 3.

[0084] The model training device determines the sum of the loss value of the first output layer node, the loss value of the second output layer node, and the loss value of the third output layer node as the loss value E of the current neural network model. For example: E=E1+E2+E3.

[0085] Step 303: The model training device determines whether the loss value of the current neural network model meets the preset conditions.

[0086] Step 304: If satisfied, the model training device uses the current neural network model as a network traffic prediction model.

[0087] In one possible implementation, if the loss value of the current neural network model is less than a preset condition, the model training device determines the current neural network model as a network traffic prediction model.

[0088] Step 305: If not satisfied, the model training device adjusts the model parameters of the current neural network model according to the loss value.

[0089] In one possible implementation, the model training device adjusts the value of the jth model parameter of the hth hidden layer node to: the sum of the current value of the jth model parameter of the hth hidden layer node and the loss value of the jth output layer node; j is a positive integer.

[0090] In combination with the example in step 302, if the loss value of the current neural network model is greater than or equal to the preset value, the model training device first adjusts the weight values ​​of the h output layer nodes to the q hidden layer nodes in the current neural network model according to the loss value.

[0091] The model training device determines the weight deviation from the first output node to the hth hidden layer node, and the weight deviation satisfies the following formula: ΔW 1h =E1(a); where a is the learning rate.

[0092] The model training device adjusts the weight value from the first output node to the hth hidden layer node, and the weight deviation ΔW 1h With the previous weight W 1h Add to determine the adjusted weight value W from the first output node to the hth hidden layer node 1h The model training device determines the weight deviation from the first output node to each hidden layer node in the same way, and readjusts the weight value W from the first output node to each hidden layer node. 1h '.

[0093] It can be understood that the model training device adjusts the weight value from each output node to each hidden layer node in the same manner as described above.

[0094] Step 306: The model training device uses the current neural network model after adjusting the parameters as the current neural network model, and iteratively executes steps 301, 302, 303, 304, 305, and 306 until the loss value of the current neural network model meets the preset conditions.

[0095] In one possible implementation, after the model training device adjusts the weight value from each output node to each hidden layer node, it iteratively executes step 301, step 302, step 303, step 304, step 305, and step 306. If the loss value of the current neural network model is still greater than or equal to the preset condition, the model training device adjusts the weight value from each hidden layer node to each input layer in the same manner as step 305, and iteratively executes step 30, step 302, step 303, step 304, step 305, and step 306. If the loss value of the current neural network model is still greater than or equal to the preset condition.

[0096] The above describes in detail how the model training device inputs the first training parameter and the second training parameter into the current neural network model for iterative training until the loss value of the current neural network model meets the preset conditions.

[0097] In one possible implementation, combining Figure 2 ,like Figure 4 As shown, after the above step 203 determines that the current neural network model is a network traffic prediction model, how the network traffic prediction device predicts and allocates network traffic can be specifically implemented through the following steps 401-405.

[0098] Step 401: The network traffic prediction device obtains network traffic parameters of a target cell within a third preset time period.

[0099] In one example, the network traffic parameters within the third preset time period may be data such as PRB utilization, uplink traffic, and downlink traffic of the target cell 28 days before the current time.

[0100] Step 402: The network traffic prediction device inputs the network traffic parameters of the target cell within the third preset time period into the network traffic prediction model to determine the network traffic parameters of the target cell within the fourth preset time period.

[0101] The network traffic prediction model is a network traffic prediction model trained according to the model method of steps 201 to 203 and steps 301 to 306.

[0102] In one example, the fourth preset time period is the next 48 hours.

[0103] The network traffic prediction device inputs data such as PRB utilization rate, uplink traffic, and downlink traffic of the target cell in the third preset time period into the network traffic prediction model. The network traffic prediction model determines the output result of the hidden layer of the network traffic prediction model according to formula 1 in step 301, and then determines the output result of the output layer of the network traffic prediction model according to formula 2. Finally, the network traffic prediction model outputs the PRB utilization rate, uplink traffic, and downlink traffic of the target cell in the next 48 hours.

[0104] Step 403: The network traffic prediction device determines that the target cell whose network traffic parameter in the fourth preset time period is greater than the first preset threshold and less than the second preset threshold is a capacity reduction cell.

[0105] In one example, the network traffic prediction device selects cells with a lower limit of 30% to an upper limit of 70% as cells that can be reduced in capacity based on the PRB utilization rate of the target cell in the next forty-eight hours.

[0106] Exemplarily, the number of carriers that can be allocated to the capacity reduction cell is determined according to the uplink traffic and downlink traffic of the capacity reduction cell.

[0107] Step 404: The network traffic prediction device determines that the target cell whose network traffic parameter in the fourth preset time period is greater than the second preset threshold is a capacity expansion cell.

[0108] In one example, the network traffic prediction device selects cells with a PRB utilization rate greater than 70% as cells that need to be expanded based on the PRB utilization rate of the target cell in the next 48 hours.

[0109] Exemplarily, the number of carriers required for the expanded cell is determined according to the uplink traffic and downlink traffic of the expanded cell.

[0110] Step 405: The network traffic prediction device allocates the carrier resources to be allocated in the capacity reduction cell to the capacity expansion cell.

[0111] Combined with the examples in the above steps 403 and 404, after the network traffic prediction device determines the cells to be expanded and the cells to be reduced, it configures the execution time of the task, for example, it is deployed between 8 and 9 in the morning, and combined with the address location information of the base station, it is deployed as close as possible. The network traffic prediction device will deploy the carrier of the cell that can be reduced to the cell that needs to be expanded between 8 and 9.

[0112] Exemplarily, the network traffic prediction device has been configured with the OMC capacity reduction MMA instruction template involving the cell equipment. A task executor is provided in the network traffic prediction device. The task executor detects that the current time is the task execution time, fills in the instruction template in combination with the base station construction information, and sends a capacity reduction instruction to the OMC. When the result is returned as normal, the next step is executed, otherwise the step is rolled back and the network management personnel are notified through the system SMS interface and then the process ends.

[0113] Correspondingly, when the network traffic prediction device executes this step, it fills in the instruction template based on the equipment information and sends the expansion instruction to the OMC. It ends when the result returns normal, otherwise it rolls back this step and the previous step and notifies the network administrator through the system SMS interface before ending.

[0114] In one possible implementation, in order to ensure that the predicted data is as accurate as possible, the network traffic prediction model will regularly obtain updated network traffic parameters of the target cell within a third preset time period, and output the updated network traffic parameters of the target cell within a fourth preset time period, and then repeat the above steps 302-306 in sequence.

[0115] The embodiment of the present application can divide the electronic device into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division, and there may be other division methods in actual implementation.

[0116] like Figure 5 As shown, it is a structural schematic diagram of a model training device provided by an embodiment of the present application, and the device includes: a processing unit 501; the processing unit 501 is used to determine a first training parameter and a second training parameter; wherein the first training parameter is a network traffic parameter of at least one cell within a first preset time period, and the second training parameter is a network traffic parameter of at least one cell within a second preset time period; the processing unit 501 is also used to input the first training parameter and the second training parameter into the current neural network model for iterative training until the loss value of the current neural network model meets the preset conditions; wherein the loss value is used to characterize the error value between the second training parameter and the output result; the output result is the network traffic parameter of at least one cell within the second preset time period predicted by the current neural network model based on the first training parameter and the second training parameter; the processing unit 501 is also used to determine that the current neural network model is a network traffic prediction model; the network traffic prediction model is used to predict the network traffic parameter of the target cell in the target time period based on the input historical network traffic parameter of the target cell.

[0117] Optionally, the processing unit 501 is specifically used to perform the following steps: Step 1, input the first training parameter and the second training parameter into the current neural network model to determine the output result of the current neural network model; Step 2, determine the loss value of the current neural network model based on the output result and the second training parameter; Step 3, determine whether the loss value of the current neural network model meets the preset conditions; Step 4, if so, use the current neural network model as a network traffic prediction model; Step 5, if not, adjust the model parameters of the current neural network model according to the loss value; Step 6, use the current neural network model after adjusting the parameters as the current neural network model, and iteratively execute steps 1, 2, 3, 4, 5, and 6 until the loss value of the current neural network model meets the preset conditions.

[0118] Optionally, the network traffic parameters include h parameters; the output layer of the current neural network model includes h output layer nodes; the h output layer nodes correspond one-to-one to the h parameters; the i output layer nodes are used to output the i-th parameter predicted by the current neural network model; the processing unit 501 is also used to determine the loss value of each output node in the h output layer nodes; wherein the loss value of the i-th node is determined based on the output result of the i-th node and the i-th parameter in the second training parameters; the sum of the loss values ​​of each output node is the loss value of the current neural network model.

[0119] Optionally, the hidden layer of the current neural network model includes q hidden layer nodes; the h-th hidden layer node among the q hidden layer nodes includes l model parameters; the l model parameters correspond one-to-one to l output layer nodes; the processing unit 501 is also used to adjust the value of the j-th model parameter of the h-th hidden layer node to: the current value of the j-th model parameter of the h-th hidden layer node, and the sum of the loss value of the j-th output layer node.

[0120] Optionally, the model training device may further include a communication unit 502. The model training device may communicate with other devices (eg, a network traffic prediction device) via the communication unit 502.

[0121] like Figure 6 As shown, it is a structural schematic diagram of a network traffic prediction device provided in an embodiment of the present application, and the device includes: a processing unit 601 and an acquisition unit 602; the acquisition unit 602 is used to obtain the network traffic parameters of the target cell within a third preset time period; the processing unit 601 is used to input the network traffic parameters of the target cell within the third preset time period into a network traffic prediction model to determine the network traffic parameters of the target cell within a fourth preset time period; wherein the network traffic prediction model is a network traffic prediction model trained according to the model method of the first aspect.

[0122] Optionally, the network traffic parameters of the target cell within the fourth preset time period include network traffic parameters of each time interval; the processing unit 601 is also used to determine that the target cell whose network traffic parameter within the fourth preset time period is greater than the first preset threshold and less than the second preset threshold is a capacity reduction cell; determine that the target cell whose network traffic parameter within the fourth preset time period is greater than the second preset threshold is an capacity expansion cell; and allocate the carrier resources to be allocated of the capacity reduction cell to the capacity expansion cell.

[0123] When implemented by hardware, the communication unit 502 or the acquisition unit 602 in the embodiment of the present application can be integrated on the communication interface, and the processing unit 501 or the processing unit 601 can be integrated on the processor. Figure 7 shown.

[0124] Figure 7 Another possible structural diagram of the electronic device involved in the above-mentioned embodiment is shown. The electronic device includes: a processor 702 and a communication interface 703. The processor 702 is used to control and manage the actions of the electronic device, for example, to execute the steps performed by the above-mentioned processing unit 501 or processing unit 601, and / or to execute other processes of the technology described in this document. The communication interface 703 is used to support the communication between the electronic device and other network entities, for example, to execute the steps performed by the above-mentioned communication unit 502 or acquisition unit 602. The electronic device may also include a memory 701 and a bus 704, and the memory 701 is used to store the program code and data of the electronic device.

[0125] Among them, the memory 701 can be a memory in an electronic device, etc. The memory may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above types of memory.

[0126] The processor 702 may be a processor that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0127] The bus 704 may be an Extended Industry Standard Architecture (EISA) bus, etc. The bus 704 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0128] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0129] An embodiment of the present application provides a computer program product comprising instructions. When the computer program product is run on a computer, the computer is enabled to execute the model training method or the network traffic prediction method in the above method embodiment.

[0130] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the model training method or network traffic prediction method in the method flow shown in the above method embodiment.

[0131] Among them, the computer readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a register, a hard disk, 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 above, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0132] Since the electronic device, computer-readable storage medium, and computer program product in the embodiments of the present invention can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present invention will not be described in detail here.

[0133] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0134] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0135] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0136] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A model training method, It is characterized in that Applied to a prediction model, the method comprises: Determine a first training parameter and a second training parameter; wherein the first training parameter is a network traffic parameter of at least one cell within a first preset time period, and the second training parameter is a network traffic parameter of the at least one cell within a second preset time period; Inputting the first training parameter and the second training parameter into the current neural network model for iterative training until the loss value of the current neural network model meets a preset condition; wherein the loss value is used to characterize the error value between the second training parameter and the output result; and the output result is the network traffic parameter of the at least one cell in the second preset time period predicted by the current neural network model according to the first training parameter and the second training parameter; Determining that the current neural network model is a network traffic prediction model; the network traffic prediction model is used to predict the network traffic parameters of the target cell in a target time period according to the input historical network traffic parameters of the target cell; The hidden layer of the current neural network model includes q hidden layer nodes; the hth hidden layer node among the q hidden layer nodes includes a model parameters; the a model parameters correspond one-to-one to a output layer nodes; q and a are positive integers; The method further comprises: The value of the jth model parameter of the hth hidden layer node is adjusted to: the sum of the current value of the jth model parameter of the hth hidden layer node and the loss value of the jth output layer node; j is a positive integer.

2. The method according to claim 1, It is characterized in that The step of inputting the first training parameter and the second training parameter into the current neural network model for iterative training until the loss value of the current neural network model meets a preset condition includes: Step 1: input the first training parameter and the second training parameter into the current neural network model to determine the output result of the current neural network model; Step 2: determining the loss value of the current neural network model according to the output result and the second training parameter; Step 3: Determine whether the loss value of the current neural network model meets the preset condition; Step 4: If satisfied, the current neural network model is used as the network traffic prediction model; Step 5: If not satisfied, adjust the model parameters of the current neural network model according to the loss value; Step 6: Use the current neural network model after adjusting the parameters as the current neural network model, and iteratively execute steps 1, 2, 3, 4, 5, and 6 until the loss value of the current neural network model meets the preset conditions.

3. The method according to claim 2, It is characterized in that The network traffic parameters include h parameters; the output layer of the current neural network model includes h output layer nodes; the h output layer nodes correspond one-to-one to the h parameters; the i output layer nodes are used to output the i-th parameter predicted by the current neural network model; h and i are positive integers; Determining the loss value of the current neural network model according to the output result and the second training parameter includes: Determine the loss value of each output node in the h output layer nodes; wherein the loss value of the i-th node is determined according to the output result of the i-th node and the i-th parameter in the second training parameter; The sum of the loss values ​​of each output node is the loss value of the current neural network model.

4. A network traffic prediction method, It is characterized in that include: Obtaining network traffic parameters of the target cell within a third preset time period; The network traffic parameters of the target cell within a third preset time period are input into a network traffic prediction model to determine the network traffic parameters of the target cell within a fourth preset time period; wherein the network traffic prediction model is a network traffic prediction model trained according to the model method according to any one of claims 1-3.

5. The method according to claim 4, It is characterized in that The network traffic parameters of the target cell within the fourth preset time period include network traffic parameters of each time interval; After determining the network traffic parameter of the target cell within the fourth preset time period, the method further includes: Determine that a target cell whose network traffic parameter in a fourth preset time period is greater than a first preset threshold and less than a second preset threshold is a capacity reduction cell; Determine that a target cell whose network traffic parameter in a fourth preset time period is greater than the second preset threshold is a capacity expansion cell; The carrier resources to be allocated of the capacity reduction cell are allocated to the capacity expansion cell.

6. A model training device, It is characterized in that The device comprises: a processing unit; The processing unit is used to determine a first training parameter and a second training parameter; wherein the first training parameter is a network traffic parameter of at least one cell within a first preset time period, and the second training parameter is a network traffic parameter of the at least one cell within a second preset time period; The processing unit is further used to input the first training parameter and the second training parameter into the current neural network model for iterative training until the loss value of the current neural network model meets a preset condition; wherein the loss value is used to characterize the error value between the second training parameter and the output result; and the output result is the network traffic parameter of the at least one cell in the second preset time period predicted by the current neural network model according to the first training parameter and the second training parameter; The processing unit is further used to determine that the current neural network model is a network traffic prediction model; the network traffic prediction model is used to predict the network traffic parameters of the target cell in the target time period according to the input historical network traffic parameters of the target cell; The hidden layer of the current neural network model includes q hidden layer nodes; the hth hidden layer node among the q hidden layer nodes includes a model parameters; the a model parameters correspond one-to-one to a output layer nodes; q and a are positive integers; The processing unit is also used to adjust the value of the jth model parameter of the hth hidden layer node to: the sum of the current value of the jth model parameter of the hth hidden layer node and the loss value of the jth output layer node; j is a positive integer.

7. The device according to claim 6, It is characterized in that The processing unit is specifically configured to perform the following steps: Step 1: input the first training parameter and the second training parameter into the current neural network model to determine the output result of the current neural network model; Step 2: determining the loss value of the current neural network model according to the output result and the second training parameter; Step 3: Determine whether the loss value of the current neural network model meets the preset condition; Step 4: If satisfied, the current neural network model is used as the network traffic prediction model; Step 5: If not satisfied, adjust the model parameters of the current neural network model according to the loss value; Step 6: Use the current neural network model after adjusting the parameters as the current neural network model, and iteratively execute steps 1, 2, 3, 4, 5, and 6 until the loss value of the current neural network model meets the preset conditions.

8. The device according to claim 7, It is characterized in that The network traffic parameters include h parameters; the output layer of the current neural network model includes h output layer nodes; the h output layer nodes correspond one-to-one to the h parameters; the i output layer nodes are used to output the i-th parameter predicted by the current neural network model; h and i are positive integers; The processing unit is further used to determine the loss value of each output node in the h output layer nodes; wherein the loss value of the i-th node is determined according to the output result of the i-th node and the i-th parameter in the second training parameter; The sum of the loss values ​​of each output node is the loss value of the current neural network model.

9. A network traffic prediction device, It is characterized in that Processing unit and acquisition unit; The acquisition unit is used to acquire the network traffic parameters of the target cell within a third preset time period; The processing unit is used to input the network traffic parameters of the target cell within a third preset time period into a network traffic prediction model to determine the network traffic parameters of the target cell within a fourth preset time period; wherein the network traffic prediction model is a network traffic prediction model trained according to the model method according to any one of claims 1-3.

10. The device according to claim 9, It is characterized in that The network traffic parameters of the target cell within the fourth preset time period include network traffic parameters of each time interval; The processing unit is further configured to determine that a target cell whose network traffic parameter in a fourth preset time period is greater than a first preset threshold and less than a second preset threshold is a capacity reduction cell; Determine that a target cell whose network traffic parameter in a fourth preset time period is greater than the second preset threshold is a capacity expansion cell; The carrier resources to be allocated of the capacity reduction cell are allocated to the capacity expansion cell.

11. An electronic device, It is characterized in that include: A processor and a communication interface; the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the model training method or network traffic prediction method as described in any one of claims 1 to 5.

12. A computer-readable storage medium having stored therein instructions, It is characterized in that When the processor executes the instruction, the processor executes the model training method or network traffic prediction method described in any one of claims 1-5.