An event prediction method based on knowledge graph in satellite orbit threat domain

By introducing meta-paths and hyperedges into traditional knowledge graphs, combined with feature encoding and feature aggregation technology, the problem of insufficient modeling of dynamic relationships and complex relationships in traditional methods is solved, and the accuracy and efficiency of satellite orbit threat event prediction are improved.

CN118585657BActive Publication Date: 2024-10-11ZHEJIANG LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411051948.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-10-11
Estimated Expiration
2044-08-01

AI Technical Summary

Technical Problem

The traditional knowledge graph in the field of satellite orbit threats has insufficient modeling of dynamic relationships and complex relationships in event prediction, and cannot effectively capture the dynamic changes and complex relationships between entities in satellite orbits, resulting in reduced prediction accuracy.

Method used

The knowledge graph method based on the satellite orbit threat field is used to extract entity features by constructing meta-paths and hyperedges, and uses feature encoding and feature aggregation technology to train the prediction model to improve the accuracy of event prediction.

Benefits of technology

It achieves a comprehensive and accurate description of various entities and their relationships in the field of satellite orbit threats, improves the accuracy and efficiency of satellite event prediction, and provides more reliable support for decision-making and response to satellite orbit threats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585657B_ABST
    Figure CN118585657B_ABST
Patent Text Reader

Abstract

This specification discloses an event prediction method based on a knowledge graph in the field of satellite orbit threats. By constructing a knowledge graph in the field of satellite orbit threats, and utilizing the steps of extracting meta-paths, constructing hyperedges, encoding features, and aggregating features, a target feature is obtained that can fully and accurately describe each entity in the field of satellite orbit threats and the complex relationships between entities. The prediction model is trained with the target features of each entity, so that the prediction model has the ability to accurately judge the relationship between satellites and satellite events, thereby improving the efficiency and accuracy of satellite event prediction. Compared with the traditional knowledge graph solution, the above solution strengthens the understanding of entity associations during the training process of the prediction model, effectively improving the accuracy and efficiency of the prediction model in predicting events in the field of satellite orbit threats, and providing more reliable support for decision-making and response in this field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an event prediction method based on a knowledge graph in the field of satellite orbit threats. Background Art

[0002] In the field of satellite orbit threats, the occurrence of satellite close encounters may cause major impacts, including satellite collisions or other unpredictable situations, which highlights the importance of close encounters. However, traditional prediction methods often fail to effectively capture the characteristics of these events, largely because traditional prediction methods do not take into account dynamic relationships and complex environmental changes.

[0003] In order to solve this problem, it is particularly necessary to establish a knowledge graph in the field of satellite orbit threats. The knowledge graph can help better understand the complexity of the satellite orbit field, including the relationship between satellites, orbital parameters, operating laws and other information, thereby improving the accuracy and reliability of event prediction.

[0004] However, traditional knowledge graphs have some limitations in event prediction, the main problem being that traditional knowledge graphs are inadequate in modeling dynamic and complex relationships. Traditional knowledge graphs often simplify the relationships between entities into static connections, which cannot reflect the dynamic changes in the relationships between entities, nor can they fully and accurately describe the complex relationships between entities, thus reducing the accuracy of event prediction.

[0005] Based on this, this specification provides an event prediction method based on a knowledge graph in the field of satellite orbit threats. Summary of the invention

[0006] This specification provides an event prediction method based on a knowledge graph in the field of satellite orbit threats to partially solve the above-mentioned problems existing in the prior art.

[0007] This manual adopts the following technical solutions:

[0008] This specification provides an event prediction method based on a knowledge graph of satellite orbit threat domain, including:

[0009] Obtain a database of satellite orbit threat fields, and construct a knowledge graph of satellite orbit threat fields with entities stored in the database as nodes and relationships between the entities as edges; wherein the entities include satellites, satellite events, and operating orbits, and the relationships include at least event categories and operating states;

[0010] Extracting each meta-path from the knowledge graph, for each meta-path, according to each entity linked by each edge contained in the meta-path, determining from the meta-paths a meta-path having the same starting entity and / or the same ending entity as the meta-path as a reference meta-path corresponding to the meta-path, determining a plurality of entities having a correlation relationship and not connected by edges according to each entity linked by each edge contained in the meta-path and each entity linked by each edge contained in the reference meta-path corresponding to the meta-path, and constructing a hyperedge according to the determined plurality of entities;

[0011] Determine the entity features corresponding to each entity through the feature extraction network in the prediction model to be trained;

[0012] For each entity, a target tree structure with the entity as the root node is constructed based on the entities linked to the edges contained in the meta-path to which the edge connected to the entity belongs, and the entities contained in the hyper-edge to which the entity belongs, and entity features of the entities contained in the target tree structure corresponding to the entity are aggregated to determine the target features of the entity;

[0013] According to any satellite entity and any satellite event entity in the entities, each entity pair is formed, and the input feature of each entity pair is determined at least according to the target feature of the satellite entity in the entity pair and the target feature of the satellite event entity in the entity pair, and the input features of each entity pair are respectively input into the prediction network in the prediction model to be trained to obtain the predicted association relationship between the satellite entity and the satellite event entity in each entity pair, and according to the difference between the association relationship between the satellite entity and the satellite event entity in each entity pair in the knowledge graph and the predicted association relationship, the prediction model to be trained;

[0014] In response to the prediction request, the prediction association relationship between the satellite to be predicted and the satellite event to be predicted is determined through the trained prediction model.

[0015] Optionally, determining a plurality of entities having a related relationship and not connected by edges according to the entities linked by the edges included in the meta-path and the entities linked by the edges included in the reference meta-path corresponding to the meta-path specifically includes:

[0016] Determine the type of association relationship corresponding to each edge included in the meta-path;

[0017] Determine the type of association relationship corresponding to each edge contained in the reference meta-path corresponding to the meta-path;

[0018] Taking the entity where the meta-path intersects with the reference meta-path of the meta-path as the starting point, sequentially judging whether the types of associations corresponding to the edges included in the meta-path and the edges included in the reference meta-path corresponding to the meta-path are the same, and obtaining the judgment result between each edge included in the meta-path and each edge included in the reference meta-path corresponding to the meta-path, until the judgment result indicates that the types of associations are different or all edges included in the meta-path are traversed;

[0019] According to the entities linked by the edges included in the meta-path with the same association relationship type as determined, and the entities linked by the edges included in the reference path corresponding to the meta-path, multiple entities with related relationships that are not connected by edges are determined.

[0020] Optionally, determining entity features corresponding to each entity respectively through a feature extraction network in a prediction model to be trained specifically includes:

[0021] For each entity, input the entity into a feature extraction network in a prediction model to be trained, and obtain an initialization feature of the entity output by the feature extraction network;

[0022] According to the initialization features of the entity and the initialization features of each entity included in the hyperedge to which the entity belongs, a weight corresponding to the entity is determined through an attention network in the prediction model to be trained;

[0023] The initialization features of the entity are weighted by the weight corresponding to the entity to obtain the entity features corresponding to the entity.

[0024] Optionally, constructing a target tree structure with the entity as the root node according to the entities linked to the edges included in the meta-path to which the edge connected to the entity belongs, and the entities included in the hyper-edge to which the entity belongs, specifically includes:

[0025] Taking the entity as a root node, and taking other entities, except the entity, included in the hyperedge to which the entity belongs as first child nodes of the root node;

[0026] Determine, among the entities linked to the edges included in the meta-path to which the edge connected to the entity belongs, the entities directly connected to the entity through the edges as the second child nodes of the root node;

[0027] Take the second child nodes as current child nodes, link the current child nodes according to the edge in the meta-path to which the edge connected to the entity belongs, determine the next-level child nodes corresponding to the current child nodes, take the next-level child nodes as current child nodes, re-determine the next-level child nodes corresponding to the current child nodes, until traversing all entities linked to the edges contained in the meta-path to which the edge connected to the entity belongs, and obtain a target tree structure corresponding to the entity with the entity as the root node and including the first child nodes, the second child nodes, and the sub-nodes of each level corresponding to the second child nodes.

[0028] Optionally, aggregating entity features of each entity included in the target tree structure corresponding to the entity to determine the target feature of the entity specifically includes:

[0029] Taking each parent node directly connected to each leaf node in the target tree structure corresponding to the entity as the starting point of feature aggregation, each current node to be aggregated is determined in turn;

[0030] For each current node to be aggregated, determine each child node directly connected to the current node to be aggregated in the target tree structure corresponding to the entity, and obtain the current features of each child node directly connected to the current node to be aggregated obtained by the last feature aggregation;

[0031] Aggregate the current features corresponding to the child nodes directly connected to the current node to be aggregated and the entity features of the node to be aggregated through the gated recurrent unit to obtain the current features of the current node to be aggregated;

[0032] The parent nodes directly connected to the current nodes to be aggregated are used as the current nodes to be aggregated for the next feature aggregation, and feature aggregation is performed again until the current feature of the root node in the target tree structure corresponding to the entity is obtained;

[0033] The current feature of the root node in the target tree structure corresponding to the entity is used as the target feature of the entity;

[0034] Among them, when each child node directly connected to the current node to be aggregated is a leaf node in the target tree structure corresponding to the entity, the current characteristics of each child node directly connected to the current node to be aggregated are the entity characteristics of each child node directly connected to the current node to be aggregated.

[0035] Optionally, determining the input features of each entity pair at least according to the target features of the satellite entities in each entity pair and the target features of the satellite event entities in each entity pair specifically includes:

[0036] For each entity pair, in the knowledge graph, when a satellite entity in the entity pair is connected to a satellite event entity in the entity pair by an edge, determining a first gating weight and a second gating weight through a self-gating layer in a prediction model to be trained according to entity features of the satellite entity in the entity pair and entity features of the satellite event entity in the entity pair;

[0037] Weighting the entity features of the satellite entity in the entity pair with the first gating weight, weighting the entity features of the satellite event entity in the entity with the second gating weight, and determining the edge features corresponding to the edge between the satellite entity in the entity pair and the satellite event entity in the entity pair according to the weighted entity features of the satellite entity and the weighted entity features of the satellite event entity;

[0038] The target features of the satellite entity in the entity pair, the target features of the satellite event entity in the entity pair, and the edge features corresponding to the edge between the satellite entity in the entity pair and the satellite event entity in the entity pair are concatenated to obtain the input features of the entity pair.

[0039] Optionally, the predicted association relationship between the satellite entity and the satellite event entity output by the prediction network is represented by a predicted probability that an association relationship exists between the satellite entity and the satellite event entity;

[0040] The training of the prediction model to be trained according to the difference between the association relationship between the satellite entity and the satellite event entity in each entity pair in the knowledge graph and the predicted association relationship specifically includes:

[0041] According to the association relationship between the satellite entity in each entity pair in the knowledge graph and the satellite event entity in the entity pair, each entity pair having an edge between the satellite entity and the satellite event entity is used as each positive sample pair, and each entity pair having no edge between the satellite entity and the satellite event entity is used as each negative sample pair;

