Method and system for predicting network service quality

Through the DeepFM model and knowledge distillation technology, the student model is constructed, which solves the problems of processing sparse data sets and high-dimensional information in the existing technology, achieves efficient and accurate results of network service quality prediction, and reduces the operation and maintenance load.

CN113762737BActive Publication Date: 2024-09-06BEIJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110956949.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-19
Publication Date
2024-09-06
Estimated Expiration
2041-08-19

AI Technical Summary

Technical Problem

Existing network service quality prediction methods are difficult to handle sparse data sets and high-dimensional information, and rely on manual feature engineering, which increases computing resource requirements and model complexity.

Method used

The DeepFM model is used for feature combination, combined with knowledge distillation technology to build a student model, and the adaptive pooling method is used to improve the pooling layer to reduce model scale and operation and maintenance load.

Benefits of technology

It does not require manual feature combination, can handle sparse data sets, improves the accuracy of network service quality prediction and the generalization ability of the model, and reduces computing resource and memory requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113762737B
    Figure CN113762737B
Patent Text Reader

Abstract

The present invention discloses a method and system for predicting network service quality, including: obtaining user data and service data, inputting the user data and service data into a trained network service quality prediction model to obtain a network service quality prediction result; wherein the trained network service quality prediction model is obtained after training using different sample data and corresponding soft labels; the sample data includes user training data and service training data; the soft label is the prediction data output by the trained DeepFM model after the sample data is input. The present invention adopts the DeepFM model without manual feature combination, can process sparse data sets, and trains the network service quality prediction model by using the prediction data output by the trained DeepFM model after the sample data is input as a soft label, thereby reducing the scale of the network service quality prediction model and alleviating the operation and maintenance load.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and system for predicting network service quality. Background Art

[0002] In recent years, the explosive development of network services has led to a rapid increase in the number of homogeneous network services provided by various network service providers. It has become a major difficulty to select the most suitable network service for users from a large number of homogeneous network services. Network service quality prediction technology can effectively solve this problem by predicting the quality of a large number of homogeneous network services that have never been used.

[0003] In prediction problems, it is crucial to acquire and learn knowledge information from a large amount of data. Commonly used methods include Convolutional Neural Networks (CNN), Recurrent Neural Networks (RNN), Factorization Machines (FM), Wide & Deep, etc. Among them, CNN tends to learn the combination features of adjacent features; RNN is suitable for data with time series relationships; FM uses latent vectors to represent combination features by inner product, which theoretically solves the problem of extracting low-order and high-order combination features. However, due to the limitation of computational complexity, it is very limited in practical applications; Wide & Deep can learn low-order and high-order combination features at the same time, but it relies on artificial feature engineering, and the model results are greatly affected by feature engineering, which increases the demand for manpower and computing resources, and it is difficult to process sparse data sets and high-dimensional information, and is not suitable for network service data containing high-dimensional information.

[0004] In summary, there is an urgent need for a method for predicting network service quality to solve the problems existing in the above-mentioned prior art. Summary of the invention

[0005] Since the existing methods have the above problems, the present invention proposes a method and system for predicting network service quality.

[0006] In a first aspect, the present invention provides a method for predicting network service quality, comprising:

[0007] Obtain user data and service data;

[0008] Inputting the user data and the service data into a trained network service quality prediction model to obtain a network service quality prediction result;

[0009] Among them, the trained network service quality prediction model is obtained after training using different sample data and corresponding soft labels; the sample data includes user training data and service training data; the soft label is the prediction data output by the trained DeepFM model after inputting the sample data.

[0010] Furthermore, before inputting the user data and the service data into the trained network service quality prediction model to obtain the network service quality prediction result, the method further includes:

[0011] Acquire the sample data and data labels corresponding to the sample data;

[0012] Build the DeepFM model;

[0013] Training the DeepFM model according to the sample data and the data label to obtain the trained DeepFM model and the soft label;

[0014] The trained DeepFM model is used as a teacher model in the knowledge distillation framework and a student model is constructed;

[0015] The student model is trained according to the sample data, the data labels and the soft labels to obtain a trained network service quality prediction model.

