Satisfaction prediction method and device, storage medium, and electronic device
By obtaining user characteristics and bill data, calculating the proportion of quality differences, and using the decision tree model to predict mobile network quality satisfaction, it solves the blank problem of mobile network quality satisfaction prediction in the existing technology and achieves scientific and accurate satisfaction. degree assessment.
Patent Information
- Application Number
- CN202111154505.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-29
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-09-29
AI Technical Summary
Existing technology is difficult to effectively predict mobile network quality satisfaction and lacks evaluation indicators that are directly related to user satisfaction.
Obtain user characteristic data and user bill data by determining the data acquisition rules. After merging, calculate the quality difference ratio, use the pre-trained satisfaction prediction model to output the satisfaction score, and combine it with the decision tree model for prediction.
It achieves scientific prediction of mobile network quality satisfaction, ensures the accuracy and timeliness of prediction, and provides an important tool for improving mobile network service quality.
Smart Images

Figure CN113850630B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a satisfaction prediction method and a satisfaction prediction device, a computer-readable storage medium, and an electronic device. Background Art
[0002] In today's era of rapid development of mobile communications, with the rapid growth of 4G (the 4th generation mobile communication technology) mobile communication users and the vigorous construction of 5G (5th Generation Mobile Communication Technology) networks, competition among communication operators is becoming increasingly fierce. Mobile network quality satisfaction is closely related to user loyalty and market development.
[0003] Traditional mobile network quality evaluation indicators are achieved by statistically analyzing the performance indicators collected by network equipment, which lacks direct correlation with mobile network quality satisfaction. Mobile network quality satisfaction prediction is still a blank area.
[0004] In view of this, there is an urgent need in this field to develop a new satisfaction prediction method and device.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] The purpose of the present disclosure is to provide a satisfaction prediction method, a satisfaction prediction device, a computer-readable storage medium and an electronic device, thereby overcoming, at least to a certain extent, the technical problem of lack of prediction of mobile network quality satisfaction due to the limitations of related technologies.
[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0008] According to a first aspect of an embodiment of the present invention, a satisfaction prediction method is provided, the method comprising: determining a data acquisition rule, and acquiring user feature data and user call record data according to the data acquisition rule;
[0009] The user call list data and the user feature data are combined to obtain a mapping relationship between the user call list data and the user feature data, and the poor quality ratio of the user call list data is calculated to obtain poor quality call list data;
[0010] The poor-quality call record data and the user characteristic data having the mapping relationship are input into a pre-trained satisfaction prediction model, so that the trained satisfaction prediction model outputs a satisfaction score.
[0011] In an exemplary embodiment of the present invention, the acquiring of user feature data and user call record data according to the data acquisition rule includes:
[0012] Acquire user characteristic data according to the data acquisition rule, and determine a data acquisition cycle;
[0013] Based on the data acquisition cycle and according to the data acquisition rule, user call record data is acquired.
[0014] In an exemplary embodiment of the present invention, the step of calculating the poor quality ratio of the user call bill data to obtain the poor quality call bill data includes:
[0015] The user's call record data is counted to obtain the number of call records and the frequency of poor quality call records;
[0016] The poor quality ratio is calculated for the number of call records and the poor quality call record frequency to obtain the poor quality call record data.
[0017] In an exemplary embodiment of the present invention, the step of obtaining the number of call records and the frequency of poor quality call records by counting the user call record data includes:
[0018] Counting the user call record data to obtain the number of call records, and obtaining a quality difference threshold corresponding to the user call record data;
[0019] The poor quality call data in the user call record data is determined according to the poor quality threshold, and the poor quality call data is counted to obtain the poor quality call record frequency.
[0020] In an exemplary embodiment of the present invention, the pre-trained satisfaction prediction model includes: a decision tree model.
[0021] In an exemplary embodiment of the present invention, before inputting the poor-quality call record data and the user feature data having the mapping relationship into a pre-trained satisfaction prediction model, the method further includes:
[0022] Obtaining a sample of poor-quality call records, a sample of user characteristics, and a sample of satisfaction scores corresponding to the sample of user characteristics;
[0023] Recursively partitioning the poor-quality call record samples, the user feature samples, and the satisfaction score samples to obtain an original decision tree model;
[0024] The original decision tree model is pruned to obtain a pre-trained satisfaction prediction model.
[0025] In an exemplary embodiment of the present invention, the step of inputting the poor-quality call record data and the user feature data having the mapping relationship into a pre-trained satisfaction prediction model so that the trained satisfaction prediction model outputs a satisfaction score includes:
[0026] Acquire a screening threshold value corresponding to the poor-quality call record data, and use the screening threshold value to screen the poor-quality call record data to obtain target call record data;
[0027] The target call record data and the user feature data having the mapping relationship are input into a pre-trained satisfaction prediction model, so that the trained satisfaction prediction model outputs a satisfaction score.
[0028] According to a second aspect of an embodiment of the present invention, there is provided a satisfaction prediction device, the device comprising: a data acquisition module, configured to determine a data acquisition rule, and acquire user feature data and user call record data according to the data acquisition rule;
[0029] a quality difference calculation module, configured to merge the user call list data and the user feature data to obtain a mapping relationship between the user call list data and the user feature data, and calculate the quality difference ratio of the user call list data to obtain quality difference call list data;
[0030] The score prediction module is configured to input the poor-quality call record data and the user feature data having the mapping relationship into a pre-trained satisfaction prediction model, so that the trained satisfaction prediction model outputs a satisfaction score.
[0031] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor and a memory; wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the satisfaction prediction method in any of the above exemplary embodiments is implemented.
[0032] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the satisfaction prediction method in any of the above exemplary embodiments is implemented.
[0033] It can be seen from the above technical solutions that the satisfaction prediction method, satisfaction prediction device, computer storage medium and electronic device in the exemplary embodiments of the present disclosure have at least the following advantages and positive effects:
[0034] In the method and apparatus provided in the exemplary embodiments of the present disclosure, a satisfaction prediction model is constructed by using multi-dimensional user characteristics of user call bill data and user feature data, and the poor quality ratio of user call bill data is calculated to obtain poor quality call bill data, so that the poor quality call bill data and user feature data are input into the satisfaction prediction model to obtain a predicted satisfaction score, thereby achieving a scientific prediction of satisfaction with mobile network quality, ensuring the accuracy and timeliness of satisfaction prediction with mobile network quality, providing a reference for improving services based on mobile network quality, and guiding the formulation of mobile network service quality improvement plans, becoming an important tool for improving mobile network quality satisfaction.
[0035] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0037] Figure 1 A flowchart schematically illustrating a method for predicting satisfaction in an exemplary embodiment of the present disclosure is shown;
[0038] Figure 2 A schematic diagram schematically illustrates a flow chart of a method for acquiring user feature data and user call record data in an exemplary embodiment of the present disclosure;
[0039] Figure 3 A flowchart schematically illustrating a method for calculating the quality difference ratio in an exemplary embodiment of the present disclosure;
[0040] Figure 4 A schematic diagram schematically illustrates a flow chart of a method for collecting statistics on user call list data in an exemplary embodiment of the present disclosure;
[0041] Figure 5 A flowchart schematically illustrating a method for training a satisfaction prediction model in an exemplary embodiment of the present disclosure;
[0042] Figure 6 A flowchart schematically illustrating a method for predicting a satisfaction score in an exemplary embodiment of the present disclosure;
[0043] Figure 7 A schematic diagram schematically illustrates a flow chart of a method for predicting mobile network satisfaction in an application scenario in an exemplary embodiment of the present disclosure;
[0044] Figure 8 A schematic diagram schematically illustrates the construction of a method for predicting satisfaction scores using application scenarios in an exemplary embodiment of the present disclosure;
[0045] Fig. 9 A schematic diagram of the structure of a satisfaction prediction device in an exemplary embodiment of the present disclosure is schematically shown;
[0046] Fig.10 An electronic device for implementing a satisfaction prediction method in an exemplary embodiment of the present disclosure is schematically shown;
[0047] Fig.11 A computer-readable storage medium for implementing a satisfaction prediction method in an exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0048] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0049] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.
[0050] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and their repeated descriptions will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities.
[0051] In view of the problems existing in the related technologies, this paper proposes a satisfaction prediction method. Figure 1 A flowchart of the satisfaction prediction method is shown in FIG. Figure 1 As shown, the satisfaction prediction method includes at least the following steps:
[0052] Step S110: Determine data acquisition rules, and acquire user feature data and user call record data according to the data acquisition rules.
[0053] Step S120: Merge the user call bill data and the user feature data to obtain a mapping relationship between the user call bill data and the user feature data, and calculate the poor quality ratio of the user call bill data to obtain poor quality call bill data.
[0054] Step S130: Input the poor-quality call record data and user feature data having a mapping relationship into a pre-trained satisfaction prediction model, so that the trained satisfaction prediction model outputs a satisfaction score.
[0055] In an exemplary embodiment of the present disclosure, a satisfaction prediction model is constructed through multi-dimensional user characteristics of user call bill data and user feature data, and the poor quality ratio of user call bill data is calculated to obtain poor quality call bill data, so that the poor quality call bill data and user feature data are input into the satisfaction prediction model to obtain a predicted satisfaction score, thereby achieving a scientific prediction of satisfaction with mobile network quality, ensuring the accuracy and timeliness of satisfaction predictions of mobile network quality, providing a reference for improving services based on mobile network quality, and guiding the formulation of mobile network service quality improvement plans, becoming an important tool for improving mobile network quality satisfaction.
[0056] The various steps of the satisfaction prediction method are described in detail below.
[0057] In step S110, data acquisition rules are determined, and user feature data and user call record data are acquired according to the data acquisition rules.
[0058] In an exemplary embodiment of the present disclosure, in order to obtain a satisfaction score for predicting a user, a data acquisition rule may be preset to obtain user feature data and user call log data.
[0059] In an alternative embodiment, Figure 2 A flow chart of a method for obtaining user feature data and user call record data is shown, such as Figure 2 As shown, the method at least includes the following steps: In step S210, user characteristic data is acquired according to a data acquisition rule, and a data acquisition cycle is determined.
[0060] Specifically, the customer group that has participated in the satisfaction survey in the past can be determined according to the data acquisition rules to generate a telephone number sample library of the customer group.
[0061] For example, the data acquisition rule may be to identify users with normal billing for three consecutive months, average traffic usage of more than 200M (megabytes), and traffic usage in the province accounting for more than 50% as the target customer group. Among them, normal billing for three consecutive months indicates that the user is a long-term user of the mobile network, and the average practical traffic of more than 200M indicates that the user is still an active user of the mobile network, which is more valuable for reference.
[0062] After determining the telephone number sample library of the customer group according to the data acquisition rules, the user characteristic data of the previous mobile network quality satisfaction scores of the sample library can be obtained accordingly.
[0063] The user characteristic data may be the user's BSS (Basic Service Set) data. BSS can support the Operation Support System (OSS) and the Business Support System (BSS), and the Operation Support System and the Business Support System are integrated, information resource sharing support systems for telecom operators. The history of OSS can be traced back to 1984, when the first split of AT&T introduced competition into the world's telecommunications market for the first time. Subsequently, market competition intensified, requiring operators to not only maintain customer loyalty and reduce customer churn, but also to ensure a certain operating profit. OSS / BSS came into being. Among them, the Operation Support System is the main body and the Business Support System is the foundation. From the customer's perspective, there is no difference between the Operation Support System and the Business Support System. With the prevalence of the customer-centric concept, service providers have gradually diluted the difference between the Operation Support System and the Business Support System.
[0064] Therefore, the user characteristic data can be obtained through the BSS system. The BSS system includes the functional modules of customer relationship management, data collection system, billing account, comprehensive settlement, and marketing support.
[0065] Specifically, the user characteristic data may include user age, gender, usage package, average monthly ARPU (Average Revenue Per User, average revenue per user) and terminal model and other characteristic data.
[0066] The ARPU is an indicator used by operators to measure the revenue they receive from each end user. However, it does not reflect the final profit margin. It refers to the average communication business revenue contributed by each user of a telecommunications operator in a period of time (usually one month or one year), and its unit is RMB / user. From a calculation point of view, the size of the ARPU value depends on two factors, business revenue and the number of users. The higher the business revenue relative to the number of users, the greater the ARPU value. At the same time, the ARPU value also reflects the user structure of the enterprise. The higher the proportion of mid- to high-end customers in the user structure, the higher the ARPU value.
[0067] In addition, when training the satisfaction prediction model, the user characteristic data may also include the user's past mobile network quality satisfaction scores.
[0068] After obtaining the user feature data, the user feature data may also be exported in the form of CSV (Comma-Separated Values, sometimes also called character-separated values, because the separator character may not be a comma).
[0069] CSV is a general-purpose, relatively simple file format with a wide range of consumer, commercial, and scientific uses. The most widespread application is in transferring tabular data between programs that themselves operate on incompatible (often proprietary and / or unregulated) formats. Because of this, a large number of programs support some variant of CSV, at least as an alternative input / output format.
[0070] CSV files store tabular data (numbers and text) in plain text form. Plain text means that the file is a sequence of characters and does not contain data that must be interpreted like binary numbers. CSV files consist of any number of records, separated by some kind of line break character; each record consists of fields, and the separator between fields is another character or string, the most common being a comma or a tab. Usually, all records have exactly the same sequence of fields. CSV files are usually plain text files, so it is recommended to open them with WORDPAD or Notepad, or save them as a new file and then open them with EXCEL, which is also one of the methods.
[0071] To further obtain user call data, a data acquisition cycle for obtaining user call data may also be determined. For example, the data acquisition cycle may be a full week by default, or other data acquisition cycles may be set according to actual conditions, which is not specifically limited in this exemplary embodiment.
[0072] In step S220, user call record data is acquired based on the data acquisition cycle and according to the data acquisition rule.
[0073] A sample library of telephone numbers of customer groups of customers with past satisfaction evaluations is obtained from the customer service department. By writing a SQL (Structured Query Language) query script, the user CDR bills of the customer groups within a specific period of the data acquisition period can be queried in the sample library of telephone numbers of the customer groups through the user's ISMSDN (mobile phone number) to obtain user bill data.
[0074] When users are talking, sending messages or surfing the Internet, the core network elements record the relevant billing information and send the billing message to the billing system, which then generates the call bill. Some core network elements can directly generate call bills and send them to the billing system or billing center.
[0075] The word "call bill" literally means "call receipt". It has a clear mainstream voice service. In fact, in the era of data communication expansion, the "call" has included voice, text messages, and data-related services.
[0076] Moreover, in the CS (Circuit Switched) domain, call records are usually classified according to service characteristics, and may include: mobile originated call records, mobile terminated call records, short message sent call records, short message terminated call records, roaming call records, forwarded call records, positioning call records and supplementary service call records, etc.
[0077] The bill has nothing to do with the rate, but only with how the user uses the service and the amount of service. As for how to calculate the amount that the end user should pay, it is determined by the billing center. The billing center is also the final destination of the bill.
[0078] Among them, user call record data may include user IMSI (International Mobile Subscriber Identity), base station number, sector number, call record start time and call record end time, call access base station RSRP (Reference Signal Receiving Power) and call release base station RSRP data, etc., and may also include other data according to actual conditions. This exemplary embodiment does not make any special limitations on this.
[0079] The user's IMSI is an identification code used to distinguish different users in a cellular network and is not repeated in all cellular networks. The mobile phone stores the IMSI in a 64-bit field and sends it to the network. IMSI can be used to query the user's information in the Home Location Register (HLR) or the Visitor Location Register (VLR). In order to avoid being identified and tracked by eavesdroppers, in most cases, the communication between the mobile phone and the network will use a randomly generated temporary mobile subscriber identity (TMSI) instead of IMSI.
[0080] IMSI consists of a string of decimal numbers with a maximum length of 15 digits. The length of the IMSIs actually used is mostly 15 digits, and examples shorter than 15 digits are rare. For example, some older IMSIs still in use in the network in South Africa are 14 digits. IMSI is composed of the Mobile Country Code (MCC), Mobile Network Code (MNC) and Mobile Subscription Identification Number (MSIN) connected in sequence. The MCC is 3 digits long, and the MNC length is determined by the value of the MCC, which can be 2 digits (European standard) or 3 digits (North American standard). The value of MSIN is assigned by the operator.
[0081] RSRP is a key parameter that can represent the strength of wireless signals in LTE networks and one of the physical layer measurement requirements. It is the average value of the signal power received on all REs (resource elements) that carry reference signals within a symbol. The use and specification of RSRP are equivalent to the RSCP (Received Signal Code Power) in WCDMA.
[0082] Furthermore, after obtaining the user call record data, the user call record data can also be exported as a CSV format file.
[0083] In this exemplary embodiment, corresponding user feature data and user call record data are acquired through data acquisition rules and data acquisition cycles. The data acquisition method is simple and accurate, providing the most valuable reference data for subsequent user satisfaction score predictions and ensuring the accuracy of user satisfaction score predictions.
[0084] In step S120, the user call bill data and the user feature data are merged to obtain a mapping relationship between the user call bill data and the user feature data, and the poor quality ratio of the user call bill data is calculated to obtain poor quality call bill data.
[0085] In an exemplary embodiment of the present disclosure, after obtaining the user call log data and the user characteristic data, the user call log data and the user characteristic data may be further parsed and cleaned to eliminate invalid data.
[0086] For example, when there are null values in user call record data or user feature data, data analysis or data cleaning may be performed on different user call record data or user feature data.
[0087] When the gender in the user characteristic data is a null value, it can be determined whether male or female accounts for a larger proportion in the user characteristic data at this time, so as to assign the null value to the gender attribute with a larger proportion; when the age in the user characteristic data is a null value, the average value of the age in the current user characteristic data can be calculated, and the average value can be used as the age in the user characteristic data of the null value; when the terminal model in the user characteristic data is a null value, the user characteristic data corresponding to the terminal model of the null value can be directly eliminated; when the monthly average ARPU in the user characteristic data is a null value, the average value of the monthly average ARPU in the current user characteristic data can also be calculated, and the average value of the monthly average ARPU can be used as the monthly average ARPU of the user characteristic data of the null value.
[0088] In addition, when other user feature data or user call record data are subject to control or other circumstances, data analysis or data cleaning may also be performed based on actual circumstances, and this exemplary embodiment does not impose any special limitations on this.
[0089] After parsing or cleaning the user call record data and user feature data, the user feature data and the user call record data can be merged by using the merge function of the pandas (python data analysis module) package in the python language, with the user IMSI as the key.
[0090] Among them, pandas is a data analysis package for Python, which was originally developed by AQR Capital Management in April 2008 and open sourced at the end of 2009. It is currently developed and maintained by the PyData development team that focuses on Python data package development and is part of the PyData project. Pandas was originally developed as a financial data analysis tool, so pandas provides good support for time series analysis. The name Pandas comes from panel data and python data analysis. Panel data is a term for multidimensional data sets in economics, and panel data types are also provided in Pandas.
[0091] Pandas incorporates a large number of libraries and some standard data models, providing the tools needed to efficiently operate large data sets. Pandas provides a large number of functions and methods that allow us to process data quickly and easily. Pandas is one of the important factors that make Python a powerful and efficient data analysis environment.
[0092] The merge function is a data merge function. The merge() function supports 4 types of data merges, namely Naturaljoin, Full outer join, Left outer join, and Right outer join. Among them, Natural join: only returns the rows of the data frames that match in the two data frames, and the parameter is: all = FALSE. Full outer join: returns all rows in the two data frames, and the parameter is: all = TRUE. Left outer join: returns all rows in the x data frame and the rows that match in the y data frame, and the parameter is: all.x = TRUE. Right outer join: returns all rows in the y data frame and the rows that match in the x data frame, and the parameter is: all.y = TRUE.
[0093] It is worth noting that when user call bill data and user feature data are merged, the user IMSI and the user ISMSDN are the same. Therefore, a mapping relationship between the user call bill data and the user feature data can be established through the user IMSI and the user ISMSDN to associate the user call bill data and the user feature data.
[0094] In an alternative embodiment, Figure 3 A flow chart of the method for calculating the quality difference ratio is shown in FIG. Figure 3As shown, the method at least includes the following steps: In step S310, the user call record data is counted to obtain the number of call records and the frequency of poor quality call records.
[0095] In an alternative embodiment, Figure 4 A flow chart of a method for collecting statistics on user call list data is shown in FIG. Figure 4 As shown, the method includes at least the following steps: in step S410, the user call record data is counted to obtain the number of call records, and a quality difference threshold corresponding to the user call record data is obtained.
[0096] The quality difference threshold may be set for the call access base station RSRP and the call release base station RSRP. Generally, from the perspective of user perception, the quality difference threshold may be set to -110 dBm (decibel relative to one milliwatt), or may be set to other values, which are not specifically limited in this exemplary embodiment.
[0097] Among them, decibel milliwatt is an absolute value referring to power, unlike dB which is only a relative value.
[0098] In step S420, poor-quality call data in the user call record data is determined according to the poor-quality threshold, and the poor-quality call data is counted to obtain the poor-quality call record frequency.
[0099] After the poor quality threshold is obtained, the poor quality threshold can be used to judge the call access base station RSRP and call release base station RSRP in the user call list data to determine the poor quality call data.
[0100] For example, the RSRP value at the time of user access can be extracted, and the call record with RSRP ≥ -110dBm can be determined as a good call record based on the quality difference threshold, and the call record with RSRP < -110dBm can be determined as a poor quality call record, so as to obtain the corresponding poor quality call data.
[0101] Furthermore, statistics are collected on the poor-quality call records represented by the poor-quality call data to obtain the corresponding poor-quality call record frequency.
[0102] In this exemplary embodiment, the number of call records and the frequency of poor-quality call records can be obtained by counting and judging the user's call record data, providing an accurate data basis for calculating the poor-quality call record data.
[0103] In step S320, the poor quality ratio is calculated for the number of call records and the frequency of poor quality call records to obtain poor quality call record data.
[0104] After obtaining the number of call records and the frequency of poor quality call records, the poor quality ratio can be calculated for the number of call records and the frequency of poor quality call records.
[0105] Specifically, the poor quality ratio can be calculated by dividing the poor quality call record frequency by the number of call records, or by other calculation methods, which are not specifically limited in this exemplary embodiment. Therefore, after calculating the poor quality ratio of the number of call records and the poor quality call record frequency, the corresponding poor quality call record data can be obtained.
[0106] Generally, the poor quality call bill data may include the proportion of poor quality call bills and the frequency of poor quality call bills, and may also include other data, which is not particularly limited in this exemplary embodiment.
[0107] It is worth noting that, under the premise that there is a mapping relationship between user call bill data and user feature data, when the poor quality ratio of user call bill data is calculated to obtain poor quality call bill data, the mapping relationship is further deepened into a mapping relationship between poor quality call bill data and user feature data.
[0108] In this exemplary embodiment, poor quality call bill data can be obtained by calculating the poor quality ratio of user call bill data. The poor quality call bill data of the wireless base station and the user feature data are used as input data of the satisfaction prediction model. The satisfaction prediction model can be constructed through multi-dimensional user characteristics, and the accuracy of the predicted user satisfaction score for the mobile network can be further improved.
[0109] In step S130, the poor quality call record data and user feature data having a mapping relationship are input into a pre-trained satisfaction prediction model, so that the trained satisfaction prediction model outputs a satisfaction score.
[0110] In an exemplary embodiment of the present disclosure, after the mapping relationship is further deepened into a mapping relationship between poor-quality call record data and user feature data, the poor-quality call record data and user features with the mapping relationship can be input into a pre-trained satisfaction prediction model so that the satisfaction prediction model predicts the user's satisfaction score for the mobile network.
[0111] In an optional embodiment, the pre-trained satisfaction prediction model includes: a decision tree model.
[0112] Specifically, the decision tree model used can be trained by the CART (Classification And Regression Tree) algorithm. The CART algorithm is an implementation of the decision tree model. Usually, there are three main implementations of decision trees, namely the ID3 algorithm, the CART algorithm and the C4.5 algorithm. The CART algorithm is a binary recursive segmentation technology that divides the current sample into two sub-samples so that each non-leaf node generated has two branches. Therefore, the decision tree generated by the CART algorithm is a binary tree with a simple structure. Since the CART algorithm constitutes a binary tree, it can only be "yes" or "no" at each step of the decision. Even if a feature has multiple values, the data is divided into two parts.
[0113] Therefore, before using the pre-trained decision tree model to predict the satisfaction score, the decision tree model can be trained using the CART algorithm.
[0114] In an alternative embodiment, Figure 5 A flow chart of the method for training a satisfaction prediction model is shown, such as Figure 5 As shown, the method at least includes the following steps: In step S510, a sample of poor-quality call records, a sample of user characteristics, and a sample of satisfaction ratings corresponding to the sample of user characteristics are obtained.
[0115] Among them, user feature samples may also include user age, gender, usage package, average monthly ARPU, terminal model and other feature data.
[0116] The user call record sample can also be the poor quality call record data calculated based on the data including the user IMSI, base station number, sector number, call record start time and call record end time, call access base station RSRP and call release base station RSRP. The user call record sample includes the user poor quality call record proportion sample and the user poor quality call record frequency.
[0117] The satisfaction score sample may be the user's previous mobile network quality satisfaction score corresponding to the user feature sample.
[0118] When training a decision tree model, all training samples can be placed at the root node, and the sample with the proportion of poor quality call records can be selected as the optimal feature. The training set can be divided into subsets according to this optimal feature, so that each subset has the best classification under the current conditions.
[0119] In step S520, the poor-quality call record samples, user feature samples and satisfaction score samples are recursively partitioned to obtain an original decision tree model.
[0120] After obtaining samples for training the decision tree model, recursive partitioning can be performed on the bad call ticket samples, user feature samples, and satisfaction score samples.
[0121] Furthermore, assume that each attribute representing a single sample represents the category to which it belongs. The CART algorithm recursively divides the dimensional space into non-overlapping rectangles. Specifically, select an independent variable and then select a value to divide the dimensional space into two parts. All points in one part satisfy , and all points in the other part satisfy . For non-continuous variables, the attribute value can take only two values, that is, equal to the value or not equal to the value. Then, reselect an attribute from the two parts obtained above to continue dividing until the entire dimensional space is divided. For a variable attribute, its division point is the midpoint of a pair of continuous variable attribute values. Assuming that a set of samples has a continuous value for an attribute, there will be split points, and each split point is the mean of two adjacent continuous values. The division of each attribute is sorted according to the amount of impurities that can be reduced, and the amount of impurity reduction is defined as the sum of the proportion of the impurity before the division minus the impurity of each node after the division. The impurity measurement method often uses the Gini indicator. Assuming that a sample has a common class, the Gini impurity of a node can be defined as:
[0122]
[0123] Among them, P i It represents the probability of belonging to the i-th class. When Gini(D) = 0, all samples belong to the same class; when all classes appear in the node with equal probability, Gini(D) is maximized.
[0124] Similarly, when there are many nodes and each node has a different weight, we can get:
[0125]
[0126] P i With the above theoretical basis, the actual recursive partitioning process is as follows: if all samples of the current node do not belong to the same class or there is only one sample left, then this node is a non-leaf node, so each attribute of the sample and the split point corresponding to each attribute will be tried to find a partition with the largest impurity variable. The subtree of this attribute partition is the optimal branch.
[0127] According to such splitting rules, the CART algorithm can complete the tree building process and obtain the original decision tree model.
[0128] In step S530, the original decision tree model is pruned to obtain a pre-trained satisfaction prediction model.
[0129] Prune according to the validation data. In the process of building the CART tree, there may be overfitting, so many branches reflect anomalies in the data. Such an original decision tree model has low classification accuracy, so it is necessary to detect and subtract these unreliable branches. The commonly used pruning methods for decision tree models are pre-pruning and post-pruning. The CART algorithm uses post-pruning, and the specific method is cost complexity pruning.
[0130] After pruning the original decision tree model, a pre-trained satisfaction prediction model can be obtained.
[0131] In this exemplary embodiment, a satisfaction prediction model can be trained through the CART algorithm. The algorithm has low computational complexity, and its output structure is easy to understand. It is also insensitive to the lack of intermediate values and can process irrelevant feature data. Therefore, it is extremely suitable for predicting user satisfaction with mobile network quality.
[0132] After the satisfaction prediction model is trained, the poor-quality call record data and user feature data having a mapping relationship may be input into the trained satisfaction prediction model to predict the satisfaction score.
[0133] In an alternative embodiment, Figure 6 A flow chart of a method for predicting satisfaction scores is shown in FIG. Figure 6 As shown, the method includes at least the following steps: in step S610, a screening threshold corresponding to poor-quality call record data is obtained, and the poor-quality call record data is screened using the screening threshold to obtain target call record data.
[0134] Since the poor quality call bill data includes the poor quality call bill ratio and the poor quality call bill frequency, a screening threshold can be set for the poor quality call bill ratio. Generally, the screening threshold can be 2%-5%, or can be set to other values, which is not specifically limited in this exemplary embodiment.
[0135] When the proportion of poor quality call bills is less than 2%, it is determined that the proportion of poor quality call bills is small, indicating that user satisfaction is high; when the proportion of poor quality call bills is greater than 5%, it is determined that the proportion of poor quality call bills is large, indicating that user satisfaction is low, so there is no need to predict these two parts of poor quality call bill data.
[0136] According to the size of the screening threshold, the proportion of poor quality call bills in the poor quality call bill data can be compared with the screening threshold to determine the poor quality call bill data with a proportion of poor quality call bills between 2% and 5% as the target call bill data.
[0137] It is worth noting that after the mapping relationship has been deepened into a mapping relationship between poor quality call record data and user feature data, because the target call record data is determined from the poor quality call record data based on the screening threshold, the mapping relationship can be further deepened into a mapping relationship between the target call record data and user feature data.
[0138] In step S620, the target call record data and user feature data having a mapping relationship are input into a pre-trained satisfaction prediction model, so that the trained satisfaction prediction model outputs a satisfaction score.
[0139] After obtaining the target call bill data, the target call bill data and user feature data with a mapping relationship are input into a pre-trained satisfaction prediction model, so that the satisfaction prediction model can predict the corresponding satisfaction score to determine the mobile network quality satisfaction of the customer group.
[0140] In this exemplary embodiment, a satisfaction score can be output through the trained satisfaction prediction model, filling the blank area of mobile network quality satisfaction prediction, realizing scientific prediction of mobile network quality satisfaction, providing a reference basis for service improvement based on mobile network quality, and guiding the designation of mobile network service quality improvement plans, becoming an important tool for improving mobile network quality satisfaction.
[0141] The satisfaction prediction method in the embodiment of the present disclosure is described in detail below in conjunction with an application scenario.
[0142] Figure 7 The flowchart of the mobile network satisfaction prediction method in the application scenario is shown as follows: Figure 7 As shown, in step S710, a sample library of telephone numbers of customer groups that have participated in satisfaction surveys in the past is obtained.
[0143] In order to obtain a satisfaction score for predicting a user, a data acquisition rule may be preset to obtain user feature data and user call log data.
[0144] Specifically, the customer group that has participated in the satisfaction survey in the past can be determined according to the data acquisition rules to generate a telephone number sample library of the customer group.
[0145] For example, the data acquisition rule may be to identify users with normal billing for three consecutive months, average traffic usage of more than 200M (megabytes), and traffic usage in the province accounting for more than 50% as the target customer group. Among them, normal billing for three consecutive months indicates that the user is a long-term user of the mobile network, and the average practical traffic of more than 200M indicates that the user is still an active user of the mobile network, which is more valuable for reference.
[0146] In step S720, the previous mobile network quality satisfaction scores of the sample library, user age, gender, usage package, average monthly ARPU, terminal model and other characteristic data are obtained.
[0147] After determining the telephone number sample library of the customer group according to the data acquisition rules, the user characteristic data of the previous mobile network quality satisfaction scores of the sample library can be obtained accordingly.
[0148] The user characteristic data can be the user's BSS data. BSS can support the operation support system and the business support system, and the operation support system and the business support system are integrated, information resource sharing support systems of telecommunications operators. The history of OSS can be traced back to 1984, when the first split of AT&T introduced competition into the world's telecommunications market for the first time. Subsequently, market competition intensified, requiring operators to not only maintain the loyalty of their customer base and reduce customer churn, but also to ensure a certain operating profit. OSS / BSS came into being. Among them, the operation support system is the main body and the business support system is the foundation. From the customer's perspective, there is no difference between the operation support system and the business support system. With the prevalence of the customer-centric concept, service providers have gradually diluted the difference between the operation support system and the business support system.
[0149] Therefore, the user characteristic data can be obtained through the BSS system. The BSS system includes the functional modules of customer relationship management, data collection system, billing account, comprehensive settlement, and marketing support.
[0150] Specifically, user characteristic data may include user age, gender, usage package, average monthly ARPU, terminal model and other characteristic data.
[0151] The ARPU is an indicator used by operators to measure the revenue they receive from each end user. However, it does not reflect the final profit margin. It refers to the average communication business revenue contributed by each user of a telecommunications operator in a period of time (usually one month or one year), and its unit is RMB / user. From a calculation point of view, the size of the ARPU value depends on two factors, business revenue and the number of users. The higher the business revenue relative to the number of users, the greater the ARPU value. At the same time, the ARPU value also reflects the user structure of the enterprise. The higher the proportion of mid- to high-end customers in the user structure, the higher the ARPU value.
[0152] In addition, when training the satisfaction prediction model, the user characteristic data may also include the user's past mobile network quality satisfaction scores.
[0153] After obtaining the user feature data, the user feature data may also be exported in CSV format.
[0154] CSV is a general-purpose, relatively simple file format with a wide range of consumer, commercial, and scientific uses. The most widespread application is in transferring tabular data between programs that themselves operate on incompatible (often proprietary and / or unregulated) formats. Because of this, a large number of programs support some variant of CSV, at least as an alternative input / output format.
[0155] CSV files store tabular data (numbers and text) in plain text form. Plain text means that the file is a sequence of characters and does not contain data that must be interpreted like binary numbers. CSV files consist of any number of records, separated by some kind of line break character; each record consists of fields, and the separator between fields is another character or string, the most common being a comma or a tab. Usually, all records have exactly the same sequence of fields. CSV files are usually plain text files, so it is recommended to open them with WORDPAD or Notepad, or save them as a new file and then open them with EXCEL, which is also one of the methods.
[0156] In step S730, based on the telephone number sample library, the CDR of the customer group users in the pending period is queried to obtain the user ISMI, base station number, sector number, call record start time and end time, call access base station RSRP, call release base station RSRP and other information.
[0157] To further obtain user call data, a data acquisition cycle for obtaining user call data may also be determined. For example, the data acquisition cycle may be a full week by default, or other data acquisition cycles may be set according to actual conditions, which is not specifically limited in this exemplary embodiment.
[0158] Obtain a sample library of telephone numbers of customer groups of customers with previous satisfaction ratings from the customer service department. By writing an SQL query script, query the user CDR bills of the customer group within a specific period of the data acquisition cycle in the sample library of telephone numbers of the customer group through the user's ISMSDN to obtain the user bill data.
[0159] When users are talking, sending messages or surfing the Internet, the core network elements record the relevant billing information and send the billing message to the billing system, which then generates the call bill. Some core network elements can directly generate call bills and send them to the billing system or billing center.
[0160] The word "call bill" literally means "call receipt". It has a clear mainstream voice service. In fact, in the era of data communication expansion, the "call" has included voice, text messages, and data-related services.
[0161] Moreover, in the CS domain, call records are usually classified according to service characteristics, and may include: mobile originating call records, mobile terminating call records, short message sending call records, short message terminating call records, roaming call records, forwarding call records, positioning call records and supplementary service call records, etc.
[0162] The bill has nothing to do with the rate, but only with how the user uses the service and the amount of service. As for how to calculate the amount that the end user should pay, it is determined by the billing center. The billing center is also the final destination of the bill.
[0163] Among them, user call record data may include user IMSI, base station number, sector number, call record start time and call record end time, call access base station RSRP and call release base station RSRP data, etc., and may also include other data according to actual conditions. This exemplary embodiment does not make any special limitations on this.
[0164] The user's IMSI is an identification code used to distinguish different users in a cellular network and is unique in all cellular networks. The mobile phone stores the IMSI in a 64-bit field and sends it to the network. The IMSI can be used to query the user's information in the home location register or the visitor location register. In order to prevent eavesdroppers from identifying and tracking specific users, in most cases, a randomly generated temporary mobile subscriber identity code is used instead of the IMSI in the communication between the mobile phone and the network.
[0165] IMSI consists of a string of decimal numbers with a maximum length of 15 digits. The length of the IMSI in actual use is mostly 15 digits, and examples shorter than 15 digits are rare. For example, some older IMSIs still in use in South Africa are 14 digits. IMSI is composed of the mobile country code, mobile network code and mobile subscriber identification code connected in sequence. The length of MCC is 3 digits, and the length of MNC is determined by the value of MCC, which can be 2 digits (European standard) or 3 digits (North American standard). The value of MSIN is assigned by the operator.
[0166] RSRP is a key parameter that can represent the strength of wireless signals in LTE networks and one of the physical layer measurement requirements. It is the average value of the signal power received on all REs carrying reference signals within a symbol. The use and specification of RSRP are equivalent to the RSCP received signal code power in WCDMA.
[0167] Furthermore, after obtaining the user call record data, the user call record data can also be exported as a CSV format file.
[0168] In step S740, the customer perceived RSRP-110dBm is used as a threshold, and the number of user call records and the frequency of poor quality call records are counted to generate a proportion of poor quality call records.
[0169] After obtaining the user call list data and user characteristic data, the user call list data and user characteristic data may be analyzed and cleaned to eliminate invalid data.
[0170] For example, when there are null values in user call record data or user feature data, data analysis or data cleaning may be performed on different user call record data or user feature data.
[0171] When the gender in the user characteristic data is a null value, it can be determined whether male or female accounts for a larger proportion in the user characteristic data at this time, so as to assign the null value to the gender attribute with a larger proportion; when the age in the user characteristic data is a null value, the average value of the age in the current user characteristic data can be calculated, and the average value can be used as the age in the user characteristic data of the null value; when the terminal model in the user characteristic data is a null value, the user characteristic data corresponding to the terminal model of the null value can be directly eliminated; when the monthly average ARPU in the user characteristic data is a null value, the average value of the monthly average ARPU in the current user characteristic data can also be calculated, and the average value of the monthly average ARPU can be used as the monthly average ARPU of the user characteristic data of the null value.
[0172] In addition, when other user feature data or user call record data are subject to control or other circumstances, data analysis or data cleaning may also be performed based on actual circumstances, and this exemplary embodiment does not impose any special limitations on this.
[0173] After parsing or cleaning the user call record data and user feature data, you can also use the merge function of the pandas package in the Python language to merge the user feature data and the user call record data with the user IMSI as the key.
[0174] Among them, pandas is a data analysis package for Python, which was originally developed by AQR Capital Management in April 2008 and open sourced at the end of 2009. It is currently developed and maintained by the PyData development team that focuses on Python data package development and is part of the PyData project. Pandas was originally developed as a financial data analysis tool, so pandas provides good support for time series analysis. The name Pandas comes from panel data and python data analysis. Panel data is a term for multidimensional data sets in economics, and panel data types are also provided in Pandas.
[0175] Pandas incorporates a large number of libraries and some standard data models, providing the tools needed to efficiently operate large data sets. Pandas provides a large number of functions and methods that allow us to process data quickly and easily. Pandas is one of the important factors that make Python a powerful and efficient data analysis environment.
[0176] The merge function is a data merge function. The merge() function supports 4 types of data merges, namely Naturaljoin, Full outer join, Left outer join, and Right outer join. Among them, Natural join: only returns the rows of the data frames that match in the two data frames, and the parameter is: all = FALSE. Full outer join: returns all rows in the two data frames, and the parameter is: all = TRUE. Left outer join: returns all rows in the x data frame and the rows that match in the y data frame, and the parameter is: all.x = TRUE. Right outer join: returns all rows in the y data frame and the rows that match in the x data frame, and the parameter is: all.y = TRUE.
[0177] It is worth noting that when user call bill data and user feature data are merged, the user IMSI and the user ISMSDN are the same. Therefore, a mapping relationship between the user call bill data and the user feature data can be established through the user IMSI and the user ISMSDN to associate the user call bill data and the user feature data.
[0178] Furthermore, the user call log data is counted to obtain the number of call records, and a quality difference threshold corresponding to the user call log data is obtained.
[0179] The quality difference threshold may be set for the call access base station RSRP and the call release base station RSRP. Generally, from the perspective of user perception, the quality difference threshold may be set to -110 dBm, or may be set to other values, which is not specifically limited in this exemplary embodiment.
[0180] Among them, decibel milliwatt is an absolute value referring to power, unlike dB which is only a relative value.
[0181] The poor quality call data in the user call record data is determined according to the poor quality threshold, and the poor quality call data is counted to obtain the poor quality call record frequency.
[0182] After the poor quality threshold is obtained, the poor quality threshold can be used to judge the call access base station RSRP and call release base station RSRP in the user call list data to determine the poor quality call data.
[0183] For example, the RSRP value at the time of user access can be extracted, and the call record with RSRP ≥ -110dBm can be determined as a good call record based on the quality difference threshold, and the call record with RSRP < -110dBm can be determined as a poor quality call record, so as to obtain the corresponding poor quality call data.
[0184] Furthermore, statistics are collected on the poor-quality call records represented by the poor-quality call data to obtain the corresponding poor-quality call record frequency.
[0185] The poor quality ratio is calculated for the number of call records and the frequency of poor quality call records to obtain the poor quality call record data.
[0186] After obtaining the number of call records and the frequency of poor quality call records, the poor quality ratio can be calculated for the number of call records and the frequency of poor quality call records.
[0187] Specifically, the poor quality ratio can be calculated by dividing the poor quality call record frequency by the number of call records, or by other calculation methods, which are not specifically limited in this exemplary embodiment. Therefore, after calculating the poor quality ratio of the number of call records and the poor quality call record frequency, the corresponding poor quality call record data can be obtained.
[0188] Generally, the poor quality call bill data may include the proportion of poor quality call bills and the frequency of poor quality call bills, and may also include other data, which is not particularly limited in this exemplary embodiment.
[0189] It is worth noting that, under the premise that there is a mapping relationship between user call bill data and user feature data, when the poor quality ratio of user call bill data is calculated to obtain poor quality call bill data, the mapping relationship is further deepened into a mapping relationship between poor quality call bill data and user feature data.
[0190] In step S750, a learning model is established, with the previous mobile network quality satisfaction score as the dependent variable, and the user's age, gender, package used, average monthly ARPU, terminal model, proportion of poor quality call bills, and frequency of poor quality call bills as independent variables, and a decision tree machine model is used for training.
[0191] After further deepening the mapping relationship into a mapping relationship between poor-quality call record data and user feature data, the poor-quality call record data and user features with the mapping relationship can be input into a pre-trained satisfaction prediction model so that the satisfaction prediction model predicts the user's satisfaction score for the mobile network.
[0192] Typically, pre-trained satisfaction prediction models include: decision tree models.
[0193] Specifically, the decision tree model used can be trained by the CART algorithm. The CART algorithm is an implementation of the decision tree model. Usually, there are three main implementations of decision trees, namely the ID3 algorithm, the CART algorithm, and the C4.5 algorithm. The CART algorithm is a binary recursive segmentation technology that divides the current sample into two sub-samples so that each non-leaf node generated has two branches. Therefore, the decision tree generated by the CART algorithm is a simple binary tree. Since the CART algorithm constitutes a binary tree, it can only be "yes" or "no" at each step of the decision. Even if a feature has multiple values, the data is divided into two parts.
[0194] Therefore, before using the pre-trained decision tree model to predict the satisfaction score, the decision tree model can be trained using the CART algorithm.
[0195] Obtain poor quality call record samples, user feature samples, and satisfaction score samples corresponding to the user feature samples.
[0196] Among them, user feature samples may also include user age, gender, usage package, average monthly ARPU, terminal model and other feature data.
[0197] The user call record sample can also be the poor quality call record data calculated based on the data including the user IMSI, base station number, sector number, call record start time and call record end time, call access base station RSRP and call release base station RSRP. The user call record sample includes the user poor quality call record proportion sample and the user poor quality call record frequency.
[0198] The satisfaction score sample may be the user's previous mobile network quality satisfaction score corresponding to the user feature sample.
[0199] When training a decision tree model, all training samples can be placed at the root node, and the sample with the proportion of poor quality call records can be selected as the optimal feature. The training set can be divided into subsets according to this optimal feature, so that each subset has the best classification under the current conditions.
[0200] After the algorithm is determined, the acquired poor-quality call sheet samples, user feature samples, and satisfaction score samples corresponding to the user feature samples can also be divided into training sets and test sets. In addition, 75% of the poor-quality call sheet samples, user feature samples, and satisfaction score samples corresponding to the user feature samples are randomly selected as training sets, and 25% are selected as test sets. The training set is used to train the machine learning model, and the test set is used to test the performance of the trained machine learning model.
[0201] The original decision tree model is obtained by recursively partitioning the poor quality call list samples, user feature samples and satisfaction score samples.
[0202] After obtaining samples for training the decision tree model, recursive partitioning can be performed on the bad call ticket samples, user feature samples, and satisfaction score samples.
[0203] Furthermore, assume that each attribute representing a single sample represents the category it belongs to. The CART algorithm recursively divides the dimensional space into non-overlapping rectangles. Specifically, select an independent variable and then select a value to divide the dimensional space into two parts. All points in one part satisfy , and all points in the other part satisfy . For non-continuous variables, the attribute value can take only two values, that is, equal to the value or not equal to the value. Then, reselect an attribute from the two parts obtained above to continue dividing until the entire dimensional space is divided. For a variable attribute, its division point is the midpoint of a pair of continuous variable attribute values. Assuming that a set of samples has a continuous value for an attribute, there will be split points, and each split point is the mean of two adjacent continuous values. The division of each attribute is sorted according to the amount of impurities that can be reduced, and the amount of impurity reduction is defined as the sum of the proportion of the impurity before the division minus the impurity of each node after the division. The impurity measurement method often uses the Gini indicator. Assuming that a sample has a common class, the Gini impurity of a node can be defined as formula (1). Similarly, when there are many nodes and each node has a different weight, formula (2) can be obtained.
[0204] P i With the above theoretical basis, the actual recursive partitioning process is as follows: if all samples of the current node do not belong to the same class or there is only one sample left, then this node is a non-leaf node, so each attribute of the sample and the split point corresponding to each attribute will be tried to find a partition with the largest impurity variable. The subtree of this attribute partition is the optimal branch.
[0205] According to such splitting rules, the CART algorithm can complete the tree building process and obtain the original decision tree model.
[0206] Furthermore, the training set is pruned and verified with the test set.
[0207] Specifically, pruning is performed based on validation data. In the process of building a CART tree, there may be overfitting, so many branches reflect anomalies in the data. Such an original decision tree model has low classification accuracy, so it is necessary to detect and subtract these unreliable branches. The commonly used pruning methods for decision tree models are pre-pruning and post-pruning. The CART algorithm uses post-pruning, and the specific method is cost complexity pruning.
[0208] After pruning the original decision tree model, a pre-trained satisfaction prediction model can be obtained.
[0209] In step S760, the user numbers of the target customer group are imported into the database to generate call records for a specific period, and the proportion of poor-quality call records and the frequency of poor-quality call records of the target customer group, as well as the user's age, gender, usage package, average monthly ARPU, and terminal model are imported as independent variables into the mobile network quality satisfaction prediction model to obtain the mobile network quality satisfaction of the target customer group.
[0210] After the satisfaction prediction model is trained, the poor-quality call record data and user feature data having a mapping relationship may be input into the trained satisfaction prediction model to predict the satisfaction score.
[0211] Figure 8 A schematic diagram of the construction of a method for predicting satisfaction scores using application scenarios is shown, Figure 8 As shown, when the proportion of poor quality call bills is less than 2%, it is determined that the proportion of poor quality call bills is small, indicating that user satisfaction is high; when the proportion of poor quality call bills is greater than 5%, it is determined that the proportion of poor quality call bills is large, indicating that user satisfaction is low, so there is no need to predict these two parts of poor quality call bill data.
[0212] Therefore, the screening threshold corresponding to the poor-quality call bill data may be set to 2%-5%, and the poor-quality call bill data may be screened using the screening threshold to obtain target call bill data.
[0213] According to the size of the screening threshold, the proportion of poor quality call bills in the poor quality call bill data can be compared with the screening threshold to determine the poor quality call bill data with a proportion of poor quality call bills between 2% and 5% as the target call bill data.
[0214] It is worth noting that after the mapping relationship has been deepened into a mapping relationship between poor quality call record data and user feature data, because the target call record data is determined from the poor quality call record data based on the screening threshold, the mapping relationship can be further deepened into a mapping relationship between the target call record data and user feature data.
[0215] The target call record data and user feature data having a mapping relationship are input into a pre-trained satisfaction prediction model, so that the trained satisfaction prediction model outputs a satisfaction score.
[0216] After obtaining the target call bill data, the target call bill data and user feature data with a mapping relationship are input into a pre-trained satisfaction prediction model, so that the satisfaction prediction model can predict the corresponding satisfaction score to determine the mobile network quality satisfaction of the customer group.
[0217] The satisfaction prediction method in this application scenario builds a satisfaction prediction model through multi-dimensional user characteristics of user call bill data and user feature data, and calculates the proportion of poor quality of user call bill data to obtain poor quality call bill data, so as to input the poor quality call bill data and user feature data into the satisfaction prediction model to obtain a predicted satisfaction score, thereby achieving a scientific prediction of satisfaction with mobile network quality, ensuring the accuracy and timeliness of satisfaction prediction of mobile network quality, providing a reference for improving services based on mobile network quality, and guiding the formulation of mobile network service quality improvement plans, becoming an important tool for improving mobile network quality satisfaction.
[0218] In addition, in an exemplary embodiment of the present disclosure, a satisfaction prediction device is also provided. Fig. 9 The schematic diagram of the structure of the satisfaction prediction device is shown in FIG. Fig. 9 As shown, the satisfaction prediction device 900 may include: a data acquisition module 910, a quality difference calculation module 920 and a score prediction module 930. Among them:
[0219] The data acquisition module 910 is configured to determine a data acquisition rule and acquire user feature data and user call record data according to the data acquisition rule;
[0220] The quality difference calculation module 920 is configured to merge the user call sheet data and the user feature data to obtain a mapping relationship between the user call sheet data and the user feature data, and calculate the quality difference ratio of the user call sheet data to obtain the quality difference call sheet data;
[0221] The rating prediction module 930 is configured to input the poor-quality call record data and user feature data having a mapping relationship into a pre-trained satisfaction prediction model, so that the trained satisfaction prediction model outputs a satisfaction rating.
[0222] In an exemplary embodiment of the present invention, the acquiring of user feature data and user call record data according to the data acquisition rule includes:
[0223] Acquire user characteristic data according to the data acquisition rule, and determine a data acquisition cycle;
[0224] Based on the data acquisition cycle and according to the data acquisition rule, user call record data is acquired.
[0225] In an exemplary embodiment of the present invention, the step of calculating the poor quality ratio of the user call bill data to obtain the poor quality call bill data includes:
[0226] The user's call record data is counted to obtain the number of call records and the frequency of poor quality call records;
[0227] The poor quality ratio is calculated for the number of call records and the poor quality call record frequency to obtain the poor quality call record data.
[0228] In an exemplary embodiment of the present invention, the step of obtaining the number of call records and the frequency of poor quality call records by counting the user call record data includes:
[0229] Counting the user call record data to obtain the number of call records, and obtaining a quality difference threshold corresponding to the user call record data;
[0230] The poor quality call data in the user call record data is determined according to the poor quality threshold, and the poor quality call data is counted to obtain the poor quality call record frequency.
[0231] In an exemplary embodiment of the present invention, the pre-trained satisfaction prediction model includes: a decision tree model.
[0232] In an exemplary embodiment of the present invention, before inputting the poor-quality call record data and the user feature data having the mapping relationship into a pre-trained satisfaction prediction model, the method further includes:
[0233] Obtaining a sample of poor-quality call records, a sample of user characteristics, and a sample of satisfaction scores corresponding to the sample of user characteristics;
[0234] Recursively partitioning the poor-quality call record samples, the user feature samples, and the satisfaction score samples to obtain an original decision tree model;
[0235] The original decision tree model is pruned to obtain a pre-trained satisfaction prediction model.
[0236] In an exemplary embodiment of the present invention, the step of inputting the poor-quality call record data and the user feature data having the mapping relationship into a pre-trained satisfaction prediction model so that the trained satisfaction prediction model outputs a satisfaction score includes:
[0237] Acquire a screening threshold value corresponding to the poor-quality call record data, and use the screening threshold value to screen the poor-quality call record data to obtain target call record data;
[0238] The target call record data and the user feature data having the mapping relationship are input into a pre-trained satisfaction prediction model, so that the trained satisfaction prediction model outputs a satisfaction score.
[0239] The specific details of the above-mentioned satisfaction prediction device 900 have been described in detail in the corresponding satisfaction prediction method, so they will not be repeated here.
[0240] It should be noted that, although several modules or units of the satisfaction prediction device 900 are mentioned in the above detailed description, such division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0241] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
[0242] Refer to the following Fig.10 The electronic device 1000 according to such an embodiment of the present invention will be described. Fig.10 The electronic device 1000 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0243] like Fig.10 As shown, the electronic device 1000 is in the form of a general computing device. The components of the electronic device 1000 may include but are not limited to: the at least one processing unit 1010, the at least one storage unit 1020, a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010), and a display unit 1040.
[0244] The storage unit stores program codes, which can be executed by the processing unit 1010, so that the processing unit 1010 executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.
[0245] The storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 1021 and / or a cache memory unit 1022 , and may further include a read-only memory unit (ROM) 1023 .
[0246] The storage unit 1020 may also include a program / utility 1024 having a set (at least one) of program modules 1025, such program modules 1025 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0247] Bus 1030 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0248] The electronic device 1000 may also communicate with one or more external devices 1200 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1000, and / or communicate with any device that enables the electronic device 1000 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1050. Furthermore, the electronic device 1000 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 via a bus 1030. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0249] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.
[0250] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.
[0251] refer to Fig.11 As shown, a program product 1100 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0252] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0253] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0254] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0255] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0256] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
Claims
1. A satisfaction prediction method, characterized in that: The method comprises: Determine data acquisition rules, and acquire user feature data and user call record data according to the data acquisition rules; The user call list data and the user feature data are combined to obtain a mapping relationship between the user call list data and the user feature data, and the user call list data is counted to obtain the number of call records and the frequency of poor quality call lists; the number of call records and the frequency of poor quality call lists are calculated by calculating the poor quality ratio to obtain the poor quality call list data; The poor-quality call record data and the user characteristic data having the mapping relationship are input into a pre-trained satisfaction prediction model, so that the trained satisfaction prediction model outputs a satisfaction score.
2. The satisfaction prediction method according to claim 1, characterized in that: The acquiring of user feature data and user call record data according to the data acquisition rule includes: Acquire user characteristic data according to the data acquisition rule, and determine a data acquisition cycle; Based on the data acquisition cycle and according to the data acquisition rule, user call record data is acquired.
3. The satisfaction prediction method according to claim 1, characterized in that: The method of obtaining the number of call records and the frequency of poor quality call records by counting the user call record data includes: Counting the user call record data to obtain the number of call records, and obtaining a quality difference threshold corresponding to the user call record data; The poor quality call data in the user call record data is determined according to the poor quality threshold, and the poor quality call data is counted to obtain the poor quality call record frequency.
4. The satisfaction prediction method according to claim 1, characterized in that: The pre-trained satisfaction prediction model includes: a decision tree model.
5. The satisfaction prediction method according to claim 4, characterized in that: Before inputting the poor-quality call record data and the user feature data having the mapping relationship into a pre-trained satisfaction prediction model, the method further includes: Obtaining a sample of poor-quality call records, a sample of user characteristics, and a sample of satisfaction scores corresponding to the sample of user characteristics; Recursively partitioning the poor-quality call record samples, the user feature samples, and the satisfaction score samples to obtain an original decision tree model; The original decision tree model is pruned to obtain a pre-trained satisfaction prediction model.
6. The satisfaction prediction method according to claim 1, characterized in that: The step of inputting the poor-quality call record data and the user characteristic data having the mapping relationship into a pre-trained satisfaction prediction model so that the trained satisfaction prediction model outputs a satisfaction score includes: Acquire a screening threshold value corresponding to the poor-quality call record data, and use the screening threshold value to screen the poor-quality call record data to obtain target call record data; The target call record data and the user feature data having the mapping relationship are input into a pre-trained satisfaction prediction model, so that the trained satisfaction prediction model outputs a satisfaction score.
7. A satisfaction prediction device, characterized in that: include: A data acquisition module is configured to determine a data acquisition rule and acquire user feature data and user call record data according to the data acquisition rule; The quality difference calculation module is configured to merge the user call list data and the user feature data to obtain a mapping relationship between the user call list data and the user feature data, and to perform statistics on the user call list data to obtain the number of call records and the frequency of poor quality call lists; perform quality difference ratio calculation on the number of call records and the frequency of poor quality call lists to obtain poor quality call list data; The score prediction module is configured to input the poor-quality call record data and the user feature data having the mapping relationship into a pre-trained satisfaction prediction model, so that the trained satisfaction prediction model outputs a satisfaction score.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the satisfaction prediction method described in any one of claims 1 to 6 is implemented.
9. An electronic device, characterized in that: include: processor; A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the satisfaction prediction method described in any one of claims 1-6 by executing the executable instructions.
