Base station determination method, apparatus and device, and computer storage medium
By obtaining the interaction data between the terminal and the base station, extracting the target time series interaction data and using the preset model to calculate the fault risk value, combined with the time series analysis to determine the cause of the disconnection, the problem of incomplete prediction factors in the existing technology is solved, and the base station failure is improved. Forecasting efficiency and accuracy.
Patent Information
- Application Number
- CN202410613207.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-10-18
AI Technical Summary
In the base station fault prediction in the existing technology, the prediction factors are not comprehensive, and the correlation between the prediction factors and the prediction results is not strong, resulting in efficiency and accuracy problems in the process of determining the faulty base station.
By obtaining the interaction data between the terminal and the base station, extract the target timing interaction data within the preset time period, use the preset model to calculate the fault risk value, determine the base station that is greater than the preset threshold as the target base station, and conduct time series analysis and root cause analysis Determine the cause of disconnections and improve the comprehensiveness and relevance of predictive factors.
It achieves the provision of more comprehensive and more relevant predictive factors in the process of determining faulty base stations, improves the efficiency and accuracy of base station fault prediction, enables timely discovery and prediction of faulty base stations, reduces operating costs and improves user service quality.
Smart Images

Figure CN118803985A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of artificial intelligence, and in particular, relates to a method, apparatus, device, computer storage medium and computer program product for determining a base station. Background Art
[0002] With the rapid development of communication technology, base stations are an important part of communication networks, and their stable operation is crucial to ensure the continuity and quality of communication services. However, base station failures occur from time to time. If they cannot be predicted and repaired in time, it will not only affect users' communication services, but may also cause network operators to face huge economic losses. At present, the commonly used solutions for predicting faulty base stations include fault location methods based on equipment status query, fault diagnosis methods based on rule reasoning, prediction methods based on vector machines, etc. The existing technical solutions have the problems of incomplete prediction factors in the process of determining faulty base stations and weak correlation between prediction factors and prediction results. Summary of the invention
[0003] The embodiments of the present application provide a method, apparatus, device, computer storage medium, and computer program product for determining a base station, which can provide more comprehensive and more relevant prediction factors in the process of determining a faulty base station.
[0004] In a first aspect, an embodiment of the present application provides a method for determining a base station, the method comprising:
[0005] Obtain signaling data from the core network, including interaction data between the terminal and the base station;
[0006] Extracting target time sequence interaction data of communication interaction between the terminal and the base station within a first preset time period from the interaction data, the target time sequence interaction data including a plurality of feature vectors of communication interaction between the terminal and the base station;
[0007] Input multiple feature vectors in the target time series interaction data into a preset model, and calculate the prior probability and conditional probability of each category in the target time series interaction data through the preset model;
[0008] The product of the prior probability and conditional probability of the target category is calculated to obtain a numerical value, which represents the fault risk value of the base station;
[0009] The base station corresponding to the value greater than the preset threshold is determined as the target base station.
[0010] In one possible implementation, the method further includes:
[0011] After determining that the base station corresponding to the value greater than the preset threshold is the target base station, the method further includes:
[0012] Acquire interaction data between the terminal and the target base station;
[0013] Extracting target time-series offline data of the communication between the terminal and the target base station within a second preset time period from the interaction data between the terminal and the target base station, the target time-series offline data including time series information of the terminal disconnected from the target base station, the disconnection reason, and disconnection data corresponding to the disconnection reason, the disconnection reason including at least one sub-disconnection reason;
[0014] Based on the correspondence information between the historical time points, the disconnection data corresponding to the sub-disconnection causes at the historical time points, and the disconnection data of the sub-disconnection causes at the current moment, according to the target historical time points before each time point in the time series, and the disconnection data corresponding to the sub-disconnection causes at the target historical time points, determine the predicted disconnection data corresponding to each sub-disconnection cause at each time point in the time series information;
[0015] For each time point in the target time series information, the analysis capability value and the unexpectedness value corresponding to the sub-disconnection cause are determined according to the disconnection data and the predicted disconnection data, the analysis capability value represents the probability that the sub-disconnection cause corresponding to the explanation capability value is the root cause when the terminal is disconnected from the target base station at the target time point, and the unexpectedness value represents the probability that the sub-disconnection cause corresponding to the unexpectedness value is the root cause when the terminal is disconnected from the target base station at the target time point;
[0016] Calculate the sum of the explanation capability value and the unexpectedness value of each sub-disconnection reason of the disconnection between the terminal and the target base station at the target time point;
[0017] The sub-disconnection cause corresponding to the maximum sum is determined as the target cause of the disconnection between the terminal and the target base station at the target time point.
[0018] In one possible implementation, the method further includes:
[0019] For each time point in the target time series information, the resolution capability value corresponding to the sub-disconnection reason is determined according to the disconnection information and the preset disconnection information, including:
[0020] Calculate the difference between the disconnection data of each sub-disconnection reason of each disconnection reason of the terminal being disconnected from the target base station at the target time point and the value of the predicted disconnection data to obtain a first difference value;
[0021] Calculate the sum of the differences between the disconnection data of all sub-disconnection reasons of all disconnection reasons for the terminal to be disconnected from the target base station at the target time point and the value of the predicted disconnection data to obtain a second difference;
[0022] The proportion of the first difference to the second difference is calculated to obtain the explanatory power value.
[0023] In one possible implementation, the method further includes:
[0024] For each time point in the target time series information, the unexpectedness value corresponding to the sub-disconnection cause is determined according to the disconnection information and the preset disconnection information, including:
[0025] Calculate the ratio of the value of each sub-disconnection cause predicted disconnection data of each disconnection cause of the disconnection between the terminal and the target base station at the target time point to the sum of the values of all sub-disconnection causes predicted disconnection data of all disconnection causes of the disconnection between the terminal and the target base station at the target time point to obtain a priori probability;
[0026] Calculate the proportion of the value of disconnection data of each sub-disconnection cause of each disconnection cause of disconnection between the terminal and the target base station at the target time point to the total value of disconnection data of all sub-disconnection causes of all disconnection causes of disconnection between the terminal and the target base station at the target time point to obtain a posterior probability;
[0027] Determine the unexpectedness value based on the prior and posterior probabilities.
[0028] In one possible implementation, the method further includes:
[0029] Determine the unexpectedness value based on the prior probability and the posterior probability, including:
[0030] The unexpectedness value is calculated by the following formula:
[0031]
[0032] Among them, S ij (m) is the unexpectedness value, i is the disconnection reason of the terminal and the target base station at the target time point, j is the sub-disconnection reason of the disconnection reason of the terminal and the target base station at the target time point, p ij (m) is the prior probability, q ij (m) is the posterior probability.
[0033] In one possible implementation, the method further includes:
[0034] Extracting target time sequence interaction data of communication interaction between the terminal and the base station within a first preset time period from the interaction data includes:
[0035] The target time sequence interaction data of the communication interaction between the terminal and the base station within the first preset time period of the interaction data is extracted through the data sliding window.
[0036] In one possible implementation, the method further includes:
[0037] The signaling data includes verification management data used to provide user authentication, authorization and billing services. The verification management data includes identification data of the terminal and the base station, transmission data and network service data. The identification data is used to determine the identity and location information of the terminal and the base station, the transmission data is used to determine the time and service information of the communication interaction between the terminal and the base station, and the network service data is used to determine the network protocol and server type of the communication interaction between the terminal and the base station.
[0038] In one possible implementation, the method further includes:
[0039] The verification management data includes remote user dial-up authentication service signaling data, and the remote user dial-up authentication service signaling data includes interactive data of authentication, authorization and billing services performed by the terminal and the base station on the server for the user.
[0040] In one possible implementation, the method further includes:
[0041] Before extracting target time sequence interaction data of communication interaction between the terminal and the base station within a preset time period from the interaction data, the method further includes:
[0042] By removing missing values, outliers and duplicate values in the interaction data through data cleaning, the format and unit of the interaction data are standardized to obtain the first basic data;
[0043] By verifying the data validity, the first basic data is verified to obtain the second basic data that conforms to the defined time format and content format;
[0044] Discretization is performed based on the second basic data to obtain third basic data, where the third basic data is represented in the form of a preset time range as a unit;
[0045] The target timing interaction data of the communication interaction between the terminal and the base station within a preset time period is extracted based on the third basic data.
[0046] In one possible implementation, the method further includes:
[0047] Before inputting multiple feature vectors in the target time series interaction data into a preset model and calculating the prior probability and conditional probability of each category in the target time series interaction data by using the preset model, the method further includes:
[0048] Acquire at least two training samples, where the training samples include a first feature vector and a first label, where the first feature vector includes interaction data between the terminal and the base station during a target time period, and the first label includes a base station state category corresponding to the first feature vector;
[0049] For each of the at least two training samples, perform the following steps:
[0050] Calculate the prior probability, conditional probability and posterior probability of the first feature vector in the training sample based on the initial naive Bayes classifier;
[0051] Determine the category corresponding to the maximum value in the posterior probability to obtain the second label;
[0052] Determine a loss function value based on the first label and the second label;
[0053] When the loss function value meets the training stop condition, the preset model is obtained.
[0054] In one possible implementation, the method further includes:
[0055] Extracting target timing offline data of communication between the terminal and the target base station within a second preset time period from interaction data between the terminal and the target base station includes:
[0056] The target timing offline data of the communication interaction between the terminal and the target base station within a second preset time period of the interaction data between the terminal and the target base station is extracted through the data sliding window.
[0057] In one possible implementation, the method further includes:
[0058] After determining that a base station corresponding to a fault risk value greater than a preset threshold is a target base station, the method further includes:
[0059] Based on the target base station, the base station library is called to obtain the attribution information of the target base station, and the attribution information is used to determine the location of the target base station.
[0060] In one possible implementation, the method further includes:
[0061] The sliding step size of the data sliding window is smaller than the window size of the data sliding window.
[0062] In a second aspect, an embodiment of the present application provides a device for determining a base station, the device including:
[0063] An acquisition module is used to acquire signaling data of the core network, where the signaling data includes interaction data between the terminal and the base station;
[0064] An extraction module, configured to extract target time sequence interaction data of communication interaction between the terminal and the base station within a first preset time period from the interaction data, wherein the target time sequence interaction data includes a plurality of feature vectors of communication interaction between the terminal and the base station;
[0065] A calculation module, used to input multiple feature vectors in the target time series interaction data into a preset model, and calculate the prior probability and conditional probability of each category in the target time series interaction data through the preset model;
[0066] The calculation module is also used to calculate the product of the prior probability and the conditional probability of the target category to obtain a numerical value, and the numerical value represents the fault risk value of the base station;
[0067] The determination module is used to determine that the base station corresponding to the value greater than the preset threshold is the target base station.
[0068] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, the memory storing programs or instructions that can be run on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method of the first aspect.
[0069] In a fourth aspect, an embodiment of the present application provides a computer storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0070] In a fifth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.
[0071] The method, device, equipment, computer storage medium and computer program product for determining the base station of the embodiment of the present application first obtain the interactive data between the terminal and the base station in real time, so as to obtain the interactive information of the base station in a comprehensive and timely manner, and the interactive information almost covers all possible fault factors that cause the base station failure, so the prediction factors of the embodiment of the present application are more comprehensive in the process of determining the faulty base station; then extract the time series interactive data including multiple feature vectors of the communication interaction between the terminal and the base station in the preset time period from the interactive data between the terminal and the base station, and the time series feature vector can be used to display more complex and diverse base station interaction information, and the fault factors with stronger correlation with the base station failure can be obtained, so the prediction factors of the embodiment of the present application have a stronger correlation with the prediction results in the process of determining the faulty base station; finally, the fault risk value of the base station is calculated by using the constructed prediction model, and the base station corresponding to the fault risk value greater than the preset threshold is determined as the target base station, and the prediction results can be obtained more quickly with the help of the trained prediction model, so as to improve the efficiency and accuracy of the base station determination process. Therefore, the embodiment of the present application provides a method, device, equipment, computer storage medium and computer program product for determining a base station, which can provide more comprehensive and more correlated prediction factors in the process of determining the faulty base station. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0073] Figure 1 It is a flowchart of a method for determining a base station provided in an embodiment of the present application;
[0074] Figure 2 This is a schematic diagram of extracting data through a data sliding window provided in an embodiment of the present application;
[0075] Figure 3 It is a flowchart of another method for determining a base station provided in an embodiment of the present application;
[0076] Figure 4 It is a structural diagram of a device for base station determination provided in an embodiment of the present application;
[0077] Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0078] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0079] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0080] In order to solve the problems of the prior art, embodiments of the present application provide a method, apparatus, device, computer storage medium, and computer program product for determining a base station.
[0081] The following first introduces the method for determining a base station provided in an embodiment of the present application.
[0082] Base station failures will block communication services to users and affect user perception. If the failure cannot be quickly identified and repaired, it will cause huge economic losses to network users. Rapidly and accurately discovering and even predicting faulty base stations in the network in advance can reduce operating costs and improve user service quality. Currently, there are several solutions for identifying faulty base stations and analyzing the root causes of faults.
[0083] Fault location method based on device status query: According to the network management protocol, the status information of various devices in the network during operation is actively polled. By collecting and analyzing this information, it can be determined whether the device is in normal working condition, so as to quickly locate the fault location and determine the faulty base station. For example, information such as the status of the RRU (Remote Radio Unit), the antenna standing wave ratio, and the status indicators of the BBU (Building Baseband Unit) port are obtained, and this information is used to analyze whether the device is working abnormally, so as to locate the fault.
[0084] The fault location method based on device status query mainly relies on the current real-time status information of the device to locate the fault and the faulty base station. However, due to the limitations of the method itself, other potential prediction factors that may be closely related to the occurrence of the fault are ignored, such as the historical operation data of the device, environmental factors, etc. At the same time, this method usually only focuses on the status information of a single device or system component, and ignores the mutual influence between the components within the device or system, resulting in a weak correlation between the fault prediction factors and the fault prediction results. Therefore, the fault prediction factors considered in the process of locating the fault and the faulty base station lack comprehensiveness and lack relevance to the prediction results. In addition, since this method requires active polling of status information, it has the defect of being slow, and the influencing factors required for analysis are many and messy, the amount of data is very large, and the analysis efficiency is low.
[0085] Fault diagnosis method based on rule reasoning: This method is also called fault diagnosis method based on expert system. It summarizes the experience and knowledge of experts to form a series of fault diagnosis rules. When a device fails, it matches the fault phenomenon with the rules in the rule base to obtain the fault diagnosis result. This method is relatively easy to implement because it does not require in-depth understanding of the underlying system.
[0086] The fault diagnosis method based on rule reasoning mainly relies on expert experience and rules in the knowledge base for fault diagnosis. However, due to the limitations of the rule base, it may not cover all possible fault conditions and prediction factors. The update and maintenance of the rule base may also be difficult, resulting in the inability to reflect new prediction factors in a timely manner. In practical applications, the occurrence of faults is often related to the interaction of multiple factors, and this method may not accurately describe this correlation. Therefore, the fault prediction factors considered in the process of locating faults and faulty base stations lack comprehensiveness and lack relevance to the prediction results. In addition, the fault diagnosis method based on rule reasoning has the problems of long time to form new rules, slow update, and inability to handle faults that are not described in the rule base, which is prone to missed diagnosis.
[0087] Prediction method based on vector machine: Support vector machine is a machine learning algorithm based on statistical learning theory, which is used for data classification and regression analysis. In fault prediction, SVM (Support Vector Machine) can learn historical fault data and normal data to establish a classification model to predict the future fault state of the equipment. First, the characteristic values of two influencing factors related to the base station failure are obtained, and the characteristic values of the two influencing factors are input into the pre-trained support vector machine model to output the prediction result of whether the base station will fail after a preset time.
[0088] Although the prediction method based on vector machines can predict the fault status of base stations by using SVM to learn historical data, it only evaluates the factors with the highest historical failures. If all important prediction factors are not considered in the training data, the prediction ability of the model may be limited, resulting in insufficient evaluation accuracy and misleading causes. Therefore, this method lacks comprehensiveness in the fault prediction factors considered in the process of locating faults and faulty base stations.
[0089] The inventors of the present application have found that in order to quickly and accurately discover or even predict in advance the faults and faulty base stations in the network, it is necessary to consider as many possible factors that may cause base station failures as possible, while considering the mutual influence and correlation between these prediction factors, and extract the possible factors with strong correlation with the fault prediction results from these factors as prediction factors. Therefore, the inventors of the present application obtain the interaction data between the terminal and the base station that almost covers all possible fault factors that cause base station failures, and then extract the time series interaction data including multiple feature vectors of the communication interaction between the terminal and the base station within a preset time period. The relationship between the base station interaction information and the base station failure can be more intuitively displayed through the time series feature vector, which improves the comprehensiveness of the prediction factors in the process of determining the faulty base station and the correlation with the prediction results.
[0090] In the embodiment of the present application, the core network refers to an important part of the mobile network, which is mainly located in the network subsystem. Its main function is to connect the call request or data request from the A port to different networks. The function of the core network is mainly to provide user connection, user management and service bearing, and to provide an interface to the external network as a bearer network.
[0091] In an embodiment of the present application, SGSN (Serving GPRS Support Node) is mainly responsible for mobility management, session management and routing to the user data network in a 2G / 3G network. MME (Mobility Management Entity) is responsible for processing signaling of the LTE access network in a 4G (LTE) network, such as mobility management, security of NAS (non-access stratum) signaling and mobility control in the idle state. SGW (Serving Gateway) is responsible for routing and forwarding user plane data of UE (user equipment) in a 2G / 3G network. SGW (Serving Gateway) is responsible for routing and forwarding user plane data of UE (user equipment) in a 4G (LTE) network. GGSN (Gateway GPRS Support Node) acts as a gateway to external data networks, such as the Internet or enterprise networks, in a 2G / 3G network. In 4G (LTE) and 5G networks, PGW (PDN Gateway) acts as a gateway between UE and external data networks (such as the Internet). In 5G networks, SMF (Session Management Function) is responsible for establishing, modifying, and releasing PDU sessions (PDU is a protocol data unit). The above components are important components of the core network in mobile communication networks, ensuring that users can seamlessly connect to data networks and enjoy various services.
[0092] In the embodiments of the present application, signaling refers to a message transmitted between terminals and terminals, and between terminals and networks, which is specifically used to control circuits, establish, manage, and delete connections so that users can communicate normally through these connections. Signaling data is a control signal data transmitted between terminals and terminals, and between terminals and networks in the network, especially in mobile communication networks. These signals are specifically used to establish, manage, and release connections to ensure that terminals can communicate normally through these connections.
[0093] In the embodiments of the present application, the data sliding window refers to processing data using a sliding window. The sliding window is a technology widely used in data processing and computer science. It involves moving a fixed-size window over a set of data and performing some operation or analysis on the data in the window. It is suitable for processing continuous data streams or sequence data, such as time series analysis, signal processing, image processing and other fields.
[0094] In the embodiment of the present application, Radius signaling data refers to signaling data that complies with Radius (Remote Authentication Dial In User Service), and Radius signaling data includes data exchanged and shared by the terminal and the base station on the server for authentication, authorization and billing services for users.
[0095] In the embodiment of the present application, the prior probability is a predicted probability based on background common sense or historical data statistics, generally including only one variable, such as P(X) or P(Y). In Bayesian statistical inference, the prior probability distribution of an uncertain quantity is a probability distribution that expresses the degree of confidence in this quantity before considering some factors. For example, the prior probability distribution may represent the probability distribution of the relative proportion of voters who will vote for a particular politician in a future election.
[0096] In the embodiments of the present application, conditional probability refers to the probability of event B occurring under the condition that another event A has occurred, expressed as P(B|A), which is read as "the probability of B under the condition of A". Conditional probability is often used to describe the possibility of an event occurring under certain conditions, for example, the probability of rain (event B) under given weather conditions (event A). Calculation formula: P(B|A) = P(AB) / P(A), where P(AB) is the probability of event A and event B occurring at the same time, and P(A) is the probability of event A occurring.
[0097] In the embodiments of the present application, the posterior probability refers to the probability that is revised after obtaining the information of the "result". It is the "result" in the problem of "finding the cause from the result". For example, P(A|B) represents the probability of event A occurring under the condition that event B occurs. The calculation of the posterior probability is based on the prior probability and is calculated using the prior probability and conditional probability according to the Bayesian formula. It is often used to describe the probability that a certain cause or factor leads to the result when the result is known. Calculation formula: In Bayesian theorem, the calculation formula for the posterior probability P(A|B) is P(A|B) = (P(B|A)P(A)) / P(B), where P(B|A) is the conditional probability, P(A) is the prior probability, and P(B) is the probability of event B occurring.
[0098] Figure 1 FIG. 1 is a flow chart showing a method for determining a base station according to an embodiment of the present application. Figure 1 As shown, the method may include the following steps: S110 to S150.
[0099] S110: Acquire signaling data of the core network, where the signaling data includes interaction data between the terminal and the base station.
[0100] During the communication interaction between the terminal and the base station, the SGSN / MME / SGW equipment in each area sends the signaling data to the core network GGSN / PGW / SMF equipment, obtains the signaling data received by the core network, parses the signaling data, and obtains the interaction data of the communication interaction between the terminal and the base station. The interaction data includes the data exchanged and shared between the terminal and the base station.
[0101] Exemplarily, the interaction data obtained after parsing may include the Internet of Things card number (MSISDN), base station location area code (LAC), base station cell number (CI), wireless network type (RatType), message time (Time), message type (PacketType), user service type (ServiceType), Radius device IP (NAS-IP-Address), etc.
[0102] S120: Extract target time sequence interaction data of the communication interaction between the terminal and the base station within the first preset time period from the interaction data, where the target time sequence interaction data includes a plurality of feature vectors of the communication interaction between the terminal and the base station.
[0103] In an embodiment of the present application, the target time series interaction data refers to the time series data of the communication interaction between the terminal and the base station within a period of time extracted from the interaction data, which can characterize the interaction status of the base station with the terminal within a certain period of time. The time series data is also called time series data, which refers to a data column recorded in chronological order. The individual data in these data columns are of the same caliber and are comparable. The time series data can be a number of periods or a number of time points.
[0104] In an embodiment of the present application, the received signaling data is the interaction information between the terminal and the base station at each moment. A single piece of interaction information cannot accurately express the current base station situation. The idea of micro-batches can be adopted to evaluate the current base station situation using the interaction information within a period of time.
[0105] From the data of communication interaction between the terminal and the base station, the data of communication interaction between the terminal and the base station within a first preset time period is extracted. The length of this time period is determined according to the actual situation. For example, the time period can be 10 seconds or 1 minute. The extracted target time series interaction data is the data exchanged and shared between the terminal and the base station recorded in chronological order. The target time series interaction data presents the details of the communication interaction between the terminal and the base station on multiple multidimensional feature vectors. These feature vectors include multiple aspects of the communication interaction between the terminal and the base station.
[0106] Exemplarily, the target timing interaction data may include multi-dimensional feature vector data such as time, base station, user, terminal, etc., and the data format may be: {time, LAC (Location Area Code), Cell ID (cell identifier), cumulative number of online sessions, number of online sessions, number of offline sessions, number of user groups, number of authentication passes, number of forced offlines, number of authentication failures, number of forced offlines, uplink usage, downlink usage, number of Radius authentications, number of local authentications, number of uplink messages, number of downlink messages, number of interrupted users, number of users actively offline, number of handshake failures, number of LNS (L2TP Network Server, L2TP (Layer2Tunneling Protocol) network server) removals, number of idle cuts, number of restricted cuts, number of administrator removals, number of port errors, number of internal exceptions, number of user errors, number of IPv4 users, number of IPv6 users, maximum number of bundled connections of MP (Multi-Protocol Label Switching), number of current connections of MP, number of switched users, ...}. It should be noted that the specific content and format of the target time series interaction data may vary depending on the application scenario and device type.
[0107] S130: Input multiple feature vectors in the target time series interaction data into a preset model, and calculate the prior probability and conditional probability of each category in the target time series interaction data through the preset model.
[0108] In the embodiment of the present application, the preset model refers to a prediction model that has been built and trained based on a classifier, and the target time series interaction data may include many identification categories, for example, the identification categories may be faulty and normal. The prediction model can be used to calculate the prior probability, conditional probability, and posterior probability of each category of each target time series interaction data, and the category corresponding to the maximum value of all posterior probabilities is determined as the prediction result. Therefore, the prediction model can be used to predict the state of the base station, and then predict the probability of failure of the base station.
[0109] By inputting multiple feature vectors in the target time series interaction data into a preset model, the preset model can be used to calculate the prior probability, conditional probability and posterior probability of each category in the time series data of the communication interaction between the terminal and the base station over a period of time.
[0110] S140: Calculate the product of the prior probability and the conditional probability of the target category to obtain a numerical value, and the numerical value represents the failure risk value of the base station.
[0111] In an embodiment of the present application, the product of the prior probability and conditional probability of an event occurring, that is, the product of the prior probability and conditional probability that the target time series interaction data is classified into a certain category, is a metric that characterizes that the target time series interaction data is classified into a certain category. The numerical value of the product of the prior probability and conditional probability that the target time series interaction data is classified into a certain category represents the fault risk value of the base station. The target category can be set according to actual conditions, for example, the target category is set to fault.
[0112] The preset model is used to calculate the prior probability and conditional probability of each category in the target time series interaction data, and the product of the prior probability and conditional probability of the target category in the target time series interaction data is determined. The numerical value of the product of the prior probability and conditional probability of the target category in the target time series interaction data can represent the failure risk value of the base station, and the probability of failure of the relevant base station can be further predicted based on the failure risk value.
[0113] S150: Determine that the base station corresponding to the value greater than the preset threshold is the target base station.
[0114] In the embodiment of the present application, the preset threshold is a pre-set limit or standard, which can be a specific value, used to determine whether the failure risk value of a certain base station has reached a certain standard or condition. The target base station is a base station determined based on the numerical relationship between the failure risk value of a certain base station and the preset threshold. The target base station is a base station that is to be further optimized or to take certain actions.
[0115] The base station corresponding to the value greater than the preset threshold is determined as the target base station, that is, the base station whose failure risk value is greater than the pre-examination threshold is regarded as a high-failure risk base station, that is, the target base station.
[0116] Exemplarily, the identification classification of the base station, that is, the target time series interaction data, is classified into fault and normal in the preset model, and the preset model is used to calculate the prior probability and conditional probability of the fault and normal categories respectively. For example: the prior probability and conditional probability of the fault category are 0.7 and 0.7, and the product of the prior probability and conditional probability of the fault category is 0.49. The prior probability and conditional probability of the normal category are 0.3 and 0.3, and the product of the prior probability and conditional probability of the normal category is 0.09. The category is set to fault as the target category. Therefore, the numerical value of the product of the prior probability and conditional probability of the fault category represents the fault risk value of the base station. The preset threshold is set to 0.4. The fault risk value of the base station 0.49 is greater than the preset threshold 0.4. At this time, the base station is determined to be a target base station.
[0117] This embodiment can obtain the interaction information of the base station in a comprehensive and timely manner by acquiring the interaction data between the terminal and the base station in real time. The interaction information almost covers all possible fault factors that cause the base station failure. Therefore, the prediction factors in the process of determining the faulty base station in the embodiment of the present application are more comprehensive; the time series interaction data including multiple feature vectors of the communication interaction between the terminal and the base station within a preset time period are extracted from the interaction data between the terminal and the base station. More complex and diverse base station interaction information can be displayed through the time series feature vectors, and fault factors with a stronger correlation with the base station failure can be obtained. Therefore, the prediction factors and the prediction results in the process of determining the faulty base station in the embodiment of the present application have a stronger correlation; the failure risk value of the base station is calculated using the constructed prediction model, and the base station corresponding to the failure risk value greater than the preset threshold is determined as the target base station. Here, with the help of the trained prediction model, the prediction result can be obtained more quickly, which improves the efficiency and accuracy of the base station determination process.
[0118] As another implementation of the present application, after step S150: determining that the base station corresponding to the value greater than the preset threshold is the target base station, the method may further include the following steps:
[0119] S210: Acquire interaction data between the terminal and the target base station.
[0120] The interaction data between the target base station and the terminal is screened from the parsed signaling data obtained from the core network. The interaction data includes data exchanged and shared between the terminal and the base station.
[0121] S220: Extract target timing offline data of the communication between the terminal and the target base station within a second preset time period from the interaction data between the terminal and the target base station, the target timing offline data including time series information of the terminal disconnected from the target base station, the disconnection reason, and disconnection data corresponding to the disconnection reason, wherein the disconnection reason includes at least one sub-disconnection reason.
[0122] In an embodiment of the present application, the target time-series offline data refers to the time-series data of the terminal attachment status of the base station within a period of time extracted from the interaction data, which can characterize the service capability of the base station within a certain period of time. The time-series information can be a time period or a time point. The sub-disconnection reason refers to the detailed reason included in the disconnection reason. The disconnection reason and the disconnection sub-reason are provided by the technical document of the communication service protocol of the base station. The fields and corresponding values of the communication service protocol can characterize the disconnection reason, disconnection sub-reason and disconnection data of different time series information of the target base station. The acquired interaction data is the interaction information between the terminal and the base station at each moment. A single piece of interaction information cannot accurately express the terminal attachment status of the base station. The idea of micro-batches can be adopted to evaluate the terminal attachment status of the base station using the interaction information within a period of time.
[0123] In the data of communication interaction between the terminal and the target base station, the data of communication between the terminal and the base station within the second preset time period is extracted. The length of this time period is determined according to the actual situation. For example, the time period can be 10 seconds or 1 minute. The extracted target time sequence offline data is data that characterizes the terminal attachment status of the base station and is recorded in chronological order. The target time sequence offline data shows the terminal attachment status of the base station in terms of time series information, disconnection reasons, and disconnection data corresponding to the disconnection reasons. Each disconnection reason includes at least one sub-disconnection reason, and each disconnection sub-reason also has corresponding disconnection data. The disconnection data may include the number of disconnections and the offline rate of the terminals attached to the base station.
[0124] Exemplarily, the communication between the target base station and the terminal complies with the Radius protocol. The disconnection reasons for the user disconnection in the Radius protocol are shown in Table 1. The disconnection reasons are in the Terminate-Cause field in the Radius protocol, with a total of 18 dimensions. The terminal attachment information of the target base station is in the Acct-Status-Type field in the Radius protocol, where Acct-Status-Type=2 is offline and Acct-Status-Type=1 is attached.
[0125]
[0126] Table 1
[0127] Exemplarily, the data format of the terminal attachment status of the base station extracted and recorded in chronological order is shown in Table 2, forming time series data of {time (time), disconnection reason (cause), sub-disconnection reason (detail_cause), number of offline (down_cnt), offline rate (down_rate)}, where the values of cause and detail_cause are the codes defined in the protocol, and down_cnt and down_rate are the actual results.
[0128]
[0129] Table 2
[0130] S230: Based on the correspondence information between historical time points, disconnection data corresponding to sub-disconnection causes at historical time points, and disconnection data of sub-disconnection causes at the current moment, determine the predicted disconnection data corresponding to each sub-disconnection cause at each time point in the time series information according to the target historical time points before each time point in the time series and the disconnection data corresponding to the sub-disconnection cause at the target historical time points.
[0131] In an embodiment of the present application, a historical time point refers to a time point before a certain time point, and a target historical time point is a time point before a certain time point in a time series. The corresponding relationship information in the corresponding relationship information based on the historical time point, the disconnection data corresponding to the sub-disconnection cause of the historical time point, and the disconnection data of the sub-disconnection cause at the current moment is a time series function relationship.
[0132] Based on the corresponding relationship information of historical time points, disconnection data corresponding to the sub-disconnection causes at historical time points, and disconnection data of the sub-disconnection causes at the current moment, that is, based on their corresponding time series function relationship, and then according to the target historical time points before each time point in the time series, and the disconnection data corresponding to the sub-disconnection causes at the target historical time points, the predicted disconnection data corresponding to each sub-disconnection cause at each time point in the time series information can be determined, that is, the predicted number of offlines and the predicted offline rate corresponding to each sub-disconnection cause at each time point in the time series information.
[0133] Exemplarily, in the corresponding relationship information based on the historical time point, the disconnection data corresponding to the sub-disconnection cause of the historical time point, and the disconnection data of the sub-disconnection cause at the current moment, the corresponding relationship information may be an ARMA algorithm. The ARMA algorithm is an important method for studying time series, and has the result prediction based on practical factors. The ARMA algorithm can be used to predict the target historical time point before each time point in the time series, and the disconnection data corresponding to the sub-disconnection cause of the target historical time point, and the predicted disconnection data corresponding to each sub-disconnection cause at each time point in the time series information. The calculation formula is as follows:
[0134]
[0135] Where t is the time point, x t is the predicted disconnected data at time point t, is the autoregressive coefficient, which is set based on historical data, ε t is a random variable that changes with time t and satisfies E(ε t )=0,Var(εt )>0, p and q are the orders, and the model order is determined using the well-known partial correlation function (PACF) and autocorrelation function (ACF).
[0136] For example, the ARMA algorithm can be used to predict the predicted disconnection data corresponding to each sub-disconnection reason at each time point in the time series information for the target historical time point before each time point in the time series, and the disconnection data corresponding to the sub-disconnection reason at the target historical time point, see
[0137] Table 3.
[0138]
[0139] Table 3
[0140] Among them, the predicted number of offlines (p_down_cnt) and the predicted offline rate (p_down_rate) corresponding to each sub-disconnection cause (detail_cause) of each disconnection cause (cause) at each time (time) are calculated based on the number of offlines (down_cnt) and the offline rate (down_rate) corresponding to the corresponding sub-disconnection cause (detail_cause) of the corresponding disconnection cause (cause) at the corresponding time (time) using the time series ARAM algorithm.
[0141] S240: For each time point in the target time series information, determine the analysis capability value and the unexpectedness value corresponding to the sub-disconnection cause based on the disconnection data and the predicted disconnection data, the analysis capability value represents the probability that the sub-disconnection cause corresponding to the analysis capability value is the root cause when the terminal is disconnected from the target base station at the target time point, and the unexpectedness value represents the probability that the sub-disconnection cause corresponding to the unexpectedness value is the root cause when the terminal is disconnected from the target base station at the target time point.
[0142] For each time point in the target time series information, one time point may include multiple disconnection reasons and sub-disconnection reasons covered by the disconnection reasons. Each sub-disconnection reason has corresponding disconnection data and predicted disconnection data. The root cause analysis method is used to determine the parsing capability value and unexpectedness value of the sub-disconnection reason based on the disconnection data and predicted disconnection data corresponding to the sub-disconnection reason. The explanatory capability value represents the possibility that the sub-disconnection cause corresponding to the explanatory capability value is the root cause when the terminal is disconnected from the target base station at the target time point. The unexpectedness value represents the possibility that the sub-disconnection cause corresponding to the unexpectedness value is the root cause when the terminal is disconnected from the target base station at the target time point.
[0143] S250: Calculate the sum of the explanation capability value and the unexpectedness value of each sub-disconnection reason of the disconnection between the terminal and the target base station at the target time point.
[0144] In the root cause analysis method, the larger the explanatory power value and the unexpectedness value, the greater the possibility that the corresponding sub-disconnection cause is the root cause of the disconnection between the terminal and the target base station at the target time point. The sum of the explanatory power value and the unexpectedness value of each sub-disconnection cause of the disconnection between the terminal and the target base station at the target time point is calculated, that is, the probability of each sub-disconnection cause of the disconnection between the terminal and the target base station at the target time point being the root cause is determined.
[0145] In one embodiment, the explanation capability value and the unexpectedness value of each sub-disconnection reason of the disconnection between the terminal and the target base station at the target time point may be weighted and then summed.
[0146] S260: Determine the sub-disconnection cause corresponding to the maximum sum as the target cause of the disconnection between the terminal and the target base station at the target time point.
[0147] The sub-disconnection cause corresponding to the maximum sum is determined as the target cause of the disconnection between the terminal and the target base station at the target time point, that is, among all the sub-disconnection causes of the disconnection between the terminal and the target base station at the target time point, the sub-disconnection cause with the highest probability of being the root cause is determined as the target cause, that is, the root cause.
[0148] Exemplarily, the formula for calculating the sum of the explanation capability value and the unexpectedness value of each sub-disconnection reason of the terminal being disconnected from the target base station at the target time point is as follows:
[0149] RT_score=a×EP+b×S (2)
[0150] Among them, RT_score is the score of each sub-disconnection reason between the terminal and the target base station at the target time point as the root cause; a, b are weighting coefficients, a>0, b>0, a+b=1; EP is the explanation ability value, and S is the unexpectedness value.
[0151] Exemplarily, assuming that the target base station fails at time 2, a=0.7, b=0.3 are taken, and the predicted disconnection data corresponding to each sub-disconnection reason at each time point in the time series information is predicted as shown in Table 3, and the calculated RT_score is shown in Table 4.
[0152] time cause detail_cause EP S RT_score time2 5 20 0.57 0.44 0.53 time2 10 84 0.92 0.82 0.9
[0153] Table 4
[0154] The cause of the base station failure is cause code 10, detail_cause = 84. The disconnection cause code defined in the base station equipment manual is: the device disconnects due to resource changes, and the sub-disconnection cause is: authorization data error. At this time, the authorization node of the target base station can be directly checked.
[0155] This embodiment can obtain the terminal attachment information of the target base station comprehensively and accurately by acquiring the interaction data between the terminal and the target base station, extract the time series information, the disconnection reason, and the disconnection data corresponding to the disconnection reason of the terminal disconnected from the target base station within the preset time period from the interaction data between the terminal and the target base station, and can more intuitively and accurately display the terminal attachment information of the target base station, improve the comprehensiveness and availability of the prediction factors in the target base station fault prediction process, and provide a basic guarantee for the accuracy of the base station fault prediction result; use the time series function to calculate the predicted disconnection data corresponding to each sub-disconnection reason at each time point in the time series information, and provide comparison data for the disconnection data corresponding to each sub-disconnection reason at each time point in the time series information, so as to ensure the reliability of the base station fault prediction result; according to the disconnection data and the predicted disconnection data corresponding to each sub-disconnection reason at each time point, determine the explanation ability value and the unexpectedness value corresponding to each sub-disconnection reason at each time point, and then determine the target cause of the target base station disconnection according to the maximum value of the sum of the explanation ability value and the unexpectedness value corresponding to each sub-disconnection reason, so as to provide a more automated and more real-time root cause analysis method for the target base station disconnection fault prediction, and improve the accuracy of the base station fault prediction result.
[0156] As another implementation of the present application, the method may further include: the method for determining the resolution capability value corresponding to the sub-disconnection reason in step S240 includes:
[0157] The first difference is obtained by calculating the difference between the disconnection data of each sub-disconnection cause of each disconnection cause between the terminal and the target base station at the target time point and the numerical value of the predicted disconnection data; the second difference is obtained by calculating the sum of the differences between the disconnection data of all sub-disconnection causes of all disconnection causes between the terminal and the target base station at the target time point and the numerical value of the predicted disconnection data; the explanation capability value is obtained by calculating the ratio of the first difference to the second difference.
[0158] Exemplarily, according to the detection principle of the multi-dimensional cause delimitation analysis algorithm (adtributor), the explanation capability value of each sub-disconnection cause of the disconnection between the terminal and the target base station at the target time point can be calculated, and the calculation formula is as follows:
[0159]
[0160] Among them, i is the disconnection reason, which indicates the dimension name, j is the sub-disconnection reason under the disconnection reason, which indicates the element name under the dimension, EP ij is the explanatory power value of the j element under the i dimension; m is the name of the abnormal indicator, including the number of offline, offline rate, predicted number of offline and predicted offline rate, A ij(m) is the value of the disconnected data of element j in dimension i, A(m) is the sum of the values of the disconnected data of all elements j in all dimensions i, and m takes the value {down_cnt, down_rate}; F ij (m) is the value of the predicted disconnection data of element j in dimension i, and F(m) is the sum of the values of the predicted disconnection data of all elements j in all dimensions i. In this case, m takes the value {p_down_cnt, p_down_rate}.
[0161] This embodiment uses the adtributor algorithm to calculate the explanatory power value of each sub-disconnection reason between the terminal and the target base station at the target time point, and more intuitively shows the influence of each sub-disconnection reason between the terminal and the target base station at the target time point on the base station failure, providing a more accurate prediction factor for the subsequent target base station determination, thereby improving the accuracy of the target base station determination.
[0162] As another implementation of the present application, the method for determining the unexpectedness value corresponding to the sub-disconnection cause in step S240 includes:
[0163] The prior probability is obtained by calculating the ratio of the value of the predicted disconnection data of each sub-disconnection cause of each disconnection cause between the terminal and the target base station at the target time point to the total value of the predicted disconnection data of all sub-disconnection causes of all disconnection causes between the terminal and the target base station at the target time point; the posterior probability is obtained by calculating the ratio of the value of the disconnection data of each sub-disconnection cause of each disconnection cause between the terminal and the target base station at the target time point to the total value of the disconnection data of all sub-disconnection causes of all disconnection causes between the terminal and the target base station at the target time point; and the unexpectedness value is determined according to the prior probability and the posterior probability.
[0164] Exemplarily, the formula for obtaining the prior probability by calculating the ratio of the value of the predicted disconnection data of each sub-disconnection cause of each disconnection cause of the disconnection between the terminal and the target base station at the target time point to the sum of the values of all sub-disconnection causes of all disconnection causes of the disconnection between the terminal and the target base station at the target time point is as follows:
[0165]
[0166] According to formula (3), F ij (m) is the value of the predicted disconnected data of element j in dimension i, F(m) is the sum of the predicted disconnected data of all elements j in all dimensions i, p ij (m) is the prior probability of element j in dimension i.
[0167] Exemplarily, the formula for obtaining the posterior probability by calculating the proportion of the value of the disconnection data of each sub-disconnection cause of each disconnection cause of the disconnection between the terminal and the target base station at the target time point to the sum of the values of the disconnection data of all sub-disconnection causes of all disconnection causes of the disconnection between the terminal and the target base station at the target time point is as follows:
[0168]
[0169] According to formula (3), A ij (m) is the value of the disconnected data of element j in dimension i, A(m) is the sum of the values of the disconnected data of all elements j in all dimensions i, q ij (m) is the posterior probability of the j element in dimension i.
[0170] This embodiment provides a method for calculating the unexpectedness value of each sub-disconnection cause of the disconnection between the terminal and the target base station at the target time point. By calculating the prior probability and the posterior probability of each sub-disconnection cause of each disconnection cause between the terminal and the target base station at the target time point, a more accurate basic prediction factor support is provided for the subsequent target base station determination, thereby improving the accuracy of the target base station determination.
[0171] As another implementation of the present application, the method may further include: In step S240, the method for determining the unexpectedness value according to the prior probability and the posterior probability includes:
[0172] According to the detection principle of the multi-dimensional cause delimitation analysis algorithm (adtributor), the unexpectedness value is calculated by the following formula:
[0173]
[0174] Among them, S ij (m) is the unexpectedness value, i is the disconnection reason of the terminal and the target base station at the target time point, j is the sub-disconnection reason of the disconnection reason of the terminal and the target base station at the target time point, p ij (m) is the prior probability, q ij (m) is the posterior probability.
[0175] According to formulas (3) to (5), S ij (m) is the unexpected value of element j in dimension i, p ij (m) is the prior probability of element j in dimension i, q ij (m) is the posterior probability of the j element in dimension i.
[0176] This embodiment uses the adtributor algorithm to provide a specific method for calculating the unexpectedness value of each sub-disconnection cause of the disconnection between the terminal and the target base station at the target time point, which more intuitively shows the influence of each sub-disconnection cause of the disconnection between the terminal and the target base station at the target time point on the base station failure, provides a more accurate prediction factor for the subsequent target base station determination, and improves the accuracy of the target base station determination.
[0177] As another implementation of the present application, the method further includes:
[0178] The method for extracting target time sequence interaction data of communication interaction between the terminal and the base station within the first preset time period from the interaction data in step S120 includes:
[0179] The target time sequence interaction data of the communication interaction between the terminal and the base station within the first preset time period of the interaction data is extracted through the data sliding window.
[0180] First, define the size of the sliding window and the sliding step. The window size determines the amount of data processed each time, and the sliding step determines the speed at which the window moves in the data stream. Place the sliding window at the starting position of the first preset time period of the interactive data and fill the data in the window. Identify and extract the target time series interactive data from the data in the window, and move the window forward to process the next part of the interactive data until all data in the first preset time period of the interactive data is processed.
[0181] This embodiment uses a data sliding window to extract target time series interaction data of the communication interaction between the terminal and the base station within a first preset time period of the interaction data. The sliding window method allows only focusing on a fixed or dynamically changing data subset during the data processing process, thereby improving data processing efficiency. The sliding window method can accurately capture data within a specific time period (i.e., the window size), can accurately capture the time sequence, correlation, and time series relationship of the interaction data, can obtain fault factors that are more strongly associated with base station faults, and in the process of determining the target base station, the prediction factors have a stronger correlation with the prediction results.
[0182] As another implementation of the present application, the method also includes: the signaling data includes verification management data for providing user authentication, authorization and billing services, the verification management data includes identification data of the terminal and the base station, transmission data and network service data, the identification data is used to determine the identity and location information of the terminal and the base station, the transmission data is used to determine the time and service information of the communication interaction between the terminal and the base station, and the network service data is used to determine the network protocol and server type of the communication interaction between the terminal and the base station.
[0183] Signaling data may include verification management data used to provide authentication, authorization and billing services between the terminal and the base station. The verification management data may include identification data of the terminal and the base station, transmission data and network service data, etc. For example, the identification data may include the IoT card number, the base station location area code, the base station cell number, etc. The transmission data may include the message time, the wireless network type, the Radius device IP, etc. The network data may include the message type, the user service type, etc. The identification data is used to determine the identity and location information of the terminal and the base station, the transmission data is used to determine the time and service information of the communication interaction between the terminal and the base station, and the network service data is used to determine the network protocol and server type of the communication interaction between the terminal and the base station.
[0184] This embodiment provides specific data included in the signaling data, which is used to provide verification management data for user authentication, authorization and billing services. The verification management data includes identification data, transmission data and network service data of the terminal and the base station, and describes the role and function of the verification management data and the identification data, transmission data and network service data contained therein from the perspective of the terminal and the base station. Therefore, the signaling data is comprehensive and relevant as basic data in the process of determining the target base station.
[0185] As another implementation of the present application, the method also includes: the verification management data includes remote user dial-up authentication service signaling data, and the remote user dial-up authentication service signaling data includes interaction data between the terminal and the base station for authenticating, authorizing and billing the user on the server.
[0186] The authentication management data includes remote user dial-up authentication service signaling data, namely, Radius signaling data. The Radius signaling data includes the exchange and sharing of data between the terminal and the base station on the server for user authentication, authorization and billing services. The Radius signaling data includes the interaction data between the terminal and the base station.
[0187] This embodiment provides a specific signaling data type that meets the user's authentication, authorization and billing services. The Radius signaling data includes the information and data exchanged between the user terminal and the server during the operation of the RADIUS protocol. The Radius signaling data can truly reflect the interaction between the terminal and the base station. Therefore, the Radius signaling data is comprehensive and relevant as basic data in the process of determining the target base station.
[0188] As another implementation of the present application, before step S120: extracting target time sequence interaction data of communication interaction between the terminal and the base station within the first preset time period from the interaction data, wherein the target time sequence interaction data includes multiple feature vectors of communication interaction between the terminal and the base station, the method may further include the following steps:
[0189] S160: Remove missing values, abnormal values and duplicate values in the interaction data through data cleaning, standardize the format and unit of the interaction data to obtain the first basic data; verify the first basic data through data validity verification to obtain the second basic data that conforms to the defined time format and content format; discretize the second basic data to obtain the third basic data, and the third basic data is expressed in the form of a preset time range as a unit; extract the target timing interaction data of the communication interaction between the terminal and the base station within the preset time period based on the third basic data.
[0190] Through data cleaning, missing values, duplicate values and abnormal values in the interaction data are removed, and the format and unit of the interaction data are standardized or normalized, for example, the date format is unified, etc. After completing the data cleaning of the interaction data, the first basic data is obtained; the time format and content format are defined, and through data validity verification, whether the first basic data conforms to the defined time format and content format is verified, and the first basic data that does not conform to the defined time format and content format is further processed, and the second basic data is obtained after completing the data validity verification of the first basic data; discretization is performed based on the second basic data, and the second basic data is divided according to the time interval in a discretization manner. According to actual conditions, the size of the granularity can be adjusted at any time during the granularity conversion process, and the third basic data represented in the form of a preset time range as a unit is obtained after the discretization of the second basic data is completed; based on the third basic data, the target time series interaction data of the communication interaction between the terminal and the base station within the preset time period is extracted, and the third basic data includes the interaction data between the terminal and the base station after completing data cleaning, data validity verification and data discretization.
[0191] This embodiment completes the adjustment of the data content, data format and data presentation form of the interactive data by performing operations such as data cleaning, validity verification and data discretization on the interactive data, thereby effectively improving the accuracy, consistency and availability of the interactive data.
[0192] As another implementation of the present application, in step S130: inputting multiple feature vectors in the target time series interaction data into a preset model, and calculating the prior probability and conditional probability of each category in the target time series interaction data by the preset model, the method further includes the following steps:
[0193] S170: Obtain at least two training samples, where the training samples include a first feature vector and a first label, where the first feature vector includes interaction data between the terminal and the base station during a target time period, and the first label includes a base station status category corresponding to the first feature vector; for each of the at least two training samples, respectively perform the following steps: calculate the prior probability, conditional probability, and posterior probability of the first feature vector in the training sample based on an initial naive Bayes classifier; determine the category corresponding to the maximum value in the posterior probability to obtain a second label; determine a loss function value based on the first label and the second label; and obtain a preset model when the loss function value meets the training stop condition.
[0194] In an embodiment of the present application, a naive Bayes classifier is a classification method based on Bayes' theorem and the feature conditional independence assumption. Given two random events A and B, Bayes' theorem describes the relationship between conditional probabilities P(A|B) and P(B|A): P(A|B)=P(B|A)*P(A) / P(B). In the classification problem, A can be a category and B can be a feature.
[0195] According to the principle of the Naive Bayes algorithm, a Naive Bayes classifier is constructed. The construction process is as follows:
[0196]
[0197]
[0198] Where X is the tuple of target time series interaction data, including multiple multidimensional feature vectors; C i To identify the classification, in the embodiment of the present application, there are two classifications: fault and normal, denoted as C 1 ,
[0199] C 2 ; P(X|C i ) is the conditional probability, x k represents the kth column value in the feature vector, that is, the kth attribute, 1≤k≤n; P(X|C i ) is the posterior probability, P(C i ) is the prior probability.
[0200] In the embodiment of the present application, it is assumed that D is a set of training tuples and their associated class labels. Each tuple is represented by an n-dimensional attribute vector X = {x 1 ,x 2 ,x 3 ,…,x n}. Assume there are m classes C 1 , C 2 , ..., C mGiven a tuple X, the classifier will predict that X belongs to the class with the highest posterior probability. That is, the naive Bayes classifier predicts that X belongs to class C i , if and only if P(C i |X)>P(C j |X), 1≤j≤m, j≠i, P(C i |X) The largest class C i It is called the maximum a posteriori probability.
[0201] Since P(X) is constant for all classes, we only need P(X|C i )P(C i ) is the largest. If the prior probability of the class is unknown, it is usually assumed that these classes are equally likely, that is, P(C 1 )=P(C 2 )=...=P(C m ), and accordingly P(C i |X) is maximized, otherwise P(C i |X)P(C i ), given a data set with many attributes, calculate P(X|C i ) is very expensive. To reduce the computational overhead, we can make a naive assumption of class conditional independence. Given the class label of a tuple, we assume that the attribute values are conditionally independent of each other.
[0202] In the embodiment of the present application, there are discrete attributes and continuous attributes, so the calculation of P(X|C i ), the following two situations need to be considered:
[0203] (a) If the kth attribute is a continuous-valued attribute, such as uplink usage, downlink usage, uplink traffic peak, downlink traffic peak, etc., then the continuous-valued attribute is assumed to follow a Gaussian distribution with mean η and standard deviation δ, which is defined by the following formula:
[0204]
[0205] Then P(x k |C i ) = g(x k ,ηC i , δC i ).
[0206] (b) If the kth attribute is a categorical attribute, then P(x k |C i ) is the kth value in D is x k C i The number of tuples in the class divided by C in D i Number of tuples of class|C i , D|.
[0207] To predict the category label of the tuple X of the target time series interaction data, for each category C i , calculate P(X|C i )P(Ci), the naive Bayes classifier predicts the class of the input tuple X to be C i , if and only if P(X|C i )P(Ci)>P(X|C j )P(C j ), 1≤j≤m, j≠i, the category of the tuple X of the target time series interaction data to be predicted is such that P(X|C i )P(C i ) The largest class C i .
[0208] Based on the constructed naive Bayes classifier, training is performed, the tuple X of the target time series interaction data is the training sample set, and at least two training samples are obtained. The training sample includes a first feature vector and a first label. The first feature vector includes the interaction data of the terminal and the base station in the target time period, and the first label includes the base station state category C corresponding to the first feature vector. i ; For each of the at least two training samples, the following steps are performed respectively: based on the constructed initial naive Bayes classifier, the prior probability, conditional probability and posterior probability of the first feature vector in the training sample are calculated; and the category C corresponding to the maximum value in the posterior probability is determined. i Get the second label; determine the loss function value based on the first label and the second label, and the loss function value can be determined by the category C of the first label and the second label i The consistency rate is determined when the category C of the first label and the second label i If the same, for example, Category C i If both are faulty or normal, they are considered as category C of the first label and the second label. i If the loss function value meets the training stop condition, for example, the consistency rate exceeds 90% of the training stop condition, the training ends and the preset model is obtained.
[0209] In one embodiment, the method also includes adjusting the sample structure of the training samples when the loss function value does not meet the training stop condition: removing missing values, abnormal values and duplicate values in the interaction data through data cleaning, standardizing the format and unit of the interaction data to obtain the first basic data; verifying the first basic data through data validity to obtain the second basic data that conforms to the defined time format and content format; discretizing the second basic data to obtain the third basic data, and the third basic data is expressed in the form of units within a preset time range; extracting the target timing interaction data of the communication interaction between the terminal and the base station within a preset time period based on the third basic data.
[0210] In the embodiment of the present application, in order to determine the faulty base station through a preset model based on multiple feature vectors in the target time series interaction data, it is necessary to use the preset model to calculate the prior probability P(C 1 ) and the conditional probability P(X|C 1 ), calculate the product of the prior probability and conditional probability of the fault category P(X|C 1 )P(C 1 ), if P(X|C 1 )P(C 1 ) is greater than a preset threshold, the base station corresponding to the tuple X of the target time series interaction data is the target base station, that is, the faulty base station.
[0211] This embodiment provides a method for training a preset model. By using a naive Bayes classifier to perform a training process for base station status classification, an efficient, accurate, highly interpretable and adaptable preset model can be obtained. The model can predict the base station status based on the interaction data (i.e., feature vector) between the terminal and the base station, and the prediction result has a probabilistic interpretation, making the classification result more reliable, usable and easy to understand, thereby improving the accuracy and reliability of the target base station prediction.
[0212] As another implementation of the present application, the method further includes:
[0213] The method for extracting target time sequence offline data of the communication between the terminal and the target base station within the second preset time period from the interaction data between the terminal and the target base station in step S220 includes:
[0214] The target timing offline data of the communication between the terminal and the base station within the second preset time period of the interactive data is extracted through the data sliding window.
[0215] First, define the size of the sliding window and the sliding step. The window size determines the amount of data processed each time, and the sliding step determines the speed at which the window moves in the data stream. Place the sliding window at the starting position of the second preset time period of the interactive data and fill the data in the window. Identify and extract the target time series interactive data from the data in the window, and move the window forward to process the next part of the interactive data until all data in the second preset time period of the interactive data is processed.
[0216] This embodiment uses a data sliding window to extract target time series interaction data of the communication interaction between the terminal and the base station within a first preset time period of the interaction data. The sliding window method allows only focusing on a fixed or dynamically changing data subset during the data processing process, thereby improving data processing efficiency. The sliding window method can accurately capture data within a specific time period (i.e., the window size), can accurately capture the time sequence, correlation, and time series relationship of the interaction data, can obtain fault factors that are more strongly associated with base station faults, and in the process of determining the target base station, the prediction factors have a stronger correlation with the prediction results.
[0217] As another implementation of the present application, after step S150: determining that the base station corresponding to the value greater than the preset threshold is the target base station, the method further includes the following steps:
[0218] S180: Based on the target base station, call the base station library to obtain the attribution information of the target base station, where the attribution information is used to determine the location of the target base station.
[0219] Based on the target base station, i.e. the faulty base station, combined with the operator's base station library information, the base station library information can be the base station data obtained by the operator through dedicated base station location collection equipment, using manual or vehicle-mounted methods to reach the base station location site, or the operator using other technical means, and analyzing the province, city, county and other affiliation information of the base station. The base station library information at least contains LAC, Cell ID, longitude, latitude, province, city, district, county and other data information.
[0220] In one embodiment, based on the faulty base station determination and fault root cause analysis of the embodiments of the present application, in the field of base station operation and maintenance management, it is possible to obtain predictions of provinces and cities to which base stations with high risks of failure can be obtained through association processing and analysis with the base station library, and warn the administrators in the respective areas to focus on monitoring base stations that may fail and the causes of the failures, and deal with them in advance to reduce the risk of communication interruption.
[0221] In one embodiment, based on the faulty base station determination and fault root cause analysis of the embodiments of the present application, in terms of base station expansion and contraction, it is possible to perform associated processing analysis with the base station library. When the cause of the fault is prompted as the current number of connections is close to the maximum number of connections or the connection is removed due to resource changes, the base station capacity is verified, and the capacity is expanded in a timely manner to improve the stability of the base station and the availability of user Internet access.
[0222] In one embodiment, based on the faulty base station determination and fault root cause analysis of the embodiments of the present application, in terms of major holiday event security, by performing correlation processing and analysis with the base station library, the recent base station failure risk rate is traced back, and base stations with potential risks are analyzed and handled in a timely manner to reduce the probability of failures during major holidays.
[0223] As another implementation of the present application, the method may further include:
[0224] The sliding step size of the data sliding window is smaller than the window size of the data sliding window.
[0225] Data sliding window refers to the use of sliding window to process data. The size of the sliding window can also be called window width or window size, which defines the number of data points considered for each operation, and the sliding step can also be called the moving distance of the window, which determines the number of new data points included after each window movement. When the sliding step is smaller than the window size, it means that after each window movement, new data points will be added to the window, but not all old data points will be removed from the window, so the window contains overlapping data points. A data sliding window strategy diagram is as follows Figure 2 As shown, the original data stream is the interaction data between the terminal and the base station, and the sliding window data stream extracts data by forming a sliding window strategy based on the set sliding step size and window size. The sliding window data stream case is as follows: for example, when the sliding step size is set to 2 and the window size is set to 3, the sliding window data obtains the data of the original data stream T1 to T3 at time t3, and the sliding window data obtains the data of the original data stream T3 to T5 at time t5 and calculates the features.
[0226] In this implementation, the sliding step size of the data sliding window is smaller than the window size, and there is a certain amount of data overlap between adjacent windows, providing more data points for analysis and calculation, thereby increasing the accuracy and reliability of data processing. At the same time, it can ensure the continuity of data processing and the continuity of base station characteristics, and maintain a relatively stable processing effect even when the data flow rate changes or there is a brief interruption in the data.
[0227] In one embodiment, a base station determination system is provided, the system comprising: a signaling analysis module, a data preprocessing module, a feature extraction module, a naive Bayes classifier, a base station fault prediction module and a fault cause analysis module.
[0228] The signaling parsing module is used to connect to the SMF / PGW / GGSN equipment of the telecom operator's core network, receive and parse the Radius signaling data of the core network. The Radius signaling data includes the interaction data between the terminal and the base station, and provides the original data input for the subsequent modules.
[0229] The data preprocessing module is used to receive data from the signaling analysis module and perform preprocessing operations such as validity verification, data cleaning, and discretization on the interaction data between the terminal and the base station according to the requirements of the Radius protocol.
[0230] The feature extraction module is used to extract the original features of the interaction data between the terminal and the base station after preprocessing, and perform feature analysis and mining based on the original features to obtain the target time series interaction data.
[0231] The naive Bayes classifier is used to train the naive Bayes model using the data after feature extraction to obtain the base station fault prediction model, that is, the preset model.
[0232] The base station fault prediction module is used to predict the probability of base station failure using a fault prediction model, and determine the faulty base station, i.e., the target base station, based on the numerical relationship between the predicted probability of base station failure and a preset threshold.
[0233] The fault cause analysis module is used to extract the target time sequence offline data from the interaction data between the target base station and the terminal for the high-risk base station, i.e. the predicted target base station, and use the ARMA algorithm to predict the disconnection data in the target time sequence offline data to obtain the predicted disconnection data. Based on the disconnection data and the predicted disconnection data, the adtributor algorithm is used to analyze the fault cause of the target base station to obtain the root cause of the fault, i.e. the target cause.
[0234] like Figure 3 As shown, in one embodiment, a base station determination method is provided, including steps S310-S370:
[0235] S310: The signaling analysis module receives signaling data sent by the core network device and analyzes the signaling data.
[0236] The core network equipment includes SMF / PGW / GGSN. The signaling data sent by the core network equipment is specifically Radius signaling data. Based on the Radius protocol signaling parsing module, the Internet of Things card number (MSISDN), base station location area code (LAC), base station cell number (CI), wireless network type (RatType), message time (Time), message type (PacketType), user service type (ServiceType), Radius device IP (NAS-IP-Address), etc. are parsed from the Radius signaling data. After the parsing is completed, the signaling parsing module sends the parsed data to the data preprocessing module.
[0237] S320: The data preprocessing module preprocesses the parsed signaling data.
[0238] The preprocessing process includes operations such as validity verification and data cleaning. The format of the data after reference radius protocol preprocessing is {time, user service type, user group, authentication success or rejection message, number of uplink bytes, number of downlink bytes, number of uplink messages, number of downlink messages, reason for user interruption, whether handshake failed, whether to actively go offline, uplink peak rate, downlink peak rate, uplink average rate, session control message, maximum number of bundled connections of MP, reason for going offline, ...}. The data preprocessing module sends the data to the data feature extraction module.
[0239] S330: The data feature extraction module discretizes the preprocessed data and extracts a feature multi-dimensional vector from the discretized data.
[0240] Discretization is performed based on the pre-processed data. The received signaling data is the interactive information between the device terminal and the base station. A single piece of information cannot accurately express the current base station situation. Therefore, the idea of micro-batch is adopted to use the interactive information within a period of time to evaluate the information of the current base station, forming a multi-dimensional feature vector data X of time, base station, user, equipment, etc. The data format is: {time, lac, cellid, cumulative number of online sessions, number of online sessions, number of offline sessions, number of user groups, number of authentication passes, number of forced offlines, number of authentication failures, number of forced offlines, uplink usage, downlink usage, number of Radius authentications, number of local authentications, number of uplink messages, number of downlink messages, number of interrupted users, number of users actively offline, number of handshake failures, number of LNS removals, number of idle disconnections, number of restricted disconnections, number of administrator removals, number of port errors, number of internal exceptions, number of user errors, number of ipv4 users, number of ipv6 users, maximum number of MP bundled connections, number of MP current connections, number of switched users, ...}. In order to ensure the continuity of base station features, a sliding window strategy is used to extract the base station status from the discretized data, such as Figure 2 shown.
[0241] S340: Naive Bayes classifier construction.
[0242] According to the principle of Naive Bayes algorithm, a Naive Bayes classifier is constructed based on the target time series interaction data.
[0243] S350: Prediction model training: Use the data after feature extraction to train the naive Bayes model to obtain a prediction model.
[0244] Acquire at least two training samples, where the training samples include a first feature vector and a first label, where the first feature vector includes interaction data between the terminal and the base station during a target time period, and the first label includes a base station status category corresponding to the first feature vector; for each of the at least two training samples, respectively perform the following steps: calculate the prior probability, conditional probability, and posterior probability of the first feature vector in the training sample based on an initial naive Bayes classifier; determine the category corresponding to the maximum value in the posterior probability to obtain a second label; determine a loss function value based on the first label and the second label; and obtain a preset model when the loss function value meets the training stop condition.
[0245] S360: Based on the preprocessed data, the base station prediction model is input to predict the base station failure risk rate, and a failure risk threshold is set. Base stations above the risk threshold are regarded as high-risk base stations.
[0246] The preset model is used to calculate the prior probability and conditional probability of each category in the target time series interaction data, and the product of the prior probability and conditional probability of the target category in the target time series interaction data is determined. The value of the product of the prior probability and conditional probability of the target category in the target time series interaction data can characterize the fault risk value of the base station, and the probability of failure of the relevant base station can be further predicted based on the fault risk value. The base station corresponding to the value greater than the preset threshold is determined as the target base station, that is, the base station whose fault risk value is greater than the pre-examination threshold is regarded as a high-risk base station for failure, that is, the target base station.
[0247] S370: Analyze and locate the cause of the fault.
[0248] For base stations with high risk of failure, i.e., target base stations, the Internet access behavior and Internet access quality of their users are affected. The service capability of the base station can be characterized by the terminal attachment status of the base station. According to the reasons for user disconnection in the Radius protocol (Terminate-Cause field in the Radius protocol, a total of 18 dimensions, see Table 1) and terminal attachment information (Acct-Status-Type field in the Radius protocol, where Acct-Status-Type=2 is offline and Acct-Status-Type=1 is attached), the data precipitated by the sliding window strategy is decomposed into multi-dimensional data. In this embodiment, the number of offline terminals and the offline rate are counted using the sliding window data, as well as the predicted offline number and predicted offline rate at each time point predicted by the ARMA algorithm, as input data for the adtributor algorithm, and the adtributor algorithm is used to analyze the cause of the fault of the target base station to obtain the root cause of the fault, i.e., the target cause.
[0249] This embodiment can obtain the interaction information of the base station in a comprehensive and timely manner by acquiring the interaction data between the terminal and the base station in real time, and the prediction factors in the process of determining the faulty base station are more comprehensive; time series interaction data including multiple feature vectors that can display more complex and diverse base station interaction information are extracted from the interaction data between the terminal and the base station, and the fault factors with a stronger correlation with the base station fault can be obtained; the constructed and trained naive Bayes classifier is used as a prediction model to calculate the fault risk value of the base station, and the base station corresponding to the fault risk value greater than the preset threshold is determined as the target base station, thereby improving the efficiency and accuracy of the base station determination process; the number of terminal offlines and the offline rate, as well as the predicted offline number and predicted offline rate at each time point predicted by the ARMA algorithm are used as input data of the adtributor algorithm, and the adtributor algorithm is used to analyze the cause of the fault of the target base station to obtain the root cause of the fault, that is, the target cause, thereby improving the comprehensiveness and availability of the prediction factors in the process of predicting the target base station fault, providing a more automated and real-time root cause analysis method for the prediction of the target base station disconnection fault, and improving the accuracy of the base station fault prediction result.
[0250] Based on the same concept, the embodiment of the present application provides a device for determining a base station. Figure 4 The device for determining a base station provided in an embodiment of the present application is described in detail.
[0251] Figure 4 The present invention is a structural block diagram of a device for determining a base station according to an exemplary embodiment.
[0252] like Figure 4 As shown, the means for determining by the base station may include:
[0253] The acquisition module 410 is used to acquire signaling data of the core network, where the signaling data includes interaction data between the terminal and the base station;
[0254] An extraction module 420 is used to extract target time sequence interaction data of communication interaction between the terminal and the base station within a first preset time period from the interaction data, where the target time sequence interaction data includes a plurality of feature vectors of communication interaction between the terminal and the base station;
[0255] A calculation module 430 is used to input multiple feature vectors in the target time series interaction data into a preset model, and calculate the prior probability and conditional probability of each category in the target time series interaction data through the preset model;
[0256] The calculation module 430 is further used to calculate the product of the prior probability and the conditional probability of the target category to obtain a numerical value, and the numerical value represents the fault risk value of the base station;
[0257] The determination module 440 is used to determine that the base station corresponding to the value greater than the preset threshold is the target base station.
[0258] In one embodiment, the determination module 440 is further configured to obtain interaction data between the terminal and the target base station after determining that the base station corresponding to the value greater than the preset threshold is the target base station;
[0259] Extract target time-series offline data of the communication between the terminal and the target base station within a second preset time period from the interaction data between the terminal and the target base station, the target time-series offline data including time series information of the terminal disconnected from the target base station, the disconnection reason, and disconnection data corresponding to the disconnection reason, the disconnection reason including at least one sub-disconnection reason; based on the correspondence relationship information of the historical time point, the disconnection data corresponding to the sub-disconnection reason at the historical time point, and the disconnection data of the sub-disconnection reason at the current moment, determine the time series information of each sub-disconnection reason at each time point according to the target historical time point before each time point in the time series and the disconnection data corresponding to the sub-disconnection reason at the target historical time point the predicted disconnection data corresponding to the sub-disconnection cause; for each time point in the target time series information, determine the parsing capability value and the unexpectedness value corresponding to the sub-disconnection cause according to the disconnection data and the predicted disconnection data, the parsing capability value represents the probability of the sub-disconnection cause corresponding to the parsing capability value being the root cause when the terminal is disconnected from the target base station at the target time point, and the unexpectedness value represents the probability of the sub-disconnection cause corresponding to the unexpectedness value being the root cause when the terminal is disconnected from the target base station at the target time point; calculate the sum of the parsing capability value and the unexpectedness value of each sub-disconnection cause of the disconnection between the terminal and the target base station at the target time point; determine the sub-disconnection cause corresponding to the maximum sum as the target cause of the disconnection between the terminal and the target base station at the target time point.
[0260] In one embodiment, the determination module 440 is also used to determine, for each time point in the target time series information, the analysis capability value corresponding to the sub-disconnection cause according to the disconnection information and the preset disconnection information, calculate the difference between the disconnection data of each sub-disconnection cause and the numerical value of the predicted disconnection data for each disconnection cause of the disconnection between the terminal and the target base station at the target time point to obtain a first difference; calculate the sum of the differences between the disconnection data of all sub-disconnection causes of all disconnection causes of the disconnection between the terminal and the target base station at the target time point and the numerical value of the predicted disconnection data to obtain a second difference; calculate the ratio of the first difference to the second difference to obtain the interpretation capability value.
[0261] In one embodiment, the determination module 440 is also used to determine, for each time point in the target time series information, the unexpectedness value corresponding to the sub-disconnection cause according to the disconnection information and the preset disconnection information, calculate the ratio of the numerical value of the predicted disconnection data of each sub-disconnection cause of each disconnection cause between the terminal and the target base station at the target time point to the total numerical value of all sub-disconnection causes of all disconnection causes between the terminal and the target base station at the target time point to obtain the prior probability; calculate the ratio of the numerical value of the disconnection data of each sub-disconnection cause of each disconnection cause between the terminal and the target base station at the target time point to the total numerical value of the disconnection data of all sub-disconnection causes of all disconnection causes between the terminal and the target base station at the target time point to obtain the posterior probability; determine the unexpectedness value according to the prior probability and the posterior probability.
[0262] In one embodiment, the determination module 440 is further configured to determine an unexpectedness value according to the prior probability and the posterior probability, and the unexpectedness value is calculated by the following formula:
[0263]
[0264] Among them, S ij (m) is the unexpectedness value, i is the disconnection reason of the terminal and the target base station at the target time point, j is the sub-disconnection reason of the disconnection reason of the terminal and the target base station at the target time point, p ij (m) is the prior probability, q ij (m) is the posterior probability.
[0265] In one embodiment, the extraction module 420 is also used to extract the target timing interaction data of the communication interaction between the terminal and the base station within the first preset time period from the interaction data, and extract the target timing interaction data of the communication interaction between the terminal and the base station within the first preset time period of the interaction data through the data sliding window.
[0266] In one embodiment, the acquisition module 410 is also used for signaling data including verification management data for providing user authentication, authorization and billing services, the verification management data including identification data of the terminal and the base station, transmission data and network service data, the identification data is used to determine the identity and location information of the terminal and the base station, the transmission data is used to determine the time and service information of the communication interaction between the terminal and the base station, and the network service data is used to determine the network protocol and server type of the communication interaction between the terminal and the base station.
[0267] In one embodiment, the acquisition module 410 is also used to verify that the management data includes remote user dial-up authentication service signaling data, and the remote user dial-up authentication service signaling data includes interaction data between the terminal and the base station for authenticating, authorizing and charging users on the server.
[0268] In one embodiment, the acquisition module 420 is also used to remove missing values, abnormal values and duplicate values in the interaction data through data cleaning, and standardize the format and unit of the interaction data to obtain first basic data before extracting the target timing interaction data of the communication interaction between the terminal and the base station within a preset time period from the interaction data; verify the first basic data through data validity verification to obtain second basic data that conforms to the defined time format and content format; discretize the second basic data to obtain third basic data, and the third basic data is expressed in the form of units within a preset time range; and extract the target timing interaction data of the communication interaction between the terminal and the base station within the preset time period based on the third basic data.
[0269] In one embodiment, the calculation module 430 is also used to obtain at least two training samples before inputting multiple feature vectors in the target time series interaction data into a preset model and calculating the prior probability and conditional probability of each category in the target time series interaction data through the preset model, the training sample includes a first feature vector and a first label, the first feature vector includes the interaction data of the terminal and the base station communicating in the target time period, and the first label includes the base station state category corresponding to the first feature vector; for each of the at least two training samples, the following steps are performed respectively: based on the initial naive Bayes classifier, the prior probability, conditional probability and posterior probability of the first feature vector in the training sample are calculated; the category corresponding to the maximum value in the posterior probability is determined to obtain a second label; the loss function value is determined based on the first label and the second label; when the loss function value meets the training stop condition, the preset model is obtained.
[0270] In one embodiment, the extraction module 420 is also used to extract the target timing offline data of the communication between the terminal and the target base station within a second preset time period from the interaction data between the terminal and the target base station, and extract the target timing offline data of the communication interaction between the terminal and the target base station within the second preset time period through the data sliding window.
[0271] In one embodiment, the determination module 440 is also used to call the base station library to obtain the ownership information of the target base station based on the target base station after determining that the base station corresponding to the fault risk value greater than the preset threshold is the target base station, and the ownership information is used to determine the location of the target base station.
[0272] In one embodiment, the extraction module 420 is further configured to configure the sliding step of the data sliding window to be smaller than the window size of the data sliding window.
[0273] Figure 4 Each module in the device shown has the function of realizing Figure 1 and Figure 3 The functions of each step in the process can achieve the corresponding technical effects, which will not be described in detail here for the sake of brevity.
[0274] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0275] The electronic device may include a processor 510 and a memory 520 storing computer program instructions.
[0276] Specifically, the processor 510 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0277] The memory 520 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 520 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 520 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 520 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 520 is a non-volatile solid-state memory.
[0278] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.
[0279] The processor 510 implements any one of the base station determination methods in the above embodiments by reading and executing computer program instructions stored in the memory 520 .
[0280] In one example, the electronic device may further include a communication interface 530 and a bus 540. Figure 5 As shown, the processor 510, the memory 520, and the communication interface 530 are connected via a bus 540 and communicate with each other.
[0281] The communication interface 530 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0282] Bus 540 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0283] The electronic device can execute the method determined by the base station in the embodiment of the present application, thereby realizing the combination Figure 1 and Figure 3 A method and apparatus for base station determination are described.
[0284] In addition, in combination with the base station determination method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the base station determination methods in the above embodiment is implemented.
[0285] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed, implements any one of the base station determination methods in the above embodiments.
[0286] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0287] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0288] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0289] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0290] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for determining a base station, characterized in that: include: Acquire signaling data of the core network, where the signaling data includes interaction data between the terminal and the base station; Extracting target time sequence interaction data of communication interaction between the terminal and the base station within a first preset time period from the interaction data, wherein the target time sequence interaction data includes a plurality of feature vectors of communication interaction between the terminal and the base station; Inputting multiple feature vectors in the target time series interaction data into a preset model, and calculating the prior probability and conditional probability of each category in the target time series interaction data through the preset model; Calculating the product of the prior probability and the conditional probability of the target category to obtain a numerical value, wherein the numerical value represents a fault risk value of the base station; The base station corresponding to the value greater than the preset threshold is determined as the target base station.
2. The method according to claim 1, characterized in that After determining that the base station corresponding to the value greater than the preset threshold is the target base station, the method further includes: Acquiring interaction data between the terminal and the target base station; Extracting target time-series offline data of the communication between the terminal and the target base station within a second preset time period from the interaction data between the terminal and the target base station, the target time-series offline data including time series information of the terminal disconnected from the target base station, a disconnection reason, and disconnection data corresponding to the disconnection reason, wherein the disconnection reason includes at least one sub-disconnection reason; Based on the correspondence information between the historical time points, the disconnection data corresponding to the sub-disconnection causes at the historical time points, and the disconnection data of the sub-disconnection causes at the current moment, determine the predicted disconnection data corresponding to each sub-disconnection cause at each time point in the time series information according to the target historical time points before each time point in the time series and the disconnection data corresponding to the sub-disconnection cause at the target historical time points; For each time point in the target time series information, determine the parsing capability value and the unexpectedness value corresponding to the sub-disconnection cause according to the disconnection data and the predicted disconnection data, the parsing capability value representing the probability that the sub-disconnection cause corresponding to the parsing capability value is the root cause when the terminal is disconnected from the target base station at the target time point, and the unexpectedness value representing the probability that the sub-disconnection cause corresponding to the unexpectedness value is the root cause when the terminal is disconnected from the target base station at the target time point; Calculate the sum of the explanation capability value and the unexpectedness value of each sub-disconnection reason of the disconnection between the terminal and the target base station at the target time point; The sub-disconnection cause corresponding to the maximum sum is determined as the target cause of the disconnection between the terminal and the target base station at the target time point.
3. The method according to claim 2, characterized in that The determining, for each time point in the target time series information, a resolution capability value corresponding to a sub-disconnection cause according to the disconnection information and preset disconnection information, includes: Calculate the difference between the disconnection data of each sub-disconnection reason of each disconnection reason of the terminal being disconnected from the target base station at the target time point and the value of the predicted disconnection data to obtain a first difference value; Calculate the sum of the differences between the disconnection data of all sub-disconnection reasons of all disconnection reasons for the terminal to be disconnected from the target base station at the target time point and the values of the predicted disconnection data to obtain a second difference; The proportion of the first difference value to the second difference value is calculated to obtain an explanation ability value.
4. The method according to claim 2, characterized in that: The determining, for each time point in the target time series information, the unexpectedness value corresponding to the sub-disconnection cause according to the disconnection information and the preset disconnection information, includes: Calculate the ratio of the value of each sub-disconnection cause predicted disconnection data of each disconnection cause of the disconnection between the terminal and the target base station at the target time point to the sum of the values of all sub-disconnection causes predicted disconnection data of all disconnection causes of the disconnection between the terminal and the target base station at the target time point to obtain a priori probability; Calculate the proportion of the value of disconnection data of each sub-disconnection cause of each disconnection cause of disconnection between the terminal and the target base station at the target time point to the sum of the values of disconnection data of all sub-disconnection causes of all disconnection causes of disconnection between the terminal and the target base station at the target time point to obtain a posterior probability; Determine the unexpectedness value based on the prior and posterior probabilities.
5. The method according to claim 4, characterized in that Determining the unexpectedness value according to the prior probability and the posterior probability includes: The unexpectedness value is calculated by the following formula: Among them, S ij (m) is the unexpectedness value, i is the disconnection reason of the terminal and the target base station at the target time point, j is the sub-disconnection reason of the disconnection reason of the terminal and the target base station at the target time point, p ij (m) is the prior probability, q ij (m) is the posterior probability.
6. The method according to claim 1, characterized in that The extracting target time sequence interaction data of the communication interaction between the terminal and the base station within the first preset time period from the interaction data includes: The target time sequence interaction data of the communication interaction between the terminal and the base station within the first preset time period of the interaction data is extracted through the data sliding window.
7. The method according to claim 1, characterized in that The signaling data includes verification management data for providing user authentication, authorization and billing services, and the verification management data includes identification data, transmission data and network service data of the terminal and the base station. The identification data is used to determine the identity and location information of the terminal and the base station, the transmission data is used to determine the time and service information of the communication interaction between the terminal and the base station, and the network service data is used to determine the network protocol and server type of the communication interaction between the terminal and the base station.
8. The method according to claim 4, characterized in that The verification management data includes remote user dial-up authentication service signaling data, and the remote user dial-up authentication service signaling data includes interaction data of the terminal and the base station performing authentication, authorization and billing services on the user on the server.
9. The method according to claim 1, characterized in that: Before extracting target time sequence interaction data of communication interaction between the terminal and the base station within a preset time period from the interaction data, the method further includes: By removing missing values, abnormal values and duplicate values in the interaction data through data cleaning, the format and unit of the interaction data are standardized to obtain first basic data; Verifying the validity of the data by verifying that the first basic data obtains the second basic data that conforms to the defined time format and content format; Discretization is performed based on the second basic data to obtain third basic data, wherein the third basic data is represented in the form of a preset time range as a unit; The target timing interaction data of the communication interaction between the terminal and the base station within a preset time period is extracted based on the third basic data.
10. The method according to claim 1, characterized in that Before inputting a plurality of feature vectors in the target time series interaction data into a preset model and calculating the prior probability and conditional probability of each category in the target time series interaction data by using the preset model, the method further includes: Acquire at least two training samples, the training samples including a first feature vector and a first label, the first feature vector including interaction data between the terminal and the base station during a target time period, and the first label including a base station state category corresponding to the first feature vector; For each of the at least two training samples, the following steps are performed respectively: Calculating the prior probability, conditional probability and posterior probability of the first feature vector in the training sample based on the initial naive Bayes classifier; Determine the category corresponding to the maximum value in the posterior probability to obtain a second label; Determine a loss function value based on the first label and the second label; When the loss function value satisfies the training stop condition, the preset model is obtained.
11. The method according to claim 2, characterized in that The extracting target time sequence offline data of the communication between the terminal and the target base station within a second preset time period from the interaction data between the terminal and the target base station includes: The target timing offline data of the communication interaction between the terminal and the target base station within a second preset time period of the interaction data between the terminal and the target base station is extracted through the data sliding window.
12. The method according to claim 1, characterized in that After determining that the base station corresponding to the fault risk value greater than the preset threshold is the target base station, the method further includes: Based on the target base station, a base station library is called to obtain the attribution information of the target base station, where the attribution information is used to determine the location of the target base station.
13. The method according to claim 6 or 11, characterized in that: The sliding step size of the data sliding window is smaller than the window size of the data sliding window.
14. A device for determining a base station, characterized in that: The device comprises: An acquisition module, used to acquire signaling data of a core network, wherein the signaling data includes interaction data between a terminal and a base station; An extraction module, configured to extract target time sequence interaction data of communication interaction between the terminal and the base station within a first preset time period from the interaction data, wherein the target time sequence interaction data includes a plurality of feature vectors of communication interaction between the terminal and the base station; A calculation module, used for inputting a plurality of feature vectors in the target time series interaction data into a preset model, and calculating the prior probability and conditional probability of each category in the target time series interaction data through the preset model; The calculation module is also used to calculate the product of the prior probability and the conditional probability of the target category to obtain a numerical value, and the numerical value represents the fault risk value of the base station; The determination module is used to determine that the base station corresponding to the value greater than a preset threshold is a target base station.
15. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method for determining a base station according to any one of claims 1 to 13 is implemented.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for determining a base station according to any one of claims 1 to 13 is implemented.
17. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the base station determination method as described in any one of claims 1 to 13.