[0016] Furthermore, the construction of the DeepFM model includes:

[0017] The pooling layer of the DeepFM model is improved by using an adaptive pooling method to obtain an improved DeepFM model.

[0018] Furthermore, the constructing of the student model includes:

[0019] Constructing a fully connected neural network according to the trained DeepFM model; the hidden layer of the fully connected neural network includes an extended layer and two fully connected layers;

[0020] The student model is determined according to the fully connected neural network.

[0021] Furthermore, the training of the student model according to the sample data, the data label and the soft label to obtain a trained network service quality prediction model includes:

[0022] Training the student model according to the sample data and the data label to obtain a first student model;

[0023] Training the first student model according to the sample data and the soft label to obtain a second student model;

[0024] The second student model is used as a trained network service quality prediction model.

[0025] Further, the obtaining the sample data and the data label corresponding to the sample data includes:

[0026] Determine a first feature corresponding to the user training data according to the user training data; the first feature includes a user ID, an IP address, a country, an autonomous system number, and longitude or latitude of the user;

[0027] Determine a second feature corresponding to the service training data based on the service training data; the second feature includes the number of the network service provider, the network service uniform resource positioning system, the service provider, the IP address, the country, the autonomous system number, the longitude or the latitude.

[0028] In a second aspect, the present invention provides a system for predicting network service quality, comprising:

[0029] Acquisition module, used to obtain user data and service data;

[0030] A processing module is used to input the user data and the service data into a trained network service quality prediction model to obtain a network service quality prediction result; wherein the trained network service quality prediction model is obtained after training using different sample data and corresponding soft labels; the sample data includes user training data and service training data; the soft label is the prediction data output by the trained DeepFM model after inputting the sample data.

[0031] Furthermore, the processing module is also used for:

[0032] Before inputting the user data and the service data into the trained network service quality prediction model to obtain the network service quality prediction result, obtaining the sample data and the data label corresponding to the sample data;

[0033] Build the DeepFM model;

[0034] Training the DeepFM model according to the sample data and the data label to obtain the trained DeepFM model and the soft label;

[0035] The trained DeepFM model is used as a teacher model in the knowledge distillation framework and a student model is constructed;

[0036] The student model is trained according to the sample data, the data labels and the soft labels to obtain a trained network service quality prediction model.

[0037] Furthermore, the processing module is specifically used for:

[0038] The pooling layer of the DeepFM model is improved by using an adaptive pooling method to obtain an improved DeepFM model.

[0039] Furthermore, the processing module is specifically used for:

[0040] Constructing a fully connected neural network according to the trained DeepFM model; the hidden layer of the fully connected neural network includes an extended layer and two fully connected layers;

[0041] The student model is determined according to the fully connected neural network.

[0042] Furthermore, the processing module is specifically used for:

[0043] Training the student model according to the sample data and the data label to obtain a first student model;

[0044] Training the first student model according to the sample data and the soft label to obtain a second student model;

[0045] The second student model is used as a trained network service quality prediction model.

[0046] Furthermore, the processing module is specifically used for:

[0047] Determine a first feature corresponding to the user training data according to the user training data; the first feature includes a user ID, an IP address, a country, an autonomous system number, and longitude or latitude of the user;

[0048] Determine a second feature corresponding to the service training data based on the service training data; the second feature includes the number of the network service provider, the network service uniform resource positioning system, the service provider, the IP address, the country, the autonomous system number, the longitude or the latitude.

[0049] In a third aspect, the present invention further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for predicting network service quality as described in the first aspect is implemented.

[0050] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for predicting network service quality as described in the first aspect.

[0051] It can be seen from the above technical scheme that the method and system for network service quality prediction provided by the present invention use the DeepFM model without manual feature combination, can process sparse data sets, use the model compression method of knowledge distillation to construct a student model, and train the student model according to the knowledge distillation mechanism, thereby reducing the scale of the network service quality prediction model and alleviating the operation and maintenance load. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0053] Figure 1 The system framework of the method for predicting network service quality provided by the present invention;