[0042] Determine a loss function according to a first predicted probability of an association relationship between the satellite entity and the satellite event entity in each positive sample pair, and a second predicted probability of an association relationship between the satellite entity and the satellite event entity in each negative sample pair; wherein the loss function is inversely proportional to the first predicted probability, and the loss function is directly proportional to the second predicted probability;

[0043] The prediction model to be trained is trained with minimization of the loss function as a training objective.

[0044] Optionally, the prediction model completed through training determines the prediction correlation relationship between the satellite to be predicted and the satellite event to be predicted, specifically including:

[0045] Acquire attribute information of a satellite to be predicted and attribute information of a satellite event to be predicted, and determine a first node corresponding to the satellite to be predicted and a second node corresponding to the satellite event to be predicted in the knowledge graph according to the attribute information of the satellite to be predicted and the attribute information of the satellite event to be predicted, and establish edges between the first node and other nodes associated with the first node in the knowledge graph, and establish edges between the second node and other nodes associated with the second node;

[0046] Update the knowledge graph according to the first node, the second node, the edge connected to the first node, and the edge connected to the second node;

[0047] Extracting a meta-path linking the first node and a meta-path linking the second node from the updated knowledge graph;

[0048] According to each entity in the meta-path linking the first node, a number of entities having a correlation relationship with the first node and not connected by an edge are determined, and a first hyperedge including the first node is constructed according to the determined number of entities;

[0049] Determine, according to each entity in the meta-path linking the second node, a number of entities that have a correlation relationship with the second node and are not connected by an edge, and construct a second hyperedge including the second node according to the determined number of entities;

[0050] Constructing a tree structure with the first node as a root node according to the meta-path linking the first node and the first hyperedge, and determining a target feature of the first node through a feature extraction network in the trained prediction model and the tree structure corresponding to the first node;

[0051] Constructing a tree structure with the second node as a root node according to the meta-path linking the second node and the second hyperedge, and determining a target feature of the second node through a feature extraction network in the trained prediction model and the tree structure corresponding to the second node;

[0052] An input feature is determined according to the target feature of the first node and the target feature of the second node, and is input into a prediction network in a trained prediction model to obtain a prediction association relationship between the satellite to be predicted and the real event entity of the satellite to be predicted.

[0053] This specification provides an event prediction device based on a satellite orbit threat domain knowledge graph, including:

[0054] A knowledge graph construction module is used to obtain a database of satellite orbit threat fields, and to construct a knowledge graph of satellite orbit threat fields with entities stored in the database as nodes and relationships between the entities as edges; wherein the entities include satellites, satellite events, and operating orbits, and the relationships include at least event categories and operating states;

[0055] A hyperedge construction module is used to extract each meta-path from the knowledge graph, and for each meta-path, according to each entity linked by each edge contained in the meta-path, determine from the meta-paths a meta-path having the same starting entity and / or the same ending entity as the meta-path as a reference meta-path corresponding to the meta-path, and according to each entity linked by each edge contained in the meta-path and each entity linked by each edge contained in the reference meta-path corresponding to the meta-path, determine a plurality of entities having a correlation relationship and not connected by edges, and construct a hyperedge according to the determined plurality of entities;

[0056] An entity feature determination module, used to determine the entity features corresponding to each entity through a feature extraction network in a prediction model to be trained;

[0057] A target feature determination module is used to construct a target tree structure with each entity as a root node according to each entity linked to each edge contained in the meta-path to which the edge connected to the entity belongs, and each entity contained in the hyper-edge to which the entity belongs, for each entity, aggregate entity features of each entity contained in the target tree structure corresponding to the entity, and determine the target feature of the entity;

[0058] A training module, used to form entity pairs according to any satellite entity and any satellite event entity in the entities, determine input features of the entity pairs according to at least target features of the satellite entity in the entity pairs and target features of the satellite event entity in the entity pairs, input the input features of the entity pairs into the prediction network in the prediction model to be trained, obtain the predicted association relationship between the satellite entity and the satellite event entity in the entity pairs, and train the prediction model to be trained according to the difference between the association relationship between the satellite entity and the satellite event entity in the entity pairs in the knowledge graph and the predicted association relationship;

[0059] The prediction module is used to respond to the prediction request and determine the prediction correlation relationship between the satellite to be predicted and the satellite event to be predicted through the trained prediction model.

[0060] This specification provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned event prediction method based on the satellite orbit threat field knowledge graph.

[0061] This specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the above-mentioned event prediction method based on the knowledge graph in the field of satellite orbit threats is implemented.

[0062] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:

[0063] In the event prediction method based on the knowledge graph in the field of satellite orbit threats provided in this specification, by constructing a knowledge graph in the field of satellite orbit threats, using the steps of extracting meta-paths, constructing hyperedges, encoding features, and aggregating features, target features that can fully and accurately describe the entities themselves and the complex relationships between entities in the field of satellite orbit threats are obtained, and the prediction model is trained with the target features of each entity, so that the prediction model has the ability to accurately judge the relationship between satellites and satellite events, thereby improving the efficiency and accuracy of satellite event prediction. Compared with the traditional knowledge graph solution, the above solution strengthens the understanding of entity associations during the training process of the prediction model, effectively improving the accuracy and efficiency of the prediction model for event prediction in the field of satellite orbit threats, and providing more reliable support for decision-making and response in this field. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0065] Figure 1 This is a flowchart of an event prediction method based on a knowledge graph in the field of satellite orbit threats in this specification;

[0066] Figure 2 This is a partial schematic diagram of a knowledge graph based on the field of satellite orbit threats in this specification;

[0067] Figure 3 This is a flowchart of an event prediction method based on a knowledge graph in the field of satellite orbit threats in this specification;

[0068] Figure 4 A schematic diagram of a target tree structure in this specification;

[0069] Figure 5 This is a flowchart of an event prediction method based on a knowledge graph in the field of satellite orbit threats in this specification;

[0070] Figure 6 A schematic diagram of an event prediction device based on a knowledge graph in the field of satellite orbit threats provided in this specification;

[0071] Figure 7 The corresponding Figure 1 Schematic diagram of electronic equipment. DETAILED DESCRIPTION

[0072] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0073] In addition, it should be noted that all actions of acquiring signals, information or data in this manual are performed in compliance with the relevant local data protection laws and policies and with the authorization given by the owner of the corresponding device.

[0074] It should be noted that, in the absence of conflict, the features in the following embodiments and implementations may be combined with each other.

[0075] With the increase in space activities, the field of satellite orbit threats has received widespread attention. Under normal circumstances, satellites and spacecraft can operate along predetermined orbits to achieve their corresponding functions, such as communication, meteorological observation, navigation and positioning. However, due to the increase in the number of satellites, there will be situations where the distance between two artificial satellites in orbit or between a satellite and a space object such as space debris is abnormally close. Since the space environment has no air resistance to slow down the speed, even a small relative speed, if two satellites are close enough, it may cause a collision, causing damage to expensive satellites and spacecraft, and even generating more space debris, further exacerbating the danger of the space environment.

[0076] Generally, the above-mentioned incidents of abnormally close proximity between satellites or satellites and space debris are called satellite proximity events, which usually require close monitoring and management to ensure the safety of space missions. When a potential satellite proximity event is predicted, the ground control team may command the satellite to perform orbital maneuvers, such as adjusting speed or changing orbital altitude, to avoid collision. Therefore, improving the prediction accuracy of satellite proximity events is particularly important for ensuring satellite safety.

[0077] At present, satellite close approach events are usually predicted by combining machine learning models and knowledge graphs. However, traditional knowledge graphs have some limitations in event prediction. The main problem is that traditional knowledge graphs are insufficient in modeling dynamic and complex relationships. Traditional knowledge graphs often simplify the relationships between entities into static connections, which cannot reflect the dynamic changes in the relationships between entities, nor can they fully and accurately describe the complex relationships between entities, thereby reducing the accuracy of event prediction.

[0078] Based on this, this specification provides an event prediction method based on the knowledge graph in the field of satellite orbit threats. By introducing meta-paths and hyperedges into the traditional knowledge graph and combining feature encoding and feature aggregation schemes, it comprehensively and accurately understands and describes the complex relationships between entities in the field of satellite orbit threats, thereby improving the accuracy of event prediction.

[0079] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0080] Figure 1 A flowchart of an event prediction method based on a knowledge graph in the field of satellite orbit threats provided in this specification.

[0081] S100: Acquire a database in the field of satellite orbit threats, and construct a knowledge graph in the field of satellite orbit threats, with each entity stored in the database as a node and the relationship between the entities as an edge; wherein the entities include satellites, satellite events, and operating orbits, and the relationship includes at least event category and operating status.

[0082] In the embodiments of this specification, an event prediction method based on a knowledge graph in the field of satellite orbit threats is provided. The execution process of this method can be performed by an electronic device such as a server that is deployed with a prediction model for event prediction in the field of satellite orbit threats. In addition, in the process of executing this method, for the prediction model involved in the training, the electronic device that executes the model training process of the prediction model and the electronic device that executes this method can be the same or different, and this specification does not limit this.

[0083] Specifically, a database of a specific field of satellite orbit threat is obtained. The database may store various entities in the field of satellite orbit threat extracted in advance, as well as the associations between the entities. Specifically, the database may be stored in the form of triples, such as a triple set D = {(e i , r j , e k )}, e i and e k are the head and tail entities in the triple, r jUsed to represent the association relationship between head and tail entities.

[0084] Entities may include satellites, satellite events, and operating orbits. The association relationship may be event category and operating status. When the satellite event is a proximity event, the event category association relationship may be further subdivided into two event types: proximity and being proximity. The operating status includes operating and non-operating. Generally, when a satellite has been or is operating along a certain orbit, the association relationship between the satellite entity and the operating orbit entity is defined as operating. For an operating status of non-operating, no edge may be constructed in the knowledge graph.

[0085] For example, Figure 2 In the partial graph structure of the knowledge graph shown in the figure, entity e1 corresponds to satellite event A, and entity e2 corresponds to satellite B. Then the triple (e1, r 12 , e2) indicates that satellite B has experienced satellite event A, and when the event corresponding to e1 is close to the event, r 12 When the relationship represented is proximity, the triple (e1, r 12 , e2) means that satellite B has experienced satellite event A, and satellite B is the party that is close to other satellites or objects. Entity e4 corresponds to orbit C, then the triple (e2, r 24 , e4) indicates that satellite B once operated along orbit C.

[0086] In addition, the edges contained in the knowledge graph can be undirected edges or directed edges. When the edges in the knowledge graph are directed edges, the direction of the edge can be determined according to the type of association relationship corresponding to each edge, for example Figure 2 In the graph structure shown, edge r 12 represents the close relationship, then edge r 12 The direction can be from entity e1 to entity e2. Of course, the above-mentioned solution of determining the direction of the directed edge according to the proximity relationship is only an optional example provided in this specification. In practice, the specific solution for determining the direction of the directed edge can be adjusted according to specific application scenarios and requirements, and this specification does not limit this.

[0087] In this specification, in the knowledge graph of the satellite orbit threat field, each satellite entity can have an association relationship with one or more satellite events, and the association relationship is an event category, such as proximity or being approached. Each satellite entity can also have an association relationship with one or more operating orbit entities, and the association relationship is an operating status.

