Business data prediction method, device, electronic device and storage medium
By combining the restricted Boltzmann machine RBM network and the back propagation BP neural network, the parameters of the business data prediction model are optimized, which solves the problem of unstable parameter updates caused by operators' diverse scenarios and missing data, and improves the accuracy of business data prediction. reliability and stability, providing a reliable basis for network slicing scheduling.
Patent Information
- Application Number
- CN202211426576.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-15
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-11-15
AI Technical Summary
In the case of diverse operator scenarios and missing data, the parameter updates of existing business data prediction models are unstable, resulting in the inability to effectively extract business feature data and affecting the accuracy of network slicing scheduling.
The method of combining the restricted Boltzmann machine RBM network and the back propagation BP neural network is used to optimize the model parameters through feature extraction and feedback of prediction data to achieve continuous optimization and stability improvement of the model parameters. Specific steps include: inputting the initial business data into the RBM network for feature extraction, obtaining business feature data, and then inputting it into the BP neural network for prediction, using the predicted data to replace the original data, and iterating repeatedly until the preset conditions are met, and optimizing the network parameters.
Through the error feedback iteration method, model parameters are corrected, the stability of model parameter update and prediction accuracy are improved, the needs of different communication business scenarios are adapted, and the instability caused by data loss is reduced.
Smart Images