[0054] Figure 2 A flow chart of a method for predicting network service quality provided by the present invention;

[0055] Figure 3 A flow chart of a method for predicting network service quality provided by the present invention;

[0056] Figure 4 A schematic diagram of the improved DeepFM model provided by the present invention;

[0057] Figure 5 A schematic diagram of the knowledge distillation framework provided by the present invention;

[0058] Figure 6 A schematic diagram of a student model provided by the present invention;

[0059] Figure 7 A schematic diagram of the structure of the network service quality prediction system provided by the present invention;

[0060] Figure 8 This is a schematic structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0061] The specific implementation of the present invention is further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0062] The network service quality prediction method provided by the embodiment of the present invention can be applied to Figure 1 In the system architecture shown, the system architecture includes a DeepFM model 100 and a network service quality prediction model 200 .

[0063] Specifically, the DeepFM model 100 is used to obtain user data, service data and data labels, and obtain a trained DeepFM model and soft labels after the user data, service data and data labels are trained.

[0064] The network service quality prediction model 200 is used to obtain a network service quality prediction result after being trained according to user data, service data and soft labels and after the user data and service data are input.

[0065] It should be noted that Figure 1 This is only an example of the system architecture of the embodiment of the present invention, and the present invention does not make any specific limitation to this.

[0066] Based on the system architecture shown above, Figure 2 A flowchart corresponding to a method for predicting network service quality provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the method includes:

[0067] Step 201, obtaining user data and service data.

[0068] It should be noted that the data features corresponding to the service data include the network service provider's number (ws_id), network service uniform resource locator URL (ws_url), service provider (ws_povider), IP address (ws_ip), country (ws_country), AS number (ws_as), longitude (ws_latitude), latitude (ws_longitude), etc. The data features corresponding to the user data include the user party's user number (us_id), IP address (us_ip), country (us_country), autonomous system AS number (us_as), longitude (us_latitude), latitude (us_longtitude), etc. The embodiment of the present invention does not specifically limit this.

[0069] Step 202: Input user data and service data into the trained network service quality prediction model to obtain a network service quality prediction result.

[0070] It should be noted that the trained network service quality prediction model is obtained after training using different sample data and corresponding soft labels; the sample data includes user training data and service training data; the soft label is the predicted data output by the trained DeepFM model after inputting the sample data.

[0071] The above scheme uses the DeepFM model without manual feature combination and can process sparse data sets. The prediction data output by the trained DeepFM model after inputting sample data is used as soft labels to train the network service quality prediction model, which reduces the scale of the network service quality prediction model and reduces the operation and maintenance load.

[0072] In the embodiment of the present invention, before step 202, the steps are as follows: Figure 3 As shown, the details are as follows:

[0073] Step 301: Obtain sample data and data labels corresponding to the sample data.

[0074] Specifically, determining a first feature corresponding to the user training data according to the user training data; the first feature includes a user ID, an IP address, a country, an autonomous system ID, and longitude or latitude of the user;

[0075] The second feature corresponding to the service training data is determined according to the service training data; the second feature includes the number of the network service provider, the network service uniform resource positioning system, the service provider, the IP address, the country, the autonomous system number, the longitude or the latitude.

[0076] For example, the sample data and data labels are shown in Table 1:

[0077] Table 1

[0078] ws_id ws_ip ws_as ws_url ws_latitude ws_longitude … label 0 1E+27 1 1.8E+101 38 -97 … 5.394 1 1E+27 1 1.8E+125 38 -97 … 5.55 2 1E+27 1 1.8E+123 38 -97 … 7.067 3 1E+27 1 1.8E+103 38 -97 … 6.415 4 1E+27 2 1.8E+99 38 -97 … 5.828 5 1.1E+31 3 1.8E+123 40.7904 -74.0246 … 5.875 6 0 4 1.8E+105 -45.5881 -69.07 … 5.782 7 0 4 1.8E+109 -45.5881 -69.07 … 5.776 8 1.1E+31 5 1.8E+115 -34.5875 -58.6725 … 5.565