[0088] Of course, if the obtained database in the field of satellite orbit threats contains raw data without entity and relationship extraction, any existing type of extraction scheme such as entity and relationship extraction tools, entity recognition models, etc. can be used to extract the entities in the field of satellite orbit threats from the raw data, such as E={e1,e2,…,e m}, and determine the relationship between entities, such as R={r1,r2,…,r n Then, based on the relationship between each entity, construct each triple D = {(e i , r j , e k )}.

[0089] In addition, the knowledge graph in the field of satellite orbit threats in this specification can be a dynamic graph, that is, as the entities and relationships in the database of the field of satellite orbit threats are added, deleted, updated, etc., the knowledge graph can be updated regularly, so that the event prediction method provided in this specification can adapt to the latest relationships between the entities, thereby improving the prediction accuracy.

[0090] S102: extracting each meta-path from the knowledge graph, and for each meta-path, determining a meta-path having the same starting entity and / or the same ending entity as the meta-path from each meta-path according to each entity linked by each edge contained in the meta-path, as a reference meta-path corresponding to the meta-path, and determining a plurality of entities having a correlation but not connected by edges according to each entity linked by each edge contained in the meta-path and each entity linked by each edge contained in the reference meta-path corresponding to the meta-path, and constructing a hyperedge based on the determined plurality of entities.

[0091] In this specification, by extracting meta-paths from the knowledge graph and constructing hyperedges based on the meta-paths, entities in the knowledge graph that were originally not connected by edges are linked through hyperedges, and potential correlations between entities are mined. The potential correlations between entities represented by hyperedges are combined with the associations between entities represented by edges in the knowledge graph to model the complex relationships between entities in the field of satellite orbit threats, thereby training a prediction model based on the modeling of such complex relationships to improve the accuracy and efficiency of event prediction.

[0092] Therefore, firstly, a meta-path is extracted from the knowledge graph. In the specification, a meta-path is an edge sequence constructed by one or more edges. The types of association relationships corresponding to the edges contained in a meta-path can be the same, different, or partially the same and partially different, and this specification does not limit this. The method of extracting a meta-path from a knowledge graph can be: select an entity from the knowledge graph as a starting point, use the edge directly connected to the entity as the first edge contained in the meta-path, determine the next entity based on the edges contained in the meta-path, and then determine the next edge contained in the meta-path, and repeat the iteration multiple times until a preset condition is met, such as the preset condition that the meta-path contains a preset number of edges, or the next edge cannot be found in the knowledge graph.

[0093] For example, still Figure 2 For example, taking entity e1 as the starting point to extract the meta-path, the edges directly connected to entity e1 include r 12 、r 13 and r 16 , then put these three edges into three meta-paths respectively and assign them as the first edge in the three meta-paths, that is, p1=(r 12 )、p2=(r 13 ), p3=(r 16 ), for the meta-path p1, according to the first edge r contained in p1 12 , determine the other entity e2 connected to this edge, and connect the edge r directly connected to entity e2 24 As the second edge contained in the meta-path p1, that is, p1=(r 12 , r 24 ). Then, according to the edge r in p1 24 The next entity is determined to be e4, but entity e4 is divided by r 24 There are no other directly connected edges, so the preset condition that the next edge cannot be found in the knowledge graph is satisfied, so the extracted meta-path p1=(r 12 , r 24 Based on the same meta-path extraction scheme, the extracted meta-path p2 = (r 13 , r 35 ), p3=(r 16 , r 65 ).

[0094] It should be noted that in one or more embodiments of the present specification, the number of edges contained in each meta-path extracted from the knowledge graph may be the same or different.

[0095] Afterwards, a hyperedge is constructed based on each meta-path. In this specification, a hyperedge links multiple entities that are not connected by edges in the knowledge graph but have a correlation relationship. In the knowledge graph in the field of satellite orbit threats, the fact that two entities are not connected by an edge can only mean that there is no association relationship of event categories or no association relationship of operating status between the two entities. For example, there is no edge between a satellite entity and a satellite event entity, which means that the satellite event has not occurred. For another example, there is no edge between a satellite entity and an operating orbit entity, which means that the satellite has not run along the operating orbit. However, this does not mean that there are no other deeper and more complex correlations between the two entities that are not connected by edges. Still with Figure 2 For example, entity e2 and entity e3 are not directly connected by an edge, but both entity e2 and entity e3 are directly connected to entity e1 by an edge, and the edge between entity e2 and entity e1 is a proximity type edge, and the edge between entity e3 and entity e1 is also a proximity type edge, which means that the satellite corresponding to entity e2 and the satellite corresponding to entity e3 have both experienced the satellite event corresponding to e1, and both are the proximity parties in the proximity event. Although entity e2 and entity e3 are not directly connected by an edge in the knowledge graph, they are actually in a correlation relationship. The hyperedge constructed in this specification is to model this correlation relationship.

[0096] Based on this, the specific implementation method of constructing a hyperedge based on each meta-path in this specification is as follows:

[0097] Step 1: For each meta-path, according to the entities linked by the edges contained in the meta-path, determine from the meta-paths a meta-path having the same starting entity and / or the same ending entity as the meta-path as a reference meta-path corresponding to the meta-path.

[0098] As mentioned above, hyperedges are used to model the correlation between entities in the knowledge graph that are not represented by edges. In this specification, whether there is a correlation between two entities that are not directly connected by edges is determined by finding out whether they are related to the same entity. Therefore, for each meta-path, based on each entity on the meta-path and each entity on each meta-path other than the meta-path, a meta-path with the same starting entity and / or the same end entity as the meta-path is determined as the reference meta-path corresponding to the meta-path. That is, for a meta-path, the meta-path and its corresponding reference meta-path have the same starting entity, or have the same end entity, or both the starting entity and the end entity are the same.

[0099] For example, Figure 2 As shown, for the meta-path p1=(r 12 , r 24), the entities linked by the edges are e1, e2, and e4 respectively. For the meta-path p2=(r 13 , r 35 ), the entities linked by the edges it contains are e1, e3 and e5 respectively. It can be seen that meta-path p1 and meta-path p2 have the same starting entity e1, so the reference meta-path of p1 can be p2. Although the entity e2 linked by the edge contained in p1 and the entity e3 linked by the edge contained in p2 are not directly connected by the edge, both are directly connected to entity e1, and there is actually a correlation. Specifically in the field of satellite orbit threats, entity e2 and entity e3 represent satellite B and satellite C respectively. Based on the edge between entity e2 and entity e1, and the edge between entity e3 and entity e1, it actually represents that satellite B and satellite C have experienced satellite event A. Therefore, it can be considered that satellite B and satellite C have commonalities and correlations in some aspects, such as satellite B and satellite C have similarities in satellite design and construction, or operate in a similar external space environment, or perform similar tasks, etc. Therefore, entity e2 corresponding to satellite B and entity e3 corresponding to satellite C are actually two entities that are not connected by an edge but have a related relationship. A hyperedge can be constructed based on these two entities.

[0100] Based on the same scheme for determining the reference metapath, Figure 2 In the meta-path p1=(r 12 , r 24 ) and meta-path p4=(r 87 , r 74 ) have the same endpoint entity e4, then p4 can be used as the reference meta-path of p1. Meta-path p2 = (r 13 , r 35 ) and meta-path p3=(r 16 , r 65 ) have the same starting entity e1 and the same ending entity e5, then p3 can be used as the reference meta-path of p2.

[0101] Step 2: Based on the entities linked by the edges contained in the meta-path and the entities linked by the edges contained in the reference meta-path corresponding to the meta-path, determine multiple entities that have related relationships and are not connected by edges, and construct hyperedges based on the determined multiple entities.

[0102] Furthermore, after determining the reference meta-path of the meta-path, starting from the entity where the meta-path intersects with the reference meta-path of the meta-path (the same entity), traverse each entity linked by the edges contained in the meta-path except the intersecting entity one by one, determine the specified distance between the entity and the interacting entity (the distance can be determined by the number of entities spaced apart), starting from the intersecting entity, search for an entity with a specified distance from the intersecting entity among the entities linked by the edges contained in the reference meta-path of the meta-path, as a related entity with a correlation relationship with the entity, determine in the knowledge graph whether there is an edge between the entity and the related entities of the entity, if not, define the entity and the related entities of the entity as multiple entities that have a correlation relationship with each other but are not connected by edges, construct a hyperedge based on the multiple entities, that is, establish a correlation relationship between the multiple entities.

[0103] In one or more embodiments of the present specification, if there are two entities (the same entity) that intersect the meta-path with the reference meta-path of the meta-path, any of the two intersecting entities may be used as the starting point, and the present specification does not limit this.

[0104] For example, for meta-path p1 and the reference meta-path p2 of p1, starting from the interactive entity e1 of p1 and p2, traverse one by one the entities other than e1 linked by the edges contained in p1, that is, entity e2 and entity e4, and determine that the specified distance between entity e2 and entity e1 is 0 entities apart. Then, starting from the intersecting entity e1, search for entities with a specified distance from e1 among the entities linked by the edges contained in the reference meta-path p2 of meta-path p1, that is, find e3 as a related entity of entity e2, and e2 and e3 are not directly connected by an edge. Therefore, it is determined that entity e2 and entity e3 are multiple entities that have a related relationship but are not connected by an edge, and entity e2 and entity e3 can form a hyperedge.

[0105] It should also be noted that this specification does not limit the number of reference meta-paths corresponding to a meta-path, which can be one or more. For example, for meta-path p1, the reference meta-paths with the same starting entity include p2 and p3, and the reference meta-paths with the same ending entity include p4. In fact, meta-path p1 corresponds to three meta-paths. Therefore, when determining the related entities of each entity on the meta-path, the intersecting entity can be used as the starting point, and in each entity linked by each edge contained in each reference meta-path corresponding to the meta-path, multiple entities with a specified distance from the intersecting entity are searched respectively as multiple related entities that have a correlation relationship with the entity. For example, for meta-path p1, the entity that interacts with reference meta-paths p2 and p3 is e1. When searching for related entities of entity e2 linked to p1 with e1 as the starting point, entity e3 can actually be found on the reference meta-path p2, and entity e6 can be found on the reference meta-path p3 at the same time. Entity e3 and entity e6 can both be regarded as related entities of entity e2, and a hyperedge can be established based on entity e2, entity e3 and entity e6.

[0106] Based on the hyperedge construction method provided in this specification, a link relationship related to the subject and object of event prediction (the subject entity is a satellite, and the object entity is a satellite event) can be established. Specifically in the field of satellite orbit threats, the hyperedge may include a satellite-satellite link relationship between satellites having a common satellite event in the knowledge graph, a satellite-satellite link relationship between satellites operating in the same orbit, a satellite event-satellite event link relationship between events having an event relationship with the same satellite in the knowledge graph, a satellite event-satellite event link relationship between events that are mutually reachable with the same satellite-orbit triplet, an orbit-orbit link relationship between orbits where the same satellite operates along different orbits in the knowledge graph, and so on. The above are only some examples of hyperedges that can be constructed by the hyperedge construction scheme provided in this specification, and do not mean that only the above-mentioned types of hyperedges are constructed.

[0107] S104: Determine entity features corresponding to each entity through a feature extraction network in the prediction model to be trained.

[0108] Specifically, the prediction model used in this specification includes at least a feature extraction network and a prediction network, wherein the feature extraction network is used to determine the entity features corresponding to each entity, and the prediction network is used to determine the predicted association relationship between the satellite entity and the satellite event entity based on the features input into the prediction network, thereby predicting whether the satellite entity will have a corresponding satellite event.

[0109] During the training process of the prediction model to be trained, the network of the feature extraction network can be initialized first. The parameter initialization method can be random initialization or Xavier initialization, which is not limited in this specification. Afterwards, the attribute information of each entity is determined from the database, and the attribute information of each entity is input into the feature extraction network respectively, and the entity features corresponding to each entity are respectively obtained. The entity features actually represent the corresponding entities in the form of coding vectors, so that the features of each entity can be further optimized in the subsequent steps based on the complex relationship between the entities represented by the meta-path and the hyper-edge, so as to obtain a more comprehensive and accurate coding vector to objectively represent the entity.

[0110] Optionally, the present specification may further adopt an attention network to determine feature weights to enhance the semantic expression capability of entity features. The specific solution is as follows:

[0111] Step 1: For each entity, input the entity into the feature extraction network in the prediction model to be trained to obtain the initialization features of the entity output by the feature extraction network.

[0112] Step 2: According to the initialization features of the entity and the initialization features of each entity contained in the hyperedge to which the entity belongs, the weight corresponding to the entity is determined through the attention network in the prediction model to be trained.

[0113] In this specification, the initialization features of each hyperedge internal entity are weighted using the attention mechanism (especially soft-attention), and the weighted features are used as the entity features corresponding to the entity. By determining the weights through the attention mechanism and weighting the initialization features of the entity, the feature information of important entities can be highlighted and the influence of unimportant entities can be weakened.

[0114] Specifically, for each entity e i , the initialization feature of the entity output by the feature extraction network is f i , use the attention network to calculate the weight corresponding to the initialization feature of the entity to determine the contribution of each entity to the feature representation within the hyperedge. The following is an optional implementation method for determining weights based on the attention network:

[0115]

[0116] in, For entity e i The weights corresponding to the initialization features are and is the network parameter to be learned in the attention network, and u is the soft-attention weight vector.

[0117] Step 3: Weight the initialization features of the entity with the weight corresponding to the entity to obtain the entity features corresponding to the entity.

[0118] The following is an optional implementation of the entity feature corresponding to the entity:

[0119]

[0120] in, It is entity e i The corresponding entity features.

[0121] In this way, the entity features within the hyperedge can be weighted to better capture the feature information of important entities and weaken the influence of unimportant entities.

[0122] S106: For each entity, a target tree structure with the entity as the root node is constructed based on the entities linked to the edges contained in the meta-path to which the edge connected to the entity belongs, and the entities contained in the hyperedge to which the entity belongs, and entity features of the entities contained in the target tree structure corresponding to the entity are aggregated to determine the target features of the entity.

[0123] The meta-paths and hyperedges obtained based on the above steps can comprehensively represent the complex associations between entities in the knowledge graph. In order to integrate the complex associations between entities into the feature expressions of each entity, for each entity, based on the meta-path where the entity is located and the hyperedges to which it belongs, the entities that have direct and indirect associations with the entity are determined, and based on these entities, a target tree structure with the entity as the root node is constructed. The target tree structure may include the association relationship between the entity and other entities expressed by the meta-path, and also include the correlation relationship between the entity and other entities expressed by the hyperedges.

[0124] The entity features of each entity contained in the target tree structure of the entity are aggregated from the bottom up, and the aggregated features are used as the target features of the entity. In essence, this is feature propagation and fusion based on the complex association relationship between the entity and other entities. The complex association relationship between the entity and other entities is modeled into the target features of the entity, which improves the expressive power of the knowledge graph representation and provides more accurate input for subsequent event predictions.

[0125] S108: Constructing entity pairs according to any satellite entity and any satellite event entity in the entities, determining input features of the entity pairs at least according to target features of the satellite entities in the entity pairs and target features of the satellite event entities in the entity pairs, respectively inputting the input features of the entity pairs into a prediction network in a prediction model to be trained to obtain a predicted association relationship between the satellite entity and the satellite event entity in the entity pairs, and training the prediction model to be trained according to a difference between an association relationship between the satellite entity and the satellite event entity in the entity pairs in the knowledge graph and the predicted association relationship.

[0126] In this specification, the prediction model can determine whether there is an association relationship between the satellite entity and the satellite event entity, or what kind of association relationship exists, that is, whether the satellite corresponding to the satellite entity will have a satellite event corresponding to the satellite event entity. Therefore. During the training process of the prediction model, the input features input to the prediction network can be composed of at least a target feature of a satellite entity and a target feature of a satellite event entity. In order to improve the efficiency of constructing the input features, any satellite entity and any satellite event entity in each entity contained in the knowledge graph can first be formed into an entity pair. In this way, each entity pair contains a satellite entity and a satellite event entity, and in the knowledge graph, the satellite entity and the satellite event entity in the entity pair can be connected by an edge (that is, there is an association relationship between the two), or they can not be connected by an edge (that is, there is no association relationship between the two).

[0127] Optionally, in the knowledge graph, when the satellite entity and the satellite event entity in an entity pair are connected by an edge, the input features of the entity pair can also be determined based on the target features of the satellite entity in the entity pair, the target features of the satellite event entity, and the edge features corresponding to the edge between the satellite entity and the satellite event entity.

[0128] The edge feature corresponding to the edge between the satellite entity and the satellite event entity in the entity pair can be obtained by the following implementation:

[0129] The first method is to multiply the target feature of the satellite entity by the target feature of the satellite event entity element by element to obtain the edge feature corresponding to the edge between the satellite entity and the satellite event entity.

[0130] The second method: using the self-gating layer in the prediction model to obtain edge features. Specifically, for each entity pair, in the knowledge graph, when the satellite entity in the entity pair is connected to the satellite event entity in the entity pair by an edge, the first gating weight and the second gating weight are determined through the self-gating layer in the prediction model to be trained according to the entity features of the satellite entity in the entity pair and the entity features of the satellite event entity in the entity pair. The entity features of the satellite entity in the entity pair are weighted with the first gating weight, and the entity features of the satellite event entity in the entity are weighted with the second gating weight, and the edge features corresponding to the edge between the satellite entity in the entity pair and the satellite event entity in the entity pair are determined according to the weighted entity features of the satellite entity and the weighted entity features of the satellite event entity.

[0131] Specifically, the self-gating layer can regulate the flow of information between the satellite entity and the satellite event entity by calculating the gating weights corresponding to the satellite entity and the satellite event entity, thereby capturing the semantics of the edge connecting the satellite entity and the satellite event entity. An optional implementation of the self-gating layer determining the first gating weight and the second gating weight is as follows:

[0132]

[0133]

[0134] in, Represents the first gating weight, which is used to indicate the contribution of the entity feature of the satellite entity to the edge feature. Represents the second gating weight, which is used to indicate the contribution of the entity features of the satellite event entity to the edge features. and are the parameters of the self-gating layer, which can be learned during the prediction model training process. is the activation function. Entity features representing satellite entities and entity features of satellite event entities The concatenation vector is obtained by concatenating the two.

[0135] Thus, an alternative method for determining edge features is The implementation is as follows:

[0136]

[0137] Afterwards, the target features of the satellite entity in the entity pair, the target features of the satellite event entity in the entity pair, and the edge features corresponding to the edge between the satellite entity in the entity pair and the satellite event entity in the entity pair are concatenated to obtain the input features of the entity pair.

[0138] Furthermore, after the input features of each entity pair are determined, the input features of each entity pair are respectively input into the prediction network of the prediction model to be trained. The predicted association relationship output by the prediction network can be a prediction result (prediction probability) for indicating whether there is an association relationship between the satellite entity and the satellite event entity in the entity pair, or a prediction result for indicating what kind of association relationship exists between the satellite entity and the satellite event entity in the entity pair. Thus, the actual association relationship in the knowledge graph of the satellite entity and the satellite event entity contained in the entity pair (there is an association relationship if there is an edge, and there is no association relationship if there is no edge) is used as a label, and the loss function is determined according to the difference between the predicted association relationship output by the prediction network and the actual association relationship in the knowledge graph, and the minimization of the loss function is used as the training goal, and the prediction model to be trained is trained in a supervised learning manner.

[0139] Of course, the prediction model can also be trained using a contrastive learning scheme. In this case, the predicted association relationship output by the prediction model can be a predicted association probability. The larger the predicted association probability, the greater the probability that there is an association relationship between the satellite entity and the satellite event entity in the entity pair. The smaller the predicted association probability, the smaller the probability that there is an association relationship between the satellite entity and the satellite event entity in the entity pair. During training, the entity pairs with edges between the satellite entity and the satellite event entity can be used as positive examples, and the entity pairs without edges between the satellite entity and the satellite event entity can be used as negative examples. The prediction model to be trained is trained with the maximization of the predicted association probability of the positive examples output by the prediction network and the minimization of the predicted association probability of the negative examples output by the prediction network as the training objectives.

[0140] Among them, the loss function used to train the prediction model in this specification can be constructed using any existing type of loss function, such as mean square error loss, cross entropy loss, etc. The specific training method is not limited in this specification.

[0141] S110: In response to the prediction request, determine the prediction association relationship between the satellite to be predicted and the satellite event to be predicted by using the trained prediction model.

[0142] After the prediction model training is completed, the satellite events that may occur to the predicted satellite can be predicted based on the trained prediction model. In this specification, the predicted satellite and the predicted satellite event can be mapped to the knowledge graph of the satellite orbit threat field, and the meta-path and hyper-edge containing the predicted satellite are determined in sequence through the above steps S102~S108. The entity features of the predicted satellite are obtained through the trained prediction model. Based on the meta-path and hyper-edge containing the predicted satellite, a tree structure with the predicted satellite as the root node is constructed, and the features of each entity contained in the tree structure are aggregated. The entity features of the predicted satellite are updated to obtain the target features of the predicted satellite. The same process is used for the predicted satellite event to obtain the target features of the predicted satellite event. Then, the target features of the predicted satellite and the target features of the predicted satellite event are spliced, and the spliced ​​features are input into the prediction network of the trained prediction model to obtain the predicted association relationship output by the prediction network. The predicted association relationship is used to indicate the possibility of an association relationship between the predicted satellite and the predicted satellite event, or what kind of association relationship exists. The predicted association relationship can be in the form of a predicted association probability. For example, the predicted association probability output by the prediction network is 0.9, indicating that there is a high possibility that there is an association relationship between the satellite to be predicted and the satellite event to be predicted. It can also be in the form of a predicted association relationship type. For example, the prediction network outputs that there is a close type of association relationship between the satellite to be predicted and the satellite event to be predicted.

[0143] In the event prediction method based on the satellite orbit threat field knowledge graph provided in this description, by constructing a satellite orbit threat field knowledge graph, using complex algorithms and modules to perform meta-path construction, hyper-edge construction, feature encoding, feature aggregation and other steps, the understanding and grasp of entity associations and link features are strengthened, thereby comprehensively and accurately understanding and describing the complex relationships in the satellite orbit threat field, and improving the accuracy of event prediction. At the same time, by processing the knowledge graph and related features, the performance of the prediction model is optimized, and the efficiency and accuracy of event prediction are improved.

[0144] It can be seen that by constructing a method based on a knowledge graph and combining complex feature processing and model optimization techniques, the event prediction method based on the knowledge graph in the field of satellite orbit threats provided in this specification can effectively improve the accuracy and efficiency of event prediction in the field of satellite orbit threats, strengthen the understanding of entity associations, improve the grasp of link features, and optimize the performance of prediction models, providing more reliable support for decision-making and response in related fields.

[0145] In an optional embodiment of this specification, Figure 1 The second step of the solution of constructing a hyperedge based on each meta-path in step S102 can be specifically implemented by the following implementation methods:

[0146] The first step: determining the type of association relationship corresponding to each edge included in the meta-path, and determining the type of association relationship corresponding to each edge included in the reference meta-path corresponding to the meta-path.

[0147] Specifically, when determining entities that are not connected by edges but have a related relationship, the types of association relationships of the edges connecting these entities with the intersecting entities on the meta-path may also be considered. Therefore, before traversing each entity linked by the edges of the meta-path, the types of association relationships corresponding to the edges included in the meta-path and the types of association relationships corresponding to the edges included in the reference meta-path of the meta-path may be determined.

[0148] Step 2: Taking the entity where the meta-path intersects with the reference meta-path of the meta-path as the starting point, determine in turn whether the types of associations corresponding to the edges included in the meta-path are the same as those corresponding to the edges included in the reference meta-path corresponding to the meta-path, and obtain the judgment result between each edge included in the meta-path and each edge included in the reference meta-path corresponding to the meta-path, until the judgment result indicates that the types of associations are different or all edges included in the meta-path are traversed.

[0149] Furthermore, according to the association relationship types respectively corresponding to the edges included in the meta-path and the association relationship types respectively corresponding to the edges included in the reference meta-path of the meta-path, the edges with the same association relationship type are determined in sequence.

[0150] Specifically, starting from the entity where the meta-path intersects with the reference meta-path of the meta-path, each edge in the meta-path and each edge in the reference meta-path of the meta-path are judged in turn whether they are edges of the same association type. If so, the judgment result is the same; if not, the judgment result is different. The judgment is repeated one by one until the judgment result is different or all edges included in the meta-path are traversed.

[0151] For example, still Figure 2 Take the graph structure shown in the figure as an example. Metapath p1=(r 12 , r 24 ), the type of association relationship of each edge in p1 is (proximity, operation). The reference meta-path p2 of p1 = (r 13 , r 35 ), the relationship type of each edge in p2 is (proximity, operation). The entity where p1 and p2 intersect is e1, then starting from e1, we determine whether the relationship type of each edge in p1 is the same as that of each edge in p2. First, we determine whether the relationship type of each edge in p1 is the same as that of each edge in p2. 12 With p2 in r 13 Are the types of associations the same? 12 The relationship type is "proximity", r 13 The type of association relationship is also "proximity", so we judge r12 and r 13 The same type of association relationship exists. Then we determine whether r in p1 24 With p2 in r 35 Are the types of associations the same? 24 The relationship type is "running", r 35 The type of association relationship is also "running", so we judge r 24 and r 35 Then, since all the edges contained in p1 have been traversed, the judgment ends.

[0152] For example, the meta-path p1=(r 12 , r 24 ), the type of association relationship of each edge in p1 is (proximity, operation). The reference meta-path p3 of p1=(r 16 , r 65 ), the association type of each edge in p3 is (being adjacent, running). The entity where p1 and p3 intersect is e1, then starting from e1, we determine whether the association type of each edge in p1 is the same as that of each edge in p3. First, we determine whether the r 12 With p3 r 16 Are the types of associations the same? 12 The relationship type is "proximity", r 16 The type of association relationship is "being adjacent", so we judge r 12 and r 16 The types of association relationships are different. 12 and r 16 The judgment result indicates that the relationship type is different, so the judgment ends directly and only r in p1 is obtained. 12 and p3 in r 16 The judgment result is different from the correlation relationship.

[0153] Step 3: According to the entities linked by the edges included in the meta-path with the same association relationship type as determined, and the entities linked by the edges included in the reference path corresponding to the meta-path, multiple entities with related relationships that are not connected by edges are determined.

[0154] In this step, when determining multiple entities that have a correlation and are not connected by edges, only the entities on the meta-path with the same judgment result as the association relationship type are retained, and the entities on the reference path of the meta-path are determined, and the entities with different judgment results as the association relationship type are eliminated, so that the correlation between the entities used to construct the hyperedge is closer and more practical for event prediction.

[0155] Specifically, according to the corresponding judgment results of each edge in the meta-path, the meta-path and the reference meta-path of the meta-path are first pruned, and the edges with different types of association relationships are temporarily removed, and are not used as edges traversed when determining the hyperedge. Afterwards, starting from the entity (the same entity) where the meta-path and the reference meta-path of the meta-path intersect, each entity linked by each edge contained in the meta-path except the intersecting entity is traversed one by one to determine the specified distance between the entity and the interacting entity (the distance can be determined by the number of entities separated). On the other hand, starting from the intersecting entity, the entities linked by each edge contained in the reference meta-path of the meta-path are searched for an entity with a specified distance from the intersecting entity as a related entity with a correlation relationship with the entity. Then, in the knowledge graph, it is determined whether there is an edge between the entity and the related entities of the entity. If not, the entity and the related entities of the entity are defined as multiple entities that have a correlation relationship with each other but are not connected by edges, and hyperedges are constructed based on these multiple entities, that is, the correlation relationship between these multiple entities is established.

[0156] For example, still taking the above example, the meta-path p1=(r 12 , r 24 ) and the reference metapath p2 of p1 = (r 13 , r 35 ) are both the same type of association relationship, so there is no need to prune meta-path p1 and reference meta-path p2. Directly traverse each edge link contained in p1 to link each entity except e1, and determine e3 in p2 as the related entity of entity e2 according to the specified distance of e2 from e1 in p1, and determine e5 in p2 as the related entity of entity e4 according to the specified distance of e4 from e1 in p1, and in the knowledge graph, there is no direct edge connection between entity e2 and entity e3, and there is no direct edge connection between entity e4 and entity e5. Therefore, it is determined that entity e2 and entity e3 are multiple entities with a related relationship but not connected by an edge, and entity e2 and entity e3 can form a hyperedge. It is determined that entity e4 and entity e5 are multiple entities with a related relationship but not connected by an edge, and entity e4 and entity e5 can also form a hyperedge.

[0157] However, for the meta-path p1 and the reference meta-path p3 in the above example, since the first edge r in p1 12 and the first edge r in p3 16The judgment result between them indicates that the types of association relationships between the two are different. After pruning the meta-path p1 and the reference meta-path p3 based on the judgment result, the entities linked by the edges contained in the meta-path p1 that can be used to determine the hyperedge, and the entities linked by the edges contained in the reference path p3 are all eliminated. Therefore, it is impossible to determine multiple entities with related relationships that are not connected by edges based on the meta-path p1 and the reference meta-path p3, and it is also impossible to construct a hyperedge.

[0158] The above scheme is used to construct hyperedges, which substantially reduces the number of hyperedges. Although this will ignore some more complex correlations, it can focus more on modeling the complex relationships between entities that are helpful for event prediction in the field of satellite orbit threats. This ensures the accuracy of event prediction while improving efficiency and reducing the computing power and resources consumed by unnecessary complex relationship modeling.

[0159] In an optional embodiment of this specification, Figure 1 The target tree structure corresponding to each entity in step S016 is constructed in accordance with the following implementation methods: Figure 3 As shown:

[0160] S200: Taking the entity as a root node, and taking other entities, except the entity, included in the hyperedge to which the entity belongs as first child nodes of the root node.

[0161] Specifically, the hyperedge constructed based on one or more of the aforementioned embodiments is actually the correlation between entities that is not reflected in the knowledge graph but objectively exists. Introducing the correlation between entities represented by the hyperedge into the target tree structure can introduce complex association relationships that are not reflected in the knowledge graph for the target features of the entities, thereby improving the dimension and scale of the information contained in the target features of the entities.

[0162] Therefore, when the entity is used as the root node, one or more hyperedges to which the entity belongs are determined, and all entities other than the entity included in the hyperedges to which the entity belongs are used as first child nodes of the next level of the root node.

[0163] For example, Figure 2 The following is a partial graph structure in the knowledge graph. When entity e1 is the root node, the hyperedge to which e1 belongs is determined first. Taking the hyperedge constructed by e1 and e8 as an example, entity e1 is the root node, and the first child node of the next level of the root node includes entity e8. Figure 4 In the target tree structure of entity e1 shown, entity e1 and entity e8 are connected by a dotted line, indicating that the relationship between the root node and the child node between entity e1 and entity e8 is derived from a hyperedge.

[0164] S202: Determine, among entities linked to edges included in a meta-path to which an edge connected to the entity belongs, entities directly connected to the entity through edges as second child nodes of the root node.

[0165] Afterwards, all entities linked to the meta-path to which the edge connected to the entity belongs are introduced into the target tree structure with the entity as the root node.

[0166] First, one or more edges connected to the entity are determined, and based on the determined one or more edges, entities directly connected to the entity through the edges are determined, and these entities are used as second child nodes of the root node.

[0167] Taking the above example, entity e1 is the root node and the edge connected to it is r 12 、r 13 and r 16 , according to the edge r 12 and r 12 The meta-path p1 to which it belongs determines the entity e2 that is directly connected to entity e1. 13 and r 13 The meta-path p2 to which it belongs determines the entity e3 that is directly connected to entity e1. 16 and r 16 The meta-path p3 to which it belongs determines the entity e6 that is directly connected to the entity e1. In this way, the entities e2, e3 and e6 are determined as the three second child nodes of the root node e1.

[0168] It can be understood that the first child node and the second child node are entities that have a direct association and direct correlation with the entity. Therefore, when the entity is the root node, in the target tree structure of the entity, the first child node and the second child node are actually the next-level child nodes of the root node, that is, the first child node and the second child node are child nodes of the same level. The terms "first" and "second" are used in this specification only to distinguish that some of the next-level child nodes of the root node are derived from the hyperedge to which the entity corresponding to the root node belongs, and the others are derived from the meta-path to which the entity corresponding to the root node is located.

[0169] S204: Taking each of the second sub-nodes as each current sub-node, linking the edges of each current sub-node according to the meta-path to which the edge connected to the entity belongs, determining each next-level sub-node corresponding to each current sub-node, and taking each next-level sub-node as each current sub-node.

[0170] In order to establish a target tree structure that can fully describe the complex relationships between entities, after determining the next-level child nodes (first child node and second child node) of the root node, continue to extend from each second child node according to the meta-path to which the edge connecting the entity belongs, and introduce the complete structure (the connection relationship between entities) contained in the meta-path to which the edge connecting the entity belongs into the target tree structure of the entity.

[0171] To this end, each second child node is respectively a current child node, and the edges of each current child node are linked according to the edges included in the meta-path to which the edge connected to the entity belongs, so as to determine the next-level child nodes corresponding to each current child node.

[0172] Still Figure 2 and Figure 4 For example, the second child node includes entity e2, entity e3 and entity e6. Entity e2 is the current child node, and the edge r connected to entity e1 is determined. 12 The edges r contained in the meta-path p1 12 and r 24 In the example, the edge connecting entity e2 is r 24 , according to the edge r 24 , determine that the next-level child node corresponding to the current child node e2 is e4. Based on the same scheme, it can be determined that the next-level child node corresponding to the current child node e3 is e5, and the next-level child node corresponding to the current child node e6 is e5. Afterwards, the next-level child node e4 corresponding to the current child node e2, and the next-level child node e5 corresponding to the current child nodes e3 and e6 are re-set as the current child node.

[0173] S206: Determine whether to traverse all entities linked to the edges contained in the meta-path to which the edge connected to the entity belongs. If so, execute step S208; otherwise, return to step S204.

[0174] S208: Obtain a target tree structure corresponding to the entity, which has the entity as a root node and includes each first child node, each second child node, and each level of child nodes corresponding to each second child node.

[0175] The root node, each first child node, each second child node and each level of child nodes corresponding to each second child node obtained based on the above scheme are connected according to the hierarchy and corresponding relationship, and the target tree structure corresponding to the entity can be obtained. Figure 4 The following is based on Figure 2 The graph structure shown builds a target tree structure with entity e1 as the root node.

[0176] Furthermore, Figure 1In step S106, based on the target tree structure model, entity features of each entity included in the target tree structure corresponding to the entity are aggregated to determine the target features of the entity. An implementation method is as follows: Figure 5 As shown:

[0177] S300: Taking each parent node directly connected to each leaf node in the target tree structure corresponding to the entity as the starting point of feature aggregation, each current node to be aggregated is determined in turn.

[0178] In order to improve the accuracy of the prediction model in predicting events, the target features of the entity are obtained by aggregating the features of each entity contained in the target tree structure corresponding to each entity in the knowledge graph. The features of each entity that has a direct or indirect relationship with the entity are propagated and aggregated into the entity, accurately capturing the dynamic evolution process of time, enhancing the expressiveness of entity features, and thus improving the accuracy and reliability of event prediction.

[0179] Specifically, in this specification, a bottom-up aggregation method is adopted, starting from each leaf node of the target tree structure of the entity, and performing feature aggregation on each node in the target tree structure layer by layer. Specifically, in the target tree structure of the entity, the first layer of feature aggregation obtains the features of each parent node directly connected to each leaf node. That is, each parent node directly connected to each leaf node is used as each current node to be aggregated during the first feature aggregation, and then each current node to be aggregated is determined layer by layer until the node to be aggregated is the root node of the target tree structure of the entity, that is, the entity. Therefore, by analogy, after the first feature aggregation is performed, each parent node directly connected to each current node to be aggregated during the first feature aggregation is used as each current node to be aggregated during the second feature aggregation, and no further details will be given later.

[0180] For example, for Figure 4 For the target tree structure corresponding to the entity e1 shown, the leaf nodes are e8, e4 and e5, and the parent nodes directly connected to the leaf nodes through edges are e1, e2, e3 and e6.

[0181] S302: For each current node to be aggregated, determine each child node directly connected to the current node to be aggregated in the target tree structure corresponding to the entity, and obtain current features of each child node directly connected to the current node to be aggregated obtained by the last feature aggregation.

[0182] Among them, when each child node directly connected to the current node to be aggregated is a leaf node in the target tree structure corresponding to the entity, the current characteristics of each child node directly connected to the current node to be aggregated are the entity characteristics of each child node directly connected to the current node to be aggregated.

[0183] Furthermore, the bottom-up layer-by-layer aggregation can be to update the features of the current node to be aggregated based on the features of each child node corresponding to the current node to be aggregated in the target tree structure, so that the updated features of the current node to be aggregated include not only its own features but also the features of other nodes that are associated with it. To this end, the current features of each child node directly connected to the current node to be aggregated can be first determined, which is divided into the following two cases:

[0184] The first case: each child node directly connected to the current node to be aggregated is a leaf node in the target tree structure corresponding to the entity. At this time, the current node to be aggregated is actually the current node to be aggregated during the first feature aggregation, such as Figure 4 Node e2 is shown. Since each leaf node in the target tree structure is the beginning of feature aggregation, there is no "current feature obtained from the last feature aggregation" for each leaf node. Therefore, the entity feature corresponding to the entity obtained based on one or more of the above embodiments can be used as the current feature obtained.

[0185] The second case: the child nodes directly connected to the current node to be aggregated are the current nodes to be aggregated during the last feature aggregation. In this case, the current node to be aggregated is actually the current node to be aggregated during a non-first feature aggregation. Figure 4 In this case, each child node corresponding to the current node to be aggregated in the current feature aggregation process is actually the current node to be aggregated in the previous feature aggregation process. Therefore, the current feature obtained by the previous feature aggregation is directly obtained and applied to the current feature aggregation process.

[0186] S304: Aggregating the current features corresponding to the child nodes directly connected to the current node to be aggregated and the entity features of the node to be aggregated through the gated recurrent unit to obtain the current features of the current node to be aggregated.

[0187] In this specification, the Gate Recurrent Unit (GRU) controls the flow of information by introducing gating mechanisms, thereby more effectively capturing long-term dependencies. The GRU has a simpler structure than the Long Short-Term Memory (LSTM) network, but still retains the core idea of ​​the gating mechanism. Using GRU for feature aggregation can improve the prediction model's ability to understand the complex relationships between entities, thereby improving the accuracy and generalization of the prediction model.

[0188] An optional implementation of aggregating the entity features of the current node to be aggregated and the current features of each child node of the current node to be aggregated through a gated cycle unit may be:

[0189]

[0190] Among them, f v is the entity feature of the current node to be aggregated, Represents the set of child nodes u directly connected to the current node v to be aggregated. u Represents the current feature of the child node u directly connected to the current node v to be aggregated obtained by the last feature aggregation.

[0191] Of course, it is also possible to aggregate the current features of each child node first, and then use the aggregated features to update the entity features of the current node to be aggregated. An optional implementation of feature aggregation through a gated recurrent unit is as follows:

[0192]

[0193]

[0194] Among them, h v * It is the aggregated feature obtained by aggregating the current features of each child node.

[0195] S306: taking the parent nodes directly connected to the respective current nodes to be aggregated as the current nodes to be aggregated for the next feature aggregation, and re-aggregating the features until the current features of the root node in the target tree structure corresponding to the entity are obtained.

[0196] After obtaining the current features corresponding to the current nodes to be aggregated, the parent nodes of the previous level of the current nodes to be aggregated are used as the current nodes to be aggregated for the next feature aggregation, and the above steps S302 to S304 are iterated repeatedly until the features of the root node are obtained.

[0197] For example, still taking Figure 4 as an example, after the current features of nodes e2, e3 and e6 are determined respectively through steps S302~S304, the parent node e1 directly connected to nodes e2, e3 and e6 is used as the next current node to be aggregated for feature aggregation. After the current features of node e1 are obtained through feature aggregation, since node e1 is the root node of the target tree structure, the current features of node e1 obtained through feature aggregation are used as the target features of entity e1.

[0198] S308: Using the current feature of the root node in the target tree structure corresponding to the entity as the target feature of the entity.

[0199] Through this bottom-up feature aggregation process, the entity features in each hyperedge can be effectively aggregated to the root node, forming an aggregated feature representation of the entity in the entire knowledge graph. Such a representation can better capture the semantic relationship and structural information between entities in the knowledge graph, providing more accurate input for subsequent event prediction tasks.

[0200] In an optional embodiment of this specification, Figure 1 When the prediction model to be trained is trained in step S108, the prediction association relationship output by the prediction network of the prediction model is represented by the prediction probability that there is an association relationship between the satellite entity and the satellite event entity. The specific implementation is as follows:

[0201] First, according to the association relationship between the satellite entity in each entity pair in the knowledge graph and the satellite event entity in the entity pair, each entity pair with an edge between the satellite entity and the satellite event entity is taken as a positive sample pair, and each entity pair without an edge between the satellite entity and the satellite event entity is taken as a negative sample pair.

[0202] Secondly, according to the first predicted probability of the existence of the association relationship between the satellite entity and the satellite event entity in each positive sample pair, and the second predicted probability of the existence of the association relationship between the satellite entity and the satellite event entity in each negative sample pair, a loss function is determined, wherein the loss function is inversely proportional to the first predicted probability, and the loss function is directly proportional to the second predicted probability.

[0203] Afterwards, the prediction model to be trained is trained with minimization of the loss function as the training objective.

[0204] In the above scheme, training the model with minimization of the loss function as the training objective can be equivalent to training the prediction model with maximization of the first prediction probability of the positive sample pair output by the prediction network and minimization of the second prediction probability of the negative sample pair output by the prediction network as the training objective. When determining the loss function according to the first prediction probability and the second prediction probability, the first prediction probability and the second prediction probability can correspond to the same or different weights, respectively, and this specification does not limit this.

[0205] In one or more embodiments of this specification, Figure 1 Step S110 shown in FIG. 1 is to determine the prediction correlation between the satellite to be predicted and the satellite event to be predicted by using the trained prediction model, which can be specifically implemented by the following steps:

[0206] The first step: obtaining attribute information of the satellite to be predicted and the attribute information of the satellite event to be predicted, and determining a first node corresponding to the satellite to be predicted and a second node corresponding to the satellite event to be predicted in the knowledge graph according to the attribute information of the satellite to be predicted and the attribute information of the satellite event to be predicted, and establishing edges between the first node and other nodes that are associated with the first node in the knowledge graph, and establishing edges between the second node and other nodes that are associated with the second node.

[0207] Specifically, the attribute information of the satellite to be predicted may include the structure, material, size, current orbit, historical orbit and other information of the satellite to be predicted, and may also include satellite events that have occurred in the past, so that when the satellite to be predicted is mapped to the knowledge graph, the edges between the entity node corresponding to the satellite to be predicted and other nodes in the knowledge graph can be established based on the attribute information of the satellite to be predicted. Similarly, the attribute information of the satellite event to be predicted may include the timestamp of the satellite event to be predicted, the subject of the satellite event (one or more satellites), etc., so that when the satellite event to be predicted is mapped to the knowledge graph, the edges between the entity node corresponding to the satellite event to be predicted and other nodes in the knowledge graph can be established based on the attribute information of the satellite event to be predicted.

[0208] Step 2: Update the knowledge graph according to the first node, the second node, the edge connected to the first node, and the edge connected to the second node.

[0209] Step 3: Extract the meta-path linking the first node and the meta-path linking the second node from the updated knowledge graph.

[0210] Step 4: According to the entities in the meta-path linking the first node, determine a number of entities that have a correlation with the first node and are not connected by an edge, and construct a first hyperedge including the first node according to the determined entities.

[0211] Step 5: According to the entities in the meta-path linking the second node, a number of entities having a correlation with the second node and not connected by an edge are determined, and a second hyperedge including the second node is constructed according to the determined entities.

[0212] The specific scheme for determining the meta-path, the first hyperedge, and the second hyperedge is similar to the aforementioned step S102 and will not be repeated here.

[0213] Step 6: Construct a tree structure with the first node as the root node based on the meta-path linking the first node and the first hyperedge, and determine the target feature of the first node through the feature extraction network in the trained prediction model and the tree structure corresponding to the first node.

[0214] Step 7: Construct a tree structure with the second node as the root node based on the meta-path linking the second node and the second hyperedge, and determine the target feature of the second node through the feature extraction network in the trained prediction model and the tree structure corresponding to the second node.

[0215] Determining the target characteristics of the first node and the target characteristics of the second node can refer to the aforementioned Figure 1~Figure 4 One or more embodiments shown are not described in detail here.

[0216] Step 8: Determine input features according to the target features of the first node and the target features of the second node, and input them into the prediction network in the trained prediction model to obtain the prediction association relationship between the satellite to be predicted and the real event entity of the satellite to be predicted.

[0217] The above is an event prediction method based on the satellite orbit threat domain knowledge graph provided by one or more embodiments of this specification. Based on the same idea, this specification also provides a corresponding event prediction device based on the satellite orbit threat domain knowledge graph, such as Figure 6 shown.

[0218] Figure 6 A schematic diagram of an event prediction device based on a knowledge graph in the field of satellite orbit threats provided in this specification specifically includes:

[0219] The knowledge graph construction module 400 is used to obtain a database of satellite orbit threat fields, and construct a knowledge graph of satellite orbit threat fields with each entity stored in the database as a node and the association between the entities as an edge; wherein the entities include satellites, satellite events, and operating orbits, and the association includes at least event categories and operating states;

[0220] A hyperedge construction module 402 is used to extract each meta-path from the knowledge graph, and for each meta-path, according to each entity linked by each edge contained in the meta-path, determine from the meta-paths a meta-path having the same starting entity and / or the same ending entity as the meta-path as a reference meta-path corresponding to the meta-path, and according to each entity linked by each edge contained in the meta-path and each entity linked by each edge contained in the reference meta-path corresponding to the meta-path, determine a plurality of entities having a correlation relationship and not connected by edges, and construct a hyperedge according to the determined plurality of entities;

[0221] An entity feature determination module 404 is used to determine the entity features corresponding to each entity through a feature extraction network in a prediction model to be trained;

[0222] The target feature determination module 406 is used to construct a target tree structure with each entity as a root node according to the entities linked to the edges included in the meta-path to which the edge connected to the entity belongs, and the entities included in the hyper-edge to which the entity belongs, for each entity, aggregate the entity features of the entities included in the target tree structure corresponding to the entity, and determine the target feature of the entity;

[0223] A training module 408 is used to form entity pairs according to any satellite entity and any satellite event entity in the entities, determine input features of the entity pairs according to at least target features of the satellite entity in the entity pairs and target features of the satellite event entity in the entity pairs, input the input features of the entity pairs into the prediction network in the prediction model to be trained, obtain the predicted association relationship between the satellite entity and the satellite event entity in the entity pairs, and train the prediction model to be trained according to the difference between the association relationship between the satellite entity and the satellite event entity in the entity pairs in the knowledge graph and the predicted association relationship;

[0224] The prediction module 410 is used to determine the prediction association relationship between the satellite to be predicted and the satellite event to be predicted by using the trained prediction model in response to the prediction request.

[0225] Optionally, the hyperedge construction module 402 is specifically used to determine the type of association relationship corresponding to each edge included in the meta-path; determine the type of association relationship corresponding to each edge included in the reference meta-path corresponding to the meta-path; take the entity where the meta-path intersects with the reference meta-path of the meta-path as the starting point, and judge in turn whether the type of association relationship corresponding to each edge included in the meta-path is the same as the type of association relationship corresponding to each edge included in the reference meta-path corresponding to the meta-path, and obtain the judgment result between each edge included in the meta-path and each edge included in the reference meta-path corresponding to the meta-path, until the judgment result indicates that the type of association relationship is different or all edges included in the meta-path are traversed; according to the entities linked by the edges included in the meta-path whose judgment results are the same as the types of association relationship, and the entities linked by the edges included in the reference path corresponding to the meta-path, determine multiple entities that have a related relationship but are not connected by edges.

[0226] Optionally, the entity feature determination module 404 is specifically used to, for each entity, input the entity into a feature extraction network in the prediction model to be trained to obtain the initialization features of the entity output by the feature extraction network; determine the weight corresponding to the entity through the attention network in the prediction model to be trained based on the initialization features of the entity and the initialization features of each entity included in the hyperedge to which the entity belongs; and weight the initialization features of the entity with the weight corresponding to the entity to obtain the entity features corresponding to the entity.

[0227] Optionally, the target feature determination module 406 is specifically used to take the entity as the root node, and take the entities other than the entity included in the hyperedge to which the entity belongs as the first child nodes of the root node; determine the entities directly connected to the entity through the edges in the meta-path to which the edge connected to the entity belongs as the second child nodes of the root node; take the second child nodes as the current child nodes, and determine the next-level child nodes corresponding to the current child nodes according to the edges linking the current child nodes in the meta-path to which the edge connected to the entity belongs, take the next-level child nodes as the current child nodes, and re-determine the next-level child nodes corresponding to the current child nodes, until all entities linked to the edges in the meta-path to which the edge connected to the entity belongs are traversed, and a target tree structure corresponding to the entity is obtained, which takes the entity as the root node and includes the first child nodes, the second child nodes, and the child nodes of each level corresponding to the second child nodes.

[0228] Optionally, the target feature determination module 406 is specifically used to determine each current node to be aggregated in turn, taking each parent node directly connected to each leaf node in the target tree structure corresponding to the entity as the starting point of feature aggregation; for each current node to be aggregated, determine each child node directly connected to the current node to be aggregated in the target tree structure corresponding to the entity, and obtain the current features of each child node directly connected to the current node to be aggregated obtained by the last feature aggregation; aggregate the current features corresponding to each child node directly connected to the current node to be aggregated and the entity features of the node to be aggregated through the gated recurrent unit to obtain the node to be aggregated. The current features of the current nodes to be aggregated; using the parent nodes directly connected to the current nodes to be aggregated as the current nodes to be aggregated for the next feature aggregation, and re-aggregating features until the current features of the root node in the target tree structure corresponding to the entity are obtained; using the current features of the root node in the target tree structure corresponding to the entity as the target features of the entity; wherein, when the child nodes directly connected to the current node to be aggregated are leaf nodes in the target tree structure corresponding to the entity, the current features of the child nodes directly connected to the current node to be aggregated are the entity features of the child nodes directly connected to the current node to be aggregated.

[0229] Optionally, the training module 408 is specifically used to, for each entity pair, in the knowledge graph, when the satellite entity in the entity pair is connected to the satellite event entity in the entity pair by an edge, determine a first gating weight and a second gating weight according to the entity features of the satellite entity in the entity pair and the entity features of the satellite event entity in the entity pair through a self-gating layer in the prediction model to be trained; weight the entity features of the satellite entity in the entity pair with the first gating weight, weight the entity features of the satellite event entity in the entity with the second gating weight, and determine the edge features corresponding to the edge between the satellite entity in the entity pair and the satellite event entity in the entity pair according to the weighted entity features of the satellite entity and the weighted entity features of the satellite event entity; and concatenate the target features of the satellite entity in the entity pair, the target features of the satellite event entity in the entity pair, and the edge features corresponding to the edge between the satellite entity in the entity pair and the satellite event entity in the entity pair to obtain the input features of the entity pair.

[0230] Optionally, the predicted association relationship between the satellite entity and the satellite event entity output by the prediction network is represented by a predicted probability that an association relationship exists between the satellite entity and the satellite event entity;

[0231] Optionally, the training module 408 is specifically used to, according to the association relationship between the satellite entity in each entity pair and the satellite event entity in the entity pair in the knowledge graph, take each entity pair in which there is an edge between the satellite entity and the satellite event entity as each positive sample pair, and take each entity pair in which there is no edge between the satellite entity and the satellite event entity as each negative sample pair; determine the loss function according to the first prediction probability of the existence of an association relationship between the satellite entity and the satellite event entity in each positive sample pair, and the second prediction probability of the existence of an association relationship between the satellite entity and the satellite event entity in each negative sample pair; wherein the loss function is inversely proportional to the first prediction probability, and the loss function is directly proportional to the second prediction probability; and train the prediction model to be trained with minimization of the loss function as the training goal.

[0232] Optionally, the prediction module 410 is specifically used to obtain attribute information of the satellite to be predicted and attribute information of the satellite event to be predicted, and determine the first node corresponding to the satellite to be predicted and the second node corresponding to the satellite event to be predicted in the knowledge graph according to the attribute information of the satellite to be predicted and the attribute information of the satellite event to be predicted, and establish edges between the first node and other nodes that have an association relationship with the first node in the knowledge graph, and establish edges between the second node and other nodes that have an association relationship with the second node; update the knowledge graph according to the first node, the second node, the edge connected to the first node, and the edge connected to the second node; extract the meta-path linking the first node and the meta-path linking the second node from the updated knowledge graph; determine a number of entities that have a correlation relationship with the first node and are not connected by edges according to each entity in the meta-path linking the first node, and according to the determined several entities Construct a first hyperedge including a first node; determine a number of entities that are related to the second node and are not connected by an edge according to the entities in the meta-path linking the second node, and construct a second hyperedge including the second node according to the determined entities; construct a tree structure with the first node as the root node according to the meta-path linking the first node and the first hyperedge, and determine the target feature of the first node through a feature extraction network in a trained prediction model and a tree structure corresponding to the first node; construct a tree structure with the second node as the root node according to the meta-path linking the second node and the second hyperedge, and determine the target feature of the second node through a feature extraction network in a trained prediction model and a tree structure corresponding to the second node; determine input features according to the target features of the first node and the target features of the second node, and input them into the prediction network in the trained prediction model to obtain a predicted association relationship between the satellite to be predicted and the real event entity of the satellite to be predicted.

[0233] This specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 1 The event prediction method based on the knowledge graph of satellite orbit threat domain is shown.

[0234] This manual also provides Figure 7 The schematic structure diagram of the electronic device shown in FIG. Figure 7 As mentioned above, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1The event prediction method based on the knowledge graph of satellite orbit threat field is shown. Of course, in addition to the software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0235] In the 1990s, it was very clear whether the improvement of a technology was hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with hardware entity modules. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0236] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.

