A training method, device, equipment and storage medium for communication missing data determination model
The Gaussian Naive Bayes algorithm processes nuclear power communication data and generates a communication missing data determination model, solving the problem of data missing 5G signals in the nuclear power environment, and improving the accuracy and reliability of data supplementation.
Patent Information
- Application Number
- CN202410330873.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-03-22
AI Technical Summary
In the field of nuclear power, 5G signals have weak ability to escape obstacles through walls, resulting in the lack of nuclear power production data. The existing single interpolation method is difficult to accurately replace the missing data, resulting in large errors.
The original communication data is preprocessed by the Gaussian naive Bayes algorithm, and a communication missing data determination model is generated. Through feature extraction and label processing, the classification and prediction capabilities of the model are improved to accurately predict and supplement missing data.
It improves the classification and prediction capabilities of the model, reduces the errors when supplementing missing data, and ensures the reliability and accuracy of the data.
Smart Images

Figure CN117932474B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of data processing technology, in particular to the field of industrial control technology, and specifically to a training method, device, equipment and storage medium for a communication missing data determination model. Background Art
[0002] Wireless communication technology is increasingly used in modern nuclear power. The integration of 5G (Fifth Generation mobile communication technology) with cloud computing, big data, artificial intelligence, machine vision and other technologies has made the combination of nuclear power digital instrumentation and control systems and 5G wireless communications the mainstream in the future.
[0003] However, due to the complex and changeable environment of nuclear power sites, the weak ability of 5G signals to penetrate walls and avoid obstacles, and the small coverage range of a single base station, it is difficult to fully guarantee the security requirements of nuclear power production data. In addition, power plant equipment is in a high temperature, high pressure environment, and the equipment is prone to failure during long-term operation, resulting in gaps in relevant data in historical stations.
[0004] At present, most of the interpolation methods for missing data are single interpolation such as regression interpolation, cold card interpolation, deductive interpolation, hot card interpolation, mean interpolation, etc. Single interpolation is simple and easy to implement, and is a traditional missing value interpolation method. However, single interpolation regards missing data as a fixed value, and is limited by the single interpolation model. After the single interpolation value replaces the missing data, it will produce a large error compared with the original data. Summary of the invention
[0005] The present application provides a training method, apparatus, device and storage medium for a communication missing data determination model to improve the classification and prediction capabilities of the model.
[0006] According to one aspect of the present application, a method for training a communication missing data determination model is provided, the method comprising:
[0007] Preprocessing the original communication data to obtain sample communication data; the sample communication data includes: normal communication data and abnormal communication data; the abnormal communication data is 5G communication data from which abnormal instances are removed; the normal communication data is I / O data transmitted via network cables and / or optical fibers;
[0008] Based on the Gaussian Naive Bayes algorithm, the sample communication data is processed to obtain a communication missing data determination model.
[0009] According to another aspect of the present application, a method for determining communication missing data is provided, the method comprising:
[0010] Obtain target 5G communication data;
[0011] Based on the communication missing data determination model, missing data prediction is performed on the target 5G communication data to obtain the target missing position and missing prediction data.
[0012] According to another aspect of the present application, a training device for a communication missing data determination model is provided, the device comprising:
[0013] A data processing module is used to pre-process the original communication data to obtain sample communication data; the sample communication data includes: normal communication data and abnormal communication data; the abnormal communication data is 5G communication data from which abnormal instances have been removed; the normal communication data is I / O data transmitted via a network cable and / or optical fiber;
[0014] The model generation module is used to process the sample communication data based on the Gaussian Naive Bayes algorithm to obtain a communication missing data determination model.
[0015] According to another aspect of the present application, a communication missing data determination device is provided, the device comprising:
[0016] A data acquisition module, used to acquire target 5G communication data;
[0017] A data prediction module is used to predict missing data for the target 5G communication data based on a communication missing data determination model to obtain a target missing position and missing prediction data; wherein the communication missing data determination model is trained based on the training method of the communication missing data determination model provided in any embodiment of the present application.
[0018] According to another aspect of the present application, an electronic device is provided, the electronic device comprising:
[0019] one or more processors;
[0020] A memory for storing one or more programs;
[0021] When the one or more programs are executed by the one or more processors, the one or more processors implement any one of the methods provided in the embodiments of the present application.
[0022] According to another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, any one of the methods provided in the embodiments of the present application is implemented.
[0023] This application obtains sample communication data by preprocessing the original communication data; the sample communication data includes: normal communication data and abnormal communication data; the abnormal communication data is 5G communication data with abnormal instances removed; the normal communication data is I / O data transmitted through network cables and / or optical fibers; based on the Gaussian Naive Bayes algorithm, the sample communication data is processed to obtain a communication missing data determination model. The above technical solution uses the Gaussian Naive Bayes algorithm to determine the communication missing data determination model, which helps to improve the classification and prediction capabilities of the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a flowchart of a method for training a communication missing data determination model provided in accordance with the first embodiment of the present application;
[0025] Figure 2 It is a flowchart of a method for training a communication missing data determination model provided in Embodiment 2 of the present application;
[0026] Figure 3 is a flowchart of a method for determining communication missing data provided according to Embodiment 3 of the present application;
[0027] Figure 4 It is a structural schematic diagram of a training device for a communication missing data determination model provided according to Embodiment 4 of the present application;
[0028] Figure 5 It is a structural diagram of a communication missing data determination device provided according to Embodiment 5 of the present application;
[0029] Figure 6 It is a structural diagram of an electronic device that implements the training method of the communication missing data determination model of an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only 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 should fall within the scope of protection of the present application.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] In addition, it should be noted that in the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of relevant data such as original communication data and sample communication data involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0033] Embodiment 1
[0034] Figure 1 This is a flowchart of a training method for a communication missing data determination model provided in the first embodiment of the present application. This embodiment can be applied to the case of generating a model for analyzing and determining abnormal data generated by a 5G wireless communication process in a nuclear power digital instrumentation and control system. It can be executed by a training device for a communication missing data determination model. The training device for the communication missing data determination model can be implemented in the form of hardware and / or software. The training device for the communication missing data determination model can be configured in a computer device, such as a nuclear power digital instrumentation and control system of a server. Figure 1 As shown, the method includes:
[0035] S110. Preprocess the original communication data to obtain sample communication data; the sample communication data includes: normal communication data and abnormal communication data; the abnormal communication data is 5G communication data from which abnormal instances have been removed; the normal communication data is I / O data transmitted via network cables and / or optical fibers.
[0036] Among them, original communication data refers to the data collected by the nuclear power digital instrumentation and control system, which may include at least one of 5G communication data and I / O (Input / Output) data transmitted through network cables. Sample communication data refers to data that can be used for model training after processing the original communication data. 5G communication data refers to data received by the nuclear power digital instrumentation and control system from terminal devices such as mobile phones, tablets, and IoT devices, which may include at least one of video data, audio data, and text data. I / O data refers to data transmitted by external devices and / or sensors. Abnormal instances refer to instances in which abnormal communication data contains missing values.
[0037] It should be noted that the sample communication data, normal communication data and abnormal communication data can be represented in the form of a matrix.
[0038] Optionally, preprocessing the original communication data to obtain sample communication data may be: screening the original communication data to obtain normal communication data and 5G communication data; comparing the normal communication data with the 5G communication data to determine missing values in the 5G communication data; removing the missing values from the 5G communication data to obtain abnormal communication data.
[0039] Missing values refer to situations where some observations or variables in a data set are missing or not recorded.
[0040] Furthermore, after the original communication data is preprocessed to obtain sample communication data, a supplementary feature value may be added to the sample communication data.
[0041] Among them, the supplementary feature value refers to the new feature or attribute added to each instance in the data set, which may include at least one of different time periods of operating data, I / O module disconnection rate and packet loss rate, 5G communication terminal packet loss rate and disconnection rate, etc.
[0042] It can be understood that by supplementing the eigenvalues, the expressiveness of the sample communication data can be enriched, and more useful information can be provided for the generation of the communication missing data determination model.
[0043] S120. Based on the Gaussian Naive Bayes algorithm, the sample communication data is processed to obtain a communication missing data determination model.
[0044] Among them, the Gaussian Naive Bayes algorithm is a classification algorithm based on Bayes' theorem and feature independence assumption; in this algorithm, each feature is considered to be an independent Gaussian distribution, so that the probability density function can be used to describe the distribution of features under each category. The communication missing data determination model refers to a model that can locate the missing value position in the data set and use the predicted value for interpolation.
[0045] Optionally, based on the Gaussian Naive Bayes algorithm, processing the sample communication data can be achieved by the following formula:
[0046]
[0047] in, represents the jth feature in the random variable X. Represents a random variable The value of . Represents another random variable, which is used to represent the categorical variable, that is, the category to which the data sample belongs. Used to represent the kth categories in the categorical variable Y. exp represents the natural exponential function, which is used to calculate the exponential value of the independent variable. Indicates that in a given category Under the conditions, the characteristics The value is probability. Indicates that in a given category Under the conditions, the characteristics The mean of the Gaussian distribution. Indicates that in a given category Under the conditions, the characteristics The standard deviation of , that is, the standard deviation of the Gaussian distribution.
[0048] Optionally, after processing the sample communication data to obtain the communication missing data determination model, the communication missing data can also be determined based on the normal communication data and the 5G communication data; and the communication missing data can be used to verify the communication missing data determination model.
[0049] The communication missing data refers to data related to missing value information, which may include at least one of missing location information and specific missing value information.
[0050] Specifically, according to normal communication data and 5G communication data, the missing values of 5G communication data and the missing positions corresponding to the missing values are determined; the missing values and the missing positions are exported in the form of an array to obtain communication missing data; and the communication missing data is used to verify the communication missing model.
[0051] The missing position refers to the specific position of the missing value in the 5G communication data, which can be the row number where the missing value is located.
[0052] It can be understood that after the communication missing data determination model is generated, verifying the model using the communication missing data helps to ensure the reliability of the model.
[0053] The embodiment of the present application obtains sample communication data by preprocessing the original communication data; the sample communication data includes: normal communication data and abnormal communication data; the abnormal communication data is 5G communication data with abnormal instances removed; the normal communication data is I / O data transmitted through network cables and / or optical fibers; based on the Gaussian Naive Bayes algorithm, the sample communication data is processed to obtain a communication missing data determination model. The above technical solution uses the Gaussian Naive Bayes algorithm to determine the communication missing data determination model, which helps to improve the classification and prediction capabilities of the model.
[0054] Embodiment 2
[0055] Figure 2 This is a flow chart of a training method for a communication missing data determination model provided in accordance with the second embodiment of the present application. Based on the technical solutions of the above embodiments, this embodiment refines “based on the Gaussian Naive Bayes algorithm, the sample communication data is processed to obtain the communication missing data determination model” into “feature extraction of the sample communication data to obtain the feature value of the sample communication data; label processing of the sample communication data to obtain the category label value of the sample communication data; based on the Gaussian Naive Bayes algorithm, the feature value and category label value of the sample communication data are processed to obtain the communication missing data determination model”. It should be noted that for the parts not described in detail in the embodiments of the present application, please refer to the relevant statements of other embodiments. Figure 2 As shown, the method includes:
[0056] S210. Preprocess the original communication data to obtain sample communication data; the sample communication data includes: normal communication data and abnormal communication data; the abnormal communication data is 5G communication data from which abnormal instances have been removed; the normal communication data is I / O data transmitted via network cables and / or optical fibers.
[0057] S220: Extract features from the sample communication data to obtain feature values of the sample communication data.
[0058] Among them, the characteristic value refers to a numerical value used to describe the attributes or characteristics of each sample communication data, which may include at least one of a numerical feature and a continuous discrete feature; for example, different time periods of operating data, I / O data drop rate, I / O data packet loss rate, 5G communication packet loss rate and 5G communication drop rate.
[0059] Optionally, feature extraction is performed on the sample communication data using domain knowledge and statistical analysis feature extraction to obtain feature values of the sample communication data.
[0060] Among them, the domain knowledge and statistical analysis feature extraction method refers to extracting representative and practical features from raw data based on an in-depth understanding of a specific field and relevant statistical analysis methods; in the field of communication data processing, this feature extraction method can combine professional domain knowledge and statistical analysis techniques to better reflect the characteristics and laws of the data.
[0061] Further, the sample communication data is preprocessed to obtain target communication data; and feature extraction is performed on the target communication data to obtain feature values of the target sample communication data.
[0062] The target communication data refers to the communication data obtained after preprocessing the sample communication data such as denoising, filtering, and normalization.
[0063] It is understandable that preprocessing the sample communication data before extracting features from the communication data can ensure the quality and reliability of the data.
[0064] S230 , perform label processing on the sample communication data to obtain a category label value of the sample communication data.
[0065] The category label refers to a value used to characterize the category to which each data in the sample communication data belongs.
[0066] Specifically, data identification is performed on the sample communication data to obtain at least one data category in the sample communication data; and label processing is performed on the association between the sample communication data and the data category to obtain a category label value of the sample communication data.
[0067] Data identification refers to the process of classifying or grouping data according to their common attributes, characteristics or properties. Data categories are used to characterize the attributes, characteristics or properties of data.
[0068] S240. Based on the Gaussian Naive Bayes algorithm, the characteristic values and category label values of the sample communication data are processed to obtain a communication missing data determination model.
[0069] Optionally, based on the Gaussian Naive Bayes algorithm, the data missing probability corresponding to the eigenvalue is determined according to the eigenvalue and the category label value; the data missing probability includes the conditional probability distribution and the prior probability; and according to the data missing probability, a communication missing data determination model is obtained.
[0070] Among them, the data missing probability is used to characterize the probability of missing feature values. The conditional probability distribution represents the probability of missing feature values when the class label value is known. The prior probability represents the overall probability of missing feature values.
[0071] Specifically, based on the Gaussian Naive Bayes algorithm, the prior probability, mean and variance corresponding to the eigenvalue are determined according to the eigenvalue and the category label value; the conditional probability distribution corresponding to the eigenvalue is determined according to the mean and variance; the conditional probability distribution and the prior probability are stored to obtain a communication missing data determination model.
[0072] The mean is the ratio of the sum of all data in a set of data to the number of data, which is used to indicate the central tendency of the data. The variance is the average of the sum of the squares of the differences between each data and the mean, which is used to indicate the degree of dispersion of the data.
[0073] The embodiment of the present application obtains sample communication data by preprocessing the original communication data; the sample communication data includes: normal communication data and abnormal communication data; the abnormal communication data is 5G communication data with abnormal instances removed; the normal communication data is I / O data transmitted through network cables and / or optical fibers; feature extraction is performed on the sample communication data to obtain feature values of the sample communication data; label processing is performed on the sample communication data to obtain category label values of the sample communication data; based on the Gaussian Naive Bayes algorithm, the feature values and category label values of the sample communication data are processed to obtain a communication missing data determination model. The above technical solution determines the communication missing data determination model through the Gaussian Naive Bayes algorithm and the feature values and category label values of the sample communication data, which helps to improve the classification and prediction capabilities of the model.
[0074] Embodiment 3
[0075] Figure 3 This is a flowchart of a communication missing data determination method provided in Example 3 of the present application. This embodiment can be applied to analyze and determine the abnormal data generated by the 5G wireless communication process in the nuclear power digital instrumentation and control system. It can be executed by a communication missing data determination device. The communication missing data determination device can be implemented in the form of hardware and / or software. The communication missing data determination device can be configured in a computer device, such as a nuclear power digital instrumentation and control system of a server. Figure 3 As shown, the method includes:
[0076] S310. Obtain target 5G communication data.
[0077] Among them, the target 5G communication data refers to the data transmitted by 5G application equipment to the nuclear power digital instrumentation and control system.
[0078] It should be noted that the target 5G communication data can be represented in the form of a matrix.
[0079] S320. Based on the communication missing data determination model, the target 5G communication data is predicted for missing data to obtain the target missing position and missing prediction data.
[0080] Missing data refers to data related to missing values in the target 5G communication data, and may include at least one of the missing specific value and the missing position. The target missing position refers to the position where data is missing in the target 5G communication data. Missing prediction data refers to the prediction result of the data value that may appear at the missing position in the target 5G communication data.
[0081] The communication missing data determination model is obtained by training based on the communication missing data determination model training method provided in any embodiment of the present application.
[0082] Specifically, the target 5G communication data is imported into the communication missing data determination model; the posterior probability corresponding to the category label is determined according to the category label of the target 5G communication data and the data missing probability of the communication missing data determination model; a logarithmic operation is performed on the posterior probability corresponding to the category label to obtain the probability likelihood corresponding to the category label; the category label corresponding to the maximum probability likelihood is used as the category label corresponding to the missing data; and the target missing position and the missing predicted data are determined according to the category label corresponding to the missing data.
[0083] Among them, the posterior probability refers to the probability of the category label appearing under the condition of known feature values. The probability likelihood is used to describe the possibility of missing values appearing in the data under the current category label under the condition of a given set of observed data.
[0084] Optionally, before missing data prediction is performed on the target 5G communication data, the indexes of the target 5G communication data may be rearranged.
[0085] The index is used to represent the row number of the matrix.
[0086] It is understandable that due to the presence of missing values in the target 5G communication data, by rearranging the index of the target 5G communication data, the target 5G communication data can be kept at the same latitude as the test set of the model, which helps to improve the accuracy of the model prediction.
[0087] Furthermore, after predicting missing data for the target 5G communication data and obtaining the target missing position and missing prediction data, the target 5G communication data can be interpolated based on the target missing position and missing prediction data.
[0088] The embodiment of the present application obtains the target 5G communication data; based on the communication missing data determination model, the target 5G communication data is predicted for missing data, and the target missing position and missing prediction data are obtained. The above technical solution, based on the communication missing data determination model generated by the Gaussian Naive Bayes algorithm, determines the missing position and missing prediction data corresponding to the missing value, which can ensure the efficiency and rationality of the communication missing data determination.
[0089] Embodiment 4
[0090] Figure 4 This is a structural diagram of a training device for a communication missing data determination model provided in Example 4 of the present application, which can be applied to the case of generating a model for analyzing and determining abnormal data generated by a 5G wireless communication process in a nuclear power digital instrumentation and control system. The training device for the communication missing data determination model can be implemented in the form of hardware and / or software, and the training device for the communication missing data determination model can be configured in a computer device, such as a nuclear power digital instrumentation and control system. Figure 4 As shown, the device comprises:
[0091] The data processing module 410 is used to pre-process the original communication data to obtain sample communication data; the sample communication data includes: normal communication data and abnormal communication data; the abnormal communication data is the 5G communication data from which the abnormal instances are removed; the normal communication data is the I / O data transmitted through the network cable and / or optical fiber;
[0092] The model generation module 420 is used to process the sample communication data based on the Gaussian Naive Bayes algorithm to obtain a communication missing data determination model.
[0093] The embodiment of the present application obtains sample communication data by preprocessing the original communication data; the sample communication data includes: normal communication data and abnormal communication data; the abnormal communication data is 5G communication data with abnormal instances removed; the normal communication data is I / O data transmitted through network cables and / or optical fibers; based on the Gaussian Naive Bayes algorithm, the sample communication data is processed to obtain a communication missing data determination model. The above technical solution uses the Gaussian Naive Bayes algorithm to determine the communication missing data determination model, which helps to improve the classification and prediction capabilities of the model.
[0094] Optionally, the model generation module 420 includes:
[0095] A feature extraction unit, used to extract features from the sample communication data to obtain feature values of the sample communication data;
[0096] A label processing unit, used to perform label processing on the sample communication data to obtain a category label value of the sample communication data;
[0097] The model generation unit is used to process the characteristic values and category label values of the sample communication data based on the Gaussian Naive Bayes algorithm to obtain a communication missing data determination model.
[0098] Optionally, a model generation unit is used to:
[0099] Based on the Gaussian Naive Bayes algorithm, the probability of missing data corresponding to the feature value is determined according to the feature value and the category label value; the probability of missing data includes conditional probability distribution and prior probability;
[0100] According to the data missing probability, a communication missing data determination model is obtained.
[0101] Optionally, the device further comprises: a model verification module, configured to:
[0102] Determine the communication missing data based on normal communication data and 5G communication data;
[0103] The communication missing data are used to verify the communication missing data determination model.
[0104] The training device for the communication missing data determination model provided in the embodiment of the present application can execute the training method for the communication missing data determination model provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects for executing each training method for the communication missing data determination model.
[0105] Embodiment 5
[0106] Figure 5 This is a structural diagram of a communication missing data determination device provided in Example 5 of the present application, which can be used to analyze and determine the abnormal data generated by the 5G wireless communication process in the nuclear power digital instrumentation and control system. The communication missing data determination device can be implemented in the form of hardware and / or software. The communication missing data determination device can be configured in a computer device, such as a nuclear power digital instrumentation and control system. Figure 5 As shown, the device comprises:
[0107] A data acquisition module 510 is used to acquire target 5G communication data;
[0108] The data prediction module 520 is used to predict missing data for the target 5G communication data based on the communication missing data determination model, and obtain the target missing position and missing prediction data; wherein the communication missing data determination model is trained based on the training method of the communication missing data determination model provided in any embodiment of the present application.
[0109] The embodiment of the present application obtains the target 5G communication data; based on the communication missing data determination model, the target 5G communication data is predicted for missing data, and the target missing position and missing prediction data are obtained. The above technical solution, based on the communication missing data determination model generated by the Gaussian Naive Bayes algorithm, determines the missing position and missing prediction data corresponding to the missing value, which can ensure the efficiency and rationality of the communication missing data determination.
[0110] Optionally, the device further comprises:
[0111] The data interpolation module is used to predict missing data of the target 5G communication data, obtain the target missing position and missing prediction data, and then interpolate the target 5G communication data according to the target missing position and missing prediction data.
[0112] The communication missing data determination device provided in the embodiments of the present application can execute the communication missing data determination method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects for executing each communication missing data determination method.
[0113] Embodiment 6
[0114] Figure 6 6 is a schematic diagram of the structure of an electronic device 610 that implements the training method of the communication missing data determination model of the embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0115] like Figure 6 As shown, the electronic device 610 includes at least one processor 611, and a memory connected to the at least one processor 611 in communication, such as a read-only memory (ROM) 612, a random access memory (RAM) 613, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 611 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 612 or the computer program loaded from the storage unit 418 to the random access memory (RAM) 613. In the RAM 613, various programs and data required for the operation of the electronic device 610 can also be stored. The processor 611, the ROM 612, and the RAM 613 are connected to each other via a bus 614. An input / output (I / O) interface 615 is also connected to the bus 614.
[0116] A number of components in the electronic device 610 are connected to the I / O interface 615, including: an input unit 616, such as a keyboard, a mouse, etc.; an output unit 617, such as various types of displays, speakers, etc.; a storage unit 618, such as a disk, an optical disk, etc.; and a communication unit 619, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 619 allows the electronic device 610 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0117] The processor 611 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 611 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 611 executes the various methods and processes described above, such as a training method for a communication missing data determination model.
[0118] In some embodiments, the training method of the communication missing data determination model may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 618. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 610 via the ROM 612 and / or the communication unit 619. When the computer program is loaded into the RAM 613 and executed by the processor 611, one or more steps of the training method of the communication missing data determination model described above may be performed. Alternatively, in other embodiments, the processor 611 may be configured as a training method of the communication missing data determination model in any other appropriate manner (e.g., by means of firmware).
[0119] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0120] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable communication missing data determination model training device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0121] In the context of the present application, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0122] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0123] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0124] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0125] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution of this application can be achieved, and this document is not limited here.
[0126] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A method for training a communication missing data determination model, characterized in that: Applied to a nuclear power digital instrumentation and control system, the method comprises: The original communication data is preprocessed to obtain sample communication data; the sample communication data includes: normal communication data and abnormal communication data; the original communication data is the data collected by the nuclear power digital instrumentation and control system; the original communication data includes 5G communication data and normal communication data; the abnormal communication data is the 5G communication data with abnormal instances removed; the normal communication data is I / O data transmitted through network cables and / or optical fibers; the sample communication data refers to data that can be used for model training obtained by processing the original communication data; the 5G communication data refers to data received from a terminal device; Based on the Gaussian Naive Bayes algorithm, the sample communication data is processed to obtain a communication missing data determination model; Determine, according to the normal communication data and the 5G communication data, a missing value of the 5G communication data and a missing position corresponding to the missing value; Exporting the missing value and the missing position in the form of an array to obtain communication missing data; Using the communication missing data, verifying the communication missing data determination model; The original communication data is preprocessed to obtain sample communication data, including: Filter the original communication data to obtain normal communication data and 5G communication data; Compare normal communication data with 5G communication data to determine missing values in the 5G communication data; remove missing values from the 5G communication data to obtain abnormal communication data; The method of processing the sample communication data based on the Gaussian Naive Bayes algorithm to obtain a communication missing data determination model includes: Based on domain knowledge and statistical analysis feature extraction methods, feature extraction is performed on the sample communication data to obtain feature values of the sample communication data; the feature values include different time periods of operation data, I / O module offline rate, I / O module packet loss rate, 5G communication terminal packet loss rate and 5G communication terminal offline rate; Performing label processing on the sample communication data to obtain a category label value of the sample communication data; Based on the Gaussian Naive Bayes algorithm, the characteristic values and category label values of the sample communication data are processed to obtain a communication missing data determination model; After the original communication data is preprocessed to obtain sample communication data, the method further includes: Add supplementary characteristic values to the sample communication data; the supplementary characteristic values include different time periods of operating data, I / O module offline rate, I / O module packet loss rate, 5G communication terminal packet loss rate and 5G communication terminal offline rate.
2. The method according to claim 1, characterized in that The method of processing the characteristic values and category label values of the sample communication data based on the Gaussian Naive Bayes algorithm to obtain a communication missing data determination model includes: Based on the Gaussian Naive Bayes algorithm, the data missing probability corresponding to the feature value is determined according to the feature value and the category label value; the data missing probability includes a conditional probability distribution and a priori probability; According to the data missing probability, a communication missing data determination model is obtained.
3. A method for determining communication missing data, characterized in that: include: Obtain target 5G communication data; Based on the communication missing data determination model, missing data prediction is performed on the target 5G communication data to obtain the target missing position and missing prediction data; wherein, the communication missing data determination model is trained based on the training method of the communication missing data determination model described in any one of claims 1-2.
4. The method according to claim 3, characterized in that After predicting missing data for the target 5G communication data and obtaining the target missing position and missing prediction data, the method further includes: The target 5G communication data is interpolated according to the target missing position and the missing prediction data.
5. A training device for a communication missing data determination model, characterized in that: Configured in a nuclear power digital instrumentation and control system, the device includes: A data processing module is used to pre-process the original communication data to obtain sample communication data; the sample communication data includes: normal communication data and abnormal communication data; the original communication data is the data collected by the nuclear power digital instrumentation and control system; the original communication data includes 5G communication data and normal communication data; the abnormal communication data is the 5G communication data with abnormal instances removed; the normal communication data is I / O data transmitted through network cables and / or optical fibers; the sample communication data refers to data that can be used for model training obtained by processing the original communication data; the 5G communication data refers to data received from a terminal device; A model generation module, used to process the sample communication data based on a Gaussian naive Bayes algorithm to obtain a communication missing data determination model; A model verification module, used to determine the missing values of the 5G communication data and the missing positions corresponding to the missing values according to the normal communication data and the 5G communication data; export the missing values and the missing positions in the form of an array to obtain communication missing data; and use the communication missing data to verify the communication missing data determination model; A data supplementation module is used to add supplementary characteristic values to the sample communication data after preprocessing the original communication data to obtain the sample communication data; the supplementary characteristic values include different time periods of operation data, I / O module offline rate, I / O module packet loss rate, 5G communication terminal packet loss rate and 5G communication terminal offline rate; Wherein, the data processing module is specifically used for: Filter the original communication data to obtain normal communication data and 5G communication data; Compare normal communication data with 5G communication data to determine missing values in the 5G communication data; remove missing values from the 5G communication data to obtain abnormal communication data; Wherein, the model generation module includes: A feature extraction unit is used to extract features from the sample communication data based on domain knowledge and a statistical analysis feature extraction method to obtain feature values of the sample communication data; the feature values include different time periods of operation data, I / O module offline rate, I / O module packet loss rate, 5G communication terminal packet loss rate, and 5G communication terminal offline rate; A label processing unit, used to perform label processing on the sample communication data to obtain a category label value of the sample communication data; The model generation unit is used to process the characteristic values and category label values of the sample communication data based on the Gaussian Naive Bayes algorithm to obtain a communication missing data determination model.
6. A communication missing data determination device, characterized in that: include: A data acquisition module, used to acquire target 5G communication data; A data prediction module is used to predict missing data for the target 5G communication data based on a communication missing data determination model to obtain a target missing position and missing prediction data; wherein the communication missing data determination model is trained based on the training device of the communication missing data determination model described in claim 5.
7. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