[0079] For example, when the network service provider's ID (ws_id) is 0, the network service URL (ws_url) is 1.8E+101, the IP address (ws_ip) is 1E+27, the AS number (ws_as) is 1, the longitude (ws_latitude) is 38, and the latitude (ws_longitude) is -97, the corresponding data label (label) is 5.394.

[0080] The above scheme extracts data features from user data and service data, thereby improving prediction accuracy.

[0081] Step 302, construct a DeepFM model.

[0082] It should be noted that the DeepFM model mainly consists of two parts: the compressed neural network FM and the deep neural network DNN. Using the compressed neural network instead of the traditional linear regression can effectively realize the explicit feature learning of high-dimensional information.

[0083] In a possible implementation, an adaptive pooling method is used to improve the pooling layer of the DeepFM model to obtain an improved DeepFM model.

[0084] In the embodiment of the present invention, the specific steps of constructing the DeepFM model are as follows:

[0085] S1: User data and service data are converted into x and y vectors of length D, and then reconstructed into the matrix X 0 ∈R m ×D , where m=x+y.

[0086] Among them, x is the amount of user data, y is the amount of service data, and X k is the kth hidden layer.

[0087] S2: For each hidden layer, X k Calculate using the following formula:

[0088]

[0089] Where 1≤h≤H k , H k Represents the kth th The number of feature vectors of the layer, It is h th The parameter matrix of the layer feature vector, Stands for Hadamard product.

[0090] It should be noted that the calculation method of the Hadamard product is as follows:

[0091]

[0092] S3: Adopt adaptive pooling method. Each hidden layer X of the model k ,k∈[1,T] is connected to the output neuron, where T is the number of iterations of adaptive pooling.

[0093] In the embodiment of the present invention, the DeepFM model includes a compressed neural network, a deep neural network and other parts. Figure 4 As shown in the figure, the last pooling layer of the compressed neural network adopts an adaptive pooling method.

[0094] After compression H i A vector U in <u1,u2,…,u n >For example, the pooling process includes multiple rounds of iterations, and the results of each round of iteration are used as auxiliary parameters for the next round of iteration.

[0095] In a possible implementation, the number of iterations T is set to 3.

[0096] Specifically, each round of iterative calculation includes:

[0097] S31: Represent the result of the previous iteration as a vector Where r represents the current iteration number, B r is the calculation parameter for each iteration.

[0098] It should be noted that since the first round of iteration does not have the results of the previous round of iteration, B r Initialize to

[0099] S32: From H i The vector U in <u1,u2,…,u n > Take it as input for neural network-like calculation, and the output is s r , the specific calculation formula is as follows:

[0100]

[0101] in,

[0102] It should be noted that parameter C i It is actually the softmax function. Since it is determined dynamically during the calculation process and not learned, this calculation is called a neural network-like structure.

[0103] S33: Adjustments r , limit s to the preset range, the specific calculation formula is as follows:

[0104]

[0105] In the embodiment of the present invention, if this round of iteration is the last round, then a r The result y of adaptive pooling is output, otherwise S34 operation is performed.

[0106] S34: Use a r Calculate vector B r+1 And used for the next round of iterative calculation.

[0107] Specifically, The calculation formula is as follows:

[0108]

[0109] S4: Building parallel deep neural networks.

[0110] It should be noted that the deep neural network consists of three fully connected layers.

[0111] In the embodiment of the present invention, the output result of the DeepFM model can be expressed as:

[0112]

[0113] Among them, y FM represents the output of the compressed neural network, y DNN Represents the output of a deep neural network.

[0114] The above scheme uses an adaptive pooling method to adaptively optimize information extraction from the compressed neural network in the DeepFM model based on the high-dimensional characteristics of network service data, thereby improving the ability to extract high-dimensional information and taking into account both high-dimensional and low-dimensional data information without the need for artificial feature engineering, thereby improving prediction accuracy.

[0115] Step 303: Train the DeepFM model according to the sample data and the data labels to obtain a trained DeepFM model and soft labels.

[0116] It should be noted that the soft label is the predicted data output by the trained DeepFM model after inputting sample data.

[0117] For example, as shown in Table 2:

[0118] Table 2