[0237] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0238] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0239] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0240] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0241] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0242] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0243] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0244] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0245] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0246] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0247] It should be understood by those skilled in the art that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0248] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0249] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0250] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.

Claims

1. An event prediction method based on satellite orbit threat domain knowledge graph, characterized in that: include: Obtain a database of satellite orbit threat fields, and construct a knowledge graph of satellite orbit threat fields with entities stored in the database as nodes and relationships between the entities as edges; wherein the entities include satellites, satellite events, and operating orbits, and the relationships include at least event categories and operating states; Extracting each meta-path from the knowledge graph, for each meta-path, according to each entity linked by each edge contained in the meta-path, determining from the meta-paths a meta-path having the same starting entity and / or the same ending entity as the meta-path as a reference meta-path corresponding to the meta-path, determining a plurality of entities having a correlation relationship and not connected by edges according to each entity linked by each edge contained in the meta-path and each entity linked by each edge contained in the reference meta-path corresponding to the meta-path, and constructing a hyperedge according to the determined plurality of entities; Determine the entity features corresponding to each entity through the feature extraction network in the prediction model to be trained; For each entity, a target tree structure with the entity as the root node is constructed based on the entities linked to the edges contained in the meta-path to which the edge connected to the entity belongs, and the entities contained in the hyper-edge to which the entity belongs, and entity features of the entities contained in the target tree structure corresponding to the entity are aggregated to determine the target features of the entity; According to any satellite entity and any satellite event entity in the entities, each entity pair is formed, and the input feature of each entity pair is determined at least according to the target feature of the satellite entity in the entity pair and the target feature of the satellite event entity in the entity pair, and the input features of each entity pair are respectively input into the prediction network in the prediction model to be trained to obtain the predicted association relationship between the satellite entity and the satellite event entity in each entity pair, and according to the difference between the association relationship between the satellite entity and the satellite event entity in each entity pair in the knowledge graph and the predicted association relationship, the prediction model to be trained; In response to the prediction request, the prediction association relationship between the satellite to be predicted and the satellite event to be predicted is determined through the trained prediction model.

