Method and device for updating parameters of prediction model and electronic equipment
By obtaining base station business and fault data and updating the parameters of the prediction model, the problem of low adaptability and generalization ability of the base station alarm information prediction method is solved, and accurate alarm information prediction for new services is achieved.
Patent Information
- Application Number
- CN202410856372.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-06
AI Technical Summary
Existing base station alarm information prediction methods have low adaptability and generalization capabilities when new services are introduced, and cannot accurately predict the alarm information of new services.
By obtaining base station business data and fault data, input the prediction model to obtain predicted alarm information and alarm similarity, update the parameters of the prediction model based on these data, and add constraints on alarm similarity to improve the adaptability and generalization capabilities of the model.
The adaptability and generalization ability of the prediction model are improved, enabling it to accurately predict new base station business data and enhancing the ability to predict alarm information for new services.
Smart Images

Figure CN118612759A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of wireless communication technology, and specifically relates to a method, device and electronic device for updating parameters of a prediction model. Background Art
[0002] Base station maintenance and performance management are key components of network operations and are directly related to network reliability and stability. In related technologies, base station monitoring and maintenance methods mainly include manual monitoring and maintenance, automated monitoring with manual intervention, and fully automatic monitoring and maintenance. The collected base station service data is usually analyzed using macro indicator trend analysis and network element TopN analysis methods, and then the alarm information is predicted based on human experience.
[0003] However, the above method is highly dependent on human experience. When a base station introduces a new service, the above alarm information prediction method has the problem of low adaptability and generalization ability, and cannot accurately predict the alarm information of the new service. Summary of the invention
[0004] The embodiments of the present application provide a method, device and electronic device for updating parameters of a prediction model, which can solve the problem of low adaptability and generalization ability of the above-mentioned alarm information prediction method when a base station introduces a new service.
[0005] In a first aspect, an embodiment of the present application provides a method for updating parameters of a prediction model, the method comprising: obtaining base station service data and base station fault data; wherein the base station fault data comprises fault alarm information; inputting the base station service data and the base station fault data into a prediction model to obtain prediction alarm information and an alarm similarity between the prediction alarm information and the fault alarm information; and updating the parameters of the prediction model according to the base station service data, the base station fault data and the alarm similarity.
[0006] In the second aspect, an embodiment of the present application provides a parameter updating device for a prediction model, the device comprising: a first acquisition module, used to acquire base station service data and base station fault data; wherein the base station fault data includes fault alarm information; a second acquisition module, used to input the base station service data and the base station fault data into the prediction model to obtain the prediction alarm information and the alarm similarity between the prediction alarm information and the fault alarm information; an updating module, used to update the parameters of the prediction model according to the base station service data, the base station fault data and the alarm similarity.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the method described in the first aspect.
[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, comprising a computer program stored on a non-transitory computer-readable storage medium, wherein the computer program comprises a program or instructions, and when the program or instructions are executed, the steps of the method described in the first aspect are implemented.
[0011] In an embodiment of the present application, by acquiring base station business data and base station fault data, wherein the base station fault data includes fault alarm information; the base station business data and the base station fault data are input into a prediction model to obtain prediction alarm information and the alarm similarity between the prediction alarm information and the fault alarm information; the parameters of the prediction model are updated according to the base station business data, the base station fault data and the alarm similarity, and in the process of updating the parameters of the prediction model, a constraint on the alarm similarity between the prediction alarm information and the fault alarm information is added, thereby improving the adaptability and generalization ability of the prediction model, so that the prediction model after the parameter update can accurately predict the new base station business data. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is a flow chart of a parameter updating method of a prediction model provided in an embodiment of the present application;
[0013] Figure 2 It is a flow chart of another parameter updating method of a prediction model provided in an embodiment of the present application;
[0014] Figure 3 This is a schematic diagram of the relationship between base station service data and base station fault data provided by an embodiment of the present application;
[0015] Figure 4 It is a flow chart of another parameter updating method of a prediction model provided in an embodiment of the present application;
[0016] Figure 5 This is another schematic diagram of the relationship between base station service data and base station fault data provided in an embodiment of the present application;
[0017] Figure 6 It is a structural schematic diagram of a parameter updating device of a prediction model provided in an embodiment of the present application;
[0018] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0020] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0021] In the related art, the monitoring and maintenance of base stations mainly include the following methods.
[0022] 1. Manual monitoring and maintenance. The network operation and maintenance team manually checks and analyzes base station service data through the network management platform. The data is updated regularly and when the key performance indicators of the base station service drop or reach the preset threshold through observation and analysis, emergency plans are manually executed, such as rollback or re-optimization.
[0023] 2. Automated monitoring with manual intervention. Use automated scripts to obtain base station service data, monitor and analyze key performance indicators. When the joint performance indicators are lower than the standard or reach the preset threshold, the network management platform will trigger an alarm notification. After receiving the alarm notification, the network operation and maintenance team will manually execute emergency plans, such as rollback or re-optimization.
[0024] 3. Fully automatic monitoring and maintenance: Use automated scripts to obtain base station service data, and automatically process various common alarm information through customized automated scripts.
[0025] In the above method, the prediction of alarm information is mainly judged by human experience. When a base station introduces a new service, the above alarm information prediction method is unable to make predictions in a timely manner. When the amount of data is large, it will also cause problems of low efficiency and accuracy. Therefore, the alarm information prediction method in the relevant technology has the problem of low adaptability and generalization ability, and cannot accurately predict alarm information for new services.
[0026] In the following, in conjunction with the accompanying drawings, the parameter updating method, device and electronic device of the prediction model provided by the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0027] Figure 1 A flow chart of a method for updating parameters of a prediction model provided by an embodiment of the present application is shown. The method can be executed by an electronic device, which may include: a server and / or a terminal device. Figure 1 , the method may include the following steps.
[0028] Step 102: Acquire base station service data and base station fault data.
[0029] Among them, the base station service data may include base station service perception index data, which is used to evaluate various index data of the service experience quality of users in the network, and can reflect the network performance through the base station service perception index data, and further determine whether there is a fault in the network. The base station fault data includes fault alarm information, and the fault alarm information includes a fault alarm level, which is used to characterize the importance level of the fault. The base station fault data is the actual fault data stored in the network operation and maintenance platform.
[0030] Step 104: input the base station service data and the base station fault data into a prediction model to obtain prediction alarm information and the alarm similarity between the prediction alarm information and the fault alarm information.
[0031] Among them, the prediction model can be used to predict whether the current base station service has a fault and the related conditions of the fault based on the base station service data, that is, to output the predicted alarm information. The prediction model can also be used to calculate the alarm similarity between the alarm information predicted by the base station service data and the actual alarm information based on the base station service data and the base station fault data, that is, the alarm similarity between the predicted alarm information and the fault alarm information, so as to be used for subsequent updating of the parameters of the prediction model.
[0032] Step 106: Update the parameters of the prediction model according to the base station service data, the base station fault data and the alarm similarity.
[0033] In an embodiment of the present application, by obtaining base station service data and base station fault data, wherein the base station fault data includes fault alarm information, the base station service data and the base station fault data are input into the prediction model to obtain the prediction alarm information and the alarm similarity between the prediction alarm information and the fault alarm information, thereby updating the parameters of the prediction model according to the base station service data, the base station fault data and the alarm similarity. In the parameter update process of the prediction model, the constraint of the alarm similarity between the prediction alarm information and the fault alarm information is added, which improves the adaptability and generalization ability of the prediction model, so that the prediction model after parameter update can accurately predict the new base station service data.
[0034] In one implementation, Figure 2 A flow chart of another parameter updating method of a prediction model provided in an embodiment of the present application is shown, wherein the prediction model includes a fault prediction model and a parameter updating model of a twin network structure; the above-mentioned step 104 inputs the base station service data and the base station fault data into the prediction model to obtain prediction alarm information and the alarm similarity between the prediction alarm information and the fault alarm information, which may include the following steps.
[0035] Step 1041: input the base station service data into the fault prediction model to obtain prediction alarm information.
[0036] Among them, the fault prediction model is a part of the prediction model of the twin network structure, and the fault prediction model is used to predict the alarm information of the base station service data.
[0037] Step 1043: input the prediction alarm information and the fault alarm information into the parameter updating model to obtain the alarm similarity between the prediction alarm information and the fault alarm information.
[0038] Among them, the parameter update model is another part of the prediction model of the twin network structure. The parameter update model is used to calculate the alarm similarity between the prediction alarm information and the fault alarm information, and the parameters of the prediction model are subsequently updated according to the alarm similarity.
[0039] In an embodiment of the present application, the prediction model includes a fault prediction model and a parameter update model of a twin network structure, and the two use the same parameters. Inputting the base station service data into the fault prediction model can obtain prediction alarm information, and inputting the prediction alarm information and the fault alarm information into the parameter update model can obtain the alarm similarity between the prediction alarm information and the fault alarm information, thereby updating the parameters of the parameter update model through the alarm similarity, the base station service data, and the base station fault data. After the parameter update of the parameter update model is completed, the fault prediction model synchronously updates its parameters, so that the fault prediction model uses the updated parameters to more accurately predict the alarm information of the new service.
[0040] In one implementation, the above-mentioned step 106 updates the parameters of the prediction model according to the base station service data, the base station fault data and the alarm similarity, and may include the following steps.
[0041] Step 1061, determining the loss function of the prediction model according to the base station service data, the base station fault data, and the alarm similarity.
[0042] Among them, in an embodiment of the present application, an elastic weight consolidation (EWC) algorithm can be used to determine the loss function of the prediction model according to the base station service data, the base station fault data, and the alarm similarity to solve the catastrophic forgetting in the parameter update of the prediction model.
[0043] Step 1062: Update the parameters of the prediction model based on the loss function.
[0044] This step may include: step 1, determining the parameter when minimizing the loss function as the first parameter; step 2, determining the updated parameter based on the first parameter and the alarm similarity.
[0045] In an embodiment of the present application, the loss function of the prediction model is determined based on the base station service data, the base station fault data, and the alarm similarity, and the parameters of the prediction model are updated based on the loss function. In the process of updating the parameters of the prediction model, the constraints on the alarm similarity between the predicted alarm information and the fault alarm information are added multiple times, so that the parameter update of the prediction model is more in line with the characteristics of the current base station service data, so that the prediction model after the parameter update can predict the alarm information more accurately.
[0046] In one implementation, Figure 3A schematic diagram of the relationship between base station service data and base station fault data provided by an embodiment of the present application is shown. The above base station fault data may also include fault time. The above step 102 of acquiring base station service data and base station fault data may include the following steps.
[0047] Step 1021, obtaining the fault time in the base station fault data, and dividing the fault time into M time periods.
[0048] The failure time is Figure 3 The time from the fault occurrence time to the fault clearing time is shown, that is, the interception time of the base station service data and the base station fault data are both the fault time, and the base station service data is associated with the base station fault data through the fault time.
[0049] Step 1022: for each of the time periods, obtain the base station service data and the fault alarm information corresponding to N moments in the time period to form a first sequence;
[0050] Wherein, M and N are positive integers greater than or equal to 1. That is, the base station service data and fault alarm information corresponding to N moments are intercepted from M time periods respectively. Table 1 shows an example of a first sequence provided by an embodiment of the present application. The index number is used to indicate the sequence number, and the label is used to indicate the fault alarm information. x is the fault alarm level (x=1, 2, 3, 4), i is the sequence number (i=0, ..., M-1). j is the jth moment, l j i is the base station service data corresponding to the jth moment in the i-th time period.
[0051] Table 1.
[0052]
[0053]
[0054] In an embodiment of the present application, the correspondence between the base station service data and the fault alarm information is determined by analysis. After the base station service data is predicted by a prediction model to obtain the prediction alarm information, the similarity between the prediction alarm information and the above-mentioned fault alarm information is calculated. The fault alarm information corresponds to the base station service data, and the prediction alarm information also corresponds to the base station service data. Therefore, by analyzing the alarm similarity between the two, the accuracy of the prediction model's prediction can be determined, and the parameters of the prediction model can be updated based on the alarm similarity.
[0055] In one implementation, the above step 104 may include the following steps.
[0056] Step 1042: For each of the time periods, the base station service data corresponding to N moments in the time period and the predicted alarm information are combined to form a second sequence.
[0057] The second sequence is constructed in a similar manner to the first sequence, wherein the fault warning information is replaced by the prediction warning information.
[0058] Step 1044: Calculate the sequence distances between the M first sequences and the M second sequences respectively.
[0059] The M first sequences correspond to the M second sequences respectively. Since the first sequence and the second sequence are actually two time series, the sequence distance between the first sequence and the second sequence can be calculated by a dynamic time warping (DTW) algorithm.
[0060] Step 1046: Determine the similarity between the first sequence and the second sequence according to the sequence distance and the sequence distance matrix.
[0061] The sequence distance matrix is formed by obtaining the M×M sequence distances. The sequence distance matrix can be: in, represents the sequence distance between the mth first sequence and the nth second sequence. The smaller the sequence distance between the mth first sequence and the nth second sequence is, the smaller the sequence distance between the mth first sequence and the nth second sequence is. In order to prevent the problems of invalid distance and distance overflow caused by excessive sequence distance, the embodiment of the present application stipulates that if but In addition, due to the characteristics of the sequence distance matrix itself, it can be simplified into a diagonal matrix, thereby reducing the amount of calculation and improving calculation efficiency.
[0062] Among them, the similarity between the first sequence and the second sequence It is obtained by standardizing the sequence distance and can be calculated by the following formula:
[0063] Here, ||D||2 represents the second normal form of D, which is the value obtained by taking the square root of the sum of the squares of all the data in D.
[0064] Step 1048: Determine the alarm similarity between the prediction alarm information and the fault alarm information according to the similarity between the first sequence and the second sequence.
[0065] In the embodiment of the present application, the similarity between the first sequence and the second sequence is determined by the sequence distance between the first sequence and the second sequence and the sequence distance matrix, and the similarity is used as a measure of the alarm similarity between the prediction alarm information and the fault alarm information.
[0066] In one implementation, the above-mentioned step 1062 updates the parameters of the prediction model based on the loss function, and may include: step 1, determining the parameters when minimizing the loss function as the first parameters; step 2, determining the updated parameters based on the first parameters and the alarm similarity.
[0067] In the embodiment of the present application, for the acquired Z fault alarm information and base station service data, and the alarm similarity determined by the parameter update model, the loss function L(θ) of the prediction model of the zth fault alarm information is determined. z Can be:
[0068] Among them, Q z is the base station service data corresponding to the zth fault alarm information, θ i is the parameter of the prediction model at the i-th update, is the parameter of the prediction model for the z-1th fault alarm information at the i-th update, p(Q z |θ) is the posterior probability of the parameter θ of the prediction model, F x,i represents the Fisher information matrix. So the first parameter can be: Then, according to the first parameter and the alarm similarity, the updated parameter is determined. Among them, α and γ are constant hyperparameters, and 0≤α, γ≤1.
[0069] Figure 4 A flow chart of another parameter updating method of a prediction model provided by an embodiment of the present application is shown, wherein the prediction model includes an on-policy part and an off-policy part of a twin network structure. The on-policy part predicts alarm information based on base station service data, the off-policy part imports base station fault data, and updates the parameters of the prediction model through the alarm similarity between the predicted alarm information of the on-policy part and the actual alarm information.
[0070] Through the embodiments of the present application, during online operation, the on-policy part of the twin network structure is used to predict the alarm information of the base station business data, thereby reducing the computing power consumption during online operation. When the business volume is low or the base station is shut down, the excess computing power is used to continuously learn the currently collected base station business data and base station fault data, and update the parameters of the prediction model so that the prediction model maintains sensitivity to the business data of new businesses. This not only saves resource consumption, but also determines the alarm similarity based on the existing data during the learning process to update the model parameters, avoiding the huge computing power consumption, electricity consumption and time consumption caused by the need to re-acquire data and input the model for training.
[0071] Optionally, the on-policy part of the twin network structure can be separated into an independent fault prediction model, and the off-policy part of the twin network structure can be separated into an independent parameter update model, so that their corresponding functions can be executed separately and data can be interacted with. The fault prediction model after parameter update can be used to predict alarm information of base station service data, and the parameters of the model can be continuously updated through the parameter update model to adapt to the continuously changing scenario characteristics and business requirements.
[0072] The solution of the present application is described below through a specific embodiment.
[0073] First, collect the base station business data of a certain manufacturer, as shown in Table 2, and the base station failure data, as shown in Table 3.
[0074] Table 2.
[0075]
[0076]
[0077] Table 3.
[0078]
[0079] Among them, data is intercepted according to the fault occurrence time and fault clearance time. At the same time, in order to improve the data quality of the prediction data set as much as possible, a period of non-alarm data is intercepted before the interception time period. Figure 5 , 10,000 segments of base station service data with a data volume of 200 are taken as sample data. The interception process can capture the characteristics of the station service data during the period when the fault occurs, and can also capture the early warning characteristics of a period of time before the fault occurs, so that the subsequent prediction and alarm information can be conveyed to the operation and maintenance personnel earlier, so as to make preparations in advance and reduce the waiting time during the fault repair process.
[0080] The above base station service data and base station fault data are sorted to obtain a sequence as shown in Table 4.
[0081] Table 4.
[0082]
[0083] Secondly, 10,000 data samples are input into the on-policy part of the prediction model to predict the alarm information, and the predicted alarm information and the fault alarm information in the above base station fault data are input into the off-policy part of the prediction model to calculate the sequence distance, so as to determine the alarm similarity between the predicted alarm information and the fault alarm information.
[0084] Finally, the parameters of the prediction model are updated according to the above-mentioned base station service data, base station fault data and alarm similarity.
[0085] Through the embodiments of the present application, the prediction model can have strong autonomy and high intelligence, thereby achieving better monitoring of base station business data and prediction of base station fault data.
[0086] It should be noted that the parameter updating method of the prediction model provided in the embodiment of the present application can be executed by a parameter updating device of the prediction model, or a control module in the parameter updating device of the prediction model for executing the parameter updating method of the prediction model. In the embodiment of the present application, the parameter updating device of the prediction model executing the parameter updating method of the prediction model is taken as an example to illustrate the parameter updating device of the prediction model provided in the embodiment of the present application.
[0087] Figure 6 1 is a schematic diagram of a parameter updating device for a prediction model provided in accordance with an embodiment of the present application. Figure 6 As shown, the device 600 includes: a first acquisition module 61, a second acquisition module 62 and an update module 63.
[0088] The first acquisition module 61 is used to acquire base station service data and base station fault data; wherein the base station fault data includes fault alarm information;
[0089] A second acquisition module 62, configured to input the base station service data and the base station fault data into a prediction model to obtain prediction alarm information and an alarm similarity between the prediction alarm information and the fault alarm information;
[0090] The updating module 63 is used to update the parameters of the prediction model according to the base station service data, the base station fault data and the alarm similarity.
[0091] In one implementation, the above-mentioned second acquisition module 62 can be used to input the base station service data into the fault prediction model to obtain prediction alarm information; and to input the prediction alarm information and the fault alarm information into the parameter update model to obtain the alarm similarity between the prediction alarm information and the fault alarm information.
[0092] In one implementation, the above-mentioned update module 63 can be used to determine the loss function of the prediction model based on the base station service data, the base station fault data, and the alarm similarity; and to update the parameters of the prediction model based on the loss function.
[0093] In one implementation, the base station fault data also includes fault time; the above-mentioned first acquisition module 61 can be used to obtain the fault time in the base station fault data, and divide the fault time into M time periods; and for each of the time periods, obtaining the base station service data and the fault alarm information corresponding to N moments in the time period to form a first sequence; wherein M and N are positive integers greater than or equal to 1.
[0094] In one implementation, the above-mentioned second acquisition module 62 can be used to, for each of the time periods, form a second sequence with the base station service data corresponding to N moments in the time period and the predicted alarm information; respectively calculate the sequence distances between M first sequences and M second sequences; wherein the M first sequences correspond to M second sequences respectively; determine the similarity between the first sequence and the second sequence according to the sequence distance and the sequence distance matrix; wherein the sequence distance matrix is formed by the obtained M×M sequence distances; and determine the alarm similarity between the predicted alarm information and the fault alarm information according to the similarity between the first sequence and the second sequence.
[0095] In one implementation, the updating module 63 may be configured to determine the parameter when minimizing the loss function as the first parameter; and determine the updated parameter based on the first parameter and the alarm similarity.
[0096] The parameter updating device of the prediction model in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device, and illustratively, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0097] The parameter updating device of the prediction model in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0098] The parameter updating device of the prediction model provided in the embodiment of the present application can achieve Figure 1 , Figure 2 as well as Figure 4 To avoid repetition, the various processes implemented in the method embodiment are not described here.
[0099] Based on the same technical concept, an embodiment of the present application further provides an electronic device, which is used to execute the parameter updating method of the above-mentioned prediction model. Figure 7 A schematic diagram of the structure of an electronic device for implementing various embodiments of the present application. The electronic device may have relatively large differences due to different configurations or performances, and may include a processor (processor) 701, a communication interface (Communications Interface) 702, a memory (memory) 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704. The processor 701 can call a computer program stored in the memory 703 and can run on the processor 701 to execute the various steps of the above-mentioned prediction model parameter update method embodiment, and can achieve the same technical effect, to avoid repetition, it will not be repeated here.
[0100] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals, or other devices except terminals.
[0101] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0102] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).
[0103] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.
[0104] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the parameter updating method embodiment of the above-mentioned prediction model are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0105] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0106] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the parameter updating method embodiment of the above-mentioned prediction model, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0107] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0108] An embodiment of the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes a program or instructions. When the program or instructions are executed, the various processes of the parameter updating method embodiment of the above-mentioned prediction model are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0109] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes 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 sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0110] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0111] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for updating parameters of a prediction model, characterized in that: include: Acquire base station service data and base station fault data; wherein the base station fault data includes fault alarm information; Inputting the base station service data and the base station fault data into a prediction model to obtain prediction alarm information and an alarm similarity between the prediction alarm information and the fault alarm information; The parameters of the prediction model are updated according to the base station service data, the base station fault data and the alarm similarity.
2. The method according to claim 1, characterized in that The prediction model includes a fault prediction model and a parameter update model of a twin network structure; the base station service data and the base station fault data are input into the prediction model to obtain prediction alarm information and the alarm similarity between the prediction alarm information and the fault alarm information, including: Inputting the base station service data into the fault prediction model to obtain prediction alarm information; The prediction alarm information and the fault alarm information are input into the parameter updating model to obtain the alarm similarity between the prediction alarm information and the fault alarm information.
3. The method according to claim 1, characterized in that The updating of the parameters of the prediction model according to the base station service data, the base station fault data and the alarm similarity includes: Determining a loss function of the prediction model according to the base station service data, the base station fault data, and the alarm similarity; The parameters of the prediction model are updated based on the loss function.
4. The method according to claim 1, characterized in that The base station fault data also includes fault time; the acquiring of base station service data and base station fault data includes: Obtaining the fault time in the base station fault data, and dividing the fault time into M time periods; For each of the time periods, acquiring the base station service data and the fault alarm information corresponding to N moments in the time period to form a first sequence; Wherein, M and N are positive integers greater than or equal to 1.
5. The method according to claim 4, characterized in that The step of inputting the base station service data and the base station fault data into a prediction model to obtain prediction alarm information and an alarm similarity between the prediction alarm information and the fault alarm information includes: For each of the time periods, the base station service data corresponding to N moments in the time period and the predicted alarm information form a second sequence; Calculating sequence distances between the M first sequences and the M second sequences respectively; wherein the M first sequences correspond to the M second sequences respectively; Determine the similarity between the first sequence and the second sequence according to the sequence distance and a sequence distance matrix; wherein the sequence distance matrix is formed by the obtained M×M sequence distances; According to the similarity between the first sequence and the second sequence, the alarm similarity between the prediction alarm information and the fault alarm information is determined.
6. The method according to claim 3, characterized in that The updating of the parameters of the prediction model based on the loss function includes: Determine the parameter when minimizing the loss function as the first parameter; An updated parameter is determined according to the first parameter and the alarm similarity.
7. A parameter updating device for a prediction model, characterized in that: include: A first acquisition module is used to acquire base station service data and base station fault data; wherein the base station fault data includes fault alarm information; A second acquisition module, used for inputting the base station service data and the base station fault data into a prediction model to obtain prediction alarm information and an alarm similarity between the prediction alarm information and the fault alarm information; An updating module is used to update the parameters of the prediction model according to the base station service data, the base station fault data and the alarm similarity.
8. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method according to any one of claims 1 to 6.
9. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program stored on a non-transitory computer-readable storage medium, wherein the computer program comprises a program or instructions, and when the program or instructions are executed, the steps of the method according to any one of claims 1 to 6 are implemented.