[0119] ws_id ws_ip ws_as ws_url ws_latitude ws_longitude … label 0 1E+27 1 1.8E+101 38 -97 … 5.261 1 1E+27 1 1.8E+125 38 -97 … 5.294 2 1E+27 1 1.8E+123 38 -97 … 7.184 3 1E+27 1 1.8E+103 38 -97 … 6.451 4 1E+27 2 1.8E+99 38 -97 … 5.814 5 1.1E+31 3 1.8E+123 40.7904 -74.0246 … 5.991 6 0 4 1.8E+105 -45.5881 -69.07 … 5.561 7 0 4 1.8E+109 -45.5881 -69.07 … 5.981 8 1.1E+31 5 1.8E+115 -34.5875 -58.6725 … 5.419

[0120] It can be seen from Table 2 that when the network service provider's number (ws_id) is 0, the network service URL (ws_url) is 1.8E+101, the IP address (ws_ip) is 1E+27, the AS number (ws_as) is 1, the longitude (ws_latitude) is 38, and the latitude (ws_longitude) is -97, the corresponding soft label (label) is 5.261, which is different from the above data label 5.394.

[0121] Step 304, using the trained DeepFM model as a teacher model under the knowledge distillation framework and constructing a student model.

[0122] It should be noted that knowledge distillation adopts a teacher-student model: a complex and large model is used as the teacher model, and the student model structure is relatively simple. The teacher model is used to assist the training of the student model. The teacher model has strong learning ability and can transfer the knowledge it has learned to the student model with relatively weak learning ability, thereby enhancing the generalization ability of the student model.

[0123] Step 305: Train the student model according to the sample data, data labels and soft labels to obtain a trained network service quality prediction model.

[0124] Specifically, the student model is trained according to the sample data and the data label to obtain a first student model;

[0125] The first student model is trained according to the sample data and the soft label to obtain the second student model;

[0126] The second student model is used as the trained network service quality prediction model.

[0127] In the embodiment of the present invention, Figure 5 As shown in the figure, the knowledge learned by the teacher model is used to guide the training of the student model, so that the student model has the same performance as the teacher model, but the number of parameters is greatly reduced, thereby achieving model compression and acceleration.

[0128] The above solution uses the knowledge distillation method to compress and optimize the model, reducing the demand for computing resources and memory during operation and alleviating the load pressure on the server caused by network service quality prediction.

[0129] In the embodiment of the present invention, user data and service data are input into the trained network service quality prediction model to obtain the network service quality prediction result as shown in Table 3:

[0130] Table 3

[0131] ws_id ws_ip ws_as ws_url ws_latitude ws_longitude … label 0 1E+27 1 1.8E+101 38 -97 … 5.518 1 1E+27 1 1.8E+125 38 -97 … 5.291 2 1E+27 1 1.8E+123 38 -97 … 7.01 3 1E+27 1 1.8E+103 38 -97 … 6.507 4 1E+27 2 1.8E+99 38 -97 … 5.794 5 1.1E+31 3 1.8E+123 40.7904 -74.0246 … 5.812 6 0 4 1.8E+105 -45.5881 -69.07 … 5.791 7 0 4 1.8E+109 -45.5881 -69.07 … 5.681 8 1.1E+31 5 1.8E+115 -34.5875 -58.6725 … 5.597

[0132] The above solution uses the DeepFM model without manual feature combination and can process sparse data sets. It uses the model compression method of knowledge distillation to build a small fully connected neural network as a student model. The student model is trained according to the knowledge distillation mechanism, which reduces the scale of the network service quality prediction model and reduces the operation and maintenance load.

[0133] Furthermore, in step 304, the embodiment of the present invention builds a fully connected neural network based on the trained DeepFM model.

[0134] It should be noted that the hidden layer of the fully connected neural network includes one extension layer and two fully connected layers.

[0135] The student model is determined based on the fully connected neural network.

[0136] In a possible implementation, a fully connected neural network with the same prediction category is established based on the improved DeepFM model.

[0137] It should be noted that the number of parameters of the fully connected neural network is much smaller than that of the improved DeepFM model, which is used as the student model in the teacher-student model.