2. The method according to claim 1, characterized in that The determining of multiple entities having a related relationship and not connected by edges according to the entities linked by the edges contained in the meta-path and the entities linked by the edges contained in the reference meta-path corresponding to the meta-path specifically includes: Determine the type of association relationship corresponding to each edge included in the meta-path; Determine the type of association relationship corresponding to each edge contained in the reference meta-path corresponding to the meta-path; Taking the entity where the meta-path intersects with the reference meta-path of the meta-path as the starting point, sequentially judging whether the types of associations corresponding to the edges included in the meta-path and the edges included in the reference meta-path corresponding to the meta-path are the same, and obtaining the judgment result between each edge included in the meta-path and each edge included in the reference meta-path corresponding to the meta-path, until the judgment result indicates that the types of associations are different or all edges included in the meta-path are traversed; According to the entities linked by the edges included in the meta-path with the same association relationship type as determined, and the entities linked by the edges included in the reference path corresponding to the meta-path, multiple entities with related relationships that are not connected by edges are determined.

3. The method according to claim 1, characterized in that The determining of entity features corresponding to each entity through the feature extraction network in the prediction model to be trained specifically includes: For each entity, input the entity into a feature extraction network in a prediction model to be trained, and obtain an initialization feature of the entity output by the feature extraction network; According to the initialization features of the entity and the initialization features of each entity included in the hyperedge to which the entity belongs, a weight corresponding to the entity is determined through an attention network in the prediction model to be trained; The initialization features of the entity are weighted by the weight corresponding to the entity to obtain the entity features corresponding to the entity.

