Semantic graph learning method and device based on Internet of Things, electronic equipment and storage medium
By constructing a semantic graph learning method in the Internet of Things, acquiring and binding entity information in the semantic relationship graph of the Internet of Things, the problem of low data matching in the existing technology is solved, and more efficient domain knowledge recommendation is achieved.
Patent Information
- Application Number
- CN202410047539.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-11
- Publication Date
- 2024-10-18
AI Technical Summary
The semantic network in the existing technology lacks flexibility and adaptability when processing data related to physical entities in the Internet of Things, and it is difficult to effectively match big data business trajectory information and user intentions.
Using the semantic graph learning method based on the Internet of Things, by acquiring a variety of semantic relationship graphs, constructing the Internet of Things semantic relationship graph, obtaining the relevant information of the entity, binding and feature enhancement of the subject information of the entity, and using vector semantic similarity calculation Improve the accuracy and diversity of domain knowledge recommendations.
It improves the accuracy, coverage and diversity of domain knowledge recommendations, and enhances the matching and adaptability of data in the Internet of Things.
Smart Images

Figure CN118798205A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet of Things, and in particular to a semantic graph learning method, device, electronic device and storage medium based on Internet of Things. Background Art
[0002] Today, the Internet of Things presents the characteristics of massive, mobile and personalized. The Internet of Things can use technologies and equipment such as QR codes, radio frequency identification, and various sensors to connect objects to various networks such as the Internet and solve the interoperability problem in the Internet of Things. For example, in the prior art, by analyzing the potential points of intent of the big data business trajectory information of each business processing terminal and determining the set of service interest items corresponding to the target potential points of intent, the matching degree between the big data business trajectory information and the actual intention of the user is improved.
[0003] However, the semantic web and related semantic technologies in the existing technologies are all rule-based and lack flexibility and adaptability when processing relevant data of physical entities in the Internet of Things. Summary of the invention
[0004] In view of the above problems, the present disclosure is proposed. The present disclosure provides a semantic graph learning method, device, electronic device and storage medium based on the Internet of Things.
[0005] According to one aspect of the present disclosure, a semantic graph learning method based on the Internet of Things is provided, and the semantic graph learning method based on the Internet of Things includes: obtaining multiple semantic relationship graphs, constructing an Internet of Things semantic relationship graph based on the multiple semantic relationship graphs, obtaining relevant information of each entity referenced by the Internet of Things based on the Internet of Things semantic relationship graph, and binding and feature enhancing relevant subject information of each entity based on the relevant information and the Internet of Things semantic relationship graph.
[0006] In addition, according to an aspect of the present disclosure, a semantic graph learning method based on the Internet of Things, wherein obtaining multiple semantic relationship graphs, also includes: obtaining device resource information of physical entities and / or virtual entities, and based on the device resource information, using multiple semantic measurement methods to construct multiple semantic relationship graphs.
[0007] In addition, according to an aspect of the present disclosure, a semantic graph learning method based on the Internet of Things is provided, wherein, when receiving demand information of an entity sent by a terminal device, based on the demand information of the entity, the vector semantic similarity calculation results of each entity in the semantic relationship graph of the Internet of Things are obtained, and the vector semantic similarity calculation results are sent to the terminal device.
[0008] In addition, according to an aspect of the present disclosure, a semantic graph learning method based on the Internet of Things, wherein relevant information includes nodes and connection relationships, similar feature information is obtained based on the Internet of Things semantic relationship graph, nodes and connection relationships, wherein the similar feature information includes a feature structure similar to the node, and related topic information is obtained based on the similar feature information.
[0009] In addition, according to one aspect of the present disclosure, a semantic graph learning device based on the Internet of Things is provided, wherein the device includes: a relationship graph acquisition module, which acquires multiple semantic relationship graphs; an Internet of Things relationship graph construction module, which constructs an Internet of Things semantic relationship graph based on multiple semantic relationship graphs; an information acquisition module, which acquires relevant information of each entity referenced by the Internet of Things based on the Internet of Things semantic relationship graph; and a feature enhancement module, which binds and enhances the features of relevant subject information of each entity based on the relevant information and the Internet of Things semantic relationship graph.
[0010] In addition, according to an aspect of the present disclosure, a semantic graph learning device based on the Internet of Things, wherein the relationship graph acquisition module includes: a resource information acquisition unit, which acquires device resource information of physical entities and / or virtual entities, and a semantic relationship graph construction unit, which constructs a variety of semantic relationship graphs based on the device resource information using a variety of semantic measurement methods.
[0011] In addition, according to an aspect of the present disclosure, a semantic graph learning device based on the Internet of Things, wherein the device also includes: a result sending module, when receiving the entity demand information sent by the terminal device, obtains the vector semantic similarity calculation results of each entity in the Internet of Things semantic relationship graph based on the entity demand information, and sends the vector semantic similarity calculation results to the terminal device.
[0012] In addition, according to an aspect of the semantic graph learning device based on the Internet of Things of the present disclosure, the feature enhancement module also includes: a node acquisition unit, the relevant information includes nodes and connection relationships, a feature information acquisition module, based on the Internet of Things semantic relationship graph, nodes and connection relationships, acquires similar feature information, wherein the similar feature information includes a feature structure similar to the node, and a topic information acquisition module, based on the similar feature information, acquires the related topic information.
[0013] According to another aspect of the present disclosure, an electronic device is provided, including: a memory for storing computer-readable instructions; and a processor for executing the computer-readable instructions so that the electronic device executes the semantic graph learning method based on the Internet of Things as described above.
[0014] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium is provided for storing computer-readable instructions, wherein when the computer-readable instructions are executed by a processor, the processor executes the semantic graph learning method based on the Internet of Things as described above.
[0015] As described in detail below, according to the semantic graph learning method based on the Internet of Things in the embodiment of the present disclosure, the present disclosure uses multiple semantic relationship graphs to construct an Internet of Things semantic relationship graph, obtains expanded related domain knowledge based on the relevant information of the physical entity, and performs knowledge binding and feature enhancement based on the related domain knowledge. The present disclosure learns and recommends domain knowledge through the Internet of Things semantic graph representation method, which helps to improve the accuracy, coverage and diversity of the domain knowledge recommendation method.
[0016] It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the technology as claimed. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0018] Figure 1 is a schematic diagram of a scenario illustrating a semantic graph learning method according to an embodiment of the present disclosure;
[0019] Figure 2 is a flowchart illustrating a semantic graph learning method according to an embodiment of the present disclosure;
[0020] Figure 3 is a flowchart further illustrating a semantic graph learning method according to an embodiment of the present disclosure;
[0021] Figure 4 is a schematic diagram illustrating an Internet of Things subscription according to an embodiment of the present disclosure;
[0022] Figure 5 is a block diagram illustrating a semantic graph learning apparatus according to an embodiment of the present disclosure;
[0023] Figure 6 is a hardware block diagram illustrating an electronic device according to an embodiment of the present disclosure; and
[0024] Figure 7 is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present disclosure more obvious, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.
[0026] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0027] It should be noted that, in this document, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
[0028] Figure 1 is a schematic diagram illustrating a scenario of a semantic graph learning method according to an embodiment of the present disclosure. Figure 1 As shown, the semantic graph learning method disclosed in the present invention can be applied to the Internet of Things. The Internet of Things can be a consumer Internet of Things, an industrial Internet of Things, a commercial Internet of Things, a smart city Internet of Things, or an agricultural Internet of Things, etc., which is not specifically limited here.
[0029] Specifically, the architecture of the Internet of Things consists of a perception layer, a network layer, and an application layer. The perception layer is used for data collection, conversion, and final control, and may include a control device 101 and a sensor device 102. The control device 101 may include a single-chip microcomputer, a microcontroller, a programmable logic controller, a contactor, a relay, a low-voltage isolator, etc. The sensor device 101 may include a pressure-sensitive and force-sensitive sensor, a position sensor, a liquid level sensor, an energy consumption sensor, a speed sensor, an acceleration sensor, a radiation sensor, a thermal sensor, etc.
[0030] Specifically, the network layer can be a device used to communicate with the terminal, and can transmit the information obtained by the perception layer to the processing center or the user. The network layer can include base stations in the global mobile communication system or the code division multiple access communication system, base stations in the wideband code division multiple access communication system, evolved base stations in the long-term evolution communication system, next-generation base stations in the new air interface communication system, and other equipment in the core network of the new air interface communication system, such as access and mobility management functions, user planning functions, etc.
[0031] Specifically, the application layer mainly analyzes, processes and makes decisions on information, completes the intelligent evolution from information to knowledge, and then to control and command, realizes the ability to process and solve problems, and completes specific intelligent applications and service tasks. It can be composed of a business support platform and various business application systems.
[0032] Specifically, the application layer may include business operation support system, business analysis system, operation management system, etc.
[0033] Furthermore, the data information obtained by the application layer through the network layer and the perception layer can be used to construct a semantic graph through the data information for unified analysis, mining and recommendation. Figure 2 is a flowchart illustrating a semantic graph learning method according to an embodiment of the present disclosure. Figure 2 As shown, the above semantic graph learning method may include: step S201, obtaining multiple semantic relationship graphs.
[0034] Step S202: construct an Internet of Things semantic relationship graph based on multiple semantic relationship graphs.
[0035] Step S203: based on the semantic relationship graph of the Internet of Things, obtain relevant information of each entity referenced by the Internet of Things.
[0036] Step S204: Based on the relevant information and the IoT semantic relationship graph, the relevant subject information of each entity is bound and feature enhanced.
[0037] In the process of obtaining data information of physical entities at the perception layer and network layer of the Internet of Things, it is necessary to realize the perception, storage, preprocessing and other operations of the attributes of physical entities and virtual entities through entity services. Intelligent physical devices and intelligent gateways correspond to the direct and indirect access methods of physical devices respectively. The resources that realize the functions of the devices are running on intelligent physical devices, where the resources are packaged by entity services. The metadata model of the physical entity corresponding to the virtual entity is used to describe the mapping relationship between the physical entity and the virtual entity, which may include attribute mapping, relationship mapping, etc. Through this model, the attribute value of the virtual entity can be obtained. The metadata model of the virtual entity-associated device resources is used to describe the association relationship between the virtual entity and the device resources, which may include attribute mapping, relationship mapping, etc. between the virtual entity and the device resources, and the relevant information of the device resources can be obtained through this model. The metadata model corresponding to the entity service itself is used to describe the attributes, relationships and other information of the entity service itself, and the attribute value of the entity service can be obtained through this model. These three types of metadata models are stored in the corresponding entity services. Through the mapping of the metadata models, the attribute values and related information of the physical entity, virtual entity and device resources can be obtained. For example, physical space, manufacturer, address, product serial number, model, probe, service function, usage method, applicable scenarios, usage restrictions, service agreement, etc.
[0038] Further, as shown in step S201, considering that the interactive perception data generated by devices across scenarios and / or fields are multimodal and heterogeneous in semantics, multiple semantic measurement methods can be used to construct multiple semantic relationship graphs, such as SW, OW, TF, BM25, LSI, Word2Vec, etc. That is, different methods are used to mine the connections between words, documents, etc., and construct different types of semantic relationship graphs.
[0039] Further, as shown in step S202, different types of semantic relationship graphs are merged and organized into an IoT semantic relationship graph, which includes multiple nodes, each node represents a physical entity or concept, and the nodes are connected by edges, each edge represents a semantic relationship between two physical entities or concepts. The description of the direct and indirect relationships between nodes represents the global and local structural information in the IoT semantic graph.
[0040] Furthermore, as shown in step S203, the relevant information of each entity referenced by the Internet of Things can be obtained based on the semantic relationship diagram of the Internet of Things, that is, the metadata model of the physical entity professional knowledge is formed by obtaining effective information through the acquisition, preprocessing, and information extraction of knowledge data in the professional field of the physical entity. And as shown in step S204, according to actual needs, the relevant subject information of the physical entity is bound and the features are enhanced, for example, the node of the device is bound to the field knowledge of device failure, device life cycle, etc.
[0041] Specifically, Figure 3 is a flowchart further illustrating the semantic graph learning method according to an embodiment of the present disclosure. Figure 3 As shown, the above method also includes:
[0042] Step S301: Acquire device resource information of a physical entity and / or a virtual entity.
[0043] Step S302: construct multiple semantic relationship graphs based on the device resource information using multiple semantic measurement methods.
[0044] Step S303: construct an Internet of Things semantic relationship graph based on multiple semantic relationship graphs.
[0045] Step S304: based on the semantic relationship graph of the Internet of Things, obtain relevant information of each entity referenced by the Internet of Things.
[0046] Step S305: acquiring relevant topic information based on similar feature information.
[0047] Step S306: Based on the relevant information and the IoT semantic relationship graph, the relevant subject information of each entity is bound and feature enhanced.
[0048] Further, as shown in step S301 and step S302, through the device resource information, the functions provided by the IoT platform rules can be used to construct various semantic relationship graphs using various semantic measurement methods. The device resource information can be the physical space, manufacturer, address, product serial number, model, probe, etc., service function, usage method, applicable scenario, usage restriction, service agreement, etc. of the physical entity. Users can select the required information according to actual conditions, and no restrictions are made here.
[0049] Further, as shown in steps S303 and S304, based on the obtained IoT semantic relationship graph, it is trained to retain the similar feature structure between nodes and the similar feature structure between node neighborhoods. The specific process of obtaining the similar feature structure between nodes is as follows:
[0050]
[0051] Among them, v m and v n They are all nodes of the semantic relationship graph of the Internet of Things;
[0052] p1(v m , v n ) is v m and v n The first-order similarity of
[0053] u m v m The vector representation of ;
[0054] u n v n The vector representation of .
[0055] Furthermore, in order to obtain the first-order similarity between all nodes, the following formula is used:
[0056]
[0057] Among them, w m,n is node v m and v n The weight between .
[0058] Furthermore, the specific method for obtaining similar feature structures between node neighborhoods is as follows:
[0059]
[0060] Among them, p2(v n |v m ) is a given v m Under the condition of m and v nThe first-order similarity of
[0061] |X| is the total number of nodes in the IoT semantic relationship graph.
[0062] Furthermore, in order to obtain the second-order similarity between all nodes, the following formula is used:
[0063]
[0064] The first-order similarity and second-order similarity describe the similarity between nodes at different levels. Based on the above similarity calculation, we can obtain more comprehensive information about each entity referenced by the Internet of Things. At the same time, we can also obtain relevant subject information based on the second-order similarity of the nodes of each entity. For example, we can obtain corresponding industry fault knowledge based on the sensor entity.
[0065] Further, as in step S306, the user can bind and enhance the features of the relevant subject information with the corresponding entity according to the actual situation. Specifically, the above method can be used to obtain data information, perform preprocessing, and extract effective information to form a metadata model for the field. First, the professional field and scope of the physical entity can be determined, second, the ontology class can be defined, third, the class attributes can be defined, and fourth, an instance can be created. At the same time, semantics can be added and registered in the knowledge publishing registration center, and the relevant subject information can be bound. For ease of understanding, take the construction of industry fault knowledge corresponding to a certain type of sensor entity as an example. First, it is necessary to determine the fault knowledge category of a certain type of sensor, second, define the fault knowledge class of the sensor, third, define the fault knowledge class, such as loose installation, sensor failure, electromagnetic interference, mechanical interference, thermal interference, chemical interference and other fault attributes, fourth, complete the construction of the fault knowledge instance, fifth, add and register the fault knowledge in the knowledge publishing registration center, and sixth, complete the binding of the device node of the Internet of Things semantic graph with the domain knowledge.
[0066] Furthermore, the steps of IoT knowledge recommendation are as follows: first, the knowledge demand vector of the knowledge consumer is semanticized and submitted to the knowledge management center; second, the knowledge management center calculates the vector semantic similarity with the existing IoT knowledge through methods such as Jacobi similarity coefficient and Minkowski distance; third, the knowledge management center returns the semantic similarity calculation results to the knowledge demander in the form of a list of domain knowledge according to the knowledge demand.
[0067] Specifically, Figure 4 is a schematic diagram illustrating an Internet of Things subscription according to an embodiment of the present disclosure, such as Figure 4As shown in the figure, devices can obtain service information in time by subscribing to IoT messages. The specific steps are as follows: First, the device can register for the message subscription service and send a registration request to the server, and the server responds to confirm the registration request. After successful registration, the device will become the client of the subscription service. Secondly, the client creates a message queue telemetry transport protocol (MQTT) client, sets the authentication parameters such as customer identity information, name, password, and connection session parameters such as protocol version and transport layer security protocol. Thirdly, with a single device as the subscription level, the client subscribes to domain knowledge topics according to the application scenario requirements. A topic can have multiple subscribed devices, such as device life cycle state change, device attribute function point, device event function point, and attribute setting response type topic. Finally, after the subscribed device changes its state or reports data, it sends the message to the server of the subscription service. The server of the subscription service passes the message to the subscribed device according to the application scenario requirements. After receiving the message, the subscribed device performs corresponding processing according to the message type and content to achieve the device attribute setting and attribute expected value setting.
[0068] The above describes the semantic graph learning method based on the Internet of Things according to an embodiment of the present disclosure. The following will further describe a device 500 for implementing the semantic graph learning method based on the Internet of Things.
[0069] Specifically, Figure 5 is a block diagram illustrating a semantic graph learning apparatus according to an embodiment of the present disclosure. Figure 5As shown, the above-mentioned device may include: a relationship graph acquisition module 501, which can be configured to acquire multiple semantic relationship graphs, an Internet of Things relationship graph construction module 502, which can be configured to construct an Internet of Things semantic relationship graph based on multiple semantic relationship graphs, an information acquisition module 503, which can be configured to acquire relevant information of each entity referenced by the Internet of Things based on the Internet of Things semantic relationship graph, and a feature enhancement module 504, which can be configured to bind and feature enhance the relevant subject information of each entity based on the relevant information and the Internet of Things semantic relationship graph. Considering that the interactive perception data generated by devices across scenarios and / or fields has the characteristics of multimodality and heterogeneity in semantics, multiple semantic measurement methods can be used to construct multiple semantic relationship graphs, such as SW, OW, TF, BM25, LSI, Word2Vec, etc. That is, different methods are used to mine the connection between words, documents, etc., and construct different types of semantic relationship graphs. Different types of semantic relationship graphs are merged and organized into an Internet of Things semantic relationship graph, and the Internet of Things semantic relationship graph includes multiple nodes, each node represents a physical entity or concept, and the nodes are connected by edges, and each edge represents the semantic relationship between two physical entities or concepts. The description of direct and indirect relationships between nodes characterizes the global and local structural information in the IoT semantic graph. Based on the IoT semantic relationship graph, relevant information of each entity referenced by the IoT can be obtained, that is, effective information is obtained through the acquisition, preprocessing, and information extraction of knowledge data in the professional field of physical entities to form a metadata model of physical entity expertise. And according to actual needs, the relevant subject information of physical entities is bound and features are enhanced, such as binding the nodes of the device with field knowledge such as device failure and device life cycle.
[0070] Furthermore, the relationship graph acquisition module 501 may include: a resource information acquisition unit 5011 for acquiring device resource information of physical entities and / or virtual entities; and a semantic relationship graph construction unit 5012 for constructing multiple semantic relationship graphs based on the device resource information using multiple semantic measurement methods.
[0071] Furthermore, the feature enhancement module 504 may also include: a node acquisition unit 5041, the relevant information includes nodes and connection relationships, a feature information acquisition module 5042, which acquires similar feature information based on the Internet of Things semantic relationship graph, nodes and connection relationships, wherein the similar feature information includes a feature structure similar to the node, and a topic information acquisition module, which acquires the related topic information based on the similar feature information.
[0072] The device resource information can use the functions provided by the IoT platform rules and use a variety of semantic measurement methods to build a variety of semantic relationship graphs. Device resource information can be the physical space, manufacturer, address, product serial number, model, probe, etc. of the physical entity, service function, usage method, applicable scenario, usage restrictions, service agreement, etc. Users can choose the required information according to the actual situation, and no restrictions are made here. Furthermore, based on the obtained IoT semantic relationship graph, it is trained to retain the similar feature structure between nodes and the similar feature structure between node neighborhoods. Among them, the specific process of obtaining the similar feature structure between nodes is as follows:
[0073]
[0074] Among them, v m and v n They are all nodes of the semantic relationship graph of the Internet of Things;
[0075] p1(v m , v n ) is v m and v n The first-order similarity of
[0076] u m v m The vector representation of ;
[0077] u n v n The vector representation of .
[0078] Furthermore, in order to obtain the first-order similarity between all nodes, the following formula is used:
[0079]
[0080] Among them, w m,n is node v m and v n The weight between .
[0081] Furthermore, the specific method for obtaining similar feature structures between node neighborhoods is as follows:
[0082]
[0083] Among them, p2(v n |v m ) is a given v m Under the condition of m and v n The first-order similarity of
[0084] |X| is the total number of nodes in the IoT semantic relationship graph.
[0085] Furthermore, in order to obtain the second-order similarity between all nodes, the following formula is used:
[0086]
[0087] The first-order similarity and second-order similarity describe the similarity between nodes at different levels. Based on the above similarity calculation, we can obtain more comprehensive information about each entity referenced by the Internet of Things. At the same time, we can also obtain relevant subject information based on the second-order similarity of the nodes of each entity. For example, we can obtain corresponding industry fault knowledge based on the sensor entity.
[0088] Furthermore, the above-mentioned device can also include a result sending module 505, which, when receiving the entity demand information sent by the terminal device, obtains the vector semantic similarity calculation results of each entity in the Internet of Things semantic relationship diagram based on the entity demand information, and sends the vector semantic similarity calculation results to the terminal device.
[0089] Users can bind and enhance the features of relevant subject information with corresponding entities according to actual conditions. Specifically, the above method can be used to obtain data information, perform preprocessing, and extract effective information to form a metadata model for the field. First, the professional field and scope of the physical entity can be determined. Second, the ontology class can be defined. Third, the class attributes can be defined. Fourth, an instance can be created. At the same time, semantics can be added and registered in the knowledge publishing registration center, and related subject information can be bound. For ease of understanding, take the construction of industry fault knowledge corresponding to a certain type of sensor entity as an example. First, it is necessary to determine the fault knowledge category of a certain type of sensor. Second, define the fault knowledge class of the sensor. Third, define the fault knowledge class, such as loose installation, sensor failure, electromagnetic interference, mechanical interference, thermal interference, chemical interference and other fault attributes. Fourth, complete the construction of fault knowledge instances. Fifth, add fault knowledge and register it in the knowledge publishing registration center. Sixth, complete the binding of device nodes in the IoT semantic graph with domain knowledge.
[0090] Furthermore, the steps of IoT knowledge recommendation are as follows: first, the knowledge demand vector of the knowledge consumer is semanticized and submitted to the knowledge management center; second, the knowledge management center calculates the vector semantic similarity with the existing IoT knowledge through methods such as Jacobi similarity coefficient and Minkowski distance; third, the knowledge management center returns the semantic similarity calculation results to the knowledge demander in the form of a list of domain knowledge according to the knowledge demand.
[0091] Figure 61 is a hardware block diagram of an electronic device 600 according to an embodiment of the present disclosure. The electronic device according to an embodiment of the present disclosure includes at least a processor; and a memory for storing computer-readable instructions. When the computer-readable instructions are loaded and executed by the processor, the processor executes the method for semantic graph learning as described above.
[0092] Figure 6 The electronic device 600 shown specifically includes: a central processing unit (CPU) 601, a graphics processing unit (GPU) 602 and a memory 603. These units are interconnected via a bus 604. The central processing unit (CPU) 601 and / or the graphics processing unit (GPU) 602 can be used as the above-mentioned processor, and the main memory 603 can be used as the above-mentioned memory for storing computer-readable instructions. In addition, the electronic device 600 may also include a communication unit 605, a storage unit 606, an output unit 607, an input unit 608 and an external device 609, which are also connected to the bus 604.
[0093] Figure 7 is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure. Figure 7 As shown, a computer-readable storage medium 700 according to an embodiment of the present disclosure has computer-readable instructions 701 stored thereon. When the computer-readable instructions 701 are executed by a processor, the semantic graph learning method for the Internet of Things based on the embodiment of the present disclosure described with reference to the above figures is executed. The computer-readable storage medium includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, optical disk, magnetic disk, etc.
[0094] In the above, with reference to the accompanying drawings, the semantic graph learning method, device, electronic device and storage medium based on the Internet of Things according to the embodiments of the present disclosure are described. According to the semantic graph learning method based on the Internet of Things according to the embodiments of the present disclosure, the present disclosure uses multiple semantic relationship graphs to construct an Internet of Things semantic relationship graph, obtains expanded related domain knowledge based on the relevant information of the physical entity, and performs knowledge binding and feature enhancement based on the related domain knowledge. The present disclosure learns and recommends domain knowledge through the Internet of Things semantic graph representation method, which helps to improve the accuracy, coverage and diversity of the domain knowledge recommendation method.
[0095] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0096] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0097] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0098] Additionally, as used herein, "or" used in a list of items beginning with "at least one" indicates a separate list, so that, for example, a list of "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not mean that the example described is preferred or better than other examples.
[0099] It should also be noted that in the system and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0100] Various changes, substitutions, and modifications of the techniques described herein may be made without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of the present disclosure is not limited to the specific aspects of the processes, machines, manufactures, compositions of events, means, methods, and actions described above. Currently existing or later to be developed processes, machines, manufactures, compositions of events, means, methods, or actions that perform substantially the same functions or achieve substantially the same results as the corresponding aspects described herein may be utilized. Thus, the appended claims include such processes, machines, manufactures, compositions of events, means, methods, or actions within their scope.
[0101] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is intended to be limited to the aspects shown herein, but in accordance with the widest scope consistent with the principles and novel features disclosed herein.
[0102] The above description has been given for the purpose of illustration and description. In addition, this description is intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A semantic graph learning method based on the Internet of Things, characterized in that: The method comprises: Obtain multiple semantic relationship graphs; Based on the multiple semantic relationship graphs, construct an Internet of Things semantic relationship graph; Based on the Internet of Things semantic relationship graph, obtaining relevant information of each entity referenced by the Internet of Things; and Based on the relevant information and the Internet of Things semantic relationship graph, the relevant subject information of each of the entities is bound and feature enhanced.
2. The semantic graph learning method based on the Internet of Things as claimed in claim 1, characterized in that: The obtaining of multiple semantic relationship graphs further includes: Obtaining device resource information of physical entities and / or virtual entities; Based on the device resource information, a plurality of semantic measurement methods are used to construct a plurality of semantic relationship graphs.
3. The semantic graph learning method based on the Internet of Things as claimed in claim 1, characterized in that: The method further comprises: When receiving the demand information of the entity sent by the terminal device, obtaining the vector semantic similarity calculation result of each entity of the entity in the semantic relationship graph of the Internet of Things based on the demand information of the entity; and The vector semantic similarity calculation result is sent to the terminal device.
4. The semantic graph learning method based on the Internet of Things as claimed in claim 1, characterized in that: The binding and feature enhancement of the relevant subject information of each entity based on the relevant information and the Internet of Things semantic relationship graph includes: The relevant information includes nodes and connection relationships; Based on the Internet of Things semantic relationship graph, the nodes and the connection relationship, similar feature information is obtained; wherein the similar feature information includes a feature structure similar to the node; Based on the similar feature information, the related topic information is obtained.
5. A semantic graph learning device based on the Internet of Things, characterized in that: The device comprises: Relationship graph acquisition module, which acquires multiple semantic relationship graphs; An Internet of Things relationship graph construction module, which constructs an Internet of Things semantic relationship graph based on a plurality of the semantic relationship graphs; An information acquisition module, based on the Internet of Things semantic relationship graph, acquires relevant information of each entity referenced by the Internet of Things; and The feature enhancement module binds and enhances the features of the relevant subject information of each of the entities based on the relevant information and the Internet of Things semantic relationship graph.
6. The semantic graph learning device based on the Internet of Things as claimed in claim 5, characterized in that: The relationship diagram acquisition module also includes: A resource information acquisition unit, which acquires device resource information of a physical entity and / or a virtual entity; The semantic relationship graph construction unit constructs a plurality of the semantic relationship graphs based on the device resource information using a plurality of semantic measurement methods.
7. The semantic graph learning device based on the Internet of Things as claimed in claim 5, characterized in that: The device also includes: A result sending module, when receiving the demand information of the entity sent by the terminal device, obtains the vector semantic similarity calculation result of each entity in the semantic relationship diagram of the Internet of Things based on the demand information of the entity; and Sending the vector semantic similarity calculation result to the terminal device.
8. The semantic graph learning device based on the Internet of Things as claimed in claim 5, characterized in that: The feature enhancement module also includes: A node acquisition unit, wherein the related information includes nodes and connection relationships; A feature information acquisition module, based on the Internet of Things semantic relationship graph, the node and the connection relationship, acquires similar feature information; wherein the similar feature information includes a feature structure similar to the node; The topic information acquisition module acquires the related topic information based on the similar feature information.
9. An electronic device, characterized in that: include: a memory for storing computer readable instructions; as well as A processor is used to run the computer-readable instructions so that the electronic device executes the semantic graph learning method based on the Internet of Things as described in any one of claims 1 to 4.
10. A non-transitory computer-readable storage medium for storing computer-readable instructions, characterized in that: When the computer-readable instructions are executed by a processor, the processor executes the semantic graph learning method based on the Internet of Things as described in any one of claims 1 to 4.