[0138] In the embodiment of the present invention, the hidden layer of the fully connected neural network includes an extension layer and two fully connected layers, such as Figure 6 shown.

[0139] from Figure 6 It can be seen that the second fully connected layer is directly connected to the output layer, and the prediction result of the network service quality by this layer should be the same as that of the improved DeepFM model.

[0140] It should be noted that the hidden layer of the fully connected neural network may also include an extension layer and a fully connected layer, which is not specifically limited in the embodiment of the present invention.

[0141] The above scheme uses the model compression method of knowledge distillation to compress the improved DeepFM model to obtain a smaller student model, which facilitates model deployment and saves computing resources.

[0142] Based on the same inventive concept, Figure 7 A system for predicting the quality of network services provided by an embodiment of the present invention is exemplarily shown. The system may be a process of a method for predicting the quality of network services.

[0143] The system comprises:

[0144] Acquisition module 701, used to acquire user data and service data;

[0145] Processing module 702 is used to input the user data and the service data into a trained network service quality prediction model to obtain a network service quality prediction result; wherein the trained network service quality prediction model is obtained after training using different sample data and corresponding soft labels; the sample data includes user training data and service training data; the soft label is the prediction data output by the trained DeepFM model after the sample data is input.

[0146] Furthermore, the processing module 702 is also used for:

[0147] Before inputting the user data and the service data into the trained network service quality prediction model to obtain the network service quality prediction result, obtaining the sample data and the data label corresponding to the sample data;

[0148] Build the DeepFM model;

[0149] Training the DeepFM model according to the sample data and the data label to obtain the trained DeepFM model and the soft label;

[0150] The trained DeepFM model is used as a teacher model in the knowledge distillation framework and a student model is constructed;

[0151] The student model is trained according to the sample data, the data labels and the soft labels to obtain a trained network service quality prediction model.

[0152] Furthermore, the processing module 702 is specifically used for:

[0153] The pooling layer of the DeepFM model is improved by using an adaptive pooling method to obtain an improved DeepFM model.

[0154] Furthermore, the processing module 702 is specifically used for:

[0155] Constructing a fully connected neural network according to the trained DeepFM model; the hidden layer of the fully connected neural network includes an extended layer and two fully connected layers;

[0156] The student model is determined according to the fully connected neural network.

[0157] Furthermore, the processing module 702 is specifically used for:

[0158] Training the student model according to the sample data and the data label to obtain a first student model;

[0159] Training the first student model according to the sample data and the soft label to obtain a second student model;

[0160] The second student model is used as a trained network service quality prediction model.

[0161] Furthermore, the processing module 702 is specifically used for:

[0162] Determine a first feature corresponding to the user training data according to the user training data; the first feature includes a user ID, an IP address, a country, an autonomous system number, and longitude or latitude of the user;

[0163] Determine a second feature corresponding to the service training data based on the service training data; the second feature includes the number of the network service provider, the network service uniform resource positioning system, the service provider, the IP address, the country, the autonomous system number, the longitude or the latitude.

[0164] Based on the same inventive concept, another embodiment of the present invention provides an electronic device, see Figure 8 , the electronic device specifically includes the following contents: a processor 801, a memory 802, a communication interface 803 and a communication bus 804;

[0165] The processor 801, the memory 802, and the communication interface 803 communicate with each other through the communication bus 804; the communication interface 803 is used to realize information transmission between various devices;

[0166] The processor 801 is used to call the computer program in the memory 802. When the processor executes the computer program, all steps of the above-mentioned network service quality prediction method are implemented. For example, when the processor executes the computer program, the following steps are implemented: obtaining user data and service data; inputting the user data and the service data into a trained network service quality prediction model to obtain a network service quality prediction result; wherein the trained network service quality prediction model is obtained after training using different sample data and corresponding soft labels; the sample data includes user training data and service training data; the soft label is the prediction data output by the trained DeepFM model after the sample data is input.