4. The method according to claim 1, characterized in that The step of constructing a target tree structure with the entity as the root node according to the entities linked to the edges contained in the meta-path to which the edge connected to the entity belongs, and the entities contained in the hyper-edge to which the entity belongs, specifically includes: Taking the entity as a root node, and taking other entities, except the entity, included in the hyperedge to which the entity belongs as first child nodes of the root node; Determine, among the entities linked to the edges included in the meta-path to which the edge connected to the entity belongs, the entities directly connected to the entity through the edges as the second child nodes of the root node; Take the second child nodes as current child nodes, link the current child nodes according to the edge in the meta-path to which the edge connected to the entity belongs, determine the next-level child nodes corresponding to the current child nodes, take the next-level child nodes as current child nodes, re-determine the next-level child nodes corresponding to the current child nodes, until traversing all entities linked to the edges contained in the meta-path to which the edge connected to the entity belongs, and obtain a target tree structure corresponding to the entity with the entity as the root node and including the first child nodes, the second child nodes, and the sub-nodes of each level corresponding to the second child nodes.

5. The method according to claim 4, characterized in that The aggregating entity features of each entity included in the target tree structure corresponding to the entity to determine the target feature of the entity specifically includes: Taking each parent node directly connected to each leaf node in the target tree structure corresponding to the entity as the starting point of feature aggregation, each current node to be aggregated is determined in turn; For each current node to be aggregated, determine each child node directly connected to the current node to be aggregated in the target tree structure corresponding to the entity, and obtain the current features of each child node directly connected to the current node to be aggregated obtained by the last feature aggregation; Aggregate the current features corresponding to the child nodes directly connected to the current node to be aggregated and the entity features of the node to be aggregated through the gated recurrent unit to obtain the current features of the current node to be aggregated; The parent nodes directly connected to the current nodes to be aggregated are used as the current nodes to be aggregated for the next feature aggregation, and feature aggregation is performed again until the current feature of the root node in the target tree structure corresponding to the entity is obtained; The current feature of the root node in the target tree structure corresponding to the entity is used as the target feature of the entity; Among them, when each child node directly connected to the current node to be aggregated is a leaf node in the target tree structure corresponding to the entity, the current characteristics of each child node directly connected to the current node to be aggregated are the entity characteristics of each child node directly connected to the current node to be aggregated.

