Industrial Internet of Things equipment collaborative management and control system based on data and knowledge driving
By constructing a composite heterogeneous graph neural network of a heterogeneous graph network and analyzing knowledge data correlation, the problem of correlation between equipment and knowledge in the Internet of Things system is solved, and the deep expansion of equipment collaborative management and the reflection of knowledge development are realized.
Patent Information
- Application Number
- CN202410633235.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-05-21
AI Technical Summary
The existing IoT management system fails to effectively associate equipment with knowledge, fails to reflect the learning and development role of knowledge in equipment, and does not propose specific model construction and data mining principles, resulting in a lack of local knowledge generation sources in equipment collaborative management. Synergy and relevance considerations.
Construct a composite heterogeneous graph neural network based on heterogeneous graph networks, study knowledge data association through node, path, and subgraph levels, introduce IoT devices, and realize the interaction between knowledge generation sources, knowledge, and devices across the composite heterogeneous graph. Use the attention mechanism to analyze the degree of correlation and retrieve and update knowledge context.
It realizes the collaborative management of IoT devices, expands from the depth of time, space, and logical relationships, reflects the history and development of knowledge, and enhances the participation of knowledge subjects and the effect of collaborative management.
Smart Images

Figure CN118551801A
Abstract
Description
Technical Field
[0001] The present invention relates to a collaborative management and control system for Internet of Things devices, and in particular to a collaborative management and control system for industrial Internet of Things devices based on data and knowledge drive, and belongs to the field of Internet of Things management. Background Art
[0002] The existing Internet of Things management system generates online evaluation and decision-making through model construction and data mining, thereby realizing the collaborative management of the Internet of Things and equipment. However, it only focuses on the indicators of the equipment and responds to environmental parameters. Its essence is an operation and maintenance system, which cannot reflect the role of knowledge itself in the learning and development of knowledge in the equipment. The learning and development of knowledge, including the progress of research and study, requires the use of equipment knowledge, relevant scientific history and status, knowledge creators, disseminators, and learners as big data. Only from the indicators and environment of the equipment itself, it is only a contribution to the knowledge of equipment use. In addition, the existing technology has not proposed how the specific model is constructed, the principle of data mining of the model, and the decision-making aspect have not been analyzed in detail. Moreover, the collaborative management of equipment only relies on the overall equipment collaboration, and does not consider the local collaboration of the knowledge generation source of the equipment, and the local collaboration based on the correlation, so it cannot reflect the role and changes of the fields where different knowledge generation sources are located in the generation and development of knowledge, and the role of equipment in knowledge.
[0003] Therefore, how to associate devices with knowledge becomes the fundamental problem of the Internet of Things, and the knowledge data in this application is a heterogeneous data, that is, the knowledge data is closely related to its creator, disseminator, learner, and user, forming a complex heterogeneous network. Therefore, the key to solving the fundamental problem is to solve the distribution problem of devices and knowledge in time and space, especially the spatial and temporal distribution problem of the degree of association between knowledge and devices. The heterogeneous graph network is a graph form that is most suitable for heterogeneous data organization. Through the attention mechanism, each node in the graph can be analyzed to study the relationship between them. This expands the Internet of Things in terms of time, space, and the depth of logical relationships, rather than just the problem of device indicators and environmental parameters. With this extension, the problem of device indicators and environmental parameters is only a component of its application, and naturally, device indicators and environmental parameters can also be discovered and monitored through distribution. It is a direction for collaborative management of Internet of Things devices. Summary of the invention
[0004] In view of the above problems in the prior art, the present invention will develop the following two key points around the heterogeneous graph network. First, on the basis of constructing a heterogeneous graph network of knowledge generation sources, knowledge itself and the interactive traversal between them, the device Internet of Things is additionally introduced to construct a device heterogeneous graph network to realize the interactive traversal of the three major knowledge data of knowledge generation sources, knowledge and devices. Second, use points to lead lines, lines to lead surfaces, and use nodes, paths, sub-paths, etc. to realize the interactive traversal of the three major knowledge data of knowledge generation sources, knowledge and devices. Figure 3 The heterogeneous data associations between knowledge data are studied at different levels, so as to realize the collaborative management of IoT devices as a whole and realize the additional collaborative management effects of associating knowledge generation sources and knowledge.
[0005] Based on the considerations of the above solutions, the present invention provides a data- and knowledge-driven collaborative management and control system for industrial IoT devices, including IoT devices;
[0006] A knowledge acquisition module is used to acquire knowledge from a knowledge generation source and record the spatial location and generation time of knowledge generation. The knowledge includes knowledge related to the device, specifically including the name of the device, the knowledge generation source and / or user to which it belongs, the purpose, technical principle, usage record, historical and real-time indicators and environmental parameters related to the device, device management information, as well as scientific and technological resources, social and humanities resources, specifically including literature, pictures, videos, and audio;
[0007] A knowledge parsing module, connected to the knowledge acquisition module, is used to construct a Complex Heterogeneous Graph Neural Networks (CHGNN), and use the knowledge and spatial locations input by the received knowledge generation source to construct a Complex Heterogeneous Graph Neural Networks Based Attention Mechanism (CHGNNBAM), and after the construction is completed, the knowledge context is retrieved again based on the new input (in most cases, the new input is a search operation, that is, the relevant knowledge input is searched for any relevant knowledge information of interest, or there are other purposes of use, learning, and organization), and the analysis result of the attention mechanism is given based on the knowledge context, and CHGNN and CHGNNBAM are updated within a predetermined time period;
[0008] The input module is connected to the computer network and is used to receive the newly input knowledge of the user, and input it into the knowledge analysis module through the computer network. The knowledge is clustered into a preset knowledge field with a field label. When the user newly inputs knowledge, the knowledge field needs to be selected for the knowledge, and the field label of the knowledge is selected.
[0009] The evaluation module is used to conduct a comprehensive analysis of the retrieved knowledge context and the analysis results of the attention mechanism, and give a final evaluation that is suitable for the user's true search intention, and the display module is used to display the analysis results of the knowledge context, the attention mechanism and the comprehensive analysis results and operate the visualized CHGNN; wherein,
[0010] The knowledge generation source periodically inputs the knowledge generated according to the confidentiality classification into the knowledge acquisition module, and transmits it to the knowledge analysis module for the update.
[0011] Optionally, the knowledge generation sources include: administrative departments, enterprises, institutions, companies, school research institutions, social groups and organizations, and individuals.
[0012] It is easy to understand that the purpose includes the knowledge field and equipment functions used by the equipment, the usage records include users, usage periods, historical and real-time indicators and environmental parameters include historical and real-time technical parameters of equipment operation, and physical parameters of the equipment operating environment, equipment management information, including information on equipment purchase, operation and maintenance, update, borrowing, and relocation.
[0013] Optionally, the knowledge acquisition module parses the IP address or obtains the spatial location based on the name and address of the input knowledge generation source. The generation time is obtained by recording the time of receiving the knowledge through the knowledge acquisition module. The knowledge is reviewed manually or by computer to decide whether to adopt the knowledge and record the spatial location and generation time. The operation includes dragging the visualized CHGNN, clicking on it to pop up a dialog box or search bar to search and / or view, modify, delete and / or restore the knowledge.
[0014] The method of constructing a composite heterogeneous graph neural network and using the knowledge and spatial locations input by the received knowledge generation source to construct an attention mechanism based on the composite heterogeneous graph neural network includes:
[0015] S1 establishes a geographical map, marks the spatial locations on the geographical map as nodes of the heterogeneous graph neural network, constructs a heterogeneous graph network G=(V, E) based on real spatial locations, and forms a heterogeneous graph network neural network of real spatial locations, where V is a node set, which can not be dragged and modified once recorded, but can be deleted and restored, and E is a spatial edge set. The spatial edge represents the spatial relationship between different nodes.
[0016] That is, with the help of geographic maps, the spatial location of IoT devices, knowledge, and knowledge generation sources are defined, thus laying the foundation for spatial distribution and providing a big data foundation for the research on knowledge creation, dissemination, learning, and use. However, the existing heterogeneous graph neural network is only a node in logical abstraction, and does not correspond to the actual geographical location of the node. Through the real geographical location, that is, the correspondence of the spatial location, it is possible to carry out collaborative association from the trinity of space, time, and degree of association, so that the mathematical model is clear and the principle is clear. The source of knowledge generation can be either the user or the user, so the system increases the degree of participation of various knowledge subjects in system updates and improvements.
[0017] S2 constructs a knowledge heterogeneous graph network H = (K, F) based on V, where K is a set of knowledge nodes in different knowledge fields and F is a set of knowledge edges. Knowledge edges represent the association between knowledge in different knowledge fields or in the same knowledge field, and constructs an IoT device heterogeneous graph network I = (U, W) based on V, where U is a set of device nodes representing a single device or a set of devices, and W is a set of device edges. Device edges represent the association between devices or sets of devices belonging to the same knowledge field or similar knowledge fields. This creates a data structure foundation for collaborative management between devices or sets of devices owned by any user.
[0018] It is easy to understand that for large equipment, a single device is often represented as a node, such as a set of multi-axis linkage CNC machine tools, a set of electron microscopes, etc. For completing a project, or for a class of problems, the equipment required or related to each other is represented as a node by a set of equipment, such as a set of equipment owned by a research and development department of a unit or a research institute, or a set of all household appliances of a household, a set of chemical vessels and analytical chemistry equipment, etc. The IoT device can also be an intelligent mobile terminal, such as a smart phone, a smart bracelet, a smart watch, etc. These terminals move or remain stationary in real time at G = (V, E), and a set U of nodes of the heterogeneous graph network I = (U, W) of the IoT device on V is generated. For smart phones, it is generally the geographical or administrative area bound to the SIM card, or it can be the real-time geographical location of the holder or owner disclosed online. At this time, G = (V, E) is the reversible motion trajectory of the holder or owner of the smart phone. Therefore, V in the present invention is not necessarily a fixed spatial location, but can also be a node containing changing motion. Accordingly, when I=(U, W) is visualized, it presents visualized motion or stillness on G=(V, E).
[0019] S3 constructs the meta-path I in G = (V, E), H = (K, F), and I = (U, W): Meta Path II: Meta Path III: Traversing Metapath IV: And define the neighbors of the meta-path, that is, for any node N∈V,K,U, all nodes connected to N through the meta-path are neighbors, where A p ∈V,B q ∈K,J d ∈U,T z ∈V,K,U,p,q,d,z∈N,N is a natural number, and p∈[1,m+1],q∈[1,n+1],d∈[1,w+1],z∈[1,t+1],R1,R2,…,R m is the spatial relationship of the nodes, each of which is a double-arrow vector representing the adjacent nodes in the meta-path I on the geographic map; C1, C2, ..., C n is the relationship between knowledge, each of which is a double arrow representing the adjacent nodes in the meta-path II in the knowledge field of scientific and technological resources and social and humanities resources (indicating that the knowledge fields are mutually related), M1, M2, …, M w is the association between IoT devices, each of which is a double arrow representing the adjacent nodes in the meta-path III in the device-related knowledge domain (indicating that the knowledge domains to which the devices belong are related to each other);
[0020] For the traversal path IV neighbors, define the traversal neighbors. Select the focus node T1∈V, or T1∈K, or T1∈U in one of G=(V,E), H=(K,F), and I=(U,W), and t∈N. Let r∈N, r∈[2,t+1] and the range of r is less than or equal to t and greater than 0. Let T r ∈T2,…,T t+1 ,T r ∈V, then in, is the complement of the range of r, D1, D2, ..., D t To focus on the traversal relationship between the node and the traversal neighbor and between the traversal neighbors (local traversal and remote traversal), it is expressed as T r and The double arrows between form a crossing edge, where and The value range of s∈r, then is the complement of the value range of s. In this case, the traversing metapath IV is called a full traversing metapath, and the non-full traversing metapath is called a partial traversing metapath. That is, the nodes in the full traversing metapath are distributed in all three heterogeneous graph networks; the nodes in the partial traversing metapath are partially in any two of the three heterogeneous graph networks.
[0021] For equipment I = (U, W), its neighbors can be divided according to the property rights and usage attributes of the equipment and the knowledge generation source, and the relationship between the partners. For the traversal path containing I = (U, W), it reflects the relationship between the equipment itself and the knowledge and spatial location.
[0022] S4 first establishes attention mechanisms in G, H, and I according to meta-path I, meta-path II, and meta-path III respectively, first constructing the node attention mechanism, then the semantic attention mechanism, and finally the subgraph attention mechanism.
[0023] Secondly, based on the traversing meta-path IV, a traversing attention mechanism is established between G, H, and I. First, one of G=(V, E), H=(K, F), and I=(U, W) is selected to select the focus node. According to the traversing meta-path, the node attention mechanism is first constructed, then the semantic attention mechanism is constructed, and finally the subgraph attention mechanism is constructed. Then, the nodes of each of the remaining two of G=(V, E), H=(K, F), and I=(U, W) are selected in turn as the focus nodes. Again, according to the traversing meta-path, the node attention mechanism is first constructed, and then the semantic attention mechanism is constructed. Finally, the CHGNNBAM is obtained, where the number of nodes in meta-path I, meta-path II, meta-path III, and traversing meta-path IV can be adjusted between 3 and 20.
[0024] Optionally, the node attention mechanism construction method is as follows:
[0025] S4-1 For the node pair (i, j) connected by meta-path I, meta-path II, meta-path III, and traversal path IV, four types of node attention are constructed for L∈meta-path I, meta-path II, meta-path III, and traversal path IV. Att Node∈G (·), Att Node∈H (·), Att Node∈I (·), Att Node∈III (·) are four types of node attention deep neural networks, g i ,g j ∈V,h i ,h j ∈K,u i ,u j ∈U,T III ,t j ∈V,K,U are the representations of nodes i and j when L∈ meta-path I, meta-path II, meta-path III, and L∈ crosses path IV, respectively. IIIFor node i to be selected as the focus node T1, S4-2 calculates the attention of all neighbors j of node i based on meta-path L. The following formula (2) obtains the unified expression of the normalized coefficients of the attention of the four types of nodes in formula (1): || is the concatenation operator, is the node attention vector of meta-path L. The superscript T indicates transposition, N iL is the number of neighbor nodes of node i, LeakyReLU[·] is the activation function, L i and L j They are the unified expression of node i and j’s attention in four types of nodes, and the unified representation,
[0026] S4-3 Unified representation of features of computing node i based on four types of meta-paths L Finally, the attention mechanism is repeated K times to obtain Indicates that the attention mechanism is repeated K times for splicing;
[0027] The semantic attention mechanism is constructed as follows:
[0028] S4-4 Calculate the weights of four types of meta-paths Where || represents the modulus of the corresponding node set. In the fourth formula, K, V, and U are determined according to the specific node set to which the selected attention node belongs (if the node belongs to any two or more of the three, it includes the modulus of the union of the nodes). The q with subscripts and the w and b with subscripts are the attention vector, weight, and bias representation of the corresponding semantics, respectively.
[0029] S4-5 For the subgraphs corresponding to K, V, and U, the attention of node i based on each meta-path L is calculated, and the following formula (5) obtains the unified expression of the normalization coefficients of the four types of semantic attention: Where W L is the unified expression of formula (4),
[0030] S4-6 Constructing four types of meta-path attention β L∈子图 =Att L∈子图 (Z L∈子图 ) (6), which means that for any path L∈ subgraph, the meta-path attention is represented by Z under the corresponding path L∈子图 Deep neural network Att via semantic attention L∈子图 (·) is learned, then the features of the semantic attention mechanism are uniformly expressed as Z 子图 =∑ L∈子图 β L∈子图 ·Z L∈子图 (7);
[0031] The subgraph attention mechanism is constructed as follows:
[0032] S4-7 is the same as the node attention mechanism and the semantic attention mechanism. For each subgraph corresponding to the knowledge domain to which the knowledge input by the knowledge generation source belongs (that is, the subgraph set composed of nodes in each domain), constructing the subgraph attention mechanism involves the following corresponding formulas (8)-(11):
[0033] is the subgraph association degree, is a deep neural network for subgraph attention,
[0034] W 子图 is the subgraph weight, with superscripts and subscripts w 子图 、b 子图 are the corresponding sub-graph attention vector, weight, and bias representation, respectively.
[0035]
[0036] Unified representation for subgraph attention mechanism.
[0037] It can be seen that for the subgraph When the equal sign is obtained, it corresponds to the overall equipment collaborative management based on the whole map. When it corresponds to local collaborative management, the meta-path and sub-graph can be constructed through four types of meta-paths, so as to obtain the importance and relevance of the prediction in the local sub-graph through the corresponding attention mechanism, so as to know the importance or relevance of each node in the neighbor, meta-path, and sub-graph, that is, the status. In this way, the source of knowledge, the knowledge itself, and the related IoT devices are completely included in a composite heterogeneous graph network for collaborative management.
[0038] It should be noted that Z L∈子图 The solution is obtained through the corresponding degree of association and attention mechanism, and the optimized network parameters are obtained through training through the following steps.
[0039] Substitute Z into Att Node∈G (·), Att Node∈H (·), Att Node∈I (·), Att Node∈III (·), Att L∈子图 (·), Any one or a combination of them, i.e., multi-layer sensing mechanism, The cross entropy loss L=-∑ is calculated in α+β+γ+δ+ε+φ=1, α, β, γ, δ<ε<φ, α, β, γ, δ, ε, φ∈R (R is a real number)l∈v Y l ln(C·Z l ), where l represents the number of the domain label, v is the domain label set, and Y l is the domain label numbered l, C is the node classifier parameter, By training each attention deep neural network until the cross entropy loss stabilizes and minimizes, CHGNNBAM is obtained.
[0040] Since Z belongs to the subgraph attention mechanism representation, it contains the components of the semantic (fifth item) and node (first four items) attention mechanisms below it, or in other words, it comes from the semantic and node attention mechanisms. Therefore, there may be a certain degree of deviation when different attention mechanisms are substituted. Therefore, there is an adjustment of the combination coefficient. When only one of the attention mechanisms is substituted, although it does not hinder training, it will deviate from the attention mechanism trained by the representation of the better corresponding level. Therefore, different combinations are selected according to different accuracy requirements, that is, the adjustment of the combination coefficient. Generally speaking, α, β, γ, δ<ε<φ. Each item of the combined attention mechanism represents the prediction result of the degree of synergy correlation of the attention mechanism at the corresponding level. More specific meta-path and sub-graph selection result in different combination coefficient values. For example, when the meta-path does not include the crossing path, γ=0, and when the meta-path selection only includes the meta-path I in G, β=γ=δ=0.
[0041] The training methods include:
[0042] S4-8 The knowledge generation source inputs the knowledge generated according to the classification into the input module regularly through the computer network, and the input module transmits the knowledge to the knowledge acquisition module to record the spatial location and generation time of the knowledge generation;
[0043] S4-9 The knowledge parsing module obtains the trained attention mechanisms of the four types of meta-paths in G, H, I and between G, H, and I through step S4, receives the input knowledge and the generated spatial locations, divides them into a training set and a validation set, and the ratio of the two is 8-3:3-1. The training set is processed to form a node representation, and a domain label is formed according to the knowledge domain input by the knowledge generation source, and the number of meta-path nodes is defined. All corresponding meta-paths of the corresponding nodes of the knowledge are obtained, and the corresponding normalization coefficients are predicted according to formulas (1)-(3) and According to formulas (4)-(7), the corresponding normalization coefficient β is obtained L∈子图 and Z 子图 , and according to formulas (8)-(11), the corresponding subgraph association degree, that is, the normalization coefficient and Z, and the cross entropy loss values are calculated respectively,
[0044] S4-10 back-propagates the cross entropy loss value to optimize the parameters of each deep neural network, uses the verification set to verify the accuracy, and repeats steps S4-7-S4-9 to optimize the network parameters and verify the accuracy.
[0045] The method of retrieving the knowledge context based on the newly input knowledge and providing the analysis result of the attention mechanism based on the knowledge context is as follows:
[0046] S5 inputs the knowledge into the trained CHGNNBAM to obtain the predicted knowledge domain.
[0047] S6 draws the knowledge context in the predicted knowledge domain according to the corresponding spatial location and generation time of the knowledge, and retrieves the drawn knowledge context.
[0048] S7: marking nodes and / or subgraphs corresponding to the new input knowledge in the drawn knowledge context.
[0049] Among them, the predicted knowledge domain described in S5 is specifically based on the knowledge domain to which the domain label that may be involved is represented by the largest normalized coefficient under each domain label. The drawing method in S6 is to select all nodes and / or subgraphs belonging to the predicted knowledge domain in the geographic map, H, and I, and in the predicted knowledge domain, sort them according to the chronological order of knowledge generation to form a historical context his. The marking in S7 is marked in the geographic map and the visualized H and I.
[0050] Optionally, a knowledge context corresponding to at least one other field among the fields whose normalization coefficients under each field label are not the largest is selected for drawing, and the visualization is to display the nodes belonging to V on the corresponding geographical map.
[0051] Optionally, the comprehensive analysis includes statistically analyzing at least one of the following types of distributions: a first distribution on the geographic map, namely, a G distribution, in the predicted knowledge field corresponding to the knowledge and the at least one other field;
[0052] The second distribution in the visualized H, the H distribution,
[0053] The third distribution in the visualized I, the I distribution,
[0054] The distribution of crossings between G, H, and I, i.e., the GHI distribution, and
[0055] According to the user's knowledge generation source, display the knowledge field involved in the knowledge generation source corresponding to at least one of the G distribution, H distribution, I distribution, and GHI distribution on the geographic map, and,
[0056] Statistically analyzing the historical context his in each selected distribution, that is, the historical context his of knowledge in the nodes belonging to V, K, and U in each selected distribution, the final evaluation adapted to the true meaning of the user's search includes comparing the predicted knowledge field with the field label corresponding to the at least one other field and the field label of the user input knowledge, and taking the comparison result as the final evaluation.
[0057] It is easy to understand that the knowledge domain can be artificially divided into closeness in advance, so as to judge the result of the comparison according to the closeness, whether it is a complete match, a partial match, or a complete mismatch, etc. The final evaluation can also be used to judge whether the user has a misunderstanding of the field he is concerned about, whether the field he is engaged in can be borrowed from other fields, so as to inspire the inspiration of the innovation subject.
[0058] Beneficial Effects
[0059] By constructing a composite heterogeneous graph network based on real space locations G=(V,E), a knowledge heterogeneous graph network based on V H=(K,F), and an IoT device heterogeneous graph network based on V I=(U,W), an attention mechanism represented by a deep neural network model is established, and a collaborative management system for IoT devices is implemented based on the composite heterogeneous graph neural network. It is a collaborative management of all knowledge from the whole to the part, from geographic space locations to equipment and natural and social sciences, allowing various knowledge subjects to participate in the collaborative management of IoT devices, expanding the IoT from the depth of time, space, and logical relationships, thereby reflecting the history and development of knowledge. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 Configuration diagram of industrial IoT equipment collaborative management and control system based on data and knowledge drive;
[0061] Figure 2 Schematic visualization of the subgraphs G = (V, E) and I = (U, W), where the north direction is given;
[0062] Figure 3 G=(V,E), I=(U,W), H=(K,F) sub-graph visualization diagram, where the north direction is given;
[0063] Figure 4 a- Figure 4 e is a schematic diagram of the corresponding node i and its neighbors for inputting new knowledge in the five-category meta-path III. Figure 4 f Schematic diagram of j2 and its neighbors when j2 is the corresponding node for inputting new knowledge;
[0064] Figure 5 A simplified flow chart of methods S1-S3 for constructing CHGNNBAM;
[0065] Figure 6 A simplified diagram of the node attention mechanism construction method flow;
[0066] Figure 7 A simplified diagram of the construction process of the semantic attention mechanism and subgraph attention mechanism;
[0067] Figure 8 A flowchart of a specific method for retrieving a knowledge context based on newly input knowledge and providing an analysis result of an attention mechanism based on the knowledge context;
[0068] Fig. 9 Flowchart of methods for various statistical distributions, historical contexts, and final evaluations adapted to the true meaning of the user's search. DETAILED DESCRIPTION
[0069] Figure 1 As shown, a configuration diagram of the collaborative management and control system of industrial IoT devices driven by data and knowledge is given, including IoT devices with black rounded corners in a gray background and a knowledge acquisition module, which is used to acquire knowledge from the knowledge generation source and record the spatial location (indicated by the blue arrow) and generation time (indicated by the red arrow) of knowledge generation. The two-way single-sided green arrows between the knowledge generation source and the user and the IoT device indicate the ownership relationship. The knowledge includes the name of the device, the knowledge generation source and user to which it belongs, the purpose related to the device, the technical principle, the usage record, the historical and real-time indicators and environmental parameters, the equipment management information, as well as the scientific and technological resources, the social and humanities resources, including literature, pictures, videos and audio.
[0070] It also includes a knowledge parsing module based on a composite heterogeneous graph neural network attention mechanism (CHGNNBAM) represented by a black rounded box with a gray background, which is connected to the knowledge acquisition module and is used to construct a composite heterogeneous graph neural network CHGNNB (indicated by a black arrow), and construct CHGNNBAM based on the knowledge (indicated by a purple arrow) and spatial location (indicated by a blue single-line arrow) input by the received knowledge generation source by the CHGNNB, and after the construction is completed, the knowledge context is retrieved again based on the knowledge newly input by the user (indicated by a purple one-way arrow) (indicated by a lake blue single-line arrow), and the analysis result of CHGNNBAM is given based on the knowledge context (indicated by a red arrow), and CHGNNB and CHGNNBAM are updated within a predetermined time period (not shown in the figure).
[0071] The input module represented by the black gray box with rounded corners is connected to the computer network (indicated by the lake blue line segment) to receive new knowledge input by the user (indicated by the purple one-way arrow) and input it into the knowledge parsing module through the computer network (indicated by the lake blue arrow).
[0072] The evaluation module represented by the black gray box with rounded corners is used to conduct a comprehensive analysis of the retrieved knowledge context and the analysis results of the attention mechanism, and give a final evaluation (indicated by the black arrow) that is suitable for the user's true search meaning. The display module represented by the black gray box with rounded corners is used to display the analysis results of the knowledge context and the attention mechanism (indicated by the black line arrow) and the results of the comprehensive analysis and final evaluation (indicated by the black arrow) and to display and operate the visualized CHGNN.
[0073] The knowledge generation source inputs the knowledge generated according to the classification of confidentiality into the knowledge acquisition module regularly (1-3 years), and transmits the knowledge analysis module for the update ( Figure 1 not shown).
[0074] Next, we will Figure 1 The methods for implementing the three types of functions represented by the red, blue and green dotted rectangular boxes are described.
[0075] First, if Figure 2-Figure 4 As shown, the method of constructing CHGNN and constructing CHGNNBAM based on the knowledge and spatial location input by the heterogeneous graph neural network to receive the knowledge generation source includes:
[0076] like Figure 2 As shown, S1 establishes a geographical map, marks the spatial locations AH, J, K, M on the geographical map as nodes of a heterogeneous graph neural network, and constructs a heterogeneous graph network G = (V, E) based on real spatial locations, and Figure 2 The figure shows an example of a subgraph consisting of nodes AD and M in G = (V, E), forming a heterogeneous graph network neural network of a real space location, where V is a node set and E is a spatial edge set.
[0077] At the same time Figure 3 G=(V,E) constructed from the geographical map of V, and then step S2 is performed to construct a knowledge heterogeneous graph network H=(K,F) based on V. Figure 2 The corresponding exemplary display part H = (K, F) subgraph, K is the knowledge node set of different knowledge fields, and F is the knowledge edge set. These H = (K, F) subgraphs are composed of Figure 3 As shown, nodes A and B are used as an example (for other Figure 2The corresponding two black nodes i'∈K and their surroundings are represented by concentric lake blue and grass green dotted circles of different radii, with different degrees of proximity to them. These neighbors of different distances represent knowledge clusters of different degrees of proximity in different fields (based on multi-level subject classification and its branches, or patent IPC or CPC classification as the division standard), specifically, knowledge clusters represented by scientific and technological resources and social humanities resources. Thus, the H=(K,F) subgraph is visualized, and the full graph H=(K,F) can be visualized in the same way. It can be seen that the abstract knowledge heterogeneous graph structure is visualized as concentric circles.
[0078] like Figure 2 and 3 As shown, for the visualization of the heterogeneous graph network I = (U, W) of IoT devices, concentric circles of different radii are also used, and they are represented near nodes AH, J, K, and M. They can be displayed in the display module and the user can drag and click the nodes on them with the mouse to pop up a dialog box for search, viewing, and modification. These operations can also be performed on the H = (K, F) graph, but once the nodes AH, J, K, and M are recorded, they do not need to be dragged or modified. Figure 4 As shown in a-4d, the neighbors j1-j5 of i with different distances in I=(U,W) are represented by multiple concentric circles of different colors (black, purple) with 5 red nodes i as the center. The neighbors j1, j2, j3 (black) on the black dotted circle are in the same field and are the closest neighbors to i, and the neighbors j4, j5 (purple) on the purple dotted circle are in the same field and are the second closest neighbors to i. Similarly, Figure 3 Although not shown in the figure, the different lake blue and grass green dashed circles in the H = (K, F) subgraph have multiple other neighbors of i' (if they exist on the meta-path II).
[0079] like Figure 4 As shown in e, there are other lesser neighbors on other concentric circles, as well as other neighbors on black and purple dotted circles (as long as they are on the set meta-path III), which are omitted by three black and red dots respectively. Figure 4 f, if the new knowledge input by the user belongs to j2, then i, j1, and j3 are the nearest neighbor, the next nearest neighbor, and the next nearest neighbor respectively. Figure 3 In the H=(K,F) subgraph in , the input new knowledge can also belong to other nodes other than i', then the visualization effect of the lake blue and grass green dotted circles will change, as shown in Figure 4 f and Figure 4 a- Figure 4 Changes between e. Figure 2 and Figure 3 In the G=(V,E) subgraph, near nodes AD and M, they are Figure 4A subgraph of I(U,W) represented by the five-class meta-path composed of the five i nodes and their neighbors in a-4e ( Figure 4 The meta-path edges are not shown in e), that is, Figure 4 The double-sided double arrows in a-4d represent the metapath III (the same below): as well as The order of the single arrows of each node corresponds to the defined meta-path III: In the node, for example Here, i corresponds to J1, and so on for the corresponding relationships of nodes in other defined meta-path types.
[0080] In the following S3, four types of meta-paths are defined based on G = (V, E), H = (K, F), and I = (U, W). Figure 2 As shown, the meta-path I consisting of nodes AD and M is given: The foregoing Figure 3 There are two types of meta-paths II (starting from i'), Figure 4 a-4e five-category metapath III, and Figure 3 Two types of traversal meta-paths are defined in IV: (two purple lines), (a lake blue line), and define the neighbors of each type of meta-path. Two types of traversal paths are full traversal paths, with focus nodes B and A respectively. Then the local traversal path is as well as The purple ones are all local crossings, while the lake blue ones For local crossing, and the lake blue To travel to a different place.
[0081] For example, if the detection devices i of different signals in locations B and A have different precisions, in order to obtain better detection results, it is possible to generate a cross-regional crossing of i', that is, for example, the node i' representing scientific and technological data is successively connected to the devices i in the two locations (i.e., the purple crossing path and lake blue crossing path ) conducted a detection experiment (as reflected in the published journal literature or other literature represented by experimental records). The use information of the equipment is generated, and the network is updated. If it is found that most of the users on other G=(V,E) nodes run to the device with higher accuracy among B and A to use the equipment, it means that the detection results of the knowledge field in the H=(K,F) subgraph are more advanced, which is what everyone expects. Objectively, it shows that there are new high requirements for the accuracy of the detection results, showing the development of knowledge. Therefore, for any crossing path that passes through a place with high equipment accuracy, the attention mechanism in the following text will predict that its correlation with other crossing paths that run to places with high accuracy is higher than that of other crossing meta-paths that run to places with low equipment accuracy. Therefore, it can be judged that any crossing path that passes through a place with high equipment accuracy belongs to the knowledge field and the related knowledge evaluation, that is, the statistical distribution will be denser. Figure 5 An outline of the steps S1-S3 is given.
[0082] Then proceed to S4. First, establish the attention mechanism in G and H according to meta-path I and meta-path II respectively. First, build the node attention mechanism, then build the semantic attention mechanism, and finally build the subgraph attention mechanism.
[0083] Secondly, based on the traversal meta-path IV, a traversal attention mechanism is established between G, H, and I. First, one of G=(V, E), H=(K, F), and I=(U, W) is selected to select the focus node. According to the traversal meta-path, the node attention mechanism is first constructed, then the semantic attention mechanism is constructed, and finally the subgraph attention mechanism is constructed. Then, the nodes of each of the remaining two of G=(V, E), H=(K, F), and I=(U, W) are selected in turn as the focus nodes. Again, according to the traversal meta-path, the node attention mechanism is first constructed, and then the semantic attention mechanism is constructed, and finally the CHGNNBAM is obtained.
[0084] like Figure 6 As shown, Figure 1 The node attention mechanism construction method represented in the red dashed rectangle is as follows:
[0085] S4-1 For the node pair (i, j) connected by meta-path I, meta-path II, meta-path III, and traversal path IV, four types of node attention are constructed for L∈meta-path I, meta-path II, meta-path III, and traversal path IV. Att Node∈G (·), Att Node∈H (·), Att Node∈I (·), Att Node∈III (·) are four types of node attention deep neural networks, g i ,gj ∈V,h i ,h j ∈K,u i ,u j ∈U,T III ,t j ∈V,K,U are the representations of nodes i and j when L∈ meta-path I, meta-path II, meta-path III, and L∈ crosses path IV, respectively. III For node i to be selected as the focus node T1, S4-2 calculates the attention of all neighbors j of node i based on meta-path L. The following formula (2) obtains the unified expression of the normalized coefficients of the attention of the four types of nodes in formula (1): || is the concatenation operator, is the node attention vector of meta-path L. The superscript T indicates transposition, N iL is the number of neighbor nodes of node i, LeakyReLU[·] is the activation function, L i and L j They are the unified expression of node i and j’s attention in four types of nodes, and the unified representation,
[0086] S4-3 Unified representation of features of computing node i based on four types of meta-paths L Finally, the attention mechanism is repeated K times to obtain Indicates that the attention mechanism is repeated K times for splicing.
[0087] like Figure 7 As shown, Figure 1 The construction method of the semantic attention mechanism represented by the red dashed rectangle is as follows:
[0088] S4-4 Calculate the weights of four types of meta-paths Where || represents the modulus of the corresponding node set. In the fourth formula, K, V, and U are determined according to the specific node set to which the selected attention node belongs. The q with subscripts and the w and b with subscripts are the corresponding semantic attention vectors, weights, and bias representations, respectively. S4-5 For the K, V, and U corresponding subgraphs, the attention of node i based on each meta-path L is calculated. The following formula (5) obtains the unified expression of the normalization coefficients of the four types of semantic attention: Where W L is the unified expression of formula (4),
[0089] S4-6 Constructing four types of meta-path attention β L∈子图 =Att L∈子图 (Z L∈子图 ) (6), which means that for any path L∈ subgraph, the meta-path attention is represented by Z under the corresponding path L∈子图Deep neural network Att via semantic attention L∈子图 (·) is learned, then the features of the semantic attention mechanism are uniformly expressed as Z 子图 =∑ L∈子图 β L∈子图 ·Z L∈子图 (7);
[0090] The subgraph attention mechanism construction method is as follows:
[0091] S4-7 is the same as the node attention mechanism and the semantic attention mechanism. For each subgraph corresponding to the knowledge domain to which the knowledge input by the knowledge generation source belongs (that is, the subgraph set composed of nodes in each domain), constructing the subgraph attention mechanism involves the following corresponding formulas (8)-(11):
[0092] is the subgraph association degree, is a deep neural network for subgraph attention,
[0093] W 子图 is the subgraph weight, with superscripts and subscripts w 子图 、b 子图 are the corresponding sub-graph attention vector, weight, and bias representation, respectively.
[0094]
[0095] Unified representation for subgraph attention mechanism.
[0096] Substituting Z into the combined network, i.e. the multi-layer induction mechanism, The cross entropy loss is calculated in L = -∑ l∈v Y l ln(C·Z l ), where l represents the number of the domain label, v is the domain label set, and Y l is the domain label numbered l, C is the node classifier parameter, | op In order to select within the previous numerical range, each attention deep neural network is trained until the cross entropy loss stabilizes and minimizes, and CHGNNBAM is obtained.
[0097] The training methods include:
[0098] S4-8 The knowledge generation source inputs the knowledge generated according to the classification into the input module regularly through the computer network, and the input module transmits the knowledge to the knowledge acquisition module to record the spatial location and generation time of the knowledge generation;
[0099] S4-9 The knowledge parsing module obtains the trained attention mechanisms of the four types of meta-paths in G, H, I and between G, H, and I through step S4, receives the input knowledge and the generated spatial locations, divides them into a training set and a validation set, and the ratio of the two is 4:1. The training set is processed to form a node representation, and a domain label is formed according to the knowledge domain input by the knowledge generation source, and the number of meta-path nodes is defined. All corresponding meta-paths of the corresponding nodes of the knowledge are obtained, and the corresponding normalization coefficients are predicted according to formulas (1)-(3) and According to formulas (4)-(7), the corresponding normalization coefficient β is obtained L∈子图 and Z 子图 , and according to formulas (8)-(11), the corresponding subgraph association degree, that is, the normalization coefficient and Z, and the cross entropy loss values are calculated respectively,
[0100] S4-10 back-propagates the cross entropy loss value to optimize the parameters of each deep neural network, uses the verification set to verify the accuracy, and repeats steps S4-7-S4-9 to optimize the network parameters and verify the accuracy.
[0101] like Figure 8 As shown, Figure 1 The blue dotted rectangle box represents the retrieval of the knowledge context based on the newly input knowledge and the analysis result of the attention mechanism based on the knowledge context. The specific method is:
[0102] S5 inputs the knowledge into the trained CHGNNBAM to obtain the predicted knowledge domain.
[0103] S6 draws the knowledge context in the predicted knowledge domain according to the corresponding spatial location and generation time of the knowledge, and retrieves the drawn knowledge context.
[0104] S7: marking nodes and subgraphs corresponding to the new input knowledge in the drawn knowledge context.
[0105] The predicted knowledge domain described in S5 is specifically based on the knowledge domain to which the largest normalized coefficient under each domain label represents the domain to which the domain label may be involved. The method of drawing in S6 is to select all nodes and subgraphs belonging to the predicted knowledge domain in the geographic map, H, and I, and in the predicted knowledge domain, according to Figure 1 The chronological order of knowledge generation forms a historical context. S7 indicates that Figure 3 Geographic maps are shown and visualized in H and I.
[0106] like Fig. 9As shown, in the predicted knowledge field corresponding to the knowledge and at least one other field, the G distribution, H distribution, I distribution, and GHI are statistically analyzed on the geographic map; then, according to the knowledge generation source to which the user belongs, the G distribution, H distribution, I distribution, and GHI corresponding to the knowledge field involved in the knowledge generation source are displayed on the geographic map, and the historical context of each type of distribution selected is statistically analyzed; finally, the field labels corresponding to the predicted knowledge field and the at least one other field are compared with the field labels of the user-input knowledge, and the comparison results are used as the final evaluation. Figure 1-Figure 3 The distribution of G in some of the geographical maps is given in Figure 2 and 3 Part of the H distribution, I distribution, and GHI distribution is given in .
[0107] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. The collaborative management and control system of industrial IoT equipment driven by data and knowledge is characterized by: Including IoT devices, The knowledge acquisition module is used to acquire knowledge from the knowledge generation source and record the spatial location and generation time of the knowledge generation. The knowledge includes the knowledge related to the device, specifically including the name of the device, the knowledge generation source and / or user to which it belongs, the purpose, technical principle, usage record, historical and real-time indicators and environmental parameters related to the device, device management information, as well as scientific and technological resources, social and humanities resources, specifically including literature, pictures, videos, and audio. The knowledge parsing module is connected to the knowledge acquisition module and is used to construct a composite heterogeneous graph neural network (CHGNN), and use the knowledge and spatial locations input by the received knowledge generation source to construct an attention mechanism based on the composite heterogeneous graph neural network (CHGNNBAM). After the construction is completed, the knowledge context is retrieved again based on the newly input knowledge, and the analysis result of the attention mechanism is given based on the knowledge context, and the CHGNN and CHGNNBAM are updated within a predetermined time period. The input module is connected to the computer network and is used to receive the newly input knowledge of the user, and input it into the knowledge analysis module through the computer network. The knowledge is clustered into a preset knowledge field with a field label. When the user newly inputs knowledge, the knowledge field needs to be selected for the knowledge, and the field label of the knowledge is selected. The evaluation module is used to conduct a comprehensive analysis of the retrieved knowledge context and the analysis results of the attention mechanism, and give a final evaluation that is suitable for the user's true search meaning, and The display module is used to display the analysis results of the knowledge context, attention mechanism and comprehensive analysis and to operate the visualized CHGNN. The knowledge generation source periodically inputs the knowledge generated according to the confidentiality classification into the knowledge acquisition module, and transmits it to the knowledge analysis module for the update.
2. The system according to claim 1, characterized in that The sources of knowledge generation include: administrative departments, enterprises, institutions, companies, school research institutions, social groups and organizations, and individuals.
3. The system according to claim 1 or 2, characterized in that: The knowledge acquisition module parses the IP address or obtains the spatial location based on the name and address of the input knowledge generation source. The generation time is obtained by recording the time of receiving the knowledge through the knowledge acquisition module. The knowledge is reviewed manually or by computer to decide whether to adopt the knowledge and record the spatial location and generation time. The operation includes dragging the visualized CHGNN, clicking on it to pop up a dialog box or search bar to search and / or view, modify, delete and / or restore the knowledge.
4. The system according to claim 3, characterized in that The method of constructing a composite heterogeneous graph neural network and using the knowledge and spatial locations input by the received knowledge generation source to construct an attention mechanism based on the composite heterogeneous graph neural network includes: S1 establishes a geographical map, marks the spatial locations on the geographical map as nodes of the heterogeneous graph neural network, constructs a heterogeneous graph network G=(V, E) based on the real spatial locations, and forms a heterogeneous graph network neural network of the real spatial locations, wherein V is a node set, which can not be dragged and modified once recorded, but can be deleted and restored, and E is a spatial edge set; S2 constructs a knowledge heterogeneous graph network H = (K, F) based on V, where K is a set of knowledge nodes in different knowledge fields and F is a set of knowledge edges, and constructs an IoT device heterogeneous graph network I = (U, W) based on V, where U is a set of device nodes representing a single device or a set of devices, and W is a set of device edges; S3 constructs the meta-path I in G = (V, E), H = (K, F), and I = (U, W): Meta Path II: Meta Path III: Traversing Metapath IV: And define the neighbors of the meta-path, that is, for any node N∈V,K,U, all nodes connected to N through the meta-path are neighbors, where A p ∈V,B q ∈K,J d ∈U,T z ∈V,K,U,p,q,d,z∈N,N is a natural number, and p∈[1,m+1],q∈[1,n+1],d∈[1,w+1],z∈[1,t+1],R1,R2,…,R m is the spatial relationship of the nodes, each of which is a double-arrow vector representing the adjacent nodes in the meta-path I on the geographic map; C1, C2, ..., C n is the relationship between knowledge, each of which is a double arrow representing the adjacent nodes in the meta-path II in the knowledge field of scientific and technological resources and social and humanities resources, M1, M2, ..., M w is the association between IoT devices, each of which is a double arrow representing the adjacent nodes in the meta-path III in the device-related knowledge domain; For the traversal path IV neighbors, define the traversal neighbors. Select the focus node T1∈V, or T1∈K, or T1∈U in one of G=(V,E), H=(K,F), and I=(U,W), and t∈N. Let r∈N, r∈[2,t+1] and the range of r is less than or equal to t and greater than 0. Let T r ∈T2,…,T t+1 ,T r ∈V, then in, is the complement of the range of r, D1, D2, ..., D t The traversal relationship between the attention node and the traversal neighbor and between the traversal neighbors is expressed as T r and The double arrows between form a crossing edge, where and The value range of s∈r, then is the complement of the value range of s. At this time, the traversing meta-path IV is called the full-traversing meta-path, and the non-full-traversing meta-path is called the partial-traversing meta-path. S4 first establishes attention mechanisms in G, H, and I according to meta-path I, meta-path II, and meta-path III respectively, first constructing the node attention mechanism, then constructing the semantic attention mechanism, and finally constructing the subgraph attention mechanism. Secondly, based on the traversing meta-path IV, a traversing attention mechanism is established between G, H, and I. First, one of G=(V, E), H=(K, F), and I=(U, W) is selected to select the focus node. According to the traversing meta-path, the node attention mechanism is first constructed, then the semantic attention mechanism is constructed, and finally the subgraph attention mechanism is constructed. Then, the nodes of each of the remaining two of G=(V, E), H=(K, F), and I=(U, W) are selected in turn as the focus nodes. Again, according to the traversing meta-path, the node attention mechanism is first constructed, and then the semantic attention mechanism is constructed. Finally, the CHGNNBAM is obtained, where the number of nodes in meta-path I, meta-path II, meta-path III, and traversing meta-path IV can be adjusted between 3 and 20.
5. The system according to claim 4, characterized in that The node attention mechanism construction method is as follows: S4-1 For the node pair (i, j) connected by meta-path I, meta-path II, meta-path III, and traversal path IV, four types of node attention are constructed for L∈meta-path I, meta-path II, meta-path III, and traversal path IV. Att Node∈G (·), Att Node∈H (·), Att Node∈I (·), Att Node∈III (·) are four types of node attention deep neural networks, g i ,g j ∈V,h i ,h j ∈K,u i ,u j ∈U,T III ,t j ∈V,K,U are the representations of nodes i and j when L∈ meta-path I, meta-path II, meta-path III, and L∈ crosses path IV, respectively. III For node i to be selected as the focus node T1, S4-2 calculates the attention of all neighbors j of node i based on meta-path L. The following formula (2) obtains the unified expression of the normalized coefficients of the attention of the four types of nodes in formula (1): (2), || is the concatenation operator, is the node attention vector of meta-path L. The superscript T indicates transposition, N iL is the number of neighbor nodes of node i, LeakyReLU[·] is the activation function, L i and L j They are the unified expression of node i and j’s attention in four types of nodes, and the unified representation, S4-3 Unified representation of features of computing node i based on four types of meta-paths L Finally, the attention mechanism is repeated K times to obtain Indicates that the attention mechanism is repeated K times for splicing; The semantic attention mechanism is constructed as follows: S4-4 Calculate the weights of four types of meta-paths Where || represents the mode of the corresponding node set. In the fourth formula, K, V, and U are the union of the node sets to which all nodes on the traversal path belong. The q with subscripts and the w and b with subscripts are the attention vector, weight, and bias representation of the corresponding semantics, respectively. S4-5 For the subgraphs corresponding to K, V, and U, the attention of node i based on each meta-path L is calculated, and the following formula (5) obtains the unified expression of the normalization coefficients of the four types of semantic attention: Where W L is the unified expression of formula (4), S4-6 Constructing four types of meta-path attention β L∈子图 =Att L∈子图 (Z L∈子图 )(6), indicates that for any path L∈ subgraph, the meta-path attention is represented by Z under the corresponding path L∈子图 Deep neural network Att via semantic attention L∈子图 (·) is learned, then the features of the semantic attention mechanism are uniformly expressed as Z 子图 =∑ L∈子图 β L∈子图 ·Z L∈子图 (7); The subgraph attention mechanism is constructed as follows: S4-7 is the same as the node attention mechanism and the semantic attention mechanism. For each subgraph corresponding to the knowledge domain to which the knowledge input by the knowledge generation source belongs (that is, the subgraph set composed of nodes in each domain), constructing the subgraph attention mechanism involves the following corresponding formulas (8)-(11): is the subgraph association degree, is a deep neural network for subgraph attention, W 子图 is the subgraph weight, with superscripts and subscripts w 子图 、b 子图 are the corresponding sub-graph attention vector, weight, and bias representation, respectively. Unified representation for subgraph attention mechanism, Substitute Z into Att Node∈G (·), Att Node∈H (·), Att Node∈I (·), Att Node∈III (·), Att L∈子图 (·), Any one or a combination of them, i.e., multi-layer sensing mechanism, The cross entropy loss L=-∑ is calculated in α+β+γ+δ+ε+φ=1, α, β, γ, δ<ε<φ, α, β, γ, δ, ε, φ∈R l∈v Y l ln(C·Z l ), where l represents the number of the domain label, v is the domain label set, and Y l is the domain label numbered l, C is the node classifier parameter, By training each attention deep neural network until the cross entropy loss stabilizes and minimizes, CHGNNBAM is obtained; The training methods include: S4-8 The knowledge generation source inputs the knowledge generated according to the classification into the input module regularly through the computer network, and the input module transmits the knowledge to the knowledge acquisition module to record the spatial location and generation time of the knowledge generation; S4-9 The knowledge parsing module obtains the trained attention mechanisms of the four types of meta-paths in G, H, I and between G, H, and I through step S4, receives the input knowledge and the generated spatial locations, divides them into a training set and a validation set, and the ratio of the two is 8-3:3-1. The training set is processed to form a node representation, and a domain label is formed according to the knowledge domain input by the knowledge generation source, and the number of meta-path nodes is defined. All corresponding meta-paths of the corresponding nodes of the knowledge are obtained, and the corresponding normalization coefficients are predicted according to formulas (1)-(3) and According to formulas (4)-(7), the corresponding normalization coefficient β is obtained L∈子图 and Z 子图 , and according to formulas (8)-(11), the corresponding subgraph association degree, that is, the normalization coefficient and Z, and the cross entropy loss values are calculated respectively, S4-10 back-propagates the cross entropy loss value to optimize the parameters of each deep neural network, uses the verification set to verify the accuracy, and repeats steps S4-7-S4-9 to optimize the network parameters and verify the accuracy.
6. The system according to claim 5, characterized in that in, The knowledge context is retrieved based on the newly input knowledge, and the analysis result of the attention mechanism is given based on the knowledge context. The specific method is: S5 inputs the knowledge into the trained CHGNNBAM to obtain the predicted knowledge domain. S6 draws the knowledge context in the predicted knowledge domain according to the corresponding spatial location and generation time of the knowledge, and retrieves the drawn knowledge context. S7 marks the nodes and / or subgraphs corresponding to the new input knowledge in the drawn knowledge context; The comprehensive analysis includes statistically analyzing at least one of the following types of distributions: a first distribution on the geographic map, namely, a G distribution, in the predicted knowledge domain corresponding to the knowledge and the at least one other domain; The second distribution in the visualized H, the H distribution, The third distribution in the visualized I, the I distribution, The distribution of crossings between G, H, and I, i.e., the GHI distribution, and According to the user's knowledge generation source, display the knowledge field involved in the knowledge generation source corresponding to at least one of the G distribution, H distribution, I distribution, and GHI distribution on the geographic map, and, Statistically analyzing the historical context his in each selected distribution, that is, the historical context his of knowledge in the nodes belonging to V, K, and U in each selected distribution, the final evaluation adapted to the true meaning of the user's search includes comparing the predicted knowledge field with the field label corresponding to the at least one other field and the field label of the user input knowledge, and taking the comparison result as the final evaluation.
7. The system according to claim 6, characterized in that in, The predicted knowledge domain described in S5 is specifically based on the knowledge domain to which the domain label that may be involved is represented by the largest normalized coefficient under each domain label. The drawing method in S6 is to select all nodes and / or subgraphs belonging to the predicted knowledge domain in the geographic map, H, and I, and in the predicted knowledge domain, sort them according to the chronological order of knowledge generation to form a historical context his. The marking in S7 is marked in the geographic map and the visualized H and I.
8. The system according to claim 7, characterized in that Select and draw the knowledge context corresponding to at least one other field among the fields whose normalization coefficients are not the largest under each field label, and the visualization is to display the nodes belonging to V on the corresponding geographical map.
Citation Information
Patent Citations
Intelligent auxiliary operation and maintenance method and system for power communication network based on knowledge graph
CN112580831A
Urban data real-time management method and system based on graph neural network of real network graph
CN115795996A
Wireless communication network intelligent optimization architecture and method based on knowledge graph and deep learning
CN117479191A
Prediction method and system based on heterogeneous graph neural network model
WO2021179838A1