[0167] Based on the same inventive concept, another embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, all the steps of the above-mentioned network service quality prediction method are implemented. For example, when the processor executes the computer program, the following steps are implemented: obtaining user data and service data; inputting the user data and the service data into a trained network service quality prediction model to obtain a network service quality prediction result; wherein the trained network service quality prediction model is obtained after training using different sample data and corresponding soft labels; the sample data includes user training data and service training data; the soft label is the prediction data output by the trained DeepFM model after the sample data is input.

[0168] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a system for predicting network service quality, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0169] The system embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present invention. Those of ordinary skill in the art may understand and implement them without creative effort.

[0170] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a system for network service quality prediction, or a network device, etc.) to execute the network service quality prediction method described in each embodiment or some parts of the embodiment.

[0171] In addition, in the present invention, terms such as "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0172] In addition, in the present invention, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0173] In addition, in the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0174] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for predicting network service quality, characterized in that: include: Obtain user data and service data; Inputting the user data and the service data into a trained network service quality prediction model to obtain a network service quality prediction result; The trained network service quality prediction model is obtained by training with different sample data and corresponding soft labels; the sample data includes user training data and service training data; the soft label is the prediction data output by the trained DeepFM model after inputting the sample data; Before inputting the user data and the service data into the trained network service quality prediction model to obtain the network service quality prediction result, the method further includes: Acquire the sample data and data labels corresponding to the sample data; Build the DeepFM model; Training the DeepFM model according to the sample data and the data label to obtain the trained DeepFM model and the soft label; The trained DeepFM model is used as a teacher model in the knowledge distillation framework and a student model is constructed; The student model is trained according to the sample data, the data label and the soft label to obtain a trained network service quality prediction model; The constructing of the student model comprises: Constructing a fully connected neural network according to the trained DeepFM model; the hidden layer of the fully connected neural network includes an extended layer and two fully connected layers; Determining the student model according to the fully connected neural network; The step of training the student model according to the sample data, the data label and the soft label to obtain a trained network service quality prediction model includes: Training the student model according to the sample data and the data label to obtain a first student model; Training the first student model according to the sample data and the soft label to obtain a second student model; The second student model is used as a trained network service quality prediction model.

2. The method for predicting network service quality according to claim 1, characterized in that: The construction of the DeepFM model includes: The pooling layer of the DeepFM model is improved by using an adaptive pooling method to obtain an improved DeepFM model.

3. The method for predicting network service quality according to claim 1, characterized in that: The obtaining of the sample data and the data label corresponding to the sample data includes: Determine a first feature corresponding to the user training data according to the user training data; the first feature includes a user ID, an IP address, a country, an autonomous system number, and longitude or latitude of the user; Determine a second feature corresponding to the service training data based on the service training data; the second feature includes the number of the network service provider, the network service uniform resource positioning system, the service provider, the IP address, the country, the autonomous system number, the longitude or the latitude.

4. A system for predicting network service quality, characterized in that: include: Acquisition module, used to obtain user data and service data; A processing module, used for inputting the user data and the service data into a trained network service quality prediction model to obtain a network service quality prediction result; wherein the trained network service quality prediction model is obtained after training using different sample data and corresponding soft labels; the sample data includes user training data and service training data; the soft label is the prediction data output by the trained DeepFM model after inputting the sample data; The processing module is further configured to obtain the sample data and the data label corresponding to the sample data before inputting the user data and the service data into the trained network service quality prediction model to obtain the network service quality prediction result; Constructing a DeepFM model; training the DeepFM model according to the sample data and the data labels to obtain the trained DeepFM model and the soft labels; using the trained DeepFM model as a teacher model under the knowledge distillation framework and constructing a student model; training the student model according to the sample data, the data labels and the soft labels to obtain a trained network service quality prediction model; The processing module is specifically used to construct a fully connected neural network according to the trained DeepFM model; the hidden layer of the fully connected neural network includes an extended layer and two fully connected layers; and the student model is determined according to the fully connected neural network; The processing module is specifically used to train the student model according to the sample data and the data label to obtain a first student model; train the first student model according to the sample data and the soft label to obtain a second student model; and use the second student model as a trained network service quality prediction model.

5. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 3 are implemented.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.