6. The method according to claim 1, characterized in that The step of determining the input features of each entity pair at least according to the target features of the satellite entity in each entity pair and the target features of the satellite event entity in each entity pair specifically includes: For each entity pair, in the knowledge graph, when a satellite entity in the entity pair is connected to a satellite event entity in the entity pair by an edge, determining a first gating weight and a second gating weight through a self-gating layer in a prediction model to be trained according to entity features of the satellite entity in the entity pair and entity features of the satellite event entity in the entity pair; Weighting the entity features of the satellite entity in the entity pair with the first gating weight, weighting the entity features of the satellite event entity in the entity with the second gating weight, and determining the edge features corresponding to the edge between the satellite entity in the entity pair and the satellite event entity in the entity pair according to the weighted entity features of the satellite entity and the weighted entity features of the satellite event entity; The target features of the satellite entity in the entity pair, the target features of the satellite event entity in the entity pair, and the edge features corresponding to the edge between the satellite entity in the entity pair and the satellite event entity in the entity pair are concatenated to obtain the input features of the entity pair.

7. The method according to claim 1, characterized in that The predicted association relationship between the satellite entity and the satellite event entity output by the prediction network is represented by the predicted probability that there is an association relationship between the satellite entity and the satellite event entity; The training of the prediction model to be trained according to the difference between the association relationship between the satellite entity and the satellite event entity in each entity pair in the knowledge graph and the predicted association relationship specifically includes: According to the association relationship between the satellite entity in each entity pair in the knowledge graph and the satellite event entity in the entity pair, each entity pair having an edge between the satellite entity and the satellite event entity is used as each positive sample pair, and each entity pair having no edge between the satellite entity and the satellite event entity is used as each negative sample pair; Determine a loss function according to a first predicted probability of an association relationship between the satellite entity and the satellite event entity in each positive sample pair, and a second predicted probability of an association relationship between the satellite entity and the satellite event entity in each negative sample pair; wherein the loss function is inversely proportional to the first predicted probability, and the loss function is directly proportional to the second predicted probability; The prediction model to be trained is trained with minimization of the loss function as a training objective.