Figure CN115913991B
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile communication technology, and in particular to a service data prediction method, device, electronic device and storage medium. Background Art
[0002] With the development of information technology, data prediction is involved in more and more scenarios, such as the various application scenarios emerging in the future fifth-generation mobile communication technology (5G) network, including three typical application scenarios: enhanced mobile broadband, large-scale machine-type communication, and ultra-high reliability and low-latency communication. It is necessary to extract business data features based on current business data and predict the changing trend of future business data, so as to realize the scheduling of network slices.
[0003] In the prior art, business data can be predicted based on a public-proprietary feature joint learning prediction model. The public-proprietary feature joint learning prediction model includes three sub-modules: a public feature prediction module, a proprietary feature prediction module and a fusion module. Specifically, the public feature prediction module obtains the overall distribution trend of each cell service through joint learning. Correspondingly, the proprietary feature prediction module learns the specificity of the business distribution through local training. Furthermore, the fusion module fuses the prediction results of the above two sub-modules to obtain fused business feature data.
[0004] However, due to the large number of scenarios of operators, it is difficult for the proprietary feature prediction module to extract business feature data. In addition, in the case of missing data, the prediction results corresponding to the public feature prediction module and the proprietary feature prediction module may not be able to be integrated, making the update of model parameters unstable. Summary of the invention
[0005] The present application provides a business data prediction method, device, electronic device and storage medium, which are used to solve the problem that it is difficult to extract business feature data due to the large number of scenarios of operators, and the update of model parameters is unstable when data is missing.
[0006] In a first aspect, the present application provides a business data prediction method, the method comprising:
[0007] Acquire initial service data, and arbitrarily select first data from the initial service data, input the initial service data into a restricted Boltzmann machine (RBM) network for feature extraction, and obtain first service feature data;
[0008] Inputting the first service feature data into a back propagation BP neural network for prediction to obtain first prediction data, and using the first prediction data to replace the first data in the initial service data to obtain second data;
[0009] Inputting the second data into the RBM network for feature extraction to obtain second service feature data, and inputting the second service feature data into the BP neural network for prediction to obtain second prediction data;
[0010] The second prediction data is compared with the first data to obtain a comparison result, and based on the comparison result, the corresponding parameters of the RBM network and the BP neural network are optimized, and the business data is predicted using the optimized RBM network and BP neural network.
[0011] Optionally, the initial service data is input into a restricted Boltzmann machine (RBM) network for feature extraction to obtain first service feature data, including:
[0012] Initialize and set the parameters corresponding to each layer of the neural network of the restricted Boltzmann machine RBM network to obtain an N-layer initial neural network, where the N-layer initial neural network corresponds to a feature extraction order, and N is a positive integer greater than 2;
[0013] The initial business data is input into the N-layer initial neural network, and feature extraction is performed in sequence based on the feature extraction order to obtain first business feature data.
[0014] Optionally, inputting the first service feature data into a back propagation BP neural network for prediction to obtain first prediction data includes:
[0015] Initialize the parameters corresponding to the input layer, hidden layer and output layer of the back propagation BP neural network respectively to obtain the first input layer, the first hidden layer and the first output layer;
[0016] Obtaining a first weight value corresponding to the first input layer to the first hidden layer and a second weight value corresponding to the first hidden layer to the first output layer;
[0017] The first service feature data is input into the first input layer, and first prediction data is calculated based on the first weight value and the second weight value.
[0018] Optionally, optimizing parameters corresponding to the RBM network and the BP neural network based on the comparison result includes:
[0019] Determining whether the comparison result meets a preset condition;
[0020] If so, obtaining parameters corresponding to the RBM network and the BP neural network, and optimizing the RBM network and the BP neural network using the parameters;
[0021] If not, the parameters corresponding to the RBM network and the BP neural network are modified, and the business data is processed again using the RBM network and the BP neural network with the modified parameters until the comparison result obtained meets the preset conditions.
[0022] Optionally, the business data is processed again using the RBM network and BP neural network with modified parameters until the comparison result obtained meets the preset conditions, including:
[0023] arbitrarily selecting third data from the second data, and inputting the second data into the RBM network after parameter correction to perform feature extraction, so as to obtain third service feature data;
[0024] Input the third service characteristic data into the BP neural network after parameter correction for prediction to obtain third prediction data, and use the third prediction data to replace the third data in the second data to obtain fourth data;
[0025] The third prediction data is compared with the third data to obtain a comparison result, and it is determined whether the comparison result meets a preset condition.
[0026] Optionally, the optimized RBM network and BP neural network are used to predict business data, including:
[0027] The optimized RBM network and BP neural network are obtained, and the initial business data are sequentially input into the optimized RBM network and BP neural network to predict the business data and obtain prediction results.
[0028] Optionally, the method further includes:
[0029] For each network slice within the scheduling period, the initial service data corresponding to the network slice is obtained, and the service data is predicted based on the optimized RBM network and BP neural network and the initial service data;
[0030] Obtain the prediction results corresponding to each network slice, and determine the target network slice to be scheduled based on the prediction results, and use the target network slice to transmit business data.
[0031] In a second aspect, the present application further provides a service data prediction device, the device comprising:
[0032] A first input module is used to obtain initial service data, and arbitrarily select first data from the initial service data, input the initial service data into a restricted Boltzmann machine (RBM) network for feature extraction, and obtain first service feature data;
[0033] A second input module is used to input the first service feature data into a back propagation BP neural network for prediction to obtain first prediction data, and use the first prediction data to replace the first data in the initial service data to obtain second data;
[0034] A third input module is used to input the second data into the RBM network for feature extraction to obtain second service feature data, and input the second service feature data into the BP neural network for prediction to obtain second prediction data;
[0035] The optimization module is used to compare the second prediction data with the first data to obtain a comparison result, and optimize the parameters corresponding to the RBM network and the BP neural network based on the comparison result, and use the optimized RBM network and BP neural network to predict business data.
[0036] In a third aspect, the present application further provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0037] The memory stores computer-executable instructions;
[0038] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspects.
[0039] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.
[0040] In summary, the present application provides a business data prediction method, device, electronic device and storage medium, which can obtain initial business data, and arbitrarily select first data from the initial business data, input the initial business data into a restricted Boltzmann machine (RBM) network for feature extraction to obtain first business feature data; further, input the first business feature data into a back propagation BP neural network for prediction to obtain first prediction data, and use the first prediction data to replace the first data in the initial business data to obtain second data; further, input the second data into the RBM network for feature extraction to obtain second business feature data, and input the second business feature data into the BP neural network for prediction to obtain second prediction data; further, by comparing the second prediction data with the first data, a comparison result is obtained, and based on the comparison result, the corresponding parameters of the RBM network and the BP neural network are optimized, and then the optimized RBM network and BP neural network can be used to predict business data, so that the model parameters are continuously optimized, and the model parameters are continuously iterated by adopting a feedback method to achieve correction of model parameters and improve the stability of model parameter updating. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0042] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0043] Figure 2 A schematic diagram of a prediction model provided;
[0044] Figure 3 A flowchart of a business data prediction method provided in an embodiment of the present application;
[0045] Figure 4 A schematic diagram of the structure of an RBM network provided in an embodiment of the present application;
[0046] Figure 5 A schematic diagram of a structure for extracting service feature data based on a multi-layer RBM network provided in an embodiment of the present application;
[0047] Figure 6 A schematic diagram of a structure for business prediction based on a BP neural network provided in an embodiment of the present application;
[0048] Figure 7 A schematic diagram of a process for optimizing model parameters provided in an embodiment of the present application;
[0049] Figure 8A technical roadmap for a business data prediction method provided in an embodiment of the present application;
[0050] Fig. 9 A schematic diagram of the structure of a business data prediction device provided in an embodiment of the present application;
[0051] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0052] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0053] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0054] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first device and the second device are only used to distinguish different devices, and their order is not limited. Those skilled in the art can understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit them to be different.
[0055] It should be noted that, in this 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 this 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.
[0056] In the present application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes 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, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0057] In the future 5G networks, a variety of application scenarios will emerge, among which the three typical application scenarios are enhanced mobile broadband (eMBB), massive machine type communication (mMTC) and ultra-reliable low-latency communications (uRLLC). Different application scenarios have different requirements in terms of mobility, security, latency and reliability. The existing network is difficult to meet the needs of all application scenarios. It is not realistic to build multiple different physical networks for different application scenarios because of the huge cost. Therefore, network slicing can be used to adapt to the needs of different application scenarios.
[0058] Network slicing is a network slice built on demand on a physical infrastructure using technologies such as Software Defined Network (SDN) and Network Function Virtualization (NFV). Different network slices are isolated from each other, and congestion, overload, and configuration adjustment of any network slice will not affect other network slices. Therefore, by creating different network slices according to the characteristics of different services and application scenarios, and using appropriate resource allocation methods, control management mechanisms, and operation strategies, different network architectures can be implemented to ensure the performance requirements of application scenarios, improve user experience and network resource utilization. Specifically, based on current business data, business data features can be extracted to predict future business data change trends, thereby achieving network slicing scheduling.
[0059] The embodiments of the present application are introduced below with reference to the accompanying drawings. Figure 1A schematic diagram of an application scenario provided in an embodiment of the present application. A business data prediction method provided in the present application can be applied to the following examples: Figure 1 In the application scenario shown. The application scenario includes: a cell 101, a base station 102 and a service data processing platform 103; specifically, the service data processing platform 103 can obtain service data such as traffic data corresponding to the cell 101 from the base station 102. Further, the service data processing platform 103 can use the service prediction adaptive update algorithm to perform nonlinear fitting on the traffic data of the cell 101, that is, input the traffic data into the restricted Boltzmann Machines (RBM) network to quickly obtain the features of the traffic data, and input the features into the back propagation (BP) neural network for prediction to obtain the predicted data. Further, the predicted data is used as input, and the predicted data is obtained again through the RBM network and the BP neural network, and compared with the original traffic data to obtain the residual, and the parameters of the RBM network and the BP neural network are optimized according to the residual. Further, the optimized RBM network and the BP neural network are used to predict the service data to obtain the prediction result of the cell 101. The prediction result provides a basis for network slicing scheduling to meet the requirements of different application scenarios of different communication services for network performance.
[0060] In this way, by continuously iterating the above-mentioned error feedback method, the model parameters can be corrected and the problem of being unable to determine parameters due to missing data can be reduced. The algorithm for adaptively updating business prediction can also improve the randomness and accuracy of business data processing in the cell. When there is missing data, there is a certain gap in the features extracted in time, and the model parameters can also be updated.
[0061] In one possible implementation, after extracting the features, the business volume can be predicted in combination with deep learning methods. For example, business data can be predicted based on a public-proprietary feature joint learning prediction model, wherein public features are suitable for federated learning and proprietary features are suitable for local learning. The public-proprietary feature joint learning prediction model includes three sub-modules: a public feature prediction module, a proprietary feature prediction module and a fusion module. Specifically, the public feature prediction module corresponding to each cell obtains the overall distribution trend of the business of each cell through joint learning, while the proprietary feature prediction module corresponding to each cell learns the specificity of the business distribution through local training. Furthermore, the fusion module fuses the prediction results of the above two sub-modules to obtain fused business feature data, thereby improving the effectiveness of the model.
[0062] Specifically, Figure 2 A schematic diagram of the framework of a prediction model is provided; Figure 2As shown in FIG. 1 , the prediction model corresponds to a public-proprietary feature joint learning prediction model. Specifically, the edge server module obtains the service data of each cell, processes the service data using the public-proprietary feature joint learning prediction model, and sends the processing results to the central controller module. The central controller module updates the parameters based on the processing results of multiple edge server modules obtained, and interacts with the edge server modules for parameters, such as ω1 and g, ω2 and g, ω n-1 and g, etc., further, the edge server module updates the local parameters based on the parameter interaction process, and the central controller module updates the local parameters based on the formula Update global parameters; wherein, the process of processing business data through the public-proprietary feature joint learning prediction model includes the training of public features by the public feature prediction module and the training of private features by the proprietary feature prediction module, and then the training results are fused through the fusion module to obtain fused business feature data.
[0063] However, due to the large number of application scenarios of operators, it is not easy to extract business feature data from the cell's proprietary feature prediction module. This is because for some cells with very small business volumes, such as cells that have no data at many time points, there is a problem of missing data. In the case of missing data, public features and proprietary features cannot be integrated during training, making the update of model parameters unstable.
[0064] In response to the above problems, the present application proposes a business data prediction method, which can extract the features of business data through the RBM network, and then form a business prediction through the BP neural network to obtain predicted data. Furthermore, the predicted data is used as input, and is predicted again by the RBM network and the BP neural network to obtain the predicted value of the original data. The predicted value is compared with the original data to obtain the residual. Further, the parameters of the model are optimized according to the residual, and the model parameters are continuously optimized by iteration, so that the optimal model is selected to predict the business data. The obtained prediction results provide a basis for reasonable slice scheduling and improve the accuracy of the prediction. The above method uses the error feedback method to continuously iterate, realizes the correction of model parameters, and reduces the occurrence of unstable update of model parameters caused by data missing.
[0065] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0066] Figure 3 A flow chart of a business data prediction method provided in an embodiment of the present application is shown as follows: Figure 3 As shown, the business data prediction method includes the following steps:
[0067] S301, obtaining initial business data, and arbitrarily selecting first data from the initial business data, inputting the initial business data into a restricted Boltzmann machine (RBM) network for feature extraction, and obtaining first business feature data.
[0068] In the embodiment of the present application, the RBM network is a randomly generated neural network that can learn probability distribution by inputting a data set, and is a probability model that describes the conditional independence relationship between multivariate random variables. Figure 4 A schematic diagram of the structure of an RBM network provided in an embodiment of the present application is shown in FIG. Figure 4 As shown in Figure 1, the RBM network consists of two layers of neurons, the first layer is the visible layer, and the second layer is the hidden layer. The visible layer b consists of t visible nodes, namely (h1, h2, ...h m ), the hidden layer c consists of m hidden nodes, namely (a1, a2, …a t ), w is the weight matrix of visible nodes and hidden nodes of order t×m.
[0069] Specifically, the bias of the visible node of the visual layer is: b = (b1, b2, ... b t ), the bias of the hidden node of the hidden layer is: c = (c1, c2, ... c m ), then the hidden node value from the visible node to the hidden node can be calculated by formula 1, and the node value from the hidden node to the visible node can be calculated by formula 2. Formula 1 is as follows:
[0070]
[0071] Formula 2 is as follows:
[0072]
[0073] In this way, based on Formula 1 and Formula 2, through a certain period of training, the parameters (w, c, b) corresponding to the RBM network can be quickly trained, so that feature extraction can be performed on real-time business data.
[0074] It should be noted that the first service characteristic data may refer to vectors obtained by each neuron corresponding to the hidden layer.
[0075] In this step, you can obtain initial business data such as (a1, a2, ...a t), and input the initial business data into the RBM network for feature extraction to obtain first business feature data such as three feature vectors (z1, z2), (z3, z4), and (z5, z6), wherein it is also necessary to arbitrarily select first data such as a1 from the initial business data, and the first data is an arbitrary value in the initial business data.
[0076] S302: Input the first service feature data into a back propagation BP neural network for prediction to obtain first prediction data, and use the first prediction data to replace the first data in the initial service data to obtain second data.
[0077] In an embodiment of the present application, the BP neural network includes an input layer, a hidden layer and an output layer. The input layer corresponds to the input information, each node in the hidden layer is used to receive different weights of the input layer, and perform weighted calculation by controlling the weights. The output layer is responsible for outputting the result, that is, the neurons in the output layer are weighted according to the characteristics of the hidden layer and the result of the weight to obtain the recognition result, that is, the first prediction data.
[0078] In this step, based on the three feature vectors (z1, z2), (z3, z4), (z5, z6) obtained in S301 and the arbitrarily selected first data a1, the three feature vectors are input into the BP neural network for prediction to obtain the first prediction data such as a1. t+1 , and using a t+1 Replace (a1, a2, ...a t ), we get (a2, a3, ...a t+1 ).
[0079] S303: Input the second data into the RBM network for feature extraction to obtain second service feature data, and input the second service feature data into the BP neural network for prediction to obtain second prediction data.
[0080] In this step, based on the second data (a2, a3, ... a t+1 ), the second data is input into the RBM network for feature extraction, and the second business feature data is obtained as three feature vectors (v1, v2), (v3, v4), (v5, v6), and (v1, v2), (v3, v4), (v5, v6) are input into the BP neural network for prediction, and the second prediction data is obtained as
[0081] S304: Compare the second prediction data with the first data to obtain a comparison result, optimize the parameters corresponding to the RBM network and the BP neural network based on the comparison result, and use the optimized RBM network and BP neural network to predict business data.
[0082] In this step, based on the second prediction data in S301-S303 With the first data a1, Compare with a1 to obtain the residual, further, feed the residual back to the RBM network and the BP neural network, so that the RBM network and the BP neural network optimize the parameters of the entire model (i.e., the RBM network and the BP neural network) based on the residual, and further, determine whether the residual meets the preset condition, such as the preset condition is less than the preset threshold. If not, continue to execute S301-S304 until the comparison result meets the preset condition. If so, use the optimized RBM network and BP neural network to predict the business data.
[0083] It should be noted that if S301-S304 is executed again, the initial business data obtained is the second data corresponding to the last execution of S301-S304, and the embodiment of the present application does not limit the specific numerical values corresponding to the preset conditions and preset thresholds. In the above embodiment, the contents corresponding to the initial business data, first data, first business characteristic data, first prediction data, second data, second business characteristic data, and second prediction data are only examples, and the present application does not make specific limitations on this.
[0084] Therefore, the present application provides a business data prediction method, which can obtain initial business data, and arbitrarily select first data from the initial business data, input the initial business data into a restricted Boltzmann machine (RBM) network for feature extraction to obtain first business feature data; further, input the first business feature data into a back-propagation BP neural network for prediction to obtain first prediction data, and use the first prediction data to replace the first data in the initial business data to obtain second data; further, input the second data into the RBM network for feature extraction to obtain second business feature data, and input the second business feature data into the BP neural network for prediction to obtain second prediction data; further, by comparing the second prediction data with the first data, a comparison result is obtained, and based on the comparison result, the corresponding parameters of the RBM network and the BP neural network are optimized, and then the optimized RBM network and BP neural network can be used to predict business data, so that the model parameters are continuously optimized, and the model parameters are continuously iterated by adopting a feedback method to achieve correction of the model parameters and improve the stability of the model parameter update.
[0085] Optionally, the initial service data is input into a restricted Boltzmann machine (RBM) network for feature extraction to obtain first service feature data, including:
[0086] Initialize and set the parameters corresponding to each layer of the neural network of the restricted Boltzmann machine RBM network to obtain an N-layer initial neural network, where the N-layer initial neural network corresponds to a feature extraction order, and N is a positive integer greater than 2;
[0087] The initial business data is input into the N-layer initial neural network, and feature extraction is performed in sequence based on the feature extraction order to obtain first business feature data.
[0088] In the embodiment of the present application, initializing the parameters corresponding to each layer of the neural network of the RBM network may refer to the process of initializing the weight parameters of a deep BP network, wherein the embodiment of the present application does not specifically limit the number of layers of the neural network included in the RBM network.
[0089] In this step, Figure 5 A schematic diagram of a structure for extracting service feature data based on a multi-layer RBM network provided in an embodiment of the present application, such as Figure 5 As shown in Figure 1, each layer of RBM is trained from the bottom layer to the top layer so that as much original feature information as possible can be retained when the feature vector is mapped to different feature spaces.
[0090] Specifically, the corresponding parameters of each layer of the RBM network are initialized. That is, if the RBM network has L layers of RBM neural networks, from bottom to top, the weight matrices of each layer of nodes to the previous layer of nodes are: W0, W1, ..., W L-2 , the biases are: (b1, b2, …b t ), the input data (business data) of the visible layer corresponding to the bottom layer is: A0 = (a1, a2, ..., a t ), the output of the jth neuron in the second layer can be calculated by formula 3, which is as follows:
[0091]
[0092] Therefore, the outputs of all neurons in the second layer can be calculated using Formula 3. Furthermore, all outputs of neurons in the second layer are used as input to calculate the outputs of neurons in the next layer. Since data is transmitted layer by layer from the bottom layer to the upper layer, the output of the jth neuron in the lth layer can be calculated based on Formula 4 as follows:
[0093]
[0094] Among them, a i represents the output of the i-th neuron in layer l-1, which is p(h(l-1)i =1).
[0095] Since the RBM network has L layers, the output of the jth neuron in the last hidden layer can be calculated by formula 5, that is, the first service feature data is calculated based on formula 5, which are (h L1 ,h L2 ,...,h Lj ,...,h Ln ), Formula 5 is as follows:
[0096]
[0097] Among them, a i = p(h (l-1)i =1).
[0098] It should be noted that the weights in each layer of the RBM network corresponding to the layer can be optimally mapped to the feature vector of that layer.
[0099] Therefore, the embodiment of the present application obtains data features based on the RBM network. The RBM network has many advantages in obtaining features compared to other feature extractors, such as having the advantage of good nonlinear fitting, being able to quickly obtain the features of business data, and quickly extracting the gaps in features of initial business data.
[0100] Optionally, inputting the first service feature data into a back propagation BP neural network for prediction to obtain first prediction data includes:
[0101] Initialize the parameters corresponding to the input layer, hidden layer and output layer of the back propagation BP neural network respectively to obtain the first input layer, the first hidden layer and the first output layer;
[0102] Obtaining a first weight value corresponding to the first input layer to the first hidden layer and a second weight value corresponding to the first hidden layer to the first output layer;
[0103] The first service feature data is input into the first input layer, and first prediction data is calculated based on the first weight value and the second weight value.
[0104] In the embodiment of the present application, initializing the parameters corresponding to the input layer, hidden layer and output layer of the BP neural network may refer to the process of initializing the neural network weights corresponding to the input layer, hidden layer and output layer of the BP neural network.
[0105] In this step, Figure 6 A schematic diagram of a structure for business prediction based on BP neural network provided in an embodiment of the present application is shown as follows: Figure 6As shown, taking the output of the multi-layer RBM network as the input of the BP neural network as an example, the input data of the input layer is: H0 = (h L1 ,h L2 ,...,h Lj ,...,h Ln ), the bias is b1, the number of neurons in the hidden layer is m, the bias is b2, and the output data corresponding to the hidden layer is: C0 = (c1, c2, ..., c m ), the weight value from the input layer to the hidden layer is W 111 ,W 112 ,...,W 1nm , the weight value from the hidden layer to the output layer is: W 21 ,W 22 ,W 2m .
[0106] Specifically, the corresponding input layer, hidden layer and output layer can be obtained by initializing the setting of the network parameters of the BP neural network. Further, the weight value from the input layer to the hidden layer and the weight value from the hidden layer to the output layer can be obtained. Then, the input corresponding to the jth neuron in the hidden layer is: Furthermore, the output of the jth neuron in the hidden layer is calculated using Formula 6, which is the activation function. Formula 6 is as follows:
[0107]
[0108] Furthermore, for the hidden layer to the output layer, the first prediction data is calculated using Formula 7, which is as follows:
[0109]
[0110] Therefore, the embodiment of the present application calculates and predicts data based on the BP neural network, which can quickly fit the changing trend of business data and improve the processing rate.
[0111] Optionally, optimizing parameters corresponding to the RBM network and the BP neural network based on the comparison result includes:
[0112] Determining whether the comparison result meets a preset condition;
[0113] If so, obtaining parameters corresponding to the RBM network and the BP neural network, and optimizing the RBM network and the BP neural network using the parameters;
[0114] If not, the parameters corresponding to the RBM network and the BP neural network are modified, and the business data is processed again using the RBM network and the BP neural network with the modified parameters until the comparison result obtained meets the preset conditions.
[0115] In an embodiment of the present application, the preset condition may refer to a condition set in advance for determining that the comparison result meets the set requirements so that no further iteration is performed. The preset condition may be set to a residual that is less than a preset threshold or the number of iterations reaches a maximum number of iterations, etc. The residual is the difference between the second prediction data and the first data. The number of iterations refers to the number of executions of the RBM network and the BP neural network to obtain the prediction value. The embodiment of the present application does not limit the specific values corresponding to the preset threshold and the maximum number of iterations.
[0116] In this step, Figure 7 A schematic diagram of a flow chart for optimizing model parameters provided in an embodiment of the present application is as follows: Figure 7 As shown, after the feature extraction of the RBM network and the prediction of the BP neural network in the above S301-S302, a prediction data, namely the first prediction data a, is obtained. t+1 , further, using a t+1 Replace (a1, a2, ...a t ), we get (a2, a3, ...a t+1 ) as input data and then pass through the RBM network and BP neural network to the second prediction data Will Compare with a1 to get the residual Then the residual Feed it to the RBM network and BP neural network so that it can be based on the residual Optimize the entire model parameters and, accordingly, determine the residual Is it less than a preset threshold? If not, then repeat the process and perform an iterative cycle to continuously correct and optimize the model parameters until the residual is less than the preset threshold. If so, then the optimized model parameters are determined to be optimal, that is, the optimal RBM network and the BP neural network can be obtained.
[0117] Therefore, the entire model can be optimized by adjusting its own parameters to achieve a better prediction effect. The embodiment of the present application greatly improves the adaptability of business data prediction by correcting the parameters of the model to meet the prediction of dynamic changes in online data.
[0118] Optionally, the business data is processed again using the RBM network and BP neural network with modified parameters until the comparison result obtained meets the preset conditions, including:
[0119] arbitrarily selecting third data from the second data, and inputting the second data into the RBM network after parameter correction to perform feature extraction, so as to obtain third service feature data;
[0120] Input the third service characteristic data into the BP neural network after parameter correction for prediction to obtain third prediction data, and use the third prediction data to replace the third data in the second data to obtain fourth data;
[0121] The third prediction data is compared with the third data to obtain a comparison result, and it is determined whether the comparison result meets a preset condition.
[0122] In the embodiment of the present application, the third data is similar to the first data, both of which are randomly selected arbitrary values, but the third data is obtained from the second data, and so on. In the process of continuous iteration and loop, the second data is changing. For example, the third data is the second data (a2, a3, ... a t+1 ) in the image, it can be a2 next time, and it can be a3 next time.
[0123] In this step, it is the process of executing the iterative cycle corresponding to the business data prediction method, that is, the process of repeatedly executing S301-S304. Specifically, the predicted data is used as input, and the predicted value is obtained through the RBM network and the BP neural network, and then compared with the original data to obtain the residual. The model then optimizes the parameters according to the residual, and repeats the iteration until the comparison result meets the preset conditions, and the error feedback method is used to correct the parameters of the model.
[0124] It should be noted that the comparison between the third predicted data and the third data is to obtain a comparison result. Specifically, the comparison content is: the third predicted data in the fourth data is compared with the third data in the second data to obtain a comparison result, that is, the predicted value obtained by the RBM network and the BP neural network is compared with a corresponding value in the original data to obtain a residual. For example, the obtained predicted value is Then it is subtracted from a3 in the original data to obtain a residual; wherein, the fourth data is used for processing the next business data.
[0125] Therefore, the embodiments of the present application can continuously optimize the model parameters until the optimal model is obtained, so that the prediction accuracy becomes higher and higher.
[0126] Optionally, the optimized RBM network and BP neural network are used to predict business data, including:
[0127] The optimized RBM network and BP neural network are obtained, and the initial business data are sequentially input into the optimized RBM network and BP neural network to predict the business data and obtain prediction results.
[0128] In this step, the optimized RBM network and BP neural network are used to predict business data, and the prediction results can provide a basis for network slice scheduling to cope with the different requirements of different communication services for network performance. That is, different network slices can meet the needs of different application scenarios, which can reduce network operation costs and enrich network operation models.
[0129] Therefore, compared with using a traditional single algorithm, such as regression analysis or BP neural network to predict results, the embodiment of the present application uses an optimized RBM network and BP neural network to predict results. The combination of the RBM network and the BP neural network can effectively cope with business randomness and periodicity, and improve the accuracy and stability of the prediction.
[0130] Optionally, the method further includes:
[0131] For each network slice within the scheduling period, the initial service data corresponding to the network slice is obtained, and the service data is predicted based on the optimized RBM network and BP neural network and the initial service data;
[0132] Obtain the prediction results corresponding to each network slice, and determine the target network slice to be scheduled based on the prediction results, and use the target network slice to transmit business data.
[0133] In the embodiment of the present application, the setting of the scheduling period is used to ensure that each transmission of service data runs within a reasonable period. The embodiment of the present application does not limit the specific value corresponding to the scheduling period.
[0134] In this step, the prediction results corresponding to each network slice are obtained, and the target network slice to be scheduled is determined based on the prediction results, and then the target network slice is used to transmit business data. Among them, network slicing is to cut a physical network into multiple virtual end-to-end networks, and the target network slice is the optimal network slice among multiple end-to-end networks.
[0135] It should be noted that the method for determining the target network slice to be scheduled based on the prediction results can be to find the optimal value among all the prediction results, such as the maximum value and the minimum value. The optimal value is set according to the application scenario. The embodiment of the present application does not specifically limit the method for determining the target network slice to be scheduled.
[0136] Therefore, the embodiments of the present application can ensure the performance requirements of the application scenarios and improve user experience and network resource utilization by selecting appropriate network slices.
[0137] In combination with the above embodiments, Figure 8 A technical roadmap of a business data prediction method provided in an embodiment of the present application, such as Figure 8As shown, get business data (a1, a2, ...a t ), (a1, a2, …a t ) is input into the RBM network, and the business data features are extracted through the RBM network. Further, the business prediction is performed through the BP neural network to obtain a prediction data a t+1 , further, the business data (a1, a2, a3, ...a t+1 ) is input into the RBM network, where (a1, a2, …a t ) in which a1 is used as the comparison data, (a2, a3, ...a t+1 ) The business data features are extracted through the RBM network, and further, the business prediction is performed through the BP neural network to obtain the prediction data corresponding to a1 That is, you can get business data Further, Compare with a1 in the original data to get the residual And the residual Feed the RBM network and BP neural network for parameter correction to optimize the entire model parameters, and so on, perform iterative cycles, and continuously modify and optimize the model parameters until the residual is less than a certain value or the maximum number of iterations is reached.
[0138] Therefore, the embodiment of the present application can perform effective feature extraction by adopting the RBM network to obtain the features of the data. After the features of the business data are input into the BP neural network, the changing trends of future business data can be quickly fitted, greatly improving the accuracy of the RBM network and the BP neural network in business forecasting.
[0139] In the foregoing embodiments, the business data prediction method provided by the embodiments of the present application is introduced, and in order to realize the various functions in the method provided by the embodiments of the present application, the electronic device as the execution subject may include a hardware structure and / or a software module, and the above functions are realized in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
[0140] For example, Fig. 9 A schematic diagram of the structure of a business data prediction device provided in an embodiment of the present application is shown in FIG. Fig. 9As shown, the device includes: a first input module 910, a second input module 920, a third input module 930 and an optimization module 940; wherein the first input module 910 is used to obtain initial business data, and arbitrarily select first data from the initial business data, input the initial business data into a restricted Boltzmann machine RBM network for feature extraction, and obtain first business feature data;
[0141] The second input module 920 is used to input the first service feature data into the back propagation BP neural network for prediction to obtain first prediction data, and use the first prediction data to replace the first data in the initial service data to obtain second data;
[0142] The third input module 930 is used to input the second data into the RBM network for feature extraction to obtain second service feature data, and input the second service feature data into the BP neural network for prediction to obtain second prediction data;
[0143] The optimization module 940 is used to compare the second prediction data with the first data to obtain a comparison result, and optimize the parameters corresponding to the RBM network and the BP neural network based on the comparison result, and use the optimized RBM network and BP neural network to predict business data.
[0144] Optionally, the first input module 910 is specifically configured to:
[0145] Initialize and set the parameters corresponding to each layer of the neural network of the restricted Boltzmann machine RBM network to obtain an N-layer initial neural network, where the N-layer initial neural network corresponds to a feature extraction order, and N is a positive integer greater than 2;
[0146] The initial business data is input into the N-layer initial neural network, and feature extraction is performed in sequence based on the feature extraction order to obtain first business feature data.
[0147] Optionally, the second input module 920 is specifically used to:
[0148] Initialize the parameters corresponding to the input layer, hidden layer and output layer of the back propagation BP neural network respectively to obtain the first input layer, the first hidden layer and the first output layer;
[0149] Obtaining a first weight value corresponding to the first input layer to the first hidden layer and a second weight value corresponding to the first hidden layer to the first output layer;
[0150] The first service feature data is input into the first input layer, and first prediction data is calculated based on the first weight value and the second weight value.
[0151] Optionally, the optimization module 940 includes a judgment unit, an optimization unit, a correction unit and a prediction unit;
[0152] Specifically, the judging unit is used to judge whether the comparison result meets a preset condition;
[0153] The optimization unit is used to obtain parameters corresponding to the RBM network and the BP neural network when the comparison result meets the preset conditions, and optimize the RBM network and the BP neural network using the parameters;
[0154] The correction unit is used to correct the parameters corresponding to the RBM network and the BP neural network when the comparison result does not meet the preset conditions, and use the RBM network and BP neural network with the corrected parameters to process the business data again until the comparison result obtained meets the preset conditions.
[0155] Optionally, the correction unit is specifically used to:
[0156] arbitrarily selecting third data from the second data, and inputting the second data into the RBM network after parameter correction to perform feature extraction, so as to obtain third service feature data;
[0157] Input the third service characteristic data into the BP neural network after parameter correction for prediction to obtain third prediction data, and use the third prediction data to replace the third data in the second data to obtain fourth data;
[0158] The third prediction data is compared with the third data to obtain a comparison result, and it is determined whether the comparison result meets a preset condition.
[0159] Optionally, the prediction unit is used to:
[0160] The optimized RBM network and BP neural network are obtained, and the initial business data are sequentially input into the optimized RBM network and BP neural network to predict the business data and obtain prediction results.
[0161] Optionally, the device further includes a scheduling module, wherein the scheduling module is configured to:
[0162] For each network slice within the scheduling period, the initial service data corresponding to the network slice is obtained, and the service data is predicted based on the optimized RBM network and BP neural network and the initial service data;
[0163] Obtain the prediction results corresponding to each network slice, and determine the target network slice to be scheduled based on the prediction results, and use the target network slice to transmit business data.
[0164] The specific implementation principles and effects of the business data prediction device provided in the embodiment of the present application can be found in the relevant descriptions and effects corresponding to the above embodiments, and will not be elaborated here.
[0165] The present application also provides a schematic diagram of the structure of an electronic device. Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Fig.10 As shown, the electronic device may include: a processor 1001 and a memory 1002 communicatively connected to the processor; the memory 1002 stores a computer program; the processor 1001 executes the computer program stored in the memory 1002, so that the processor 1001 executes the method described in any of the above embodiments.
[0166] The memory 1002 and the processor 1001 may be connected via a bus 1003 .
[0167] An embodiment of the present application further provides a computer-readable storage medium, which stores computer program execution instructions. When the computer program execution instructions are executed by a processor, they are used to implement the method described in any of the aforementioned embodiments of the present application.
[0168] An embodiment of the present application further provides a chip for executing instructions, wherein the chip is used to execute the method described in any of the aforementioned embodiments as executed by an electronic device in any of the aforementioned embodiments of the present application.
[0169] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method described in any of the aforementioned embodiments of the present application executed by an electronic device can be implemented.
[0170] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules 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 modules, which can be electrical, mechanical or other forms.
[0171] The modules described as separate components may or may not be physically separated, and the components shown as modules 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 modules may be selected according to actual needs to implement the solution of this embodiment.
[0172] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0173] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application.
[0174] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the application may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
[0175] The memory may include high-speed random access memory (RAM), and may also include non-volatile memory (NVM), such as at least one disk storage, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.
[0176] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0177] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special computer.
[0178] 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). Of course, the processor and the storage medium can also exist as discrete components in an electronic device or a main control device.
[0179] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.
Claims
1. A business data prediction method, characterized in that: The method comprises: For each network slice in the scheduling period, initial service data corresponding to the network slice is obtained, and first data is arbitrarily selected from the initial service data, and the initial service data is input into a restricted Boltzmann machine (RBM) network for feature extraction to obtain first service feature data; Inputting the first service feature data into a back propagation BP neural network for prediction to obtain first prediction data, and using the first prediction data to replace the first data in the initial service data to obtain second data; Inputting the second data into the RBM network for feature extraction to obtain second service feature data, and inputting the second service feature data into the BP neural network for prediction to obtain second prediction data; Comparing the second prediction data with the first data to obtain a comparison result, optimizing parameters corresponding to the RBM network and the BP neural network based on the comparison result, and using the optimized RBM network and BP neural network to predict business data; Obtain the prediction result corresponding to each network slice, determine the target network slice to be scheduled based on the prediction result, and use the target network slice to transmit service data; The optimizing the parameters corresponding to the RBM network and the BP neural network based on the comparison result includes: Determining whether the comparison result meets a preset condition; If so, obtaining parameters corresponding to the RBM network and the BP neural network, and optimizing the RBM network and the BP neural network using the parameters; If not, the parameters corresponding to the RBM network and the BP neural network are modified, and the business data is processed again using the RBM network and the BP neural network after the modified parameters until the comparison result meets the preset conditions, including: arbitrarily selecting third data from the second data, and inputting the second data into the RBM network after parameter correction to perform feature extraction, so as to obtain third service feature data; Input the third service characteristic data into the BP neural network after parameter correction for prediction to obtain third prediction data, and use the third prediction data to replace the third data in the second data to obtain fourth data; The third prediction data is compared with the third data to obtain a comparison result, and it is determined whether the comparison result meets a preset condition.
2. The method according to claim 1, characterized in that The initial service data is input into a restricted Boltzmann machine (RBM) network for feature extraction to obtain first service feature data, including: Initialize and set the parameters corresponding to each layer of the neural network of the restricted Boltzmann machine RBM network to obtain an N-layer initial neural network, where the N-layer initial neural network corresponds to a feature extraction order, and N is a positive integer greater than 2; The initial business data is input into the N-layer initial neural network, and feature extraction is performed in sequence based on the feature extraction order to obtain first business feature data.
3. The method according to claim 2, characterized in that Inputting the first service feature data into a back propagation BP neural network for prediction to obtain first prediction data includes: Initialize the parameters corresponding to the input layer, hidden layer and output layer of the back propagation BP neural network respectively to obtain the first input layer, the first hidden layer and the first output layer; Obtaining a first weight value corresponding to the first input layer to the first hidden layer and a second weight value corresponding to the first hidden layer to the first output layer; The first service feature data is input into the first input layer, and first prediction data is calculated based on the first weight value and the second weight value.
4. The method according to claim 1, characterized in that: Use the optimized RBM network and BP neural network to predict business data, including: The optimized RBM network and BP neural network are obtained, and the initial business data are sequentially input into the optimized RBM network and BP neural network to predict the business data and obtain prediction results.
5. A business data prediction device, characterized in that: The device comprises: A first input module is used to obtain, for each network slice in a scheduling period, initial service data corresponding to the network slice, and arbitrarily select first data from the initial service data, input the initial service data into a restricted Boltzmann machine (RBM) network for feature extraction, and obtain first service feature data; A second input module is used to input the first service feature data into a back propagation BP neural network for prediction to obtain first prediction data, and use the first prediction data to replace the first data in the initial service data to obtain second data; A third input module is used to input the second data into the RBM network for feature extraction to obtain second service feature data, and input the second service feature data into the BP neural network for prediction to obtain second prediction data; An optimization module, used for comparing the second prediction data with the first data to obtain a comparison result, optimizing the parameters corresponding to the RBM network and the BP neural network based on the comparison result, and using the optimized RBM network and BP neural network to predict business data; A scheduling module, used to obtain the prediction result corresponding to each network slice, and determine the target network slice to be scheduled based on the prediction result, and use the target network slice to transmit business data; The optimization module is specifically used to determine whether the comparison result meets the preset conditions; if so, obtain the parameters corresponding to the RBM network and the BP neural network, and use the parameters to optimize the RBM network and the BP neural network; if not, correct the parameters corresponding to the RBM network and the BP neural network, and use the RBM network and BP neural network with the corrected parameters to process the business data again until the comparison result meets the preset conditions; The optimization module is also specifically used to arbitrarily select third data from the second data, and input the second data into the RBM network after the correction of parameters for feature extraction to obtain third business feature data; input the third business feature data into the BP neural network after the correction of parameters for prediction to obtain third prediction data, and use the third prediction data to replace the third data in the second data to obtain fourth data; compare the third prediction data with the third data to obtain a comparison result, and determine whether the comparison result meets a preset condition.
6. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 4.
8. A computer program product, characterized in that include: A computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
