An expert system recommendation method based on graph representation learning
The expert system recommendation method based on graph representation learning solves the problems of historical case accumulation and subjectivity of expert experience in frequency compatibility analysis, achieves efficient and accurate spectrum resource management and interference prediction, adapts to different spectrum environments, and improves efficiency. Spectrum resource utilization efficiency.
Patent Information
- Application Number
- CN202410635006.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-05-22
AI Technical Summary
Existing frequency compatibility analysis methods suffer from the accumulation of historical cases, poor reusability, strong subjectivity of expert experience, and insufficient algorithm generalization capabilities, which results in limited spectrum resource management efficiency and accuracy, making it difficult to effectively coordinate spectrum in high-density user areas. use.
The expert system recommendation method based on graph representation learning is adopted. By establishing a spectrum simulation model, using the Monte Carlo method to generate simulation samples, extracting target features, and comparing with historical databases, the graph representation learning model is combined to predict spectrum compatibility issues, and experts The inference mechanism outputs recommendation results.
It improves the efficiency of spectrum resource utilization, provides efficient and accurate spectrum management and interference prediction tools, lowers the threshold of professional knowledge, and enables users in different fields to conduct frequency compatibility analysis and adapt to different spectrum environments and equipment configurations.
Smart Images

Figure CN118233034B
Abstract
Description
Technical Field
[0001] The present invention relates to electronic digital data processing, and in particular to an expert system recommendation method based on graph representation learning. Background Art
[0002] In modern communication systems, radio spectrum resources are key elements for information transmission. With the rapid development of wireless communication technology and the continuous expansion of application areas, the demand for spectrum resources is increasing, making the management and optimization of spectrum resources particularly important. Frequency compatibility analysis helps optimize the use of spectrum, ensure effective coordination between different frequency bands, frequencies and services, and maximize the utilization efficiency of spectrum resources. Due to the limited spectrum resources, spectrum congestion is a challenge, especially in high-density user areas. Frequency compatibility analysis needs to find a balance in the limited spectrum, resolve conflicts and interferences between different frequency-using devices or systems, support multi-device collaboration, adapt to changes in usage environment scenarios, ensure that different devices and systems can work harmoniously when using spectrum resources, and improve the overall spectrum utilization efficiency. However, the existing frequency compatibility analysis methods have some obvious defects and challenges, which limit their effectiveness and accuracy in practical applications.
[0003] First, traditional frequency compatibility analysis mainly relies on historical case analysis and the experience and judgment of experts in the field. Although this method can provide valuable references to a certain extent, it has several major problems: first, the accumulation and reusability of historical cases are poor, and it is difficult to form a systematic knowledge base, resulting in weak guidance for new tasks; second, expert experience is highly subjective, and the standards are relatively loose, making it difficult to accurately quantify and efficiently utilize spectrum resources, which easily leads to waste of spectrum resources; third, the professional knowledge barrier is high, which is not friendly to non-professionals, limiting the popularization and application of spectrum management tools.
[0004] Secondly, the existing frequency compatibility analysis methods are also insufficient in the generalization ability of algorithms and models. They often rely on specific simulation software or platforms. The simulation models are usually based on a series of assumptions and simplifications. These assumptions may differ from the actual situation, resulting in inconsistency between the simulation results and the actual situation, which limits the accuracy and reliability of the analysis results.
[0005] In order to overcome the above defects and improve the efficiency and accuracy of frequency compatibility analysis, the present invention proposes an expert system recommendation method based on graph representation learning. Summary of the invention
[0006] The present invention overcomes the shortcomings of the prior art and provides an expert system recommendation method based on graph representation learning, aiming to solve the problem of how to improve the recognition ability of spectrum compatibility problems between different frequency-using devices or systems in shared or adjacent frequency bands.
[0007] To achieve the above object, the technical solution adopted by the present invention is: an expert system recommendation method based on graph representation learning, comprising the following steps:
[0008] Step S1, establishing a spectrum simulation model for simulating the propagation and interference of a specific signal in different environments, wherein the specific signal is a shared or adjacent frequency band;
[0009] Step S2: using the Monte Carlo method, setting the probability distribution according to the key factors, and simulating the simulation samples of different signal propagation and interference conditions;
[0010] Step S3, using the simulation samples generated by the Monte Carlo simulation as input, running the spectrum simulation model, and outputting spectrum-related data;
[0011] Step S4, extracting target features from the simulated samples in step S2, and using the correlation index to find a set of spectrum-related data with the greatest correlation with the simulated samples in the historical database;
[0012] Step S5: compare the spectrum-related data output from step S3 and step S4, use graph representation to learn to predict and identify potential frequency compatibility issues, and pass the identification results through a classifier with an expert reasoning mechanism to output the final expert recommendation results on spectrum usage.
[0013] In a preferred embodiment of the present invention, the step S1 includes the following sub-steps:
[0014] Step S11, defining the simulation scope, including defining the type and quantity of the frequency-using devices or systems involved, the simulation frequency band range and the simulation environment;
[0015] Step S12, determining electromagnetic simulation software or platform, and constructing a spectrum simulation model;
[0016] Step S13: using actual measurement data or historical data, iteratively adjust key parameters in the spectrum simulation model, and output an optimized spectrum simulation model; wherein the key parameters include signal propagation loss, interference coefficient, and device performance parameters.
[0017] In a preferred embodiment of the present invention, the step S12 includes the following sub-steps:
[0018] Step S121, on the selected electromagnetic simulation software or platform, according to the simulation scope defined in step S11, define the parameters and boundary conditions required for the simulation, including the transmission and reception characteristics of the device, the directivity and polarization of the antenna, and the reflection, refraction and scattering characteristics of the environment;
[0019] Step S122: using electromagnetic simulation software or platform, construct a network model representing the simulation environment; the network model includes all frequency-using devices and systems, their mutual positions and relative relationships, and the geographical and physical characteristics of the environment;
[0020] Step S123: setting simulation parameters, including simulation time length, signal type and characteristics, and interference simulation method.
[0021] In a preferred embodiment of the present invention, in step S2, the key factor refers to a factor that affects signal propagation or interference between different frequency-using devices or systems in a shared or adjacent frequency band; the probability distribution is generated based on the historical variation range and occurrence frequency of each key factor, or is set by expert experience.
[0022] In a preferred embodiment of the present invention, the step S3 includes the following sub-steps:
[0023] Step S31, loading the spectrum simulation model constructed in step S1 into the simulation software, and setting initial conditions for the simulation;
[0024] Step S32: using the simulation samples generated in step S2 as input, transmitting them to the spectrum simulation model, and recording the signal propagation and interference conditions under different simulation sample conditions;
[0025] Step S33: Collect and output spectrum related data.
[0026] In a preferred embodiment of the present invention, in step S3, the spectrum-related data includes: signal propagation data, interference data, signal-to-noise ratio, spectrum occupancy, equipment performance parameters and environmental impact data.
[0027] In a preferred embodiment of the present invention, the step S4 includes the following sub-steps:
[0028] Step S41, extracting target features of each simulated sample to form a feature vector;
[0029] Step S42: Use the correlation index to calculate the similarity between the simulated sample and the historical data in the historical database, select a group of data with the highest correlation with the simulated sample as spectrum-related data and output it.
[0030] In a preferred embodiment of the present invention, the target characteristics are signal intensity, signal frequency and duration of the simulated sample.
[0031] In a preferred embodiment of the present invention, the step S5 comprises the following sub-steps:
[0032] Step S51, comparing the spectrum-related data outputted from step S3 and step S4, and extracting distinguishing features;
[0033] Step S52: construct a graph structure, define nodes in the graph, each node represents a frequency-using device or system, and edges represent the relationship between nodes;
[0034] Step S53, updating the feature vectors of the nodes and the weights of the edges of the graph structure in step S52 according to the distinguishing features extracted in step S51;
[0035] Step S54: input the updated graph structure into the trained graph representation learning model, and learn the low-dimensional embedding representation of each node through the forward propagation of the model;
[0036] Step S55: Based on historical data and expert knowledge, define a set of rules for predicting spectrum compatibility issues, pre-process the node embedding representation obtained in step S54, and use the defined rules to compare and analyze the pre-processed data one by one to identify existing spectrum compatibility issues or risk points; use classifiers and specific expert reasoning mechanisms to verify and correct the prediction results of graph representation learning.
[0037] In a preferred embodiment of the present invention, the graph representation learning model is a graph convolutional network model or a graph attention network model.
[0038] The present invention solves the defects existing in the background technology and has the following beneficial effects:
[0039] The present invention provides an expert system recommendation method based on graph representation learning, which aims to solve the interference problems that may occur when different frequency-using devices or systems work in shared or adjacent frequency bands. The method predicts and identifies potential spectrum compatibility problems by building a spectrum simulation model, generating simulation samples, simulation experiments, correlation calculations, and expert graph representation learning, and finally outputs recommended data and information about spectrum usage, interference, and system performance. Compared with the prior art, which uses historical frequency compatibility analysis case analysis and domain expert experience operations, an efficient and accurate spectrum management and interference prediction tool is provided to optimize spectrum resource allocation and improve communication system performance, and can more comprehensively and accurately predict and identify potential spectrum compatibility problems. This method not only improves the utilization efficiency of spectrum resources, but also reduces the threshold of professional knowledge through automated simulation and analysis processes, so that users in different fields and at different cognitive levels can perform frequency compatibility analysis, providing a new solution for spectrum management and communication system optimization.
[0040] The present invention introduces correlation calculation and compares the simulation results with the spectrum related data obtained by correlation calculation after applying the construction of the spectrum simulation model, using the Monte Carlo method to generate simulation samples and conducting simulation experiments. The reasons are: 1. Through correlation calculation, the simulation results can be compared with a large amount of actual data stored in the historical database, thereby improving the accuracy of predicting future spectrum usage; 2. Through correlation calculation, the cases in the historical data that are most similar to the current simulation situation can be mined to provide reference and verification for the current simulation results. 3. The simulation model may not cover all the complex situations in the real world. By comparing with historical data, interference patterns or special situations not considered in the simulation can be discovered. 4. The communication environment is dynamically changing. By constantly comparing new simulation results with historical data, the model can adapt to environmental changes and maintain the timeliness of the analysis.
[0041] The present invention compares the spectrum-related data obtained after the simulation experiment and correlation calculation, and uses expert graph representation learning because the powerful data processing and pattern recognition capabilities of the graph representation learning model are used to conduct in-depth analysis and prediction of spectrum usage. By constructing a graph structure, frequency-using devices or systems are represented as nodes, and the relationship between them is represented by edges, which can effectively capture and represent complex interactions and potential compatibility issues between devices. The graph representation learning model can learn low-dimensional embedded representations of nodes, which can capture key information and interaction patterns between nodes. Combined with expert systems and classifiers, potential spectrum compatibility issues can be accurately predicted and identified, thereby providing scientific decision-making support for the optimal allocation and management of spectrum resources. In addition, the introduction of the graph representation learning model enhances the generalization ability of the system, enabling it to adapt to different spectrum environments and device configurations, and improving the robustness and adaptability of recommendations. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
[0043] Figure 1 is a flow chart of a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention; however, the present invention may also be implemented in other ways than those described herein.
[0046] The present invention provides an expert system recommendation method based on graph representation learning. The method constructs a spectrum simulation model, generates simulation samples using the Monte Carlo method, conducts simulation experiments to obtain spectrum-related data, and finds the most relevant data from the historical database through correlation calculation. Then, the graph representation learning model is used to compare and analyze these data, predict and identify potential spectrum compatibility issues, and finally outputs recommended data and information on spectrum usage, interference, and system performance. Figure 1 As shown, the specific steps include:
[0047] Step S1, establishing a spectrum simulation model for simulating the propagation and interference of a specific signal in different environments, wherein the specific signal is a shared or adjacent frequency band;
[0048] Step S2: using the Monte Carlo method, setting the probability distribution according to the key factors, and simulating the simulation samples of different signal propagation and interference conditions;
[0049] Step S3, using the simulation samples generated by the Monte Carlo simulation as input, running the spectrum simulation model, and outputting spectrum-related data;
[0050] Step S4, extracting target features from the simulated samples simulated in step S2, and finding a set of spectrum-related data with the greatest correlation with the simulated samples in the historical database using a correlation index;
[0051] Step S5, compare the spectrum-related data output by step S3 and step S4, and use the rule engine in the expert system, where the rule engine is graph representation learning, to predict and identify potential frequency compatibility issues, and output the final data and information results on spectrum usage, interference and system performance.
[0052] In step S1, the following sub-steps are included:
[0053] Step S11, defining the simulation scope, including defining the type and quantity of the frequency-using devices or systems involved, the simulation frequency band range and the simulation environment;
[0054] Step S12, determining electromagnetic simulation software or platform, and constructing a spectrum simulation model;
[0055] Step S13: using actual measurement data or historical data, iteratively adjust key parameters in the spectrum simulation model, and output an optimized spectrum simulation model; wherein the key parameters include signal propagation loss, interference coefficient, and device performance parameters.
[0056] Here, step S11 is to clarify the specific scope and target of the simulation, wherein the frequency-using devices or systems involved include but are not limited to: communication equipment, radar systems, navigation systems or other radio systems. For example, ground radar, GPS, remote control equipment, satellite communication terminals, etc. In one embodiment, the simultaneous operation of multiple communication devices in an area or the mutual interference of multiple radar systems can be simulated, and the number can range from a few to hundreds, depending on the complexity of the simulation and the limitation of computing resources.
[0057] The present invention needs to collect various parameters of the frequency-using equipment or system involved. The parameter collection may include but is not limited to: basic equipment information, transmission parameters, receiving parameters, antenna parameters and equipment working mode. Among them, the basic equipment information includes the model, manufacturer, main functions, etc. of the equipment, the transmission parameters include transmission power, transmission frequency range, modulation mode, etc., the receiving parameters include receiving sensitivity, receiving frequency range, demodulation mode, etc., the antenna parameters include antenna type, gain, beam width, polarization mode, radiation pattern, etc., and the equipment working mode includes continuous operation, intermittent operation, frequency hopping mode, etc. The collection of these parameters is carried out by consulting the technical manual of the equipment, communicating with the equipment manufacturer or actually testing the performance of the equipment, which will not be repeated here, and will be used for subsequent simulation model construction and frequency compatibility analysis.
[0058] Since electromagnetic waves in different frequency bands have different propagation characteristics, the frequency band range is simulated in the present invention. In an example of a shared frequency band, 5.725-5.850 GHz is used for wireless local area network (WLAN) communication, such as a WiFi network based on the 802.11a / n / ac standard. In this frequency band, multiple WiFi networks may operate simultaneously, and they are shared frequency bands; in an example of an adjacent frequency band, 470-694 MHz and 700-800 MHz, the former is used for digital terrestrial television broadcasting and mobile communication systems, and the latter is used for public safety communications or dedicated mobile communications; in another example of an adjacent frequency band, 1.8-2.0 GHz and 2.0-2.2 GHz, the former is used for certain 4G LTE frequency bands and some wireless communication systems, and the latter is used for other wireless communication purposes.
[0059] The simulation environment in the present invention is the geographical and physical environment of the simulation area, wherein the geographical and physical environment includes but is not limited to the geographical location, terrain features, building distribution and climatic conditions, specifically, including terrain (such as mountains, hills, plains, etc.), location and height of buildings and structures, vegetation type, climatic conditions (such as temperature, humidity, wind speed, etc.).
[0060] In step S12 of the present invention, the electromagnetic simulation software or platform should have the ability to handle complex electromagnetic environments and perform frequency band analysis based on an expert system recommendation method based on graph representation learning. For example, electromagnetic simulation software such as HFSS, CST Studio Suite or FEKO can be used.
[0061] Wherein, step S12 includes the following sub-steps:
[0062] Step S121, on the selected electromagnetic simulation software or platform, according to the simulation scope defined in step S11, define the parameters and boundary conditions required for the simulation, including the transmission and reception characteristics of the device, the directivity and polarization of the antenna, and the reflection, refraction and scattering characteristics of the environment;
[0063] Step S122: using electromagnetic simulation software or platform, construct a network model representing the simulation environment; the network model includes all frequency-using devices and systems, their mutual positions and relative relationships, and the geographical and physical characteristics of the environment, such as terrain, buildings, and other obstacles that may affect signal propagation;
[0064] Step S123: setting simulation parameters, such as simulation time length, signal type and characteristics, and interference simulation method.
[0065] It should be noted that in step S123, the simulation time length is to quickly verify a certain signal propagation or interference phenomenon, and the simulation time is set to a few minutes or hours; the simulated signal type is an analog signal, a digital signal or a modulated signal; the signal characteristics include the signal baud rate, modulation mode (such as QPSK, QAM) and coding mode characteristics; the interference simulation mode is co-channel interference, adjacent channel interference or multipath interference. The present invention is particularly aimed at conflicts and interferences between different frequency-using devices or systems, and supports interference between multiple devices working in shared or adjacent frequency bands. Here, the interference simulation mode is preferably co-channel interference or adjacent channel interference.
[0066] In step S13 of the present invention, the parameters in the model need to be calibrated to ensure the accuracy and reliability of the model. This step involves comparison with the actual system or historical data, and adjustment of the model parameters, and specifically includes the following sub-steps:
[0067] Step S131, collecting calibration data;
[0068] Step S132, identifying key parameters that affect simulation results;
[0069] Step S133: using the calibration data, adjusting key parameters in the simulation model through iteration, so that the simulation results are consistent with the calibration data, and outputting an optimized spectrum simulation model.
[0070] It should be noted that in step S131, the calibration data is actual data used to verify and adjust the accuracy of the simulation model. The data comes from actual measurement data or historical data of the same or similar signal propagation and interference conditions under the same environment or conditions as the simulation model. In step S132, key parameters include signal propagation loss, interference coefficient, equipment performance parameters, etc. The key parameters can be determined by sensitivity analysis, expert experience or literature research. In step S133, this is achieved by using optimization algorithms (such as gradient descent method, genetic algorithm, etc.).
[0071] Next, we will use the iterative optimization algorithm of the gradient descent method to illustrate the iterative process:
[0072] set up is the key parameter vector in the simulation model, and the error function is ; The goal is to find a set of parameters , so that Minimize. In the gradient descent method, the parameter value is adjusted in the opposite direction of the gradient of the error function with respect to each parameter. The specific iterative method is as follows: ;
[0073] in, is the parameter vector for the next iteration, is the parameter vector of the current iteration, is the learning rate, a positive decimal number used to control the step size of parameter updates; In the current parameter Error function The gradient vector of .
[0074] Gradient Vector Each component of is the partial derivative of the error function with respect to the corresponding parameter, that is: ; where n is the dimension of the parameter vector.
[0075] The principle of step S2 of the present invention is to generate simulated samples based on the Monte Carlo simulation method, wherein the Monte Carlo simulation is a method for estimating a value or solving a problem by repeated random sampling, and specifically includes the following sub-steps:
[0076] Step S21, determining key factors and probability distribution;
[0077] Step S22, using the Monte Carlo method to generate simulation samples;
[0078] Step S23: verify, adjust or regenerate the simulation sample, and output the simulation sample.
[0079] In step S21 of the present invention, the key factors refer to factors that affect signal propagation or interference between frequency-using devices or systems in shared or adjacent frequency bands; for example, signal strength, signal frequency, propagation environment, or relative positions between devices.
[0080] Probability distribution means that for each key factor, it is generated based on the historical range of changes and frequency of occurrence, or set by expert experience. For each key factor, its possible value range and probability distribution are determined based on historical data, expert knowledge or experimental measurements. For example, signal strength follows a normal distribution, where the mean and standard deviation are estimated using historical data.
[0081] In step S22 of the present invention, the method of generating random simulation samples by the Monte Carlo method is random sampling. For example, according to the probability distribution set in step S21, the value of each key factor is randomly extracted using the Monte Carlo method to form a complete simulation sample. By repeating this process multiple times, a large number of simulation samples can be generated, each of which represents a possible signal propagation and interference situation.
[0082] In step S23 of the present invention, it is necessary to verify whether the generated simulated samples are within a reasonable range and whether they are consistent with the actual situation. For example, check whether the signal strength is too high or too low. If unreasonable or extreme data is found in the simulated samples, appropriate adjustments or regeneration can be made to ensure the validity and representativeness of the simulated samples.
[0083] In this way, step S2 can help us generate a series of representative simulation samples, which can be used in subsequent simulation experiments, data analysis or model verification. Through Monte Carlo simulation, we can predict and analyze the signal propagation and interference before the actual experiment, thereby saving costs, improving efficiency, and providing a scientific basis for decision-making.
[0084] Step S3 of the present invention is to simulate and analyze the signal propagation and interference based on simulation experiments, and specifically includes the following sub-steps:
[0085] Step S31, loading the spectrum simulation model constructed in step S1 into the simulation software, and setting initial conditions for the simulation;
[0086] Step S32: using the simulation samples generated in step S2 as input, transmitting them to the spectrum simulation model, and recording the signal propagation and interference conditions under different simulation sample conditions;
[0087] Step S33: Collect and output spectrum related data.
[0088] It should be noted that in step S31 of the present invention, the initial conditions of the simulation setting include the start and end time of the simulation, the range and resolution of the simulation area, etc. In step S33 of the present invention, during the simulation operation, it is necessary to collect and record relevant data, and the spectrum-related data includes: signal propagation data, interference data, signal-to-noise ratio, spectrum occupancy, equipment performance parameters and environmental impact data.
[0089] It should be noted that the signal propagation data refers to the propagation of the signal in the simulation area recorded by the simulation model under different simulation sample conditions; the interference situation data refers to the interference level recorded during the simulation process, including co-channel interference and adjacent-channel interference.
[0090] The signal-to-noise ratio is the ratio of signal strength to background noise strength; spectrum occupancy refers to the signal occupancy of different frequency bands, including the number and type of devices active in a specific frequency band; environmental impact data refers to the impact of the geographical and physical environment on signal propagation, such as reflection, refraction and scattering.
[0091] Step S4 of the present invention is to search the historical data most relevant to the simulation sample from the historical database based on feature extraction and similarity measurement. The purpose of this step is to find the historical situation most similar to the current simulation sample for subsequent data comparison and result prediction. Specifically, it includes the following sub-steps:
[0092] Step S41, extracting target features of each simulation sample to form a feature vector; wherein the target features include signal strength, signal frequency and duration;
[0093] Step S42: Use the correlation index to calculate the similarity between the simulated sample and the historical data in the historical database, select a group of data with the highest correlation with the simulated sample as spectrum-related data and output it.
[0094] In step S41 of the present invention, the signal strength can be calculated by calculating its maximum amplitude, average amplitude or total power. If the signal frequency is a single frequency, its frequency can be directly measured. For complex signals, such as signals containing multiple frequency components, Fourier transform (such as FFT) is used to analyze the spectrum of the signal, and the main frequency or several main frequency components are selected as features. The duration of the signal is calculated by detecting the start time and end time of the signal, and threshold detection is used to determine when the signal starts and ends, and then the duration of the signal is calculated.
[0095] The historical database of the present invention stores historical signal propagation and interference data. In step S42, a correlation index, such as cosine similarity, Euclidean distance, etc., is used to quantify the similarity between the simulated sample and the historical data.
[0096] For example, a calculation method based on cosine similarity includes:
[0097] Step S421, feature vector normalization: normalize the feature vector composed of signal strength, signal frequency and duration, wherein the normalization is achieved by subtracting the minimum value from each feature value and then dividing it by its range (the difference between the maximum value and the minimum value);
[0098] Step S422, comparing the feature vector of the simulated sample with the feature vector of each data point in the historical database, and calculating the cosine similarity between them;
[0099] Step S423: Calculate the maximum similarity value ,The historical data point corresponding to the maximum similarity value is the data most relevant to the simulation sample and is output as spectrum-related data.
[0100] It should be noted that the cosine similarity calculation formula is: ,in, represents the feature vector of the ith simulated sample, represents the feature vector of the data point in the jth historical database, Representation vector and vector The dot product (inner product) of and Represents vectors and vector The cosine similarity value can be obtained by multiplying the feature vector of the simulated sample with the norm of the feature vector of the data point in the historical database.
[0101] Through this calculation process, we can obtain the cosine similarity between the feature vector of the simulated sample and the feature vector of the data point in the historical database, which is used to measure the degree of directional similarity between them in space. The value is between -1 and 1, where 1 means complete similarity, -1 means complete opposite, and 0 means irrelevant.
[0102] In the present invention, step S5 is to use an expert system based on graph representation learning to perform data comparison, problem prediction and identification, and output the final result recommendation. Specifically, it includes the following sub-steps:
[0103] Step S51, comparing the spectrum-related data outputted from step S3 and step S4, and extracting distinguishing features;
[0104] Step S52: construct a graph structure, define nodes in the graph, each node represents a frequency-using device or system, and edges represent the relationship between nodes;
[0105] Step S53, updating the feature vectors of the nodes and the weights of the edges of the graph structure in step S52 according to the distinguishing features extracted in step S51;
[0106] Step S54: input the updated graph structure into the trained graph representation learning model, and learn the low-dimensional embedding representation of each node through the forward propagation of the model;
[0107] Step S55: Based on historical data and expert knowledge, define a set of rules for predicting spectrum compatibility issues, pre-process the node embedding representation obtained in step S54, and use the defined rules to compare and analyze the pre-processed data one by one to identify existing spectrum compatibility issues or risk points; use classifiers and specific expert reasoning mechanisms to verify and correct the prediction results of graph representation learning.
[0108] Step S52 of the present invention involves constructing a graph structure and defining the nodes in the graph and the relationships between the nodes, which provides a necessary structural basis for updating node feature vectors and edge weights, learning node embedding representations, and predicting potential spectrum compatibility issues in subsequent steps, and specifically includes the following sub-steps:
[0109] Step S521: Each node represents a frequency-using device or system, ensuring that each frequency-using device or system is uniquely represented as a node;
[0110] Step S522: Edges are used to represent the relationship between nodes, and edges are defined according to actual associations or interactions between frequency-using devices or systems.
[0111] Step S523: Select a suitable data structure to store node and edge information.
[0112] It should be noted that, in step S523, the data structure may use an adjacency matrix or an adjacency list to represent the graph structure, ensuring that the data structure can efficiently support subsequent update operations of node feature vectors and edge weights.
[0113] Step S53 involves updating the feature vectors of nodes and the weights of edges in the graph structure according to the distinguishing features, and specifically includes the following sub-steps:
[0114] Step S531: for each node, update its feature vector according to the collected distinguishing features, where the feature vector includes various attributes related to the node;
[0115] Step S532: determine the edge weight update strategy, recalculate the weight of each edge, and update the weight values of all edges in the graph structure;
[0116] It should be noted that in step S531, in the graph structure, given the original node feature vector , a set of distinguishing features , the updated node feature vector is .
[0117] In step S532, the weight update strategy is:
[0118]
[0119] in, and Represent two nodes in the graph, Represented as the updated weight of each edge, is represented as the weight of each edge before update, is the characteristic influence coefficient, is a regulating factor used to control the sensitivity of eigenvalue differences to weight updates; Indicates the change in the feature value from the last update to the current moment.
[0120] In step S54, the graph representation learning model here can be a graph convolutional network model (GCN) or a graph attention network model (GAT), and its training method is to use historical data to train the model, and the historical data contains known spectrum compatibility issues and related features; during the training process, the model parameters are adjusted through an optimization algorithm until the prediction error is minimized, and the trained graph representation learning model is output.
[0121] It should be noted that the graph convolutional network (GCN) here is a powerful graph learning framework that extracts feature representations of nodes by performing convolution operations on the graph; GCN updates the representation of nodes by aggregating the neighbor information of the nodes, so that the information of adjacent nodes can be propagated in the network. The graph attention network (GAT) uses the attention mechanism to learn the correlation between nodes and aggregate the information of neighboring nodes based on these correlations. Unlike GCN, GAT allows nodes to aggregate the information of their neighbors with different weights. The construction and training of the graph convolutional network model (GCN) or the graph attention network model (GAT) are existing technologies and will not be repeated here.
[0122] The updated graph structure is input into the trained graph representation learning model. After receiving the input data, the graph representation learning model starts the forward propagation calculation. During the forward propagation process, the graph representation learning model calculates the feature representation of the nodes layer by layer until a low-dimensional embedding representation of each node is obtained. These low-dimensional embedding representations capture the key information of the nodes and are used for subsequent link prediction.
[0123] The feature vectors of the nodes and the weights of the edges in the graph structure are updated according to the distinguishing features. This updated graph structure can be used as input data to the trained GCN or GAT model. These two models will further process the graph data and learn the low-dimensional embedding representation of each node through forward propagation. These low-dimensional embedding representations can be regarded as "compressed" or "encoded" forms of the nodes in the graph, which capture the key information of the nodes and the structural characteristics of the graph. These embedding representations can be used for downstream tasks to predict potential spectrum compatibility issues.
[0124] Step S55 of the present invention mainly uses an expert system and a rule engine to combine the node embedding representation output by the graph representation learning model and other relevant information of the graph to infer and predict potential spectrum compatibility issues. Here, the expert system is a computer program system that simulates the decision-making process of human experts. It combines expert knowledge and experience and solves problems through a series of rules.
[0125] Step S55 includes the following sub-steps:
[0126] Step S551: Based on historical data and expert knowledge, define a set of rules for predicting spectrum compatibility issues, where the rules involve node features, edge weights, and environmental factors;
[0127] Step S552: preprocessing the node embedding representation obtained in step S54 and other relevant information of the graph, including standardization and normalization of data or extraction of key features, so as to facilitate comparison with the defined rules;
[0128] Step S553: using the defined rules, compare and analyze the pre-processed data one by one; according to the rules, identify possible spectrum compatibility problems or risk points;
[0129] Step S554: Based on the recognition result in step S553, a classifier is used for classification, and the classification is performed according to the severity, frequency of occurrence, and scope of impact of the problem; wherein an expert reasoning mechanism is provided in the classifier.
[0130] It should be noted that the formulation of rules is based on expert knowledge and experience, historical data analysis, and industry standards and specifications. For example, experts may know that certain devices are prone to interference within a specific spectrum range, so rules can be formulated to identify this potential interference situation. Historical data analysis is to summarize some rules by analyzing the spectrum usage and problems that have occurred in historical data, and then convert these rules into rules. For example, if it is found that when the signal strength of two devices exceeds a certain threshold at the same time, interference is likely to occur between them, then this rule can be converted into a rule. For another example, certain frequency bands may be specified as dedicated frequency bands for specific devices, and the use of other devices in this frequency band may pose an interference risk.
[0131] In step S551 of the present invention, a set of rules for predicting spectrum compatibility issues is defined based on historical data and expert knowledge, and the formula combines multiple node features, edge weights, and possible environmental factors.
[0132] In one embodiment, N is a set of nodes, where each node There is a set of eigenvectors ; E is the set of edges, each edge Connecting Nodes and , and has a weight ; C is a set of environmental factors, each of which It has an impact on spectrum compatibility.
[0133] Define a comprehensive evaluation function To calculate the node and Environmental factors Potential spectrum compatibility issues for: ;
[0134] in, Is an evaluation function used to compare the corresponding feature vectors of two nodes and Whether a certain threshold is met , and returns a quantitative value (for example, 0 for not satisfied, 1 for satisfied); is an evaluation function used to evaluate environmental factors Whether it exceeds the corresponding threshold , and returns a quantized value. , and It is the weight of each part, which is used to balance the impact of different factors on the comprehensive evaluation, and its selection is determined based on expert knowledge.
[0135] Specifically, step S552 is to obtain the node embedding representation from step S54. These embedding representations are low-dimensional vector representations obtained by reducing the dimension of the high-dimensional data of the node through graph embedding technology, which is easier to process and analyze. The data preprocessing in step S552 includes data standardization and normalization, the purpose of which is to ensure the consistency and comparability of the data and eliminate the dimensional differences between different features, so that the data after data preprocessing can be effectively compared with the rules defined in step S551.
[0136] In step S553, the comparison process mainly checks and analyzes the data pre-processed in step S552 one by one according to the rules defined in step S551.
[0137] Specifically, the loaded data (the data pre-processed in step S552 is loaded. These data have been processed in the format required by the rules defined in step S551, including the feature vectors of the nodes, the weights of the edges, and related environmental factors) are compared using the rules defined in step S551. During the comparison process, each node, edge, or environmental factor is checked one by one to see if it meets the conditions defined in the rules. During the comparison process, if it is found that the data does not meet the rules defined in step S551, it means that there may be spectrum compatibility issues or risk points. For example, if the feature vector combination of a node exceeds the threshold set in the rule, or the weight of an edge is lower than the minimum weight required in the rule, it may be regarded as a potential problem point.
[0138] Step S553 outputs the comparison results to the next step (eg, step S554), which may include a list of identified problem points, detailed information about each problem point, and possible solution suggestions.
[0139] The purpose of using a classifier in the present invention is to classify and prioritize and refine the problem types. This is because step S553 has identified possible spectrum compatibility issues or risk points, but the severity and urgency of these problems vary. By using a classifier, these problems can be further classified and prioritized. In addition, the rule comparison in step S553 may only identify the existence of a problem, but may not be able to accurately determine the specific type of the problem. Through the classifier, problems can be classified more finely, such as dividing problems into specific categories such as hardware conflicts, signal interference, and improper use of frequency bands, which helps to formulate subsequent targeted solutions.
[0140] Step S554 may also generate a detailed report to visualize the identified problems, classification results, and suggested solutions, to help decision makers better understand the current spectrum compatibility status, and output corresponding expert recommendation results.
[0141] Expert reasoning is a method that simulates the reasoning process of human experts when solving problems. Adding expert reasoning between classifiers can further improve the intelligence and accuracy of the system.
[0142] Next, a new classifier construction method is described that combines basic classifiers (such as Bayesian classifiers) with expert reasoning mechanisms. The Bayesian classifier is a classification method based on Bayesian theorem, which performs classification by calculating the posterior probability that a given sample belongs to each category.
[0143] Defining a new classifier The classification result of the input sample x is , which can be expressed as: ;
[0144] in, is the classification result of sample x by the basic classifier (such as naive Bayes classifier); is the rule set of the expert reasoning mechanism, each rule By the prerequisite And Conclusion composition; is an indicator function, when It takes 1 if true, 0 otherwise.
[0145] The principle of the above construction method is: for the input sample x, first use the basic classifier Perform classification; check each rule of the expert reasoning mechanism If there is a rule Prerequisites is satisfied (i.e. =1), then the conclusion of this rule is adopted As the final classification result. If the prerequisites of any rule are not met, the classification result of the basic classifier is kept. .
[0146] The above is based on the ideal embodiment of the present invention. Through the above description, relevant personnel can make various changes and modifications without departing from the technical concept of the present invention. The technical scope of the present invention is not limited to the content in the specification, and the technical scope must be determined according to the scope of the claims.
Claims
1. An expert system recommendation method based on graph representation learning, It is characterized in that The following steps are involved: Step S1, establishing a spectrum simulation model for simulating the propagation and interference of a specific signal in an environment, wherein the specific signal is a shared or adjacent frequency band; Step S2: using the Monte Carlo method, setting the probability distribution according to the key factors, and simulating the simulation samples of different signal propagation and interference conditions; Step S3, using the simulation samples generated by the Monte Carlo simulation as input, running the spectrum simulation model, and outputting spectrum-related data; Step S4, extracting target features from the simulated samples in step S2, and using the correlation index to find a set of spectrum-related data with the greatest correlation with the simulated samples in the historical database; Step S5, comparing the spectrum-related data outputted from step S3 and step S4, using graph representation to learn, predict and identify potential frequency compatibility issues, and passing the identification results through a classifier with an expert reasoning mechanism to output the final expert recommendation results on spectrum usage; Wherein, in step S5, the following sub-steps are included: Step S51, comparing the spectrum-related data outputted from step S3 and step S4, and extracting distinguishing features; Step S52: construct a graph structure, define nodes in the graph, each node represents a frequency-using device or system, and edges represent the relationship between nodes; Step S53, updating the feature vectors of the nodes and the weights of the edges of the graph structure in step S52 according to the distinguishing features extracted in step S51; Step S54: input the updated graph structure into the trained graph representation learning model, and learn the low-dimensional embedding representation of each node through the forward propagation of the model; Step S55: Based on historical data and expert knowledge, define a set of rules for predicting spectrum compatibility issues, pre-process the node embedding representation obtained in step S54, and use the defined rules to compare and analyze the pre-processed data one by one to identify existing spectrum compatibility issues or risk points; use classifiers and specific expert reasoning mechanisms to verify and correct the prediction results of graph representation learning.
2. According to claim 1, an expert system recommendation method based on graph representation learning, Features: In the step S1, the following sub-steps are included: Step S11, defining the simulation scope and collecting data, including the type and quantity of the frequency-using devices or systems involved, the simulation frequency band range and the simulation specific environment; Step S12: determine the electromagnetic simulation software or platform, and construct a spectrum simulation model representing the simulation area to ensure that it can simulate the collected parameters and the defined simulation range; Step S13, calibrating simulation model parameters: using actual measurement data or historical data, adjusting key parameters in the spectrum simulation model through iteration, and outputting an optimized spectrum simulation model.
3. The expert system recommendation method based on graph representation learning according to claim 2, Features: In the step S12, the following sub-steps are included: Step S121: On the selected simulation software or platform, based on the device parameters and environmental characteristics collected in step S11, define the parameters and boundary conditions required for the simulation, including the transmission and reception characteristics of the device, the directivity and polarization of the antenna, and the reflection, refraction and scattering characteristics of the environment; Step S122: Use simulation software or platform to construct a network model representing the simulation area; the network model includes: all frequency-using devices and systems, their mutual positions and relative relationships, and the geographical and physical characteristics of the environment; Step S123: setting simulation parameters, including simulation time length, signal type and characteristics, and interference simulation method.
4. The expert system recommendation method based on graph representation learning according to claim 1, Features: In step S2, the key factors refer to factors that affect signal propagation or interference between different frequency-using devices or systems in shared or adjacent frequency bands; the probability distribution is set based on the historical variation range, occurrence frequency or expert experience of each key factor.
5. The expert system recommendation method based on graph representation learning according to claim 1, Features: In the step S3, the following sub-steps are included: Step S31, loading the spectrum simulation model constructed in step S1 into the simulation software, and setting initial conditions for the simulation; Step S32: using the simulation samples generated in step S2 as input, transmitting them to the spectrum simulation model, and recording the signal propagation and interference conditions under different simulation sample conditions; Step S33: Collect and output spectrum related data.
6. The expert system recommendation method based on graph representation learning according to claim 1, Features: In step S3, the spectrum-related data includes: signal propagation data, interference data, signal-to-noise ratio, spectrum occupancy, equipment performance parameters and environmental impact data.
7. The expert system recommendation method based on graph representation learning according to claim 1, Features: In step S4, the following sub-steps are included: Step S41, extracting target features of each simulated sample to form a feature vector; Step S42: Use the correlation index to calculate the similarity between the simulated sample and the historical data in the historical database, select a group of data with the highest correlation with the simulated sample as spectrum-related data and output it.
8. The expert system recommendation method based on graph representation learning according to claim 7, Features: The target features are signal intensity, signal frequency and duration of the simulated sample.
9. The expert system recommendation method based on graph representation learning according to claim 1, Features: The graph representation learning model is a graph convolutional network model or a graph attention network model.