8. The method according to claim 1, characterized in that The prediction model completed through training determines the prediction correlation relationship between the satellite to be predicted and the satellite event to be predicted, specifically including: Acquire attribute information of a satellite to be predicted and attribute information of a satellite event to be predicted, and determine a first node corresponding to the satellite to be predicted and a second node corresponding to the satellite event to be predicted in the knowledge graph according to the attribute information of the satellite to be predicted and the attribute information of the satellite event to be predicted, and establish edges between the first node and other nodes associated with the first node in the knowledge graph, and establish edges between the second node and other nodes associated with the second node; Update the knowledge graph according to the first node, the second node, the edge connected to the first node, and the edge connected to the second node; Extracting a meta-path linking the first node and a meta-path linking the second node from the updated knowledge graph; According to each entity in the meta-path linking the first node, a number of entities having a correlation relationship with the first node and not connected by an edge are determined, and a first hyperedge including the first node is constructed according to the determined number of entities; Determine, according to each entity in the meta-path linking the second node, a number of entities that have a correlation relationship with the second node and are not connected by an edge, and construct a second hyperedge including the second node according to the determined number of entities; Constructing a tree structure with the first node as a root node according to the meta-path linking the first node and the first hyperedge, and determining a target feature of the first node through a feature extraction network in the trained prediction model and the tree structure corresponding to the first node; Constructing a tree structure with the second node as a root node according to the meta-path linking the second node and the second hyperedge, and determining a target feature of the second node through a feature extraction network in the trained prediction model and the tree structure corresponding to the second node; An input feature is determined according to the target feature of the first node and the target feature of the second node, and is input into a prediction network in a trained prediction model to obtain a prediction association relationship between the satellite to be predicted and the real event entity of the satellite to be predicted.

9. An event prediction device based on a knowledge graph of satellite orbit threat domain, characterized in that: include: A knowledge graph construction module is used to obtain a database of satellite orbit threat fields, and to construct a knowledge graph of satellite orbit threat fields with entities stored in the database as nodes and relationships between the entities as edges; wherein the entities include satellites, satellite events, and operating orbits, and the relationships include at least event categories and operating states; A hyperedge construction module is used to extract each meta-path from the knowledge graph, and for each meta-path, according to each entity linked by each edge contained in the meta-path, determine from the meta-paths a meta-path having the same starting entity and / or the same ending entity as the meta-path as a reference meta-path corresponding to the meta-path, and according to each entity linked by each edge contained in the meta-path and each entity linked by each edge contained in the reference meta-path corresponding to the meta-path, determine a plurality of entities having a correlation relationship and not connected by edges, and construct a hyperedge according to the determined plurality of entities; An entity feature determination module, used to determine the entity features corresponding to each entity through a feature extraction network in a prediction model to be trained; A target feature determination module is used to construct a target tree structure with each entity as a root node according to each entity linked to each edge contained in the meta-path to which the edge connected to the entity belongs, and each entity contained in the hyper-edge to which the entity belongs, for each entity, aggregate entity features of each entity contained in the target tree structure corresponding to the entity, and determine the target feature of the entity; A training module, used to form entity pairs according to any satellite entity and any satellite event entity in the entities, determine input features of the entity pairs according to at least target features of the satellite entity in the entity pairs and target features of the satellite event entity in the entity pairs, input the input features of the entity pairs into the prediction network in the prediction model to be trained, obtain the predicted association relationship between the satellite entity and the satellite event entity in the entity pairs, and train the prediction model to be trained according to the difference between the association relationship between the satellite entity and the satellite event entity in the entity pairs in the knowledge graph and the predicted association relationship; The prediction module is used to respond to the prediction request and determine the prediction correlation relationship between the satellite to be predicted and the satellite event to be predicted through the trained prediction model.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of claims 1 to 8 is implemented.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method described in any one of claims 1 to 8 is implemented